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

Theorem chordthm 23293
Description: The intersecting chords theorem. If points A, B, C, and D lie on a circle (with center Q, say), and the point P is on the interior of the segments AB and CD, then the two products of lengths PA  x. PB and PC  x. PD are equal. The Euclidean plane is identified with the complex plane, and the fact that P is on AB and on CD is expressed by the hypothesis that the angles APB and CPD are equal to  pi. The result is proven by using chordthmlem5 23292 twice to show that PA  x. PB and PC  x. PD both equal BQ 2  - PQ 2 . This is similar to the proof of the theorem given in Euclid's Elements, where it is Proposition III.35. This is Metamath 100 proof #55. (Contributed by David Moews, 28-Feb-2017.)
Hypotheses
Ref Expression
chordthm.angdef  |-  F  =  ( x  e.  ( CC  \  { 0 } ) ,  y  e.  ( CC  \  { 0 } ) 
|->  ( Im `  ( log `  ( y  /  x ) ) ) )
chordthm.A  |-  ( ph  ->  A  e.  CC )
chordthm.B  |-  ( ph  ->  B  e.  CC )
chordthm.C  |-  ( ph  ->  C  e.  CC )
chordthm.D  |-  ( ph  ->  D  e.  CC )
chordthm.P  |-  ( ph  ->  P  e.  CC )
chordthm.AneP  |-  ( ph  ->  A  =/=  P )
chordthm.BneP  |-  ( ph  ->  B  =/=  P )
chordthm.CneP  |-  ( ph  ->  C  =/=  P )
chordthm.DneP  |-  ( ph  ->  D  =/=  P )
chordthm.APB  |-  ( ph  ->  ( ( A  -  P ) F ( B  -  P ) )  =  pi )
chordthm.CPD  |-  ( ph  ->  ( ( C  -  P ) F ( D  -  P ) )  =  pi )
chordthm.Q  |-  ( ph  ->  Q  e.  CC )
chordthm.ABcirc  |-  ( ph  ->  ( abs `  ( A  -  Q )
)  =  ( abs `  ( B  -  Q
) ) )
chordthm.ACcirc  |-  ( ph  ->  ( abs `  ( A  -  Q )
)  =  ( abs `  ( C  -  Q
) ) )
chordthm.ADcirc  |-  ( ph  ->  ( abs `  ( A  -  Q )
)  =  ( abs `  ( D  -  Q
) ) )
Assertion
Ref Expression
chordthm  |-  ( ph  ->  ( ( abs `  ( P  -  A )
)  x.  ( abs `  ( P  -  B
) ) )  =  ( ( abs `  ( P  -  C )
)  x.  ( abs `  ( P  -  D
) ) ) )
Distinct variable groups:    x, A, y    x, B, y    x, C, y    x, D, y   
x, P, y
Allowed substitution hints:    ph( x, y)    Q( x, y)    F( x, y)

Proof of Theorem chordthm
Dummy variables  v  w are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 chordthm.CPD . . 3  |-  ( ph  ->  ( ( C  -  P ) F ( D  -  P ) )  =  pi )
2 chordthm.angdef . . . 4  |-  F  =  ( x  e.  ( CC  \  { 0 } ) ,  y  e.  ( CC  \  { 0 } ) 
|->  ( Im `  ( log `  ( y  /  x ) ) ) )
3 chordthm.C . . . 4  |-  ( ph  ->  C  e.  CC )
4 chordthm.P . . . 4  |-  ( ph  ->  P  e.  CC )
5 chordthm.D . . . 4  |-  ( ph  ->  D  e.  CC )
6 chordthm.CneP . . . 4  |-  ( ph  ->  C  =/=  P )
7 chordthm.DneP . . . . 5  |-  ( ph  ->  D  =/=  P )
87necomd 2728 . . . 4  |-  ( ph  ->  P  =/=  D )
92, 3, 4, 5, 6, 8angpieqvd 23287 . . 3  |-  ( ph  ->  ( ( ( C  -  P ) F ( D  -  P
) )  =  pi  <->  E. v  e.  ( 0 (,) 1 ) P  =  ( ( v  x.  C )  +  ( ( 1  -  v )  x.  D
) ) ) )
101, 9mpbid 210 . 2  |-  ( ph  ->  E. v  e.  ( 0 (,) 1 ) P  =  ( ( v  x.  C )  +  ( ( 1  -  v )  x.  D ) ) )
11 chordthm.APB . . . . 5  |-  ( ph  ->  ( ( A  -  P ) F ( B  -  P ) )  =  pi )
12 chordthm.A . . . . . 6  |-  ( ph  ->  A  e.  CC )
13 chordthm.B . . . . . 6  |-  ( ph  ->  B  e.  CC )
14 chordthm.AneP . . . . . 6  |-  ( ph  ->  A  =/=  P )
15 chordthm.BneP . . . . . . 7  |-  ( ph  ->  B  =/=  P )
1615necomd 2728 . . . . . 6  |-  ( ph  ->  P  =/=  B )
172, 12, 4, 13, 14, 16angpieqvd 23287 . . . . 5  |-  ( ph  ->  ( ( ( A  -  P ) F ( B  -  P
) )  =  pi  <->  E. w  e.  ( 0 (,) 1 ) P  =  ( ( w  x.  A )  +  ( ( 1  -  w )  x.  B
) ) ) )
1811, 17mpbid 210 . . . 4  |-  ( ph  ->  E. w  e.  ( 0 (,) 1 ) P  =  ( ( w  x.  A )  +  ( ( 1  -  w )  x.  B ) ) )
1918adantr 465 . . 3  |-  ( (
ph  /\  ( v  e.  ( 0 (,) 1
)  /\  P  =  ( ( v  x.  C )  +  ( ( 1  -  v
)  x.  D ) ) ) )  ->  E. w  e.  (
0 (,) 1 ) P  =  ( ( w  x.  A )  +  ( ( 1  -  w )  x.  B ) ) )
20 chordthm.ABcirc . . . . . . . 8  |-  ( ph  ->  ( abs `  ( A  -  Q )
)  =  ( abs `  ( B  -  Q
) ) )
2120ad2antrr 725 . . . . . . 7  |-  ( ( ( ph  /\  (
v  e.  ( 0 (,) 1 )  /\  P  =  ( (
v  x.  C )  +  ( ( 1  -  v )  x.  D ) ) ) )  /\  ( w  e.  ( 0 (,) 1 )  /\  P  =  ( ( w  x.  A )  +  ( ( 1  -  w )  x.  B
) ) ) )  ->  ( abs `  ( A  -  Q )
)  =  ( abs `  ( B  -  Q
) ) )
22 chordthm.ADcirc . . . . . . . 8  |-  ( ph  ->  ( abs `  ( A  -  Q )
)  =  ( abs `  ( D  -  Q
) ) )
2322ad2antrr 725 . . . . . . 7  |-  ( ( ( ph  /\  (
v  e.  ( 0 (,) 1 )  /\  P  =  ( (
v  x.  C )  +  ( ( 1  -  v )  x.  D ) ) ) )  /\  ( w  e.  ( 0 (,) 1 )  /\  P  =  ( ( w  x.  A )  +  ( ( 1  -  w )  x.  B
) ) ) )  ->  ( abs `  ( A  -  Q )
)  =  ( abs `  ( D  -  Q
) ) )
2421, 23eqtr3d 2500 . . . . . 6  |-  ( ( ( ph  /\  (
v  e.  ( 0 (,) 1 )  /\  P  =  ( (
v  x.  C )  +  ( ( 1  -  v )  x.  D ) ) ) )  /\  ( w  e.  ( 0 (,) 1 )  /\  P  =  ( ( w  x.  A )  +  ( ( 1  -  w )  x.  B
) ) ) )  ->  ( abs `  ( B  -  Q )
)  =  ( abs `  ( D  -  Q
) ) )
2524oveq1d 6311 . . . . 5  |-  ( ( ( ph  /\  (
v  e.  ( 0 (,) 1 )  /\  P  =  ( (
v  x.  C )  +  ( ( 1  -  v )  x.  D ) ) ) )  /\  ( w  e.  ( 0 (,) 1 )  /\  P  =  ( ( w  x.  A )  +  ( ( 1  -  w )  x.  B
) ) ) )  ->  ( ( abs `  ( B  -  Q
) ) ^ 2 )  =  ( ( abs `  ( D  -  Q ) ) ^ 2 ) )
2625oveq1d 6311 . . . 4  |-  ( ( ( ph  /\  (
v  e.  ( 0 (,) 1 )  /\  P  =  ( (
v  x.  C )  +  ( ( 1  -  v )  x.  D ) ) ) )  /\  ( w  e.  ( 0 (,) 1 )  /\  P  =  ( ( w  x.  A )  +  ( ( 1  -  w )  x.  B
) ) ) )  ->  ( ( ( abs `  ( B  -  Q ) ) ^ 2 )  -  ( ( abs `  ( P  -  Q )
) ^ 2 ) )  =  ( ( ( abs `  ( D  -  Q )
) ^ 2 )  -  ( ( abs `  ( P  -  Q
) ) ^ 2 ) ) )
2712ad2antrr 725 . . . . 5  |-  ( ( ( ph  /\  (
v  e.  ( 0 (,) 1 )  /\  P  =  ( (
v  x.  C )  +  ( ( 1  -  v )  x.  D ) ) ) )  /\  ( w  e.  ( 0 (,) 1 )  /\  P  =  ( ( w  x.  A )  +  ( ( 1  -  w )  x.  B
) ) ) )  ->  A  e.  CC )
2813ad2antrr 725 . . . . 5  |-  ( ( ( ph  /\  (
v  e.  ( 0 (,) 1 )  /\  P  =  ( (
v  x.  C )  +  ( ( 1  -  v )  x.  D ) ) ) )  /\  ( w  e.  ( 0 (,) 1 )  /\  P  =  ( ( w  x.  A )  +  ( ( 1  -  w )  x.  B
) ) ) )  ->  B  e.  CC )
29 chordthm.Q . . . . . 6  |-  ( ph  ->  Q  e.  CC )
3029ad2antrr 725 . . . . 5  |-  ( ( ( ph  /\  (
v  e.  ( 0 (,) 1 )  /\  P  =  ( (
v  x.  C )  +  ( ( 1  -  v )  x.  D ) ) ) )  /\  ( w  e.  ( 0 (,) 1 )  /\  P  =  ( ( w  x.  A )  +  ( ( 1  -  w )  x.  B
) ) ) )  ->  Q  e.  CC )
31 ioossicc 11635 . . . . . 6  |-  ( 0 (,) 1 )  C_  ( 0 [,] 1
)
32 simprl 756 . . . . . 6  |-  ( ( ( ph  /\  (
v  e.  ( 0 (,) 1 )  /\  P  =  ( (
v  x.  C )  +  ( ( 1  -  v )  x.  D ) ) ) )  /\  ( w  e.  ( 0 (,) 1 )  /\  P  =  ( ( w  x.  A )  +  ( ( 1  -  w )  x.  B
) ) ) )  ->  w  e.  ( 0 (,) 1 ) )
3331, 32sseldi 3497 . . . . 5  |-  ( ( ( ph  /\  (
v  e.  ( 0 (,) 1 )  /\  P  =  ( (
v  x.  C )  +  ( ( 1  -  v )  x.  D ) ) ) )  /\  ( w  e.  ( 0 (,) 1 )  /\  P  =  ( ( w  x.  A )  +  ( ( 1  -  w )  x.  B
) ) ) )  ->  w  e.  ( 0 [,] 1 ) )
34 simprr 757 . . . . 5  |-  ( ( ( ph  /\  (
v  e.  ( 0 (,) 1 )  /\  P  =  ( (
v  x.  C )  +  ( ( 1  -  v )  x.  D ) ) ) )  /\  ( w  e.  ( 0 (,) 1 )  /\  P  =  ( ( w  x.  A )  +  ( ( 1  -  w )  x.  B
) ) ) )  ->  P  =  ( ( w  x.  A
)  +  ( ( 1  -  w )  x.  B ) ) )
3527, 28, 30, 33, 34, 21chordthmlem5 23292 . . . 4  |-  ( ( ( ph  /\  (
v  e.  ( 0 (,) 1 )  /\  P  =  ( (
v  x.  C )  +  ( ( 1  -  v )  x.  D ) ) ) )  /\  ( w  e.  ( 0 (,) 1 )  /\  P  =  ( ( w  x.  A )  +  ( ( 1  -  w )  x.  B
) ) ) )  ->  ( ( abs `  ( P  -  A
) )  x.  ( abs `  ( P  -  B ) ) )  =  ( ( ( abs `  ( B  -  Q ) ) ^ 2 )  -  ( ( abs `  ( P  -  Q )
) ^ 2 ) ) )
363ad2antrr 725 . . . . 5  |-  ( ( ( ph  /\  (
v  e.  ( 0 (,) 1 )  /\  P  =  ( (
v  x.  C )  +  ( ( 1  -  v )  x.  D ) ) ) )  /\  ( w  e.  ( 0 (,) 1 )  /\  P  =  ( ( w  x.  A )  +  ( ( 1  -  w )  x.  B
) ) ) )  ->  C  e.  CC )
375ad2antrr 725 . . . . 5  |-  ( ( ( ph  /\  (
v  e.  ( 0 (,) 1 )  /\  P  =  ( (
v  x.  C )  +  ( ( 1  -  v )  x.  D ) ) ) )  /\  ( w  e.  ( 0 (,) 1 )  /\  P  =  ( ( w  x.  A )  +  ( ( 1  -  w )  x.  B
) ) ) )  ->  D  e.  CC )
38 simplrl 761 . . . . . 6  |-  ( ( ( ph  /\  (
v  e.  ( 0 (,) 1 )  /\  P  =  ( (
v  x.  C )  +  ( ( 1  -  v )  x.  D ) ) ) )  /\  ( w  e.  ( 0 (,) 1 )  /\  P  =  ( ( w  x.  A )  +  ( ( 1  -  w )  x.  B
) ) ) )  ->  v  e.  ( 0 (,) 1 ) )
3931, 38sseldi 3497 . . . . 5  |-  ( ( ( ph  /\  (
v  e.  ( 0 (,) 1 )  /\  P  =  ( (
v  x.  C )  +  ( ( 1  -  v )  x.  D ) ) ) )  /\  ( w  e.  ( 0 (,) 1 )  /\  P  =  ( ( w  x.  A )  +  ( ( 1  -  w )  x.  B
) ) ) )  ->  v  e.  ( 0 [,] 1 ) )
40 simplrr 762 . . . . 5  |-  ( ( ( ph  /\  (
v  e.  ( 0 (,) 1 )  /\  P  =  ( (
v  x.  C )  +  ( ( 1  -  v )  x.  D ) ) ) )  /\  ( w  e.  ( 0 (,) 1 )  /\  P  =  ( ( w  x.  A )  +  ( ( 1  -  w )  x.  B
) ) ) )  ->  P  =  ( ( v  x.  C
)  +  ( ( 1  -  v )  x.  D ) ) )
41 chordthm.ACcirc . . . . . . 7  |-  ( ph  ->  ( abs `  ( A  -  Q )
)  =  ( abs `  ( C  -  Q
) ) )
4241ad2antrr 725 . . . . . 6  |-  ( ( ( ph  /\  (
v  e.  ( 0 (,) 1 )  /\  P  =  ( (
v  x.  C )  +  ( ( 1  -  v )  x.  D ) ) ) )  /\  ( w  e.  ( 0 (,) 1 )  /\  P  =  ( ( w  x.  A )  +  ( ( 1  -  w )  x.  B
) ) ) )  ->  ( abs `  ( A  -  Q )
)  =  ( abs `  ( C  -  Q
) ) )
4342, 23eqtr3d 2500 . . . . 5  |-  ( ( ( ph  /\  (
v  e.  ( 0 (,) 1 )  /\  P  =  ( (
v  x.  C )  +  ( ( 1  -  v )  x.  D ) ) ) )  /\  ( w  e.  ( 0 (,) 1 )  /\  P  =  ( ( w  x.  A )  +  ( ( 1  -  w )  x.  B
) ) ) )  ->  ( abs `  ( C  -  Q )
)  =  ( abs `  ( D  -  Q
) ) )
4436, 37, 30, 39, 40, 43chordthmlem5 23292 . . . 4  |-  ( ( ( ph  /\  (
v  e.  ( 0 (,) 1 )  /\  P  =  ( (
v  x.  C )  +  ( ( 1  -  v )  x.  D ) ) ) )  /\  ( w  e.  ( 0 (,) 1 )  /\  P  =  ( ( w  x.  A )  +  ( ( 1  -  w )  x.  B
) ) ) )  ->  ( ( abs `  ( P  -  C
) )  x.  ( abs `  ( P  -  D ) ) )  =  ( ( ( abs `  ( D  -  Q ) ) ^ 2 )  -  ( ( abs `  ( P  -  Q )
) ^ 2 ) ) )
4526, 35, 443eqtr4d 2508 . . 3  |-  ( ( ( ph  /\  (
v  e.  ( 0 (,) 1 )  /\  P  =  ( (
v  x.  C )  +  ( ( 1  -  v )  x.  D ) ) ) )  /\  ( w  e.  ( 0 (,) 1 )  /\  P  =  ( ( w  x.  A )  +  ( ( 1  -  w )  x.  B
) ) ) )  ->  ( ( abs `  ( P  -  A
) )  x.  ( abs `  ( P  -  B ) ) )  =  ( ( abs `  ( P  -  C
) )  x.  ( abs `  ( P  -  D ) ) ) )
4619, 45rexlimddv 2953 . 2  |-  ( (
ph  /\  ( v  e.  ( 0 (,) 1
)  /\  P  =  ( ( v  x.  C )  +  ( ( 1  -  v
)  x.  D ) ) ) )  -> 
( ( abs `  ( P  -  A )
)  x.  ( abs `  ( P  -  B
) ) )  =  ( ( abs `  ( P  -  C )
)  x.  ( abs `  ( P  -  D
) ) ) )
4710, 46rexlimddv 2953 1  |-  ( ph  ->  ( ( abs `  ( P  -  A )
)  x.  ( abs `  ( P  -  B
) ) )  =  ( ( abs `  ( P  -  C )
)  x.  ( abs `  ( P  -  D
) ) ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    /\ wa 369    = wceq 1395    e. wcel 1819    =/= wne 2652   E.wrex 2808    \ cdif 3468   {csn 4032   ` cfv 5594  (class class class)co 6296    |-> cmpt2 6298   CCcc 9507   0cc0 9509   1c1 9510    + caddc 9512    x. cmul 9514    - cmin 9824    / cdiv 10227   2c2 10606   (,)cioo 11554   [,]cicc 11557   ^cexp 12168   Imcim 12942   abscabs 13078   picpi 13813   logclog 23067
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1619  ax-4 1632  ax-5 1705  ax-6 1748  ax-7 1791  ax-8 1821  ax-9 1823  ax-10 1838  ax-11 1843  ax-12 1855  ax-13 2000  ax-ext 2435  ax-rep 4568  ax-sep 4578  ax-nul 4586  ax-pow 4634  ax-pr 4695  ax-un 6591  ax-inf2 8075  ax-cnex 9565  ax-resscn 9566  ax-1cn 9567  ax-icn 9568  ax-addcl 9569  ax-addrcl 9570  ax-mulcl 9571  ax-mulrcl 9572  ax-mulcom 9573  ax-addass 9574  ax-mulass 9575  ax-distr 9576  ax-i2m1 9577  ax-1ne0 9578  ax-1rid 9579  ax-rnegex 9580  ax-rrecex 9581  ax-cnre 9582  ax-pre-lttri 9583  ax-pre-lttrn 9584  ax-pre-ltadd 9585  ax-pre-mulgt0 9586  ax-pre-sup 9587  ax-addf 9588  ax-mulf 9589
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 974  df-3an 975  df-tru 1398  df-fal 1401  df-ex 1614  df-nf 1618  df-sb 1741  df-eu 2287  df-mo 2288  df-clab 2443  df-cleq 2449  df-clel 2452  df-nfc 2607  df-ne 2654  df-nel 2655  df-ral 2812  df-rex 2813  df-reu 2814  df-rmo 2815  df-rab 2816  df-v 3111  df-sbc 3328  df-csb 3431  df-dif 3474  df-un 3476  df-in 3478  df-ss 3485  df-pss 3487  df-nul 3794  df-if 3945  df-pw 4017  df-sn 4033  df-pr 4035  df-tp 4037  df-op 4039  df-uni 4252  df-int 4289  df-iun 4334  df-iin 4335  df-br 4457  df-opab 4516  df-mpt 4517  df-tr 4551  df-eprel 4800  df-id 4804  df-po 4809  df-so 4810  df-fr 4847  df-se 4848  df-we 4849  df-ord 4890  df-on 4891  df-lim 4892  df-suc 4893  df-xp 5014  df-rel 5015  df-cnv 5016  df-co 5017  df-dm 5018  df-rn 5019  df-res 5020  df-ima 5021  df-iota 5557  df-fun 5596  df-fn 5597  df-f 5598  df-f1 5599  df-fo 5600  df-f1o 5601  df-fv 5602  df-isom 5603  df-riota 6258  df-ov 6299  df-oprab 6300  df-mpt2 6301  df-of 6539  df-om 6700  df-1st 6799  df-2nd 6800  df-supp 6918  df-recs 7060  df-rdg 7094  df-1o 7148  df-2o 7149  df-oadd 7152  df-er 7329  df-map 7440  df-pm 7441  df-ixp 7489  df-en 7536  df-dom 7537  df-sdom 7538  df-fin 7539  df-fsupp 7848  df-fi 7889  df-sup 7919  df-oi 7953  df-card 8337  df-cda 8565  df-pnf 9647  df-mnf 9648  df-xr 9649  df-ltxr 9650  df-le 9651  df-sub 9826  df-neg 9827  df-div 10228  df-nn 10557  df-2 10615  df-3 10616  df-4 10617  df-5 10618  df-6 10619  df-7 10620  df-8 10621  df-9 10622  df-10 10623  df-n0 10817  df-z 10886  df-dec 11001  df-uz 11107  df-q 11208  df-rp 11246  df-xneg 11343  df-xadd 11344  df-xmul 11345  df-ioo 11558  df-ioc 11559  df-ico 11560  df-icc 11561  df-fz 11698  df-fzo 11821  df-fl 11931  df-mod 11999  df-seq 12110  df-exp 12169  df-fac 12356  df-bc 12383  df-hash 12408  df-shft 12911  df-cj 12943  df-re 12944  df-im 12945  df-sqrt 13079  df-abs 13080  df-limsup 13305  df-clim 13322  df-rlim 13323  df-sum 13520  df-ef 13814  df-sin 13816  df-cos 13817  df-pi 13819  df-struct 14645  df-ndx 14646  df-slot 14647  df-base 14648  df-sets 14649  df-ress 14650  df-plusg 14724  df-mulr 14725  df-starv 14726  df-sca 14727  df-vsca 14728  df-ip 14729  df-tset 14730  df-ple 14731  df-ds 14733  df-unif 14734  df-hom 14735  df-cco 14736  df-rest 14839  df-topn 14840  df-0g 14858  df-gsum 14859  df-topgen 14860  df-pt 14861  df-prds 14864  df-xrs 14918  df-qtop 14923  df-imas 14924  df-xps 14926  df-mre 15002  df-mrc 15003  df-acs 15005  df-mgm 15998  df-sgrp 16037  df-mnd 16047  df-submnd 16093  df-mulg 16186  df-cntz 16481  df-cmn 16926  df-psmet 18537  df-xmet 18538  df-met 18539  df-bl 18540  df-mopn 18541  df-fbas 18542  df-fg 18543  df-cnfld 18547  df-top 19525  df-bases 19527  df-topon 19528  df-topsp 19529  df-cld 19646  df-ntr 19647  df-cls 19648  df-nei 19725  df-lp 19763  df-perf 19764  df-cn 19854  df-cnp 19855  df-haus 19942  df-tx 20188  df-hmeo 20381  df-fil 20472  df-fm 20564  df-flim 20565  df-flf 20566  df-xms 20948  df-ms 20949  df-tms 20950  df-cncf 21507  df-limc 22395  df-dv 22396  df-log 23069
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator