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

Theorem chordthmlem5 26746
Description: If P is on the segment AB and AQ = BQ, then PA · PB = BQ 2 PQ 2 . This follows from two uses of chordthmlem3 26744 to show that PQ 2 = QM 2 + PM 2 and BQ 2 = QM 2 + BM 2 , so BQ 2 PQ 2 = (QM 2 + BM 2 ) (QM 2 + PM 2 ) = BM 2 PM 2 , which equals PA · PB by chordthmlem4 26745. (Contributed by David Moews, 28-Feb-2017.)
Hypotheses
Ref Expression
chordthmlem5.A (𝜑𝐴 ∈ ℂ)
chordthmlem5.B (𝜑𝐵 ∈ ℂ)
chordthmlem5.Q (𝜑𝑄 ∈ ℂ)
chordthmlem5.X (𝜑𝑋 ∈ (0[,]1))
chordthmlem5.P (𝜑𝑃 = ((𝑋 · 𝐴) + ((1 − 𝑋) · 𝐵)))
chordthmlem5.ABequidistQ (𝜑 → (abs‘(𝐴𝑄)) = (abs‘(𝐵𝑄)))
Assertion
Ref Expression
chordthmlem5 (𝜑 → ((abs‘(𝑃𝐴)) · (abs‘(𝑃𝐵))) = (((abs‘(𝐵𝑄))↑2) − ((abs‘(𝑃𝑄))↑2)))

Proof of Theorem chordthmlem5
StepHypRef Expression
1 chordthmlem5.Q . . . . . . 7 (𝜑𝑄 ∈ ℂ)
2 chordthmlem5.A . . . . . . . . 9 (𝜑𝐴 ∈ ℂ)
3 chordthmlem5.B . . . . . . . . 9 (𝜑𝐵 ∈ ℂ)
42, 3addcld 11193 . . . . . . . 8 (𝜑 → (𝐴 + 𝐵) ∈ ℂ)
54halfcld 12427 . . . . . . 7 (𝜑 → ((𝐴 + 𝐵) / 2) ∈ ℂ)
61, 5subcld 11533 . . . . . 6 (𝜑 → (𝑄 − ((𝐴 + 𝐵) / 2)) ∈ ℂ)
76abscld 15405 . . . . 5 (𝜑 → (abs‘(𝑄 − ((𝐴 + 𝐵) / 2))) ∈ ℝ)
87recnd 11202 . . . 4 (𝜑 → (abs‘(𝑄 − ((𝐴 + 𝐵) / 2))) ∈ ℂ)
98sqcld 14109 . . 3 (𝜑 → ((abs‘(𝑄 − ((𝐴 + 𝐵) / 2)))↑2) ∈ ℂ)
103, 5subcld 11533 . . . . . 6 (𝜑 → (𝐵 − ((𝐴 + 𝐵) / 2)) ∈ ℂ)
1110abscld 15405 . . . . 5 (𝜑 → (abs‘(𝐵 − ((𝐴 + 𝐵) / 2))) ∈ ℝ)
1211recnd 11202 . . . 4 (𝜑 → (abs‘(𝐵 − ((𝐴 + 𝐵) / 2))) ∈ ℂ)
1312sqcld 14109 . . 3 (𝜑 → ((abs‘(𝐵 − ((𝐴 + 𝐵) / 2)))↑2) ∈ ℂ)
14 chordthmlem5.P . . . . . . . 8 (𝜑𝑃 = ((𝑋 · 𝐴) + ((1 − 𝑋) · 𝐵)))
15 unitssre 13460 . . . . . . . . . . . 12 (0[,]1) ⊆ ℝ
16 chordthmlem5.X . . . . . . . . . . . 12 (𝜑𝑋 ∈ (0[,]1))
1715, 16sselid 3944 . . . . . . . . . . 11 (𝜑𝑋 ∈ ℝ)
1817recnd 11202 . . . . . . . . . 10 (𝜑𝑋 ∈ ℂ)
1918, 2mulcld 11194 . . . . . . . . 9 (𝜑 → (𝑋 · 𝐴) ∈ ℂ)
20 1cnd 11169 . . . . . . . . . . 11 (𝜑 → 1 ∈ ℂ)
2120, 18subcld 11533 . . . . . . . . . 10 (𝜑 → (1 − 𝑋) ∈ ℂ)
2221, 3mulcld 11194 . . . . . . . . 9 (𝜑 → ((1 − 𝑋) · 𝐵) ∈ ℂ)
2319, 22addcld 11193 . . . . . . . 8 (𝜑 → ((𝑋 · 𝐴) + ((1 − 𝑋) · 𝐵)) ∈ ℂ)
2414, 23eqeltrd 2828 . . . . . . 7 (𝜑𝑃 ∈ ℂ)
2524, 5subcld 11533 . . . . . 6 (𝜑 → (𝑃 − ((𝐴 + 𝐵) / 2)) ∈ ℂ)
2625abscld 15405 . . . . 5 (𝜑 → (abs‘(𝑃 − ((𝐴 + 𝐵) / 2))) ∈ ℝ)
2726recnd 11202 . . . 4 (𝜑 → (abs‘(𝑃 − ((𝐴 + 𝐵) / 2))) ∈ ℂ)
2827sqcld 14109 . . 3 (𝜑 → ((abs‘(𝑃 − ((𝐴 + 𝐵) / 2)))↑2) ∈ ℂ)
299, 13, 28pnpcand 11570 . 2 (𝜑 → ((((abs‘(𝑄 − ((𝐴 + 𝐵) / 2)))↑2) + ((abs‘(𝐵 − ((𝐴 + 𝐵) / 2)))↑2)) − (((abs‘(𝑄 − ((𝐴 + 𝐵) / 2)))↑2) + ((abs‘(𝑃 − ((𝐴 + 𝐵) / 2)))↑2))) = (((abs‘(𝐵 − ((𝐴 + 𝐵) / 2)))↑2) − ((abs‘(𝑃 − ((𝐴 + 𝐵) / 2)))↑2)))
30 0red 11177 . . . 4 (𝜑 → 0 ∈ ℝ)
31 eqidd 2730 . . . 4 (𝜑 → ((𝐴 + 𝐵) / 2) = ((𝐴 + 𝐵) / 2))
322mul02d 11372 . . . . . 6 (𝜑 → (0 · 𝐴) = 0)
3320subid1d 11522 . . . . . . . 8 (𝜑 → (1 − 0) = 1)
3433oveq1d 7402 . . . . . . 7 (𝜑 → ((1 − 0) · 𝐵) = (1 · 𝐵))
353mullidd 11192 . . . . . . 7 (𝜑 → (1 · 𝐵) = 𝐵)
3634, 35eqtrd 2764 . . . . . 6 (𝜑 → ((1 − 0) · 𝐵) = 𝐵)
3732, 36oveq12d 7405 . . . . 5 (𝜑 → ((0 · 𝐴) + ((1 − 0) · 𝐵)) = (0 + 𝐵))
383addlidd 11375 . . . . 5 (𝜑 → (0 + 𝐵) = 𝐵)
3937, 38eqtr2d 2765 . . . 4 (𝜑𝐵 = ((0 · 𝐴) + ((1 − 0) · 𝐵)))
40 chordthmlem5.ABequidistQ . . . 4 (𝜑 → (abs‘(𝐴𝑄)) = (abs‘(𝐵𝑄)))
412, 3, 1, 30, 31, 39, 40chordthmlem3 26744 . . 3 (𝜑 → ((abs‘(𝐵𝑄))↑2) = (((abs‘(𝑄 − ((𝐴 + 𝐵) / 2)))↑2) + ((abs‘(𝐵 − ((𝐴 + 𝐵) / 2)))↑2)))
422, 3, 1, 17, 31, 14, 40chordthmlem3 26744 . . 3 (𝜑 → ((abs‘(𝑃𝑄))↑2) = (((abs‘(𝑄 − ((𝐴 + 𝐵) / 2)))↑2) + ((abs‘(𝑃 − ((𝐴 + 𝐵) / 2)))↑2)))
4341, 42oveq12d 7405 . 2 (𝜑 → (((abs‘(𝐵𝑄))↑2) − ((abs‘(𝑃𝑄))↑2)) = ((((abs‘(𝑄 − ((𝐴 + 𝐵) / 2)))↑2) + ((abs‘(𝐵 − ((𝐴 + 𝐵) / 2)))↑2)) − (((abs‘(𝑄 − ((𝐴 + 𝐵) / 2)))↑2) + ((abs‘(𝑃 − ((𝐴 + 𝐵) / 2)))↑2))))
442, 3, 16, 31, 14chordthmlem4 26745 . 2 (𝜑 → ((abs‘(𝑃𝐴)) · (abs‘(𝑃𝐵))) = (((abs‘(𝐵 − ((𝐴 + 𝐵) / 2)))↑2) − ((abs‘(𝑃 − ((𝐴 + 𝐵) / 2)))↑2)))
4529, 43, 443eqtr4rd 2775 1 (𝜑 → ((abs‘(𝑃𝐴)) · (abs‘(𝑃𝐵))) = (((abs‘(𝐵𝑄))↑2) − ((abs‘(𝑃𝑄))↑2)))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1540  wcel 2109  cfv 6511  (class class class)co 7387  cc 11066  cr 11067  0cc0 11068  1c1 11069   + caddc 11071   · cmul 11073  cmin 11405   / cdiv 11835  2c2 12241  [,]cicc 13309  cexp 14026  abscabs 15200
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2701  ax-rep 5234  ax-sep 5251  ax-nul 5261  ax-pow 5320  ax-pr 5387  ax-un 7711  ax-inf2 9594  ax-cnex 11124  ax-resscn 11125  ax-1cn 11126  ax-icn 11127  ax-addcl 11128  ax-addrcl 11129  ax-mulcl 11130  ax-mulrcl 11131  ax-mulcom 11132  ax-addass 11133  ax-mulass 11134  ax-distr 11135  ax-i2m1 11136  ax-1ne0 11137  ax-1rid 11138  ax-rnegex 11139  ax-rrecex 11140  ax-cnre 11141  ax-pre-lttri 11142  ax-pre-lttrn 11143  ax-pre-ltadd 11144  ax-pre-mulgt0 11145  ax-pre-sup 11146  ax-addf 11147
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2533  df-eu 2562  df-clab 2708  df-cleq 2721  df-clel 2803  df-nfc 2878  df-ne 2926  df-nel 3030  df-ral 3045  df-rex 3054  df-rmo 3354  df-reu 3355  df-rab 3406  df-v 3449  df-sbc 3754  df-csb 3863  df-dif 3917  df-un 3919  df-in 3921  df-ss 3931  df-pss 3934  df-nul 4297  df-if 4489  df-pw 4565  df-sn 4590  df-pr 4592  df-tp 4594  df-op 4596  df-uni 4872  df-int 4911  df-iun 4957  df-iin 4958  df-br 5108  df-opab 5170  df-mpt 5189  df-tr 5215  df-id 5533  df-eprel 5538  df-po 5546  df-so 5547  df-fr 5591  df-se 5592  df-we 5593  df-xp 5644  df-rel 5645  df-cnv 5646  df-co 5647  df-dm 5648  df-rn 5649  df-res 5650  df-ima 5651  df-pred 6274  df-ord 6335  df-on 6336  df-lim 6337  df-suc 6338  df-iota 6464  df-fun 6513  df-fn 6514  df-f 6515  df-f1 6516  df-fo 6517  df-f1o 6518  df-fv 6519  df-isom 6520  df-riota 7344  df-ov 7390  df-oprab 7391  df-mpo 7392  df-of 7653  df-om 7843  df-1st 7968  df-2nd 7969  df-supp 8140  df-frecs 8260  df-wrecs 8291  df-recs 8340  df-rdg 8378  df-1o 8434  df-2o 8435  df-er 8671  df-map 8801  df-pm 8802  df-ixp 8871  df-en 8919  df-dom 8920  df-sdom 8921  df-fin 8922  df-fsupp 9313  df-fi 9362  df-sup 9393  df-inf 9394  df-oi 9463  df-card 9892  df-pnf 11210  df-mnf 11211  df-xr 11212  df-ltxr 11213  df-le 11214  df-sub 11407  df-neg 11408  df-div 11836  df-nn 12187  df-2 12249  df-3 12250  df-4 12251  df-5 12252  df-6 12253  df-7 12254  df-8 12255  df-9 12256  df-n0 12443  df-z 12530  df-dec 12650  df-uz 12794  df-q 12908  df-rp 12952  df-xneg 13072  df-xadd 13073  df-xmul 13074  df-ioo 13310  df-ioc 13311  df-ico 13312  df-icc 13313  df-fz 13469  df-fzo 13616  df-fl 13754  df-mod 13832  df-seq 13967  df-exp 14027  df-fac 14239  df-bc 14268  df-hash 14296  df-shft 15033  df-cj 15065  df-re 15066  df-im 15067  df-sqrt 15201  df-abs 15202  df-limsup 15437  df-clim 15454  df-rlim 15455  df-sum 15653  df-ef 16033  df-sin 16035  df-cos 16036  df-pi 16038  df-struct 17117  df-sets 17134  df-slot 17152  df-ndx 17164  df-base 17180  df-ress 17201  df-plusg 17233  df-mulr 17234  df-starv 17235  df-sca 17236  df-vsca 17237  df-ip 17238  df-tset 17239  df-ple 17240  df-ds 17242  df-unif 17243  df-hom 17244  df-cco 17245  df-rest 17385  df-topn 17386  df-0g 17404  df-gsum 17405  df-topgen 17406  df-pt 17407  df-prds 17410  df-xrs 17465  df-qtop 17470  df-imas 17471  df-xps 17473  df-mre 17547  df-mrc 17548  df-acs 17550  df-mgm 18567  df-sgrp 18646  df-mnd 18662  df-submnd 18711  df-mulg 19000  df-cntz 19249  df-cmn 19712  df-psmet 21256  df-xmet 21257  df-met 21258  df-bl 21259  df-mopn 21260  df-fbas 21261  df-fg 21262  df-cnfld 21265  df-top 22781  df-topon 22798  df-topsp 22820  df-bases 22833  df-cld 22906  df-ntr 22907  df-cls 22908  df-nei 22985  df-lp 23023  df-perf 23024  df-cn 23114  df-cnp 23115  df-haus 23202  df-tx 23449  df-hmeo 23642  df-fil 23733  df-fm 23825  df-flim 23826  df-flf 23827  df-xms 24208  df-ms 24209  df-tms 24210  df-cncf 24771  df-limc 25767  df-dv 25768  df-log 26465
This theorem is referenced by:  chordthm  26747  chordthmALT  44922
  Copyright terms: Public domain W3C validator