MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  chordthmlem3 Unicode version

Theorem chordthmlem3 20636
Description: If M is the midpoint of AB, AQ = BQ, and P is on the line AB, then PQ 2 = QM 2  + PM 2 . This follows from chordthmlem2 20635 and the Pythagorean theorem (pythag 20620) in the case where P and Q are unequal to M. If either P or Q equals M, the result is trivial. (Contributed by David Moews, 28-Feb-2017.)
Hypotheses
Ref Expression
chordthmlem3.A  |-  ( ph  ->  A  e.  CC )
chordthmlem3.B  |-  ( ph  ->  B  e.  CC )
chordthmlem3.Q  |-  ( ph  ->  Q  e.  CC )
chordthmlem3.X  |-  ( ph  ->  X  e.  RR )
chordthmlem3.M  |-  ( ph  ->  M  =  ( ( A  +  B )  /  2 ) )
chordthmlem3.P  |-  ( ph  ->  P  =  ( ( X  x.  A )  +  ( ( 1  -  X )  x.  B ) ) )
chordthmlem3.ABequidistQ  |-  ( ph  ->  ( abs `  ( A  -  Q )
)  =  ( abs `  ( B  -  Q
) ) )
Assertion
Ref Expression
chordthmlem3  |-  ( ph  ->  ( ( abs `  ( P  -  Q )
) ^ 2 )  =  ( ( ( abs `  ( Q  -  M ) ) ^ 2 )  +  ( ( abs `  ( P  -  M )
) ^ 2 ) ) )

Proof of Theorem chordthmlem3
Dummy variables  x  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 chordthmlem3.Q . . . . . . . . 9  |-  ( ph  ->  Q  e.  CC )
2 chordthmlem3.M . . . . . . . . . 10  |-  ( ph  ->  M  =  ( ( A  +  B )  /  2 ) )
3 chordthmlem3.A . . . . . . . . . . . 12  |-  ( ph  ->  A  e.  CC )
4 chordthmlem3.B . . . . . . . . . . . 12  |-  ( ph  ->  B  e.  CC )
53, 4addcld 9071 . . . . . . . . . . 11  |-  ( ph  ->  ( A  +  B
)  e.  CC )
65halfcld 10176 . . . . . . . . . 10  |-  ( ph  ->  ( ( A  +  B )  /  2
)  e.  CC )
72, 6eqeltrd 2486 . . . . . . . . 9  |-  ( ph  ->  M  e.  CC )
81, 7subcld 9375 . . . . . . . 8  |-  ( ph  ->  ( Q  -  M
)  e.  CC )
98abscld 12201 . . . . . . 7  |-  ( ph  ->  ( abs `  ( Q  -  M )
)  e.  RR )
109recnd 9078 . . . . . 6  |-  ( ph  ->  ( abs `  ( Q  -  M )
)  e.  CC )
1110sqcld 11484 . . . . 5  |-  ( ph  ->  ( ( abs `  ( Q  -  M )
) ^ 2 )  e.  CC )
1211adantr 452 . . . 4  |-  ( (
ph  /\  P  =  M )  ->  (
( abs `  ( Q  -  M )
) ^ 2 )  e.  CC )
1312addid1d 9230 . . 3  |-  ( (
ph  /\  P  =  M )  ->  (
( ( abs `  ( Q  -  M )
) ^ 2 )  +  0 )  =  ( ( abs `  ( Q  -  M )
) ^ 2 ) )
14 chordthmlem3.P . . . . . . . . 9  |-  ( ph  ->  P  =  ( ( X  x.  A )  +  ( ( 1  -  X )  x.  B ) ) )
15 chordthmlem3.X . . . . . . . . . . . 12  |-  ( ph  ->  X  e.  RR )
1615recnd 9078 . . . . . . . . . . 11  |-  ( ph  ->  X  e.  CC )
1716, 3mulcld 9072 . . . . . . . . . 10  |-  ( ph  ->  ( X  x.  A
)  e.  CC )
18 ax-1cn 9012 . . . . . . . . . . . . 13  |-  1  e.  CC
1918a1i 11 . . . . . . . . . . . 12  |-  ( ph  ->  1  e.  CC )
2019, 16subcld 9375 . . . . . . . . . . 11  |-  ( ph  ->  ( 1  -  X
)  e.  CC )
2120, 4mulcld 9072 . . . . . . . . . 10  |-  ( ph  ->  ( ( 1  -  X )  x.  B
)  e.  CC )
2217, 21addcld 9071 . . . . . . . . 9  |-  ( ph  ->  ( ( X  x.  A )  +  ( ( 1  -  X
)  x.  B ) )  e.  CC )
2314, 22eqeltrd 2486 . . . . . . . 8  |-  ( ph  ->  P  e.  CC )
2423adantr 452 . . . . . . 7  |-  ( (
ph  /\  P  =  M )  ->  P  e.  CC )
25 simpr 448 . . . . . . 7  |-  ( (
ph  /\  P  =  M )  ->  P  =  M )
2624, 25subeq0bd 9427 . . . . . 6  |-  ( (
ph  /\  P  =  M )  ->  ( P  -  M )  =  0 )
2726abs00bd 12059 . . . . 5  |-  ( (
ph  /\  P  =  M )  ->  ( abs `  ( P  -  M ) )  =  0 )
2827sq0id 11438 . . . 4  |-  ( (
ph  /\  P  =  M )  ->  (
( abs `  ( P  -  M )
) ^ 2 )  =  0 )
2928oveq2d 6064 . . 3  |-  ( (
ph  /\  P  =  M )  ->  (
( ( abs `  ( Q  -  M )
) ^ 2 )  +  ( ( abs `  ( P  -  M
) ) ^ 2 ) )  =  ( ( ( abs `  ( Q  -  M )
) ^ 2 )  +  0 ) )
301adantr 452 . . . . . 6  |-  ( (
ph  /\  P  =  M )  ->  Q  e.  CC )
3130, 24abssubd 12218 . . . . 5  |-  ( (
ph  /\  P  =  M )  ->  ( abs `  ( Q  -  P ) )  =  ( abs `  ( P  -  Q )
) )
3225oveq2d 6064 . . . . . 6  |-  ( (
ph  /\  P  =  M )  ->  ( Q  -  P )  =  ( Q  -  M ) )
3332fveq2d 5699 . . . . 5  |-  ( (
ph  /\  P  =  M )  ->  ( abs `  ( Q  -  P ) )  =  ( abs `  ( Q  -  M )
) )
3431, 33eqtr3d 2446 . . . 4  |-  ( (
ph  /\  P  =  M )  ->  ( abs `  ( P  -  Q ) )  =  ( abs `  ( Q  -  M )
) )
3534oveq1d 6063 . . 3  |-  ( (
ph  /\  P  =  M )  ->  (
( abs `  ( P  -  Q )
) ^ 2 )  =  ( ( abs `  ( Q  -  M
) ) ^ 2 ) )
3613, 29, 353eqtr4rd 2455 . 2  |-  ( (
ph  /\  P  =  M )  ->  (
( abs `  ( P  -  Q )
) ^ 2 )  =  ( ( ( abs `  ( Q  -  M ) ) ^ 2 )  +  ( ( abs `  ( P  -  M )
) ^ 2 ) ) )
3723, 7subcld 9375 . . . . . . . 8  |-  ( ph  ->  ( P  -  M
)  e.  CC )
3837abscld 12201 . . . . . . 7  |-  ( ph  ->  ( abs `  ( P  -  M )
)  e.  RR )
3938recnd 9078 . . . . . 6  |-  ( ph  ->  ( abs `  ( P  -  M )
)  e.  CC )
4039sqcld 11484 . . . . 5  |-  ( ph  ->  ( ( abs `  ( P  -  M )
) ^ 2 )  e.  CC )
4140adantr 452 . . . 4  |-  ( (
ph  /\  Q  =  M )  ->  (
( abs `  ( P  -  M )
) ^ 2 )  e.  CC )
4241addid2d 9231 . . 3  |-  ( (
ph  /\  Q  =  M )  ->  (
0  +  ( ( abs `  ( P  -  M ) ) ^ 2 ) )  =  ( ( abs `  ( P  -  M
) ) ^ 2 ) )
431adantr 452 . . . . . . 7  |-  ( (
ph  /\  Q  =  M )  ->  Q  e.  CC )
44 simpr 448 . . . . . . 7  |-  ( (
ph  /\  Q  =  M )  ->  Q  =  M )
4543, 44subeq0bd 9427 . . . . . 6  |-  ( (
ph  /\  Q  =  M )  ->  ( Q  -  M )  =  0 )
4645abs00bd 12059 . . . . 5  |-  ( (
ph  /\  Q  =  M )  ->  ( abs `  ( Q  -  M ) )  =  0 )
4746sq0id 11438 . . . 4  |-  ( (
ph  /\  Q  =  M )  ->  (
( abs `  ( Q  -  M )
) ^ 2 )  =  0 )
4847oveq1d 6063 . . 3  |-  ( (
ph  /\  Q  =  M )  ->  (
( ( abs `  ( Q  -  M )
) ^ 2 )  +  ( ( abs `  ( P  -  M
) ) ^ 2 ) )  =  ( 0  +  ( ( abs `  ( P  -  M ) ) ^ 2 ) ) )
4944oveq2d 6064 . . . . 5  |-  ( (
ph  /\  Q  =  M )  ->  ( P  -  Q )  =  ( P  -  M ) )
5049fveq2d 5699 . . . 4  |-  ( (
ph  /\  Q  =  M )  ->  ( abs `  ( P  -  Q ) )  =  ( abs `  ( P  -  M )
) )
5150oveq1d 6063 . . 3  |-  ( (
ph  /\  Q  =  M )  ->  (
( abs `  ( P  -  Q )
) ^ 2 )  =  ( ( abs `  ( P  -  M
) ) ^ 2 ) )
5242, 48, 513eqtr4rd 2455 . 2  |-  ( (
ph  /\  Q  =  M )  ->  (
( abs `  ( P  -  Q )
) ^ 2 )  =  ( ( ( abs `  ( Q  -  M ) ) ^ 2 )  +  ( ( abs `  ( P  -  M )
) ^ 2 ) ) )
5323adantr 452 . . 3  |-  ( (
ph  /\  ( P  =/=  M  /\  Q  =/= 
M ) )  ->  P  e.  CC )
541adantr 452 . . 3  |-  ( (
ph  /\  ( P  =/=  M  /\  Q  =/= 
M ) )  ->  Q  e.  CC )
557adantr 452 . . 3  |-  ( (
ph  /\  ( P  =/=  M  /\  Q  =/= 
M ) )  ->  M  e.  CC )
56 simprl 733 . . 3  |-  ( (
ph  /\  ( P  =/=  M  /\  Q  =/= 
M ) )  ->  P  =/=  M )
57 simprr 734 . . 3  |-  ( (
ph  /\  ( P  =/=  M  /\  Q  =/= 
M ) )  ->  Q  =/=  M )
58 eqid 2412 . . . 4  |-  ( x  e.  ( CC  \  { 0 } ) ,  y  e.  ( CC  \  { 0 } )  |->  ( Im
`  ( log `  (
y  /  x ) ) ) )  =  ( x  e.  ( CC  \  { 0 } ) ,  y  e.  ( CC  \  { 0 } ) 
|->  ( Im `  ( log `  ( y  /  x ) ) ) )
593adantr 452 . . . 4  |-  ( (
ph  /\  ( P  =/=  M  /\  Q  =/= 
M ) )  ->  A  e.  CC )
604adantr 452 . . . 4  |-  ( (
ph  /\  ( P  =/=  M  /\  Q  =/= 
M ) )  ->  B  e.  CC )
6115adantr 452 . . . 4  |-  ( (
ph  /\  ( P  =/=  M  /\  Q  =/= 
M ) )  ->  X  e.  RR )
622adantr 452 . . . 4  |-  ( (
ph  /\  ( P  =/=  M  /\  Q  =/= 
M ) )  ->  M  =  ( ( A  +  B )  /  2 ) )
6314adantr 452 . . . 4  |-  ( (
ph  /\  ( P  =/=  M  /\  Q  =/= 
M ) )  ->  P  =  ( ( X  x.  A )  +  ( ( 1  -  X )  x.  B ) ) )
64 chordthmlem3.ABequidistQ . . . . 5  |-  ( ph  ->  ( abs `  ( A  -  Q )
)  =  ( abs `  ( B  -  Q
) ) )
6564adantr 452 . . . 4  |-  ( (
ph  /\  ( P  =/=  M  /\  Q  =/= 
M ) )  -> 
( abs `  ( A  -  Q )
)  =  ( abs `  ( B  -  Q
) ) )
6658, 59, 60, 54, 61, 62, 63, 65, 56, 57chordthmlem2 20635 . . 3  |-  ( (
ph  /\  ( P  =/=  M  /\  Q  =/= 
M ) )  -> 
( ( Q  -  M ) ( x  e.  ( CC  \  { 0 } ) ,  y  e.  ( CC  \  { 0 } )  |->  ( Im
`  ( log `  (
y  /  x ) ) ) ) ( P  -  M ) )  e.  { ( pi  /  2 ) ,  -u ( pi  / 
2 ) } )
67 eqid 2412 . . . 4  |-  ( abs `  ( Q  -  M
) )  =  ( abs `  ( Q  -  M ) )
68 eqid 2412 . . . 4  |-  ( abs `  ( P  -  M
) )  =  ( abs `  ( P  -  M ) )
69 eqid 2412 . . . 4  |-  ( abs `  ( P  -  Q
) )  =  ( abs `  ( P  -  Q ) )
70 eqid 2412 . . . 4  |-  ( ( Q  -  M ) ( x  e.  ( CC  \  { 0 } ) ,  y  e.  ( CC  \  { 0 } ) 
|->  ( Im `  ( log `  ( y  /  x ) ) ) ) ( P  -  M ) )  =  ( ( Q  -  M ) ( x  e.  ( CC  \  { 0 } ) ,  y  e.  ( CC  \  { 0 } )  |->  ( Im
`  ( log `  (
y  /  x ) ) ) ) ( P  -  M ) )
7158, 67, 68, 69, 70pythag 20620 . . 3  |-  ( ( ( P  e.  CC  /\  Q  e.  CC  /\  M  e.  CC )  /\  ( P  =/=  M  /\  Q  =/=  M
)  /\  ( ( Q  -  M )
( x  e.  ( CC  \  { 0 } ) ,  y  e.  ( CC  \  { 0 } ) 
|->  ( Im `  ( log `  ( y  /  x ) ) ) ) ( P  -  M ) )  e. 
{ ( pi  / 
2 ) ,  -u ( pi  /  2
) } )  -> 
( ( abs `  ( P  -  Q )
) ^ 2 )  =  ( ( ( abs `  ( Q  -  M ) ) ^ 2 )  +  ( ( abs `  ( P  -  M )
) ^ 2 ) ) )
7253, 54, 55, 56, 57, 66, 71syl321anc 1206 . 2  |-  ( (
ph  /\  ( P  =/=  M  /\  Q  =/= 
M ) )  -> 
( ( abs `  ( P  -  Q )
) ^ 2 )  =  ( ( ( abs `  ( Q  -  M ) ) ^ 2 )  +  ( ( abs `  ( P  -  M )
) ^ 2 ) ) )
7336, 52, 72pm2.61da2ne 2654 1  |-  ( ph  ->  ( ( abs `  ( P  -  Q )
) ^ 2 )  =  ( ( ( abs `  ( Q  -  M ) ) ^ 2 )  +  ( ( abs `  ( P  -  M )
) ^ 2 ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 359    = wceq 1649    e. wcel 1721    =/= wne 2575    \ cdif 3285   {csn 3782   {cpr 3783   ` cfv 5421  (class class class)co 6048    e. cmpt2 6050   CCcc 8952   RRcr 8953   0cc0 8954   1c1 8955    + caddc 8957    x. cmul 8959    - cmin 9255   -ucneg 9256    / cdiv 9641   2c2 10013   ^cexp 11345   Imcim 11866   abscabs 12002   picpi 12632   logclog 20413
This theorem is referenced by:  chordthmlem5  20638
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1662  ax-8 1683  ax-13 1723  ax-14 1725  ax-6 1740  ax-7 1745  ax-11 1757  ax-12 1946  ax-ext 2393  ax-rep 4288  ax-sep 4298  ax-nul 4306  ax-pow 4345  ax-pr 4371  ax-un 4668  ax-inf2 7560  ax-cnex 9010  ax-resscn 9011  ax-1cn 9012  ax-icn 9013  ax-addcl 9014  ax-addrcl 9015  ax-mulcl 9016  ax-mulrcl 9017  ax-mulcom 9018  ax-addass 9019  ax-mulass 9020  ax-distr 9021  ax-i2m1 9022  ax-1ne0 9023  ax-1rid 9024  ax-rnegex 9025  ax-rrecex 9026  ax-cnre 9027  ax-pre-lttri 9028  ax-pre-lttrn 9029  ax-pre-ltadd 9030  ax-pre-mulgt0 9031  ax-pre-sup 9032  ax-addf 9033  ax-mulf 9034
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2266  df-mo 2267  df-clab 2399  df-cleq 2405  df-clel 2408  df-nfc 2537  df-ne 2577  df-nel 2578  df-ral 2679  df-rex 2680  df-reu 2681  df-rmo 2682  df-rab 2683  df-v 2926  df-sbc 3130  df-csb 3220  df-dif 3291  df-un 3293  df-in 3295  df-ss 3302  df-pss 3304  df-nul 3597  df-if 3708  df-pw 3769  df-sn 3788  df-pr 3789  df-tp 3790  df-op 3791  df-uni 3984  df-int 4019  df-iun 4063  df-iin 4064  df-br 4181  df-opab 4235  df-mpt 4236  df-tr 4271  df-eprel 4462  df-id 4466  df-po 4471  df-so 4472  df-fr 4509  df-se 4510  df-we 4511  df-ord 4552  df-on 4553  df-lim 4554  df-suc 4555  df-om 4813  df-xp 4851  df-rel 4852  df-cnv 4853  df-co 4854  df-dm 4855  df-rn 4856  df-res 4857  df-ima 4858  df-iota 5385  df-fun 5423  df-fn 5424  df-f 5425  df-f1 5426  df-fo 5427  df-f1o 5428  df-fv 5429  df-isom 5430  df-ov 6051  df-oprab 6052  df-mpt2 6053  df-of 6272  df-1st 6316  df-2nd 6317  df-riota 6516  df-recs 6600  df-rdg 6635  df-1o 6691  df-2o 6692  df-oadd 6695  df-er 6872  df-map 6987  df-pm 6988  df-ixp 7031  df-en 7077  df-dom 7078  df-sdom 7079  df-fin 7080  df-fi 7382  df-sup 7412  df-oi 7443  df-card 7790  df-cda 8012  df-pnf 9086  df-mnf 9087  df-xr 9088  df-ltxr 9089  df-le 9090  df-sub 9257  df-neg 9258  df-div 9642  df-nn 9965  df-2 10022  df-3 10023  df-4 10024  df-5 10025  df-6 10026  df-7 10027  df-8 10028  df-9 10029  df-10 10030  df-n0 10186  df-z 10247  df-dec 10347  df-uz 10453  df-q 10539  df-rp 10577  df-xneg 10674  df-xadd 10675  df-xmul 10676  df-ioo 10884  df-ioc 10885  df-ico 10886  df-icc 10887  df-fz 11008  df-fzo 11099  df-fl 11165  df-mod 11214  df-seq 11287  df-exp 11346  df-fac 11530  df-bc 11557  df-hash 11582  df-shft 11845  df-cj 11867  df-re 11868  df-im 11869  df-sqr 12003  df-abs 12004  df-limsup 12228  df-clim 12245  df-rlim 12246  df-sum 12443  df-ef 12633  df-sin 12635  df-cos 12636  df-pi 12638  df-struct 13434  df-ndx 13435  df-slot 13436  df-base 13437  df-sets 13438  df-ress 13439  df-plusg 13505  df-mulr 13506  df-starv 13507  df-sca 13508  df-vsca 13509  df-tset 13511  df-ple 13512  df-ds 13514  df-unif 13515  df-hom 13516  df-cco 13517  df-rest 13613  df-topn 13614  df-topgen 13630  df-pt 13631  df-prds 13634  df-xrs 13689  df-0g 13690  df-gsum 13691  df-qtop 13696  df-imas 13697  df-xps 13699  df-mre 13774  df-mrc 13775  df-acs 13777  df-mnd 14653  df-submnd 14702  df-mulg 14778  df-cntz 15079  df-cmn 15377  df-psmet 16657  df-xmet 16658  df-met 16659  df-bl 16660  df-mopn 16661  df-fbas 16662  df-fg 16663  df-cnfld 16667  df-top 16926  df-bases 16928  df-topon 16929  df-topsp 16930  df-cld 17046  df-ntr 17047  df-cls 17048  df-nei 17125  df-lp 17163  df-perf 17164  df-cn 17253  df-cnp 17254  df-haus 17341  df-tx 17555  df-hmeo 17748  df-fil 17839  df-fm 17931  df-flim 17932  df-flf 17933  df-xms 18311  df-ms 18312  df-tms 18313  df-cncf 18869  df-limc 19714  df-dv 19715  df-log 20415
  Copyright terms: Public domain W3C validator