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

Theorem chordthmlem3 26878
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 26877 and the Pythagorean theorem (pythag 26861) 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 (𝜑𝐴 ∈ ℂ)
chordthmlem3.B (𝜑𝐵 ∈ ℂ)
chordthmlem3.Q (𝜑𝑄 ∈ ℂ)
chordthmlem3.X (𝜑𝑋 ∈ ℝ)
chordthmlem3.M (𝜑𝑀 = ((𝐴 + 𝐵) / 2))
chordthmlem3.P (𝜑𝑃 = ((𝑋 · 𝐴) + ((1 − 𝑋) · 𝐵)))
chordthmlem3.ABequidistQ (𝜑 → (abs‘(𝐴𝑄)) = (abs‘(𝐵𝑄)))
Assertion
Ref Expression
chordthmlem3 (𝜑 → ((abs‘(𝑃𝑄))↑2) = (((abs‘(𝑄𝑀))↑2) + ((abs‘(𝑃𝑀))↑2)))

Proof of Theorem chordthmlem3
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 chordthmlem3.Q . . . . . . . . 9 (𝜑𝑄 ∈ ℂ)
2 chordthmlem3.M . . . . . . . . . 10 (𝜑𝑀 = ((𝐴 + 𝐵) / 2))
3 chordthmlem3.A . . . . . . . . . . . 12 (𝜑𝐴 ∈ ℂ)
4 chordthmlem3.B . . . . . . . . . . . 12 (𝜑𝐵 ∈ ℂ)
53, 4addcld 11281 . . . . . . . . . . 11 (𝜑 → (𝐴 + 𝐵) ∈ ℂ)
65halfcld 12513 . . . . . . . . . 10 (𝜑 → ((𝐴 + 𝐵) / 2) ∈ ℂ)
72, 6eqeltrd 2840 . . . . . . . . 9 (𝜑𝑀 ∈ ℂ)
81, 7subcld 11621 . . . . . . . 8 (𝜑 → (𝑄𝑀) ∈ ℂ)
98abscld 15476 . . . . . . 7 (𝜑 → (abs‘(𝑄𝑀)) ∈ ℝ)
109recnd 11290 . . . . . 6 (𝜑 → (abs‘(𝑄𝑀)) ∈ ℂ)
1110sqcld 14185 . . . . 5 (𝜑 → ((abs‘(𝑄𝑀))↑2) ∈ ℂ)
1211adantr 480 . . . 4 ((𝜑𝑃 = 𝑀) → ((abs‘(𝑄𝑀))↑2) ∈ ℂ)
1312addridd 11462 . . 3 ((𝜑𝑃 = 𝑀) → (((abs‘(𝑄𝑀))↑2) + 0) = ((abs‘(𝑄𝑀))↑2))
14 chordthmlem3.P . . . . . . . . 9 (𝜑𝑃 = ((𝑋 · 𝐴) + ((1 − 𝑋) · 𝐵)))
15 chordthmlem3.X . . . . . . . . . . . 12 (𝜑𝑋 ∈ ℝ)
1615recnd 11290 . . . . . . . . . . 11 (𝜑𝑋 ∈ ℂ)
1716, 3mulcld 11282 . . . . . . . . . 10 (𝜑 → (𝑋 · 𝐴) ∈ ℂ)
18 1cnd 11257 . . . . . . . . . . . 12 (𝜑 → 1 ∈ ℂ)
1918, 16subcld 11621 . . . . . . . . . . 11 (𝜑 → (1 − 𝑋) ∈ ℂ)
2019, 4mulcld 11282 . . . . . . . . . 10 (𝜑 → ((1 − 𝑋) · 𝐵) ∈ ℂ)
2117, 20addcld 11281 . . . . . . . . 9 (𝜑 → ((𝑋 · 𝐴) + ((1 − 𝑋) · 𝐵)) ∈ ℂ)
2214, 21eqeltrd 2840 . . . . . . . 8 (𝜑𝑃 ∈ ℂ)
2322adantr 480 . . . . . . 7 ((𝜑𝑃 = 𝑀) → 𝑃 ∈ ℂ)
24 simpr 484 . . . . . . 7 ((𝜑𝑃 = 𝑀) → 𝑃 = 𝑀)
2523, 24subeq0bd 11690 . . . . . 6 ((𝜑𝑃 = 𝑀) → (𝑃𝑀) = 0)
2625abs00bd 15331 . . . . 5 ((𝜑𝑃 = 𝑀) → (abs‘(𝑃𝑀)) = 0)
2726sq0id 14234 . . . 4 ((𝜑𝑃 = 𝑀) → ((abs‘(𝑃𝑀))↑2) = 0)
2827oveq2d 7448 . . 3 ((𝜑𝑃 = 𝑀) → (((abs‘(𝑄𝑀))↑2) + ((abs‘(𝑃𝑀))↑2)) = (((abs‘(𝑄𝑀))↑2) + 0))
291adantr 480 . . . . . 6 ((𝜑𝑃 = 𝑀) → 𝑄 ∈ ℂ)
3029, 23abssubd 15493 . . . . 5 ((𝜑𝑃 = 𝑀) → (abs‘(𝑄𝑃)) = (abs‘(𝑃𝑄)))
3124oveq2d 7448 . . . . . 6 ((𝜑𝑃 = 𝑀) → (𝑄𝑃) = (𝑄𝑀))
3231fveq2d 6909 . . . . 5 ((𝜑𝑃 = 𝑀) → (abs‘(𝑄𝑃)) = (abs‘(𝑄𝑀)))
3330, 32eqtr3d 2778 . . . 4 ((𝜑𝑃 = 𝑀) → (abs‘(𝑃𝑄)) = (abs‘(𝑄𝑀)))
3433oveq1d 7447 . . 3 ((𝜑𝑃 = 𝑀) → ((abs‘(𝑃𝑄))↑2) = ((abs‘(𝑄𝑀))↑2))
3513, 28, 343eqtr4rd 2787 . 2 ((𝜑𝑃 = 𝑀) → ((abs‘(𝑃𝑄))↑2) = (((abs‘(𝑄𝑀))↑2) + ((abs‘(𝑃𝑀))↑2)))
3622, 7subcld 11621 . . . . . . . 8 (𝜑 → (𝑃𝑀) ∈ ℂ)
3736abscld 15476 . . . . . . 7 (𝜑 → (abs‘(𝑃𝑀)) ∈ ℝ)
3837recnd 11290 . . . . . 6 (𝜑 → (abs‘(𝑃𝑀)) ∈ ℂ)
3938sqcld 14185 . . . . 5 (𝜑 → ((abs‘(𝑃𝑀))↑2) ∈ ℂ)
4039adantr 480 . . . 4 ((𝜑𝑄 = 𝑀) → ((abs‘(𝑃𝑀))↑2) ∈ ℂ)
4140addlidd 11463 . . 3 ((𝜑𝑄 = 𝑀) → (0 + ((abs‘(𝑃𝑀))↑2)) = ((abs‘(𝑃𝑀))↑2))
421adantr 480 . . . . . . 7 ((𝜑𝑄 = 𝑀) → 𝑄 ∈ ℂ)
43 simpr 484 . . . . . . 7 ((𝜑𝑄 = 𝑀) → 𝑄 = 𝑀)
4442, 43subeq0bd 11690 . . . . . 6 ((𝜑𝑄 = 𝑀) → (𝑄𝑀) = 0)
4544abs00bd 15331 . . . . 5 ((𝜑𝑄 = 𝑀) → (abs‘(𝑄𝑀)) = 0)
4645sq0id 14234 . . . 4 ((𝜑𝑄 = 𝑀) → ((abs‘(𝑄𝑀))↑2) = 0)
4746oveq1d 7447 . . 3 ((𝜑𝑄 = 𝑀) → (((abs‘(𝑄𝑀))↑2) + ((abs‘(𝑃𝑀))↑2)) = (0 + ((abs‘(𝑃𝑀))↑2)))
4843oveq2d 7448 . . . . 5 ((𝜑𝑄 = 𝑀) → (𝑃𝑄) = (𝑃𝑀))
4948fveq2d 6909 . . . 4 ((𝜑𝑄 = 𝑀) → (abs‘(𝑃𝑄)) = (abs‘(𝑃𝑀)))
5049oveq1d 7447 . . 3 ((𝜑𝑄 = 𝑀) → ((abs‘(𝑃𝑄))↑2) = ((abs‘(𝑃𝑀))↑2))
5141, 47, 503eqtr4rd 2787 . 2 ((𝜑𝑄 = 𝑀) → ((abs‘(𝑃𝑄))↑2) = (((abs‘(𝑄𝑀))↑2) + ((abs‘(𝑃𝑀))↑2)))
5222adantr 480 . . 3 ((𝜑 ∧ (𝑃𝑀𝑄𝑀)) → 𝑃 ∈ ℂ)
531adantr 480 . . 3 ((𝜑 ∧ (𝑃𝑀𝑄𝑀)) → 𝑄 ∈ ℂ)
547adantr 480 . . 3 ((𝜑 ∧ (𝑃𝑀𝑄𝑀)) → 𝑀 ∈ ℂ)
55 simprl 770 . . 3 ((𝜑 ∧ (𝑃𝑀𝑄𝑀)) → 𝑃𝑀)
56 simprr 772 . . 3 ((𝜑 ∧ (𝑃𝑀𝑄𝑀)) → 𝑄𝑀)
57 eqid 2736 . . . 4 (𝑥 ∈ (ℂ ∖ {0}), 𝑦 ∈ (ℂ ∖ {0}) ↦ (ℑ‘(log‘(𝑦 / 𝑥)))) = (𝑥 ∈ (ℂ ∖ {0}), 𝑦 ∈ (ℂ ∖ {0}) ↦ (ℑ‘(log‘(𝑦 / 𝑥))))
583adantr 480 . . . 4 ((𝜑 ∧ (𝑃𝑀𝑄𝑀)) → 𝐴 ∈ ℂ)
594adantr 480 . . . 4 ((𝜑 ∧ (𝑃𝑀𝑄𝑀)) → 𝐵 ∈ ℂ)
6015adantr 480 . . . 4 ((𝜑 ∧ (𝑃𝑀𝑄𝑀)) → 𝑋 ∈ ℝ)
612adantr 480 . . . 4 ((𝜑 ∧ (𝑃𝑀𝑄𝑀)) → 𝑀 = ((𝐴 + 𝐵) / 2))
6214adantr 480 . . . 4 ((𝜑 ∧ (𝑃𝑀𝑄𝑀)) → 𝑃 = ((𝑋 · 𝐴) + ((1 − 𝑋) · 𝐵)))
63 chordthmlem3.ABequidistQ . . . . 5 (𝜑 → (abs‘(𝐴𝑄)) = (abs‘(𝐵𝑄)))
6463adantr 480 . . . 4 ((𝜑 ∧ (𝑃𝑀𝑄𝑀)) → (abs‘(𝐴𝑄)) = (abs‘(𝐵𝑄)))
6557, 58, 59, 53, 60, 61, 62, 64, 55, 56chordthmlem2 26877 . . 3 ((𝜑 ∧ (𝑃𝑀𝑄𝑀)) → ((𝑄𝑀)(𝑥 ∈ (ℂ ∖ {0}), 𝑦 ∈ (ℂ ∖ {0}) ↦ (ℑ‘(log‘(𝑦 / 𝑥))))(𝑃𝑀)) ∈ {(π / 2), -(π / 2)})
66 eqid 2736 . . . 4 (abs‘(𝑄𝑀)) = (abs‘(𝑄𝑀))
67 eqid 2736 . . . 4 (abs‘(𝑃𝑀)) = (abs‘(𝑃𝑀))
68 eqid 2736 . . . 4 (abs‘(𝑃𝑄)) = (abs‘(𝑃𝑄))
69 eqid 2736 . . . 4 ((𝑄𝑀)(𝑥 ∈ (ℂ ∖ {0}), 𝑦 ∈ (ℂ ∖ {0}) ↦ (ℑ‘(log‘(𝑦 / 𝑥))))(𝑃𝑀)) = ((𝑄𝑀)(𝑥 ∈ (ℂ ∖ {0}), 𝑦 ∈ (ℂ ∖ {0}) ↦ (ℑ‘(log‘(𝑦 / 𝑥))))(𝑃𝑀))
7057, 66, 67, 68, 69pythag 26861 . . 3 (((𝑃 ∈ ℂ ∧ 𝑄 ∈ ℂ ∧ 𝑀 ∈ ℂ) ∧ (𝑃𝑀𝑄𝑀) ∧ ((𝑄𝑀)(𝑥 ∈ (ℂ ∖ {0}), 𝑦 ∈ (ℂ ∖ {0}) ↦ (ℑ‘(log‘(𝑦 / 𝑥))))(𝑃𝑀)) ∈ {(π / 2), -(π / 2)}) → ((abs‘(𝑃𝑄))↑2) = (((abs‘(𝑄𝑀))↑2) + ((abs‘(𝑃𝑀))↑2)))
7152, 53, 54, 55, 56, 65, 70syl321anc 1393 . 2 ((𝜑 ∧ (𝑃𝑀𝑄𝑀)) → ((abs‘(𝑃𝑄))↑2) = (((abs‘(𝑄𝑀))↑2) + ((abs‘(𝑃𝑀))↑2)))
7235, 51, 71pm2.61da2ne 3029 1 (𝜑 → ((abs‘(𝑃𝑄))↑2) = (((abs‘(𝑄𝑀))↑2) + ((abs‘(𝑃𝑀))↑2)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1539  wcel 2107  wne 2939  cdif 3947  {csn 4625  {cpr 4627  cfv 6560  (class class class)co 7432  cmpo 7434  cc 11154  cr 11155  0cc0 11156  1c1 11157   + caddc 11159   · cmul 11161  cmin 11493  -cneg 11494   / cdiv 11921  2c2 12322  cexp 14103  cim 15138  abscabs 15274  πcpi 16103  logclog 26597
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1794  ax-4 1808  ax-5 1909  ax-6 1966  ax-7 2006  ax-8 2109  ax-9 2117  ax-10 2140  ax-11 2156  ax-12 2176  ax-ext 2707  ax-rep 5278  ax-sep 5295  ax-nul 5305  ax-pow 5364  ax-pr 5431  ax-un 7756  ax-inf2 9682  ax-cnex 11212  ax-resscn 11213  ax-1cn 11214  ax-icn 11215  ax-addcl 11216  ax-addrcl 11217  ax-mulcl 11218  ax-mulrcl 11219  ax-mulcom 11220  ax-addass 11221  ax-mulass 11222  ax-distr 11223  ax-i2m1 11224  ax-1ne0 11225  ax-1rid 11226  ax-rnegex 11227  ax-rrecex 11228  ax-cnre 11229  ax-pre-lttri 11230  ax-pre-lttrn 11231  ax-pre-ltadd 11232  ax-pre-mulgt0 11233  ax-pre-sup 11234  ax-addf 11235
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1779  df-nf 1783  df-sb 2064  df-mo 2539  df-eu 2568  df-clab 2714  df-cleq 2728  df-clel 2815  df-nfc 2891  df-ne 2940  df-nel 3046  df-ral 3061  df-rex 3070  df-rmo 3379  df-reu 3380  df-rab 3436  df-v 3481  df-sbc 3788  df-csb 3899  df-dif 3953  df-un 3955  df-in 3957  df-ss 3967  df-pss 3970  df-nul 4333  df-if 4525  df-pw 4601  df-sn 4626  df-pr 4628  df-tp 4630  df-op 4632  df-uni 4907  df-int 4946  df-iun 4992  df-iin 4993  df-br 5143  df-opab 5205  df-mpt 5225  df-tr 5259  df-id 5577  df-eprel 5583  df-po 5591  df-so 5592  df-fr 5636  df-se 5637  df-we 5638  df-xp 5690  df-rel 5691  df-cnv 5692  df-co 5693  df-dm 5694  df-rn 5695  df-res 5696  df-ima 5697  df-pred 6320  df-ord 6386  df-on 6387  df-lim 6388  df-suc 6389  df-iota 6513  df-fun 6562  df-fn 6563  df-f 6564  df-f1 6565  df-fo 6566  df-f1o 6567  df-fv 6568  df-isom 6569  df-riota 7389  df-ov 7435  df-oprab 7436  df-mpo 7437  df-of 7698  df-om 7889  df-1st 8015  df-2nd 8016  df-supp 8187  df-frecs 8307  df-wrecs 8338  df-recs 8412  df-rdg 8451  df-1o 8507  df-2o 8508  df-er 8746  df-map 8869  df-pm 8870  df-ixp 8939  df-en 8987  df-dom 8988  df-sdom 8989  df-fin 8990  df-fsupp 9403  df-fi 9452  df-sup 9483  df-inf 9484  df-oi 9551  df-card 9980  df-pnf 11298  df-mnf 11299  df-xr 11300  df-ltxr 11301  df-le 11302  df-sub 11495  df-neg 11496  df-div 11922  df-nn 12268  df-2 12330  df-3 12331  df-4 12332  df-5 12333  df-6 12334  df-7 12335  df-8 12336  df-9 12337  df-n0 12529  df-z 12616  df-dec 12736  df-uz 12880  df-q 12992  df-rp 13036  df-xneg 13155  df-xadd 13156  df-xmul 13157  df-ioo 13392  df-ioc 13393  df-ico 13394  df-icc 13395  df-fz 13549  df-fzo 13696  df-fl 13833  df-mod 13911  df-seq 14044  df-exp 14104  df-fac 14314  df-bc 14343  df-hash 14371  df-shft 15107  df-cj 15139  df-re 15140  df-im 15141  df-sqrt 15275  df-abs 15276  df-limsup 15508  df-clim 15525  df-rlim 15526  df-sum 15724  df-ef 16104  df-sin 16106  df-cos 16107  df-pi 16109  df-struct 17185  df-sets 17202  df-slot 17220  df-ndx 17232  df-base 17249  df-ress 17276  df-plusg 17311  df-mulr 17312  df-starv 17313  df-sca 17314  df-vsca 17315  df-ip 17316  df-tset 17317  df-ple 17318  df-ds 17320  df-unif 17321  df-hom 17322  df-cco 17323  df-rest 17468  df-topn 17469  df-0g 17487  df-gsum 17488  df-topgen 17489  df-pt 17490  df-prds 17493  df-xrs 17548  df-qtop 17553  df-imas 17554  df-xps 17556  df-mre 17630  df-mrc 17631  df-acs 17633  df-mgm 18654  df-sgrp 18733  df-mnd 18749  df-submnd 18798  df-mulg 19087  df-cntz 19336  df-cmn 19801  df-psmet 21357  df-xmet 21358  df-met 21359  df-bl 21360  df-mopn 21361  df-fbas 21362  df-fg 21363  df-cnfld 21366  df-top 22901  df-topon 22918  df-topsp 22940  df-bases 22954  df-cld 23028  df-ntr 23029  df-cls 23030  df-nei 23107  df-lp 23145  df-perf 23146  df-cn 23236  df-cnp 23237  df-haus 23324  df-tx 23571  df-hmeo 23764  df-fil 23855  df-fm 23947  df-flim 23948  df-flf 23949  df-xms 24331  df-ms 24332  df-tms 24333  df-cncf 24905  df-limc 25902  df-dv 25903  df-log 26599
This theorem is referenced by:  chordthmlem5  26880
  Copyright terms: Public domain W3C validator