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

Theorem sqabsadd 13117
Description: Square of absolute value of sum. Proposition 10-3.7(g) of [Gleason] p. 133. (Contributed by NM, 21-Jan-2007.)
Assertion
Ref Expression
sqabsadd  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( ( abs `  ( A  +  B )
) ^ 2 )  =  ( ( ( ( abs `  A
) ^ 2 )  +  ( ( abs `  B ) ^ 2 ) )  +  ( 2  x.  ( Re
`  ( A  x.  ( * `  B
) ) ) ) ) )

Proof of Theorem sqabsadd
StepHypRef Expression
1 cjadd 12976 . . . 4  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( * `  ( A  +  B )
)  =  ( ( * `  A )  +  ( * `  B ) ) )
21oveq2d 6212 . . 3  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( ( A  +  B )  x.  (
* `  ( A  +  B ) ) )  =  ( ( A  +  B )  x.  ( ( * `  A )  +  ( * `  B ) ) ) )
3 cjcl 12940 . . . . 5  |-  ( A  e.  CC  ->  (
* `  A )  e.  CC )
4 cjcl 12940 . . . . 5  |-  ( B  e.  CC  ->  (
* `  B )  e.  CC )
53, 4anim12i 564 . . . 4  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( ( * `  A )  e.  CC  /\  ( * `  B
)  e.  CC ) )
6 muladd 9907 . . . 4  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( * `
 A )  e.  CC  /\  ( * `
 B )  e.  CC ) )  -> 
( ( A  +  B )  x.  (
( * `  A
)  +  ( * `
 B ) ) )  =  ( ( ( A  x.  (
* `  A )
)  +  ( ( * `  B )  x.  B ) )  +  ( ( A  x.  ( * `  B ) )  +  ( ( * `  A )  x.  B
) ) ) )
75, 6mpdan 666 . . 3  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( ( A  +  B )  x.  (
( * `  A
)  +  ( * `
 B ) ) )  =  ( ( ( A  x.  (
* `  A )
)  +  ( ( * `  B )  x.  B ) )  +  ( ( A  x.  ( * `  B ) )  +  ( ( * `  A )  x.  B
) ) ) )
82, 7eqtrd 2423 . 2  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( ( A  +  B )  x.  (
* `  ( A  +  B ) ) )  =  ( ( ( A  x.  ( * `
 A ) )  +  ( ( * `
 B )  x.  B ) )  +  ( ( A  x.  ( * `  B
) )  +  ( ( * `  A
)  x.  B ) ) ) )
9 addcl 9485 . . 3  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( A  +  B
)  e.  CC )
10 absvalsq 13115 . . 3  |-  ( ( A  +  B )  e.  CC  ->  (
( abs `  ( A  +  B )
) ^ 2 )  =  ( ( A  +  B )  x.  ( * `  ( A  +  B )
) ) )
119, 10syl 16 . 2  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( ( abs `  ( A  +  B )
) ^ 2 )  =  ( ( A  +  B )  x.  ( * `  ( A  +  B )
) ) )
12 absvalsq 13115 . . . 4  |-  ( A  e.  CC  ->  (
( abs `  A
) ^ 2 )  =  ( A  x.  ( * `  A
) ) )
13 absvalsq 13115 . . . . 5  |-  ( B  e.  CC  ->  (
( abs `  B
) ^ 2 )  =  ( B  x.  ( * `  B
) ) )
14 mulcom 9489 . . . . . 6  |-  ( ( B  e.  CC  /\  ( * `  B
)  e.  CC )  ->  ( B  x.  ( * `  B
) )  =  ( ( * `  B
)  x.  B ) )
154, 14mpdan 666 . . . . 5  |-  ( B  e.  CC  ->  ( B  x.  ( * `  B ) )  =  ( ( * `  B )  x.  B
) )
1613, 15eqtrd 2423 . . . 4  |-  ( B  e.  CC  ->  (
( abs `  B
) ^ 2 )  =  ( ( * `
 B )  x.  B ) )
1712, 16oveqan12d 6215 . . 3  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( ( ( abs `  A ) ^ 2 )  +  ( ( abs `  B ) ^ 2 ) )  =  ( ( A  x.  ( * `  A ) )  +  ( ( * `  B )  x.  B
) ) )
18 mulcl 9487 . . . . . 6  |-  ( ( A  e.  CC  /\  ( * `  B
)  e.  CC )  ->  ( A  x.  ( * `  B
) )  e.  CC )
194, 18sylan2 472 . . . . 5  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( A  x.  (
* `  B )
)  e.  CC )
2019addcjd 13047 . . . 4  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( ( A  x.  ( * `  B
) )  +  ( * `  ( A  x.  ( * `  B ) ) ) )  =  ( 2  x.  ( Re `  ( A  x.  (
* `  B )
) ) ) )
21 cjmul 12977 . . . . . . 7  |-  ( ( A  e.  CC  /\  ( * `  B
)  e.  CC )  ->  ( * `  ( A  x.  (
* `  B )
) )  =  ( ( * `  A
)  x.  ( * `
 ( * `  B ) ) ) )
224, 21sylan2 472 . . . . . 6  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( * `  ( A  x.  ( * `  B ) ) )  =  ( ( * `
 A )  x.  ( * `  (
* `  B )
) ) )
23 cjcj 12975 . . . . . . . 8  |-  ( B  e.  CC  ->  (
* `  ( * `  B ) )  =  B )
2423adantl 464 . . . . . . 7  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( * `  (
* `  B )
)  =  B )
2524oveq2d 6212 . . . . . 6  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( ( * `  A )  x.  (
* `  ( * `  B ) ) )  =  ( ( * `
 A )  x.  B ) )
2622, 25eqtrd 2423 . . . . 5  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( * `  ( A  x.  ( * `  B ) ) )  =  ( ( * `
 A )  x.  B ) )
2726oveq2d 6212 . . . 4  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( ( A  x.  ( * `  B
) )  +  ( * `  ( A  x.  ( * `  B ) ) ) )  =  ( ( A  x.  ( * `
 B ) )  +  ( ( * `
 A )  x.  B ) ) )
2820, 27eqtr3d 2425 . . 3  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( 2  x.  (
Re `  ( A  x.  ( * `  B
) ) ) )  =  ( ( A  x.  ( * `  B ) )  +  ( ( * `  A )  x.  B
) ) )
2917, 28oveq12d 6214 . 2  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( ( ( ( abs `  A ) ^ 2 )  +  ( ( abs `  B
) ^ 2 ) )  +  ( 2  x.  ( Re `  ( A  x.  (
* `  B )
) ) ) )  =  ( ( ( A  x.  ( * `
 A ) )  +  ( ( * `
 B )  x.  B ) )  +  ( ( A  x.  ( * `  B
) )  +  ( ( * `  A
)  x.  B ) ) ) )
308, 11, 293eqtr4d 2433 1  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( ( abs `  ( A  +  B )
) ^ 2 )  =  ( ( ( ( abs `  A
) ^ 2 )  +  ( ( abs `  B ) ^ 2 ) )  +  ( 2  x.  ( Re
`  ( A  x.  ( * `  B
) ) ) ) ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    /\ wa 367    = wceq 1399    e. wcel 1826   ` cfv 5496  (class class class)co 6196   CCcc 9401    + caddc 9406    x. cmul 9408   2c2 10502   ^cexp 12069   *ccj 12931   Recre 12932   abscabs 13069
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1626  ax-4 1639  ax-5 1712  ax-6 1755  ax-7 1798  ax-8 1828  ax-9 1830  ax-10 1845  ax-11 1850  ax-12 1862  ax-13 2006  ax-ext 2360  ax-sep 4488  ax-nul 4496  ax-pow 4543  ax-pr 4601  ax-un 6491  ax-cnex 9459  ax-resscn 9460  ax-1cn 9461  ax-icn 9462  ax-addcl 9463  ax-addrcl 9464  ax-mulcl 9465  ax-mulrcl 9466  ax-mulcom 9467  ax-addass 9468  ax-mulass 9469  ax-distr 9470  ax-i2m1 9471  ax-1ne0 9472  ax-1rid 9473  ax-rnegex 9474  ax-rrecex 9475  ax-cnre 9476  ax-pre-lttri 9477  ax-pre-lttrn 9478  ax-pre-ltadd 9479  ax-pre-mulgt0 9480  ax-pre-sup 9481
This theorem depends on definitions:  df-bi 185  df-or 368  df-an 369  df-3or 972  df-3an 973  df-tru 1402  df-ex 1621  df-nf 1625  df-sb 1748  df-eu 2222  df-mo 2223  df-clab 2368  df-cleq 2374  df-clel 2377  df-nfc 2532  df-ne 2579  df-nel 2580  df-ral 2737  df-rex 2738  df-reu 2739  df-rmo 2740  df-rab 2741  df-v 3036  df-sbc 3253  df-csb 3349  df-dif 3392  df-un 3394  df-in 3396  df-ss 3403  df-pss 3405  df-nul 3712  df-if 3858  df-pw 3929  df-sn 3945  df-pr 3947  df-tp 3949  df-op 3951  df-uni 4164  df-iun 4245  df-br 4368  df-opab 4426  df-mpt 4427  df-tr 4461  df-eprel 4705  df-id 4709  df-po 4714  df-so 4715  df-fr 4752  df-we 4754  df-ord 4795  df-on 4796  df-lim 4797  df-suc 4798  df-xp 4919  df-rel 4920  df-cnv 4921  df-co 4922  df-dm 4923  df-rn 4924  df-res 4925  df-ima 4926  df-iota 5460  df-fun 5498  df-fn 5499  df-f 5500  df-f1 5501  df-fo 5502  df-f1o 5503  df-fv 5504  df-riota 6158  df-ov 6199  df-oprab 6200  df-mpt2 6201  df-om 6600  df-2nd 6700  df-recs 6960  df-rdg 6994  df-er 7229  df-en 7436  df-dom 7437  df-sdom 7438  df-sup 7816  df-pnf 9541  df-mnf 9542  df-xr 9543  df-ltxr 9544  df-le 9545  df-sub 9720  df-neg 9721  df-div 10124  df-nn 10453  df-2 10511  df-3 10512  df-n0 10713  df-z 10782  df-uz 11002  df-rp 11140  df-seq 12011  df-exp 12070  df-cj 12934  df-re 12935  df-im 12936  df-sqrt 13070  df-abs 13071
This theorem is referenced by:  abstri  13165  sqabsaddi  13239  cncph  25851
  Copyright terms: Public domain W3C validator