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

Theorem chordthmlem5 25025
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 25023 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 25024. (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 10398 . . . . . . . 8 (𝜑 → (𝐴 + 𝐵) ∈ ℂ)
54halfcld 11632 . . . . . . 7 (𝜑 → ((𝐴 + 𝐵) / 2) ∈ ℂ)
61, 5subcld 10736 . . . . . 6 (𝜑 → (𝑄 − ((𝐴 + 𝐵) / 2)) ∈ ℂ)
76abscld 14590 . . . . 5 (𝜑 → (abs‘(𝑄 − ((𝐴 + 𝐵) / 2))) ∈ ℝ)
87recnd 10407 . . . 4 (𝜑 → (abs‘(𝑄 − ((𝐴 + 𝐵) / 2))) ∈ ℂ)
98sqcld 13330 . . 3 (𝜑 → ((abs‘(𝑄 − ((𝐴 + 𝐵) / 2)))↑2) ∈ ℂ)
103, 5subcld 10736 . . . . . 6 (𝜑 → (𝐵 − ((𝐴 + 𝐵) / 2)) ∈ ℂ)
1110abscld 14590 . . . . 5 (𝜑 → (abs‘(𝐵 − ((𝐴 + 𝐵) / 2))) ∈ ℝ)
1211recnd 10407 . . . 4 (𝜑 → (abs‘(𝐵 − ((𝐴 + 𝐵) / 2))) ∈ ℂ)
1312sqcld 13330 . . 3 (𝜑 → ((abs‘(𝐵 − ((𝐴 + 𝐵) / 2)))↑2) ∈ ℂ)
14 chordthmlem5.P . . . . . . . 8 (𝜑𝑃 = ((𝑋 · 𝐴) + ((1 − 𝑋) · 𝐵)))
15 unitssre 12641 . . . . . . . . . . . 12 (0[,]1) ⊆ ℝ
16 chordthmlem5.X . . . . . . . . . . . 12 (𝜑𝑋 ∈ (0[,]1))
1715, 16sseldi 3819 . . . . . . . . . . 11 (𝜑𝑋 ∈ ℝ)
1817recnd 10407 . . . . . . . . . 10 (𝜑𝑋 ∈ ℂ)
1918, 2mulcld 10399 . . . . . . . . 9 (𝜑 → (𝑋 · 𝐴) ∈ ℂ)
20 1cnd 10373 . . . . . . . . . . 11 (𝜑 → 1 ∈ ℂ)
2120, 18subcld 10736 . . . . . . . . . 10 (𝜑 → (1 − 𝑋) ∈ ℂ)
2221, 3mulcld 10399 . . . . . . . . 9 (𝜑 → ((1 − 𝑋) · 𝐵) ∈ ℂ)
2319, 22addcld 10398 . . . . . . . 8 (𝜑 → ((𝑋 · 𝐴) + ((1 − 𝑋) · 𝐵)) ∈ ℂ)
2414, 23eqeltrd 2859 . . . . . . 7 (𝜑𝑃 ∈ ℂ)
2524, 5subcld 10736 . . . . . 6 (𝜑 → (𝑃 − ((𝐴 + 𝐵) / 2)) ∈ ℂ)
2625abscld 14590 . . . . 5 (𝜑 → (abs‘(𝑃 − ((𝐴 + 𝐵) / 2))) ∈ ℝ)
2726recnd 10407 . . . 4 (𝜑 → (abs‘(𝑃 − ((𝐴 + 𝐵) / 2))) ∈ ℂ)
2827sqcld 13330 . . 3 (𝜑 → ((abs‘(𝑃 − ((𝐴 + 𝐵) / 2)))↑2) ∈ ℂ)
299, 13, 28pnpcand 10773 . 2 (𝜑 → ((((abs‘(𝑄 − ((𝐴 + 𝐵) / 2)))↑2) + ((abs‘(𝐵 − ((𝐴 + 𝐵) / 2)))↑2)) − (((abs‘(𝑄 − ((𝐴 + 𝐵) / 2)))↑2) + ((abs‘(𝑃 − ((𝐴 + 𝐵) / 2)))↑2))) = (((abs‘(𝐵 − ((𝐴 + 𝐵) / 2)))↑2) − ((abs‘(𝑃 − ((𝐴 + 𝐵) / 2)))↑2)))
30 0red 10382 . . . 4 (𝜑 → 0 ∈ ℝ)
31 eqidd 2779 . . . 4 (𝜑 → ((𝐴 + 𝐵) / 2) = ((𝐴 + 𝐵) / 2))
322mul02d 10576 . . . . . 6 (𝜑 → (0 · 𝐴) = 0)
3320subid1d 10725 . . . . . . . 8 (𝜑 → (1 − 0) = 1)
3433oveq1d 6939 . . . . . . 7 (𝜑 → ((1 − 0) · 𝐵) = (1 · 𝐵))
353mulid2d 10397 . . . . . . 7 (𝜑 → (1 · 𝐵) = 𝐵)
3634, 35eqtrd 2814 . . . . . 6 (𝜑 → ((1 − 0) · 𝐵) = 𝐵)
3732, 36oveq12d 6942 . . . . 5 (𝜑 → ((0 · 𝐴) + ((1 − 0) · 𝐵)) = (0 + 𝐵))
383addid2d 10579 . . . . 5 (𝜑 → (0 + 𝐵) = 𝐵)
3937, 38eqtr2d 2815 . . . 4 (𝜑𝐵 = ((0 · 𝐴) + ((1 − 0) · 𝐵)))
40 chordthmlem5.ABequidistQ . . . 4 (𝜑 → (abs‘(𝐴𝑄)) = (abs‘(𝐵𝑄)))
412, 3, 1, 30, 31, 39, 40chordthmlem3 25023 . . 3 (𝜑 → ((abs‘(𝐵𝑄))↑2) = (((abs‘(𝑄 − ((𝐴 + 𝐵) / 2)))↑2) + ((abs‘(𝐵 − ((𝐴 + 𝐵) / 2)))↑2)))
422, 3, 1, 17, 31, 14, 40chordthmlem3 25023 . . 3 (𝜑 → ((abs‘(𝑃𝑄))↑2) = (((abs‘(𝑄 − ((𝐴 + 𝐵) / 2)))↑2) + ((abs‘(𝑃 − ((𝐴 + 𝐵) / 2)))↑2)))
4341, 42oveq12d 6942 . 2 (𝜑 → (((abs‘(𝐵𝑄))↑2) − ((abs‘(𝑃𝑄))↑2)) = ((((abs‘(𝑄 − ((𝐴 + 𝐵) / 2)))↑2) + ((abs‘(𝐵 − ((𝐴 + 𝐵) / 2)))↑2)) − (((abs‘(𝑄 − ((𝐴 + 𝐵) / 2)))↑2) + ((abs‘(𝑃 − ((𝐴 + 𝐵) / 2)))↑2))))
442, 3, 16, 31, 14chordthmlem4 25024 . 2 (𝜑 → ((abs‘(𝑃𝐴)) · (abs‘(𝑃𝐵))) = (((abs‘(𝐵 − ((𝐴 + 𝐵) / 2)))↑2) − ((abs‘(𝑃 − ((𝐴 + 𝐵) / 2)))↑2)))
4529, 43, 443eqtr4rd 2825 1 (𝜑 → ((abs‘(𝑃𝐴)) · (abs‘(𝑃𝐵))) = (((abs‘(𝐵𝑄))↑2) − ((abs‘(𝑃𝑄))↑2)))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1601  wcel 2107  cfv 6137  (class class class)co 6924  cc 10272  cr 10273  0cc0 10274  1c1 10275   + caddc 10277   · cmul 10279  cmin 10608   / cdiv 11035  2c2 11435  [,]cicc 12495  cexp 13183  abscabs 14387
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1839  ax-4 1853  ax-5 1953  ax-6 2021  ax-7 2055  ax-8 2109  ax-9 2116  ax-10 2135  ax-11 2150  ax-12 2163  ax-13 2334  ax-ext 2754  ax-rep 5008  ax-sep 5019  ax-nul 5027  ax-pow 5079  ax-pr 5140  ax-un 7228  ax-inf2 8837  ax-cnex 10330  ax-resscn 10331  ax-1cn 10332  ax-icn 10333  ax-addcl 10334  ax-addrcl 10335  ax-mulcl 10336  ax-mulrcl 10337  ax-mulcom 10338  ax-addass 10339  ax-mulass 10340  ax-distr 10341  ax-i2m1 10342  ax-1ne0 10343  ax-1rid 10344  ax-rnegex 10345  ax-rrecex 10346  ax-cnre 10347  ax-pre-lttri 10348  ax-pre-lttrn 10349  ax-pre-ltadd 10350  ax-pre-mulgt0 10351  ax-pre-sup 10352  ax-addf 10353  ax-mulf 10354
This theorem depends on definitions:  df-bi 199  df-an 387  df-or 837  df-3or 1072  df-3an 1073  df-tru 1605  df-fal 1615  df-ex 1824  df-nf 1828  df-sb 2012  df-mo 2551  df-eu 2587  df-clab 2764  df-cleq 2770  df-clel 2774  df-nfc 2921  df-ne 2970  df-nel 3076  df-ral 3095  df-rex 3096  df-reu 3097  df-rmo 3098  df-rab 3099  df-v 3400  df-sbc 3653  df-csb 3752  df-dif 3795  df-un 3797  df-in 3799  df-ss 3806  df-pss 3808  df-nul 4142  df-if 4308  df-pw 4381  df-sn 4399  df-pr 4401  df-tp 4403  df-op 4405  df-uni 4674  df-int 4713  df-iun 4757  df-iin 4758  df-br 4889  df-opab 4951  df-mpt 4968  df-tr 4990  df-id 5263  df-eprel 5268  df-po 5276  df-so 5277  df-fr 5316  df-se 5317  df-we 5318  df-xp 5363  df-rel 5364  df-cnv 5365  df-co 5366  df-dm 5367  df-rn 5368  df-res 5369  df-ima 5370  df-pred 5935  df-ord 5981  df-on 5982  df-lim 5983  df-suc 5984  df-iota 6101  df-fun 6139  df-fn 6140  df-f 6141  df-f1 6142  df-fo 6143  df-f1o 6144  df-fv 6145  df-isom 6146  df-riota 6885  df-ov 6927  df-oprab 6928  df-mpt2 6929  df-of 7176  df-om 7346  df-1st 7447  df-2nd 7448  df-supp 7579  df-wrecs 7691  df-recs 7753  df-rdg 7791  df-1o 7845  df-2o 7846  df-oadd 7849  df-er 8028  df-map 8144  df-pm 8145  df-ixp 8197  df-en 8244  df-dom 8245  df-sdom 8246  df-fin 8247  df-fsupp 8566  df-fi 8607  df-sup 8638  df-inf 8639  df-oi 8706  df-card 9100  df-cda 9327  df-pnf 10415  df-mnf 10416  df-xr 10417  df-ltxr 10418  df-le 10419  df-sub 10610  df-neg 10611  df-div 11036  df-nn 11380  df-2 11443  df-3 11444  df-4 11445  df-5 11446  df-6 11447  df-7 11448  df-8 11449  df-9 11450  df-n0 11648  df-z 11734  df-dec 11851  df-uz 11998  df-q 12101  df-rp 12143  df-xneg 12262  df-xadd 12263  df-xmul 12264  df-ioo 12496  df-ioc 12497  df-ico 12498  df-icc 12499  df-fz 12649  df-fzo 12790  df-fl 12917  df-mod 12993  df-seq 13125  df-exp 13184  df-fac 13385  df-bc 13414  df-hash 13442  df-shft 14220  df-cj 14252  df-re 14253  df-im 14254  df-sqrt 14388  df-abs 14389  df-limsup 14619  df-clim 14636  df-rlim 14637  df-sum 14834  df-ef 15209  df-sin 15211  df-cos 15212  df-pi 15214  df-struct 16268  df-ndx 16269  df-slot 16270  df-base 16272  df-sets 16273  df-ress 16274  df-plusg 16362  df-mulr 16363  df-starv 16364  df-sca 16365  df-vsca 16366  df-ip 16367  df-tset 16368  df-ple 16369  df-ds 16371  df-unif 16372  df-hom 16373  df-cco 16374  df-rest 16480  df-topn 16481  df-0g 16499  df-gsum 16500  df-topgen 16501  df-pt 16502  df-prds 16505  df-xrs 16559  df-qtop 16564  df-imas 16565  df-xps 16567  df-mre 16643  df-mrc 16644  df-acs 16646  df-mgm 17639  df-sgrp 17681  df-mnd 17692  df-submnd 17733  df-mulg 17939  df-cntz 18144  df-cmn 18592  df-psmet 20145  df-xmet 20146  df-met 20147  df-bl 20148  df-mopn 20149  df-fbas 20150  df-fg 20151  df-cnfld 20154  df-top 21117  df-topon 21134  df-topsp 21156  df-bases 21169  df-cld 21242  df-ntr 21243  df-cls 21244  df-nei 21321  df-lp 21359  df-perf 21360  df-cn 21450  df-cnp 21451  df-haus 21538  df-tx 21785  df-hmeo 21978  df-fil 22069  df-fm 22161  df-flim 22162  df-flf 22163  df-xms 22544  df-ms 22545  df-tms 22546  df-cncf 23100  df-limc 24078  df-dv 24079  df-log 24751
This theorem is referenced by:  chordthm  25026  chordthmALT  40116
  Copyright terms: Public domain W3C validator