Users' Mathboxes Mathbox for Filip Cernatescu < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  quad3 Structured version   Visualization version   Unicode version

Theorem quad3 30302
Description: Variant of quadratic equation with discriminant expanded. (Contributed by Filip Cernatescu, 19-Oct-2019.)
Hypotheses
Ref Expression
quad3.1  |-  X  e.  CC
quad3.2  |-  A  e.  CC
quad3.3  |-  A  =/=  0
quad3.4  |-  B  e.  CC
quad3.5  |-  C  e.  CC
quad3.6  |-  ( ( A  x.  ( X ^ 2 ) )  +  ( ( B  x.  X )  +  C ) )  =  0
Assertion
Ref Expression
quad3  |-  ( X  =  ( ( -u B  +  ( sqr `  ( ( B ^
2 )  -  (
4  x.  ( A  x.  C ) ) ) ) )  / 
( 2  x.  A
) )  \/  X  =  ( ( -u B  -  ( sqr `  ( ( B ^
2 )  -  (
4  x.  ( A  x.  C ) ) ) ) )  / 
( 2  x.  A
) ) )

Proof of Theorem quad3
StepHypRef Expression
1 2cn 10680 . . . . . 6  |-  2  e.  CC
2 quad3.2 . . . . . 6  |-  A  e.  CC
31, 2mulcli 9648 . . . . 5  |-  ( 2  x.  A )  e.  CC
4 quad3.1 . . . . . 6  |-  X  e.  CC
5 quad3.4 . . . . . . 7  |-  B  e.  CC
6 2ne0 10702 . . . . . . . 8  |-  2  =/=  0
7 quad3.3 . . . . . . . 8  |-  A  =/=  0
81, 2, 6, 7mulne0i 10255 . . . . . . 7  |-  ( 2  x.  A )  =/=  0
95, 3, 8divcli 10349 . . . . . 6  |-  ( B  /  ( 2  x.  A ) )  e.  CC
104, 9addcli 9647 . . . . 5  |-  ( X  +  ( B  / 
( 2  x.  A
) ) )  e.  CC
113, 10sqmuli 12358 . . . 4  |-  ( ( ( 2  x.  A
)  x.  ( X  +  ( B  / 
( 2  x.  A
) ) ) ) ^ 2 )  =  ( ( ( 2  x.  A ) ^
2 )  x.  (
( X  +  ( B  /  ( 2  x.  A ) ) ) ^ 2 ) )
124, 9binom2i 12384 . . . . . . 7  |-  ( ( X  +  ( B  /  ( 2  x.  A ) ) ) ^ 2 )  =  ( ( ( X ^ 2 )  +  ( 2  x.  ( X  x.  ( B  /  ( 2  x.  A ) ) ) ) )  +  ( ( B  /  (
2  x.  A ) ) ^ 2 ) )
134sqcli 12355 . . . . . . . . . . . 12  |-  ( X ^ 2 )  e.  CC
142, 13mulcli 9648 . . . . . . . . . . 11  |-  ( A  x.  ( X ^
2 ) )  e.  CC
155, 4mulcli 9648 . . . . . . . . . . 11  |-  ( B  x.  X )  e.  CC
1614, 15, 2, 7divdiri 10364 . . . . . . . . . 10  |-  ( ( ( A  x.  ( X ^ 2 ) )  +  ( B  x.  X ) )  /  A )  =  ( ( ( A  x.  ( X ^ 2 ) )  /  A )  +  ( ( B  x.  X )  /  A ) )
1713, 2, 7divcan3i 10353 . . . . . . . . . . 11  |-  ( ( A  x.  ( X ^ 2 ) )  /  A )  =  ( X ^ 2 )
185, 4, 2, 7div23i 10365 . . . . . . . . . . 11  |-  ( ( B  x.  X )  /  A )  =  ( ( B  /  A )  x.  X
)
1917, 18oveq12i 6302 . . . . . . . . . 10  |-  ( ( ( A  x.  ( X ^ 2 ) )  /  A )  +  ( ( B  x.  X )  /  A
) )  =  ( ( X ^ 2 )  +  ( ( B  /  A )  x.  X ) )
2016, 19eqtr2i 2474 . . . . . . . . 9  |-  ( ( X ^ 2 )  +  ( ( B  /  A )  x.  X ) )  =  ( ( ( A  x.  ( X ^
2 ) )  +  ( B  x.  X
) )  /  A
)
215, 2, 7divcli 10349 . . . . . . . . . . . 12  |-  ( B  /  A )  e.  CC
2221, 4mulcomi 9649 . . . . . . . . . . 11  |-  ( ( B  /  A )  x.  X )  =  ( X  x.  ( B  /  A ) )
234, 21mulcli 9648 . . . . . . . . . . . 12  |-  ( X  x.  ( B  /  A ) )  e.  CC
2423, 1, 6divcan2i 10350 . . . . . . . . . . 11  |-  ( 2  x.  ( ( X  x.  ( B  /  A ) )  / 
2 ) )  =  ( X  x.  ( B  /  A ) )
254, 21, 1, 6divassi 10363 . . . . . . . . . . . . 13  |-  ( ( X  x.  ( B  /  A ) )  /  2 )  =  ( X  x.  (
( B  /  A
)  /  2 ) )
262, 7pm3.2i 457 . . . . . . . . . . . . . . . 16  |-  ( A  e.  CC  /\  A  =/=  0 )
271, 6pm3.2i 457 . . . . . . . . . . . . . . . 16  |-  ( 2  e.  CC  /\  2  =/=  0 )
28 divdiv1 10318 . . . . . . . . . . . . . . . 16  |-  ( ( B  e.  CC  /\  ( A  e.  CC  /\  A  =/=  0 )  /\  ( 2  e.  CC  /\  2  =/=  0 ) )  -> 
( ( B  /  A )  /  2
)  =  ( B  /  ( A  x.  2 ) ) )
295, 26, 27, 28mp3an 1364 . . . . . . . . . . . . . . 15  |-  ( ( B  /  A )  /  2 )  =  ( B  /  ( A  x.  2 ) )
302, 1mulcomi 9649 . . . . . . . . . . . . . . . 16  |-  ( A  x.  2 )  =  ( 2  x.  A
)
3130oveq2i 6301 . . . . . . . . . . . . . . 15  |-  ( B  /  ( A  x.  2 ) )  =  ( B  /  (
2  x.  A ) )
3229, 31eqtri 2473 . . . . . . . . . . . . . 14  |-  ( ( B  /  A )  /  2 )  =  ( B  /  (
2  x.  A ) )
3332oveq2i 6301 . . . . . . . . . . . . 13  |-  ( X  x.  ( ( B  /  A )  / 
2 ) )  =  ( X  x.  ( B  /  ( 2  x.  A ) ) )
3425, 33eqtri 2473 . . . . . . . . . . . 12  |-  ( ( X  x.  ( B  /  A ) )  /  2 )  =  ( X  x.  ( B  /  ( 2  x.  A ) ) )
3534oveq2i 6301 . . . . . . . . . . 11  |-  ( 2  x.  ( ( X  x.  ( B  /  A ) )  / 
2 ) )  =  ( 2  x.  ( X  x.  ( B  /  ( 2  x.  A ) ) ) )
3622, 24, 353eqtr2i 2479 . . . . . . . . . 10  |-  ( ( B  /  A )  x.  X )  =  ( 2  x.  ( X  x.  ( B  /  ( 2  x.  A ) ) ) )
3736oveq2i 6301 . . . . . . . . 9  |-  ( ( X ^ 2 )  +  ( ( B  /  A )  x.  X ) )  =  ( ( X ^
2 )  +  ( 2  x.  ( X  x.  ( B  / 
( 2  x.  A
) ) ) ) )
38 quad3.5 . . . . . . . . . . . . . . 15  |-  C  e.  CC
3914, 15, 38addassi 9651 . . . . . . . . . . . . . 14  |-  ( ( ( A  x.  ( X ^ 2 ) )  +  ( B  x.  X ) )  +  C )  =  ( ( A  x.  ( X ^ 2 ) )  +  ( ( B  x.  X )  +  C ) )
4039eqcomi 2460 . . . . . . . . . . . . 13  |-  ( ( A  x.  ( X ^ 2 ) )  +  ( ( B  x.  X )  +  C ) )  =  ( ( ( A  x.  ( X ^
2 ) )  +  ( B  x.  X
) )  +  C
)
4140oveq1i 6300 . . . . . . . . . . . 12  |-  ( ( ( A  x.  ( X ^ 2 ) )  +  ( ( B  x.  X )  +  C ) )  -  C )  =  ( ( ( ( A  x.  ( X ^
2 ) )  +  ( B  x.  X
) )  +  C
)  -  C )
4214, 15addcli 9647 . . . . . . . . . . . . 13  |-  ( ( A  x.  ( X ^ 2 ) )  +  ( B  x.  X ) )  e.  CC
4342, 38pncan3oi 9891 . . . . . . . . . . . 12  |-  ( ( ( ( A  x.  ( X ^ 2 ) )  +  ( B  x.  X ) )  +  C )  -  C )  =  ( ( A  x.  ( X ^ 2 ) )  +  ( B  x.  X ) )
4441, 43eqtr2i 2474 . . . . . . . . . . 11  |-  ( ( A  x.  ( X ^ 2 ) )  +  ( B  x.  X ) )  =  ( ( ( A  x.  ( X ^
2 ) )  +  ( ( B  x.  X )  +  C
) )  -  C
)
45 quad3.6 . . . . . . . . . . . . 13  |-  ( ( A  x.  ( X ^ 2 ) )  +  ( ( B  x.  X )  +  C ) )  =  0
4645oveq1i 6300 . . . . . . . . . . . 12  |-  ( ( ( A  x.  ( X ^ 2 ) )  +  ( ( B  x.  X )  +  C ) )  -  C )  =  ( 0  -  C )
47 df-neg 9863 . . . . . . . . . . . 12  |-  -u C  =  ( 0  -  C )
4846, 47eqtr4i 2476 . . . . . . . . . . 11  |-  ( ( ( A  x.  ( X ^ 2 ) )  +  ( ( B  x.  X )  +  C ) )  -  C )  =  -u C
4944, 48eqtri 2473 . . . . . . . . . 10  |-  ( ( A  x.  ( X ^ 2 ) )  +  ( B  x.  X ) )  = 
-u C
5049oveq1i 6300 . . . . . . . . 9  |-  ( ( ( A  x.  ( X ^ 2 ) )  +  ( B  x.  X ) )  /  A )  =  (
-u C  /  A
)
5120, 37, 503eqtr3i 2481 . . . . . . . 8  |-  ( ( X ^ 2 )  +  ( 2  x.  ( X  x.  ( B  /  ( 2  x.  A ) ) ) ) )  =  (
-u C  /  A
)
5251oveq1i 6300 . . . . . . 7  |-  ( ( ( X ^ 2 )  +  ( 2  x.  ( X  x.  ( B  /  (
2  x.  A ) ) ) ) )  +  ( ( B  /  ( 2  x.  A ) ) ^
2 ) )  =  ( ( -u C  /  A )  +  ( ( B  /  (
2  x.  A ) ) ^ 2 ) )
5312, 52eqtri 2473 . . . . . 6  |-  ( ( X  +  ( B  /  ( 2  x.  A ) ) ) ^ 2 )  =  ( ( -u C  /  A )  +  ( ( B  /  (
2  x.  A ) ) ^ 2 ) )
5438negcli 9942 . . . . . . . 8  |-  -u C  e.  CC
5554, 2, 7divcli 10349 . . . . . . 7  |-  ( -u C  /  A )  e.  CC
569sqcli 12355 . . . . . . 7  |-  ( ( B  /  ( 2  x.  A ) ) ^ 2 )  e.  CC
5755, 56addcomi 9824 . . . . . 6  |-  ( (
-u C  /  A
)  +  ( ( B  /  ( 2  x.  A ) ) ^ 2 ) )  =  ( ( ( B  /  ( 2  x.  A ) ) ^ 2 )  +  ( -u C  /  A ) )
585, 3, 8sqdivi 12359 . . . . . . . 8  |-  ( ( B  /  ( 2  x.  A ) ) ^ 2 )  =  ( ( B ^
2 )  /  (
( 2  x.  A
) ^ 2 ) )
59 4cn 10687 . . . . . . . . . . 11  |-  4  e.  CC
6059, 2mulcli 9648 . . . . . . . . . 10  |-  ( 4  x.  A )  e.  CC
61 4ne0 10706 . . . . . . . . . . 11  |-  4  =/=  0
6259, 2, 61, 7mulne0i 10255 . . . . . . . . . 10  |-  ( 4  x.  A )  =/=  0
6360, 60, 54, 2, 62, 7divmuldivi 10367 . . . . . . . . 9  |-  ( ( ( 4  x.  A
)  /  ( 4  x.  A ) )  x.  ( -u C  /  A ) )  =  ( ( ( 4  x.  A )  x.  -u C )  /  (
( 4  x.  A
)  x.  A ) )
6460, 62dividi 10340 . . . . . . . . . . . 12  |-  ( ( 4  x.  A )  /  ( 4  x.  A ) )  =  1
6564eqcomi 2460 . . . . . . . . . . 11  |-  1  =  ( ( 4  x.  A )  / 
( 4  x.  A
) )
6665oveq1i 6300 . . . . . . . . . 10  |-  ( 1  x.  ( -u C  /  A ) )  =  ( ( ( 4  x.  A )  / 
( 4  x.  A
) )  x.  ( -u C  /  A ) )
6755mulid2i 9646 . . . . . . . . . 10  |-  ( 1  x.  ( -u C  /  A ) )  =  ( -u C  /  A )
6866, 67eqtr3i 2475 . . . . . . . . 9  |-  ( ( ( 4  x.  A
)  /  ( 4  x.  A ) )  x.  ( -u C  /  A ) )  =  ( -u C  /  A )
6938mulm1i 10063 . . . . . . . . . . . . . . 15  |-  ( -u
1  x.  C )  =  -u C
7069eqcomi 2460 . . . . . . . . . . . . . 14  |-  -u C  =  ( -u 1  x.  C )
7170oveq2i 6301 . . . . . . . . . . . . 13  |-  ( ( 4  x.  A )  x.  -u C )  =  ( ( 4  x.  A )  x.  ( -u 1  x.  C ) )
72 neg1cn 10713 . . . . . . . . . . . . . 14  |-  -u 1  e.  CC
7360, 72, 38mulassi 9652 . . . . . . . . . . . . 13  |-  ( ( ( 4  x.  A
)  x.  -u 1
)  x.  C )  =  ( ( 4  x.  A )  x.  ( -u 1  x.  C ) )
7471, 73eqtr4i 2476 . . . . . . . . . . . 12  |-  ( ( 4  x.  A )  x.  -u C )  =  ( ( ( 4  x.  A )  x.  -u 1 )  x.  C )
7560, 72mulcomi 9649 . . . . . . . . . . . . 13  |-  ( ( 4  x.  A )  x.  -u 1 )  =  ( -u 1  x.  ( 4  x.  A
) )
7675oveq1i 6300 . . . . . . . . . . . 12  |-  ( ( ( 4  x.  A
)  x.  -u 1
)  x.  C )  =  ( ( -u
1  x.  ( 4  x.  A ) )  x.  C )
7772, 60, 38mulassi 9652 . . . . . . . . . . . 12  |-  ( (
-u 1  x.  (
4  x.  A ) )  x.  C )  =  ( -u 1  x.  ( ( 4  x.  A )  x.  C
) )
7874, 76, 773eqtri 2477 . . . . . . . . . . 11  |-  ( ( 4  x.  A )  x.  -u C )  =  ( -u 1  x.  ( ( 4  x.  A )  x.  C
) )
7959, 2, 38mulassi 9652 . . . . . . . . . . . 12  |-  ( ( 4  x.  A )  x.  C )  =  ( 4  x.  ( A  x.  C )
)
8079oveq2i 6301 . . . . . . . . . . 11  |-  ( -u
1  x.  ( ( 4  x.  A )  x.  C ) )  =  ( -u 1  x.  ( 4  x.  ( A  x.  C )
) )
812, 38mulcli 9648 . . . . . . . . . . . . 13  |-  ( A  x.  C )  e.  CC
8259, 81mulcli 9648 . . . . . . . . . . . 12  |-  ( 4  x.  ( A  x.  C ) )  e.  CC
8382mulm1i 10063 . . . . . . . . . . 11  |-  ( -u
1  x.  ( 4  x.  ( A  x.  C ) ) )  =  -u ( 4  x.  ( A  x.  C
) )
8478, 80, 833eqtri 2477 . . . . . . . . . 10  |-  ( ( 4  x.  A )  x.  -u C )  = 
-u ( 4  x.  ( A  x.  C
) )
85 2t2e4 10759 . . . . . . . . . . . . . . . 16  |-  ( 2  x.  2 )  =  4
8685eqcomi 2460 . . . . . . . . . . . . . . 15  |-  4  =  ( 2  x.  2 )
8786oveq1i 6300 . . . . . . . . . . . . . 14  |-  ( 4  x.  A )  =  ( ( 2  x.  2 )  x.  A
)
8887oveq1i 6300 . . . . . . . . . . . . 13  |-  ( ( 4  x.  A )  x.  A )  =  ( ( ( 2  x.  2 )  x.  A )  x.  A
)
891, 1, 2mulassi 9652 . . . . . . . . . . . . . 14  |-  ( ( 2  x.  2 )  x.  A )  =  ( 2  x.  (
2  x.  A ) )
9089oveq1i 6300 . . . . . . . . . . . . 13  |-  ( ( ( 2  x.  2 )  x.  A )  x.  A )  =  ( ( 2  x.  ( 2  x.  A
) )  x.  A
)
9188, 90eqtri 2473 . . . . . . . . . . . 12  |-  ( ( 4  x.  A )  x.  A )  =  ( ( 2  x.  ( 2  x.  A
) )  x.  A
)
921, 3mulcomi 9649 . . . . . . . . . . . . 13  |-  ( 2  x.  ( 2  x.  A ) )  =  ( ( 2  x.  A )  x.  2 )
9392oveq1i 6300 . . . . . . . . . . . 12  |-  ( ( 2  x.  ( 2  x.  A ) )  x.  A )  =  ( ( ( 2  x.  A )  x.  2 )  x.  A
)
943, 1, 2mulassi 9652 . . . . . . . . . . . 12  |-  ( ( ( 2  x.  A
)  x.  2 )  x.  A )  =  ( ( 2  x.  A )  x.  (
2  x.  A ) )
9591, 93, 943eqtri 2477 . . . . . . . . . . 11  |-  ( ( 4  x.  A )  x.  A )  =  ( ( 2  x.  A )  x.  (
2  x.  A ) )
963sqvali 12354 . . . . . . . . . . 11  |-  ( ( 2  x.  A ) ^ 2 )  =  ( ( 2  x.  A )  x.  (
2  x.  A ) )
9795, 96eqtr4i 2476 . . . . . . . . . 10  |-  ( ( 4  x.  A )  x.  A )  =  ( ( 2  x.  A ) ^ 2 )
9884, 97oveq12i 6302 . . . . . . . . 9  |-  ( ( ( 4  x.  A
)  x.  -u C
)  /  ( ( 4  x.  A )  x.  A ) )  =  ( -u (
4  x.  ( A  x.  C ) )  /  ( ( 2  x.  A ) ^
2 ) )
9963, 68, 983eqtr3i 2481 . . . . . . . 8  |-  ( -u C  /  A )  =  ( -u ( 4  x.  ( A  x.  C ) )  / 
( ( 2  x.  A ) ^ 2 ) )
10058, 99oveq12i 6302 . . . . . . 7  |-  ( ( ( B  /  (
2  x.  A ) ) ^ 2 )  +  ( -u C  /  A ) )  =  ( ( ( B ^ 2 )  / 
( ( 2  x.  A ) ^ 2 ) )  +  (
-u ( 4  x.  ( A  x.  C
) )  /  (
( 2  x.  A
) ^ 2 ) ) )
1015sqcli 12355 . . . . . . . 8  |-  ( B ^ 2 )  e.  CC
10282negcli 9942 . . . . . . . 8  |-  -u (
4  x.  ( A  x.  C ) )  e.  CC
1033sqcli 12355 . . . . . . . 8  |-  ( ( 2  x.  A ) ^ 2 )  e.  CC
1043, 3, 8, 8mulne0i 10255 . . . . . . . . 9  |-  ( ( 2  x.  A )  x.  ( 2  x.  A ) )  =/=  0
10596, 104eqnetri 2694 . . . . . . . 8  |-  ( ( 2  x.  A ) ^ 2 )  =/=  0
106101, 102, 103, 105divdiri 10364 . . . . . . 7  |-  ( ( ( B ^ 2 )  +  -u (
4  x.  ( A  x.  C ) ) )  /  ( ( 2  x.  A ) ^ 2 ) )  =  ( ( ( B ^ 2 )  /  ( ( 2  x.  A ) ^
2 ) )  +  ( -u ( 4  x.  ( A  x.  C ) )  / 
( ( 2  x.  A ) ^ 2 ) ) )
107101, 82negsubi 9952 . . . . . . . 8  |-  ( ( B ^ 2 )  +  -u ( 4  x.  ( A  x.  C
) ) )  =  ( ( B ^
2 )  -  (
4  x.  ( A  x.  C ) ) )
108107oveq1i 6300 . . . . . . 7  |-  ( ( ( B ^ 2 )  +  -u (
4  x.  ( A  x.  C ) ) )  /  ( ( 2  x.  A ) ^ 2 ) )  =  ( ( ( B ^ 2 )  -  ( 4  x.  ( A  x.  C
) ) )  / 
( ( 2  x.  A ) ^ 2 ) )
109100, 106, 1083eqtr2i 2479 . . . . . 6  |-  ( ( ( B  /  (
2  x.  A ) ) ^ 2 )  +  ( -u C  /  A ) )  =  ( ( ( B ^ 2 )  -  ( 4  x.  ( A  x.  C )
) )  /  (
( 2  x.  A
) ^ 2 ) )
11053, 57, 1093eqtri 2477 . . . . 5  |-  ( ( X  +  ( B  /  ( 2  x.  A ) ) ) ^ 2 )  =  ( ( ( B ^ 2 )  -  ( 4  x.  ( A  x.  C )
) )  /  (
( 2  x.  A
) ^ 2 ) )
111110oveq2i 6301 . . . 4  |-  ( ( ( 2  x.  A
) ^ 2 )  x.  ( ( X  +  ( B  / 
( 2  x.  A
) ) ) ^
2 ) )  =  ( ( ( 2  x.  A ) ^
2 )  x.  (
( ( B ^
2 )  -  (
4  x.  ( A  x.  C ) ) )  /  ( ( 2  x.  A ) ^ 2 ) ) )
112101, 82subcli 9950 . . . . 5  |-  ( ( B ^ 2 )  -  ( 4  x.  ( A  x.  C
) ) )  e.  CC
113112, 103, 105divcan2i 10350 . . . 4  |-  ( ( ( 2  x.  A
) ^ 2 )  x.  ( ( ( B ^ 2 )  -  ( 4  x.  ( A  x.  C
) ) )  / 
( ( 2  x.  A ) ^ 2 ) ) )  =  ( ( B ^
2 )  -  (
4  x.  ( A  x.  C ) ) )
11411, 111, 1133eqtri 2477 . . 3  |-  ( ( ( 2  x.  A
)  x.  ( X  +  ( B  / 
( 2  x.  A
) ) ) ) ^ 2 )  =  ( ( B ^
2 )  -  (
4  x.  ( A  x.  C ) ) )
1153, 10mulcli 9648 . . . . 5  |-  ( ( 2  x.  A )  x.  ( X  +  ( B  /  (
2  x.  A ) ) ) )  e.  CC
116115, 112pm3.2i 457 . . . 4  |-  ( ( ( 2  x.  A
)  x.  ( X  +  ( B  / 
( 2  x.  A
) ) ) )  e.  CC  /\  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) )  e.  CC )
117 eqsqrtor 13429 . . . 4  |-  ( ( ( ( 2  x.  A )  x.  ( X  +  ( B  /  ( 2  x.  A ) ) ) )  e.  CC  /\  ( ( B ^
2 )  -  (
4  x.  ( A  x.  C ) ) )  e.  CC )  ->  ( ( ( ( 2  x.  A
)  x.  ( X  +  ( B  / 
( 2  x.  A
) ) ) ) ^ 2 )  =  ( ( B ^
2 )  -  (
4  x.  ( A  x.  C ) ) )  <->  ( ( ( 2  x.  A )  x.  ( X  +  ( B  /  (
2  x.  A ) ) ) )  =  ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) )  \/  ( ( 2  x.  A )  x.  ( X  +  ( B  /  (
2  x.  A ) ) ) )  = 
-u ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) ) ) ) )
118116, 117ax-mp 5 . . 3  |-  ( ( ( ( 2  x.  A )  x.  ( X  +  ( B  /  ( 2  x.  A ) ) ) ) ^ 2 )  =  ( ( B ^ 2 )  -  ( 4  x.  ( A  x.  C )
) )  <->  ( (
( 2  x.  A
)  x.  ( X  +  ( B  / 
( 2  x.  A
) ) ) )  =  ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) )  \/  ( ( 2  x.  A )  x.  ( X  +  ( B  /  (
2  x.  A ) ) ) )  = 
-u ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) ) ) )
119114, 118mpbi 212 . 2  |-  ( ( ( 2  x.  A
)  x.  ( X  +  ( B  / 
( 2  x.  A
) ) ) )  =  ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) )  \/  ( ( 2  x.  A )  x.  ( X  +  ( B  /  (
2  x.  A ) ) ) )  = 
-u ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) ) )
120 sqrtcl 13424 . . . . . . 7  |-  ( ( ( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) )  e.  CC  ->  ( sqr `  ( ( B ^ 2 )  -  ( 4  x.  ( A  x.  C )
) ) )  e.  CC )
121112, 120ax-mp 5 . . . . . 6  |-  ( sqr `  ( ( B ^
2 )  -  (
4  x.  ( A  x.  C ) ) ) )  e.  CC
122121, 3, 10, 8divmuli 10361 . . . . 5  |-  ( ( ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) )  /  ( 2  x.  A ) )  =  ( X  +  ( B  /  (
2  x.  A ) ) )  <->  ( (
2  x.  A )  x.  ( X  +  ( B  /  (
2  x.  A ) ) ) )  =  ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) ) )
123 eqcom 2458 . . . . 5  |-  ( ( ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) )  /  ( 2  x.  A ) )  =  ( X  +  ( B  /  (
2  x.  A ) ) )  <->  ( X  +  ( B  / 
( 2  x.  A
) ) )  =  ( ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) )  /  ( 2  x.  A ) ) )
124122, 123bitr3i 255 . . . 4  |-  ( ( ( 2  x.  A
)  x.  ( X  +  ( B  / 
( 2  x.  A
) ) ) )  =  ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) )  <->  ( X  +  ( B  /  (
2  x.  A ) ) )  =  ( ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) )  /  ( 2  x.  A ) ) )
125121, 3, 8divcli 10349 . . . . . 6  |-  ( ( sqr `  ( ( B ^ 2 )  -  ( 4  x.  ( A  x.  C
) ) ) )  /  ( 2  x.  A ) )  e.  CC
126125, 9, 4subadd2i 9963 . . . . 5  |-  ( ( ( ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) )  /  ( 2  x.  A ) )  -  ( B  / 
( 2  x.  A
) ) )  =  X  <->  ( X  +  ( B  /  (
2  x.  A ) ) )  =  ( ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) )  /  ( 2  x.  A ) ) )
127 eqcom 2458 . . . . 5  |-  ( ( ( ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) )  /  ( 2  x.  A ) )  -  ( B  / 
( 2  x.  A
) ) )  =  X  <->  X  =  (
( ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) )  /  ( 2  x.  A ) )  -  ( B  / 
( 2  x.  A
) ) ) )
128126, 127bitr3i 255 . . . 4  |-  ( ( X  +  ( B  /  ( 2  x.  A ) ) )  =  ( ( sqr `  ( ( B ^
2 )  -  (
4  x.  ( A  x.  C ) ) ) )  /  (
2  x.  A ) )  <->  X  =  (
( ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) )  /  ( 2  x.  A ) )  -  ( B  / 
( 2  x.  A
) ) ) )
129 divneg 10302 . . . . . . . . 9  |-  ( ( B  e.  CC  /\  ( 2  x.  A
)  e.  CC  /\  ( 2  x.  A
)  =/=  0 )  ->  -u ( B  / 
( 2  x.  A
) )  =  (
-u B  /  (
2  x.  A ) ) )
1305, 3, 8, 129mp3an 1364 . . . . . . . 8  |-  -u ( B  /  ( 2  x.  A ) )  =  ( -u B  / 
( 2  x.  A
) )
131130oveq2i 6301 . . . . . . 7  |-  ( ( ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) )  /  ( 2  x.  A ) )  +  -u ( B  / 
( 2  x.  A
) ) )  =  ( ( ( sqr `  ( ( B ^
2 )  -  (
4  x.  ( A  x.  C ) ) ) )  /  (
2  x.  A ) )  +  ( -u B  /  ( 2  x.  A ) ) )
132125, 9negsubi 9952 . . . . . . 7  |-  ( ( ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) )  /  ( 2  x.  A ) )  +  -u ( B  / 
( 2  x.  A
) ) )  =  ( ( ( sqr `  ( ( B ^
2 )  -  (
4  x.  ( A  x.  C ) ) ) )  /  (
2  x.  A ) )  -  ( B  /  ( 2  x.  A ) ) )
1335negcli 9942 . . . . . . . . 9  |-  -u B  e.  CC
134133, 3, 8divcli 10349 . . . . . . . 8  |-  ( -u B  /  ( 2  x.  A ) )  e.  CC
135125, 134addcomi 9824 . . . . . . 7  |-  ( ( ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) )  /  ( 2  x.  A ) )  +  ( -u B  /  ( 2  x.  A ) ) )  =  ( ( -u B  /  ( 2  x.  A ) )  +  ( ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) )  /  ( 2  x.  A ) ) )
136131, 132, 1353eqtr3i 2481 . . . . . 6  |-  ( ( ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) )  /  ( 2  x.  A ) )  -  ( B  / 
( 2  x.  A
) ) )  =  ( ( -u B  /  ( 2  x.  A ) )  +  ( ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) )  /  ( 2  x.  A ) ) )
137133, 121, 3, 8divdiri 10364 . . . . . 6  |-  ( (
-u B  +  ( sqr `  ( ( B ^ 2 )  -  ( 4  x.  ( A  x.  C
) ) ) ) )  /  ( 2  x.  A ) )  =  ( ( -u B  /  ( 2  x.  A ) )  +  ( ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) )  /  ( 2  x.  A ) ) )
138136, 137eqtr4i 2476 . . . . 5  |-  ( ( ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) )  /  ( 2  x.  A ) )  -  ( B  / 
( 2  x.  A
) ) )  =  ( ( -u B  +  ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) ) )  /  (
2  x.  A ) )
139138eqeq2i 2463 . . . 4  |-  ( X  =  ( ( ( sqr `  ( ( B ^ 2 )  -  ( 4  x.  ( A  x.  C
) ) ) )  /  ( 2  x.  A ) )  -  ( B  /  (
2  x.  A ) ) )  <->  X  =  ( ( -u B  +  ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) ) )  /  (
2  x.  A ) ) )
140124, 128, 1393bitri 275 . . 3  |-  ( ( ( 2  x.  A
)  x.  ( X  +  ( B  / 
( 2  x.  A
) ) ) )  =  ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) )  <->  X  =  (
( -u B  +  ( sqr `  ( ( B ^ 2 )  -  ( 4  x.  ( A  x.  C
) ) ) ) )  /  ( 2  x.  A ) ) )
141121negcli 9942 . . . . . 6  |-  -u ( sqr `  ( ( B ^ 2 )  -  ( 4  x.  ( A  x.  C )
) ) )  e.  CC
142141, 3, 10, 8divmuli 10361 . . . . 5  |-  ( (
-u ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) )  /  ( 2  x.  A ) )  =  ( X  +  ( B  /  (
2  x.  A ) ) )  <->  ( (
2  x.  A )  x.  ( X  +  ( B  /  (
2  x.  A ) ) ) )  = 
-u ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) ) )
143 eqcom 2458 . . . . 5  |-  ( (
-u ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) )  /  ( 2  x.  A ) )  =  ( X  +  ( B  /  (
2  x.  A ) ) )  <->  ( X  +  ( B  / 
( 2  x.  A
) ) )  =  ( -u ( sqr `  ( ( B ^
2 )  -  (
4  x.  ( A  x.  C ) ) ) )  /  (
2  x.  A ) ) )
144142, 143bitr3i 255 . . . 4  |-  ( ( ( 2  x.  A
)  x.  ( X  +  ( B  / 
( 2  x.  A
) ) ) )  =  -u ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) )  <->  ( X  +  ( B  /  (
2  x.  A ) ) )  =  (
-u ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) )  /  ( 2  x.  A ) ) )
145141, 3, 8divcli 10349 . . . . . 6  |-  ( -u ( sqr `  ( ( B ^ 2 )  -  ( 4  x.  ( A  x.  C
) ) ) )  /  ( 2  x.  A ) )  e.  CC
146145, 9, 4subadd2i 9963 . . . . 5  |-  ( ( ( -u ( sqr `  ( ( B ^
2 )  -  (
4  x.  ( A  x.  C ) ) ) )  /  (
2  x.  A ) )  -  ( B  /  ( 2  x.  A ) ) )  =  X  <->  ( X  +  ( B  / 
( 2  x.  A
) ) )  =  ( -u ( sqr `  ( ( B ^
2 )  -  (
4  x.  ( A  x.  C ) ) ) )  /  (
2  x.  A ) ) )
147 eqcom 2458 . . . . 5  |-  ( ( ( -u ( sqr `  ( ( B ^
2 )  -  (
4  x.  ( A  x.  C ) ) ) )  /  (
2  x.  A ) )  -  ( B  /  ( 2  x.  A ) ) )  =  X  <->  X  =  ( ( -u ( sqr `  ( ( B ^ 2 )  -  ( 4  x.  ( A  x.  C )
) ) )  / 
( 2  x.  A
) )  -  ( B  /  ( 2  x.  A ) ) ) )
148146, 147bitr3i 255 . . . 4  |-  ( ( X  +  ( B  /  ( 2  x.  A ) ) )  =  ( -u ( sqr `  ( ( B ^ 2 )  -  ( 4  x.  ( A  x.  C )
) ) )  / 
( 2  x.  A
) )  <->  X  =  ( ( -u ( sqr `  ( ( B ^ 2 )  -  ( 4  x.  ( A  x.  C )
) ) )  / 
( 2  x.  A
) )  -  ( B  /  ( 2  x.  A ) ) ) )
149130oveq2i 6301 . . . . . . 7  |-  ( (
-u ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) )  /  ( 2  x.  A ) )  +  -u ( B  / 
( 2  x.  A
) ) )  =  ( ( -u ( sqr `  ( ( B ^ 2 )  -  ( 4  x.  ( A  x.  C )
) ) )  / 
( 2  x.  A
) )  +  (
-u B  /  (
2  x.  A ) ) )
150145, 9negsubi 9952 . . . . . . 7  |-  ( (
-u ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) )  /  ( 2  x.  A ) )  +  -u ( B  / 
( 2  x.  A
) ) )  =  ( ( -u ( sqr `  ( ( B ^ 2 )  -  ( 4  x.  ( A  x.  C )
) ) )  / 
( 2  x.  A
) )  -  ( B  /  ( 2  x.  A ) ) )
151145, 134addcomi 9824 . . . . . . 7  |-  ( (
-u ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) )  /  ( 2  x.  A ) )  +  ( -u B  /  ( 2  x.  A ) ) )  =  ( ( -u B  /  ( 2  x.  A ) )  +  ( -u ( sqr `  ( ( B ^
2 )  -  (
4  x.  ( A  x.  C ) ) ) )  /  (
2  x.  A ) ) )
152149, 150, 1513eqtr3i 2481 . . . . . 6  |-  ( (
-u ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) )  /  ( 2  x.  A ) )  -  ( B  / 
( 2  x.  A
) ) )  =  ( ( -u B  /  ( 2  x.  A ) )  +  ( -u ( sqr `  ( ( B ^
2 )  -  (
4  x.  ( A  x.  C ) ) ) )  /  (
2  x.  A ) ) )
153133, 141, 3, 8divdiri 10364 . . . . . 6  |-  ( (
-u B  +  -u ( sqr `  ( ( B ^ 2 )  -  ( 4  x.  ( A  x.  C
) ) ) ) )  /  ( 2  x.  A ) )  =  ( ( -u B  /  ( 2  x.  A ) )  +  ( -u ( sqr `  ( ( B ^
2 )  -  (
4  x.  ( A  x.  C ) ) ) )  /  (
2  x.  A ) ) )
154133, 121negsubi 9952 . . . . . . 7  |-  ( -u B  +  -u ( sqr `  ( ( B ^
2 )  -  (
4  x.  ( A  x.  C ) ) ) ) )  =  ( -u B  -  ( sqr `  ( ( B ^ 2 )  -  ( 4  x.  ( A  x.  C
) ) ) ) )
155154oveq1i 6300 . . . . . 6  |-  ( (
-u B  +  -u ( sqr `  ( ( B ^ 2 )  -  ( 4  x.  ( A  x.  C
) ) ) ) )  /  ( 2  x.  A ) )  =  ( ( -u B  -  ( sqr `  ( ( B ^
2 )  -  (
4  x.  ( A  x.  C ) ) ) ) )  / 
( 2  x.  A
) )
156152, 153, 1553eqtr2i 2479 . . . . 5  |-  ( (
-u ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) )  /  ( 2  x.  A ) )  -  ( B  / 
( 2  x.  A
) ) )  =  ( ( -u B  -  ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) ) )  /  (
2  x.  A ) )
157156eqeq2i 2463 . . . 4  |-  ( X  =  ( ( -u ( sqr `  ( ( B ^ 2 )  -  ( 4  x.  ( A  x.  C
) ) ) )  /  ( 2  x.  A ) )  -  ( B  /  (
2  x.  A ) ) )  <->  X  =  ( ( -u B  -  ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) ) )  /  (
2  x.  A ) ) )
158144, 148, 1573bitri 275 . . 3  |-  ( ( ( 2  x.  A
)  x.  ( X  +  ( B  / 
( 2  x.  A
) ) ) )  =  -u ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) )  <->  X  =  (
( -u B  -  ( sqr `  ( ( B ^ 2 )  -  ( 4  x.  ( A  x.  C )
) ) ) )  /  ( 2  x.  A ) ) )
159140, 158orbi12i 524 . 2  |-  ( ( ( ( 2  x.  A )  x.  ( X  +  ( B  /  ( 2  x.  A ) ) ) )  =  ( sqr `  ( ( B ^
2 )  -  (
4  x.  ( A  x.  C ) ) ) )  \/  (
( 2  x.  A
)  x.  ( X  +  ( B  / 
( 2  x.  A
) ) ) )  =  -u ( sqr `  (
( B ^ 2 )  -  ( 4  x.  ( A  x.  C ) ) ) ) )  <->  ( X  =  ( ( -u B  +  ( sqr `  ( ( B ^
2 )  -  (
4  x.  ( A  x.  C ) ) ) ) )  / 
( 2  x.  A
) )  \/  X  =  ( ( -u B  -  ( sqr `  ( ( B ^
2 )  -  (
4  x.  ( A  x.  C ) ) ) ) )  / 
( 2  x.  A
) ) ) )
160119, 159mpbi 212 1  |-  ( X  =  ( ( -u B  +  ( sqr `  ( ( B ^
2 )  -  (
4  x.  ( A  x.  C ) ) ) ) )  / 
( 2  x.  A
) )  \/  X  =  ( ( -u B  -  ( sqr `  ( ( B ^
2 )  -  (
4  x.  ( A  x.  C ) ) ) ) )  / 
( 2  x.  A
) ) )
Colors of variables: wff setvar class
Syntax hints:    <-> wb 188    \/ wo 370    /\ wa 371    = wceq 1444    e. wcel 1887    =/= wne 2622   ` cfv 5582  (class class class)co 6290   CCcc 9537   0cc0 9539   1c1 9540    + caddc 9542    x. cmul 9544    - cmin 9860   -ucneg 9861    / cdiv 10269   2c2 10659   4c4 10661   ^cexp 12272   sqrcsqrt 13296
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1669  ax-4 1682  ax-5 1758  ax-6 1805  ax-7 1851  ax-8 1889  ax-9 1896  ax-10 1915  ax-11 1920  ax-12 1933  ax-13 2091  ax-ext 2431  ax-sep 4525  ax-nul 4534  ax-pow 4581  ax-pr 4639  ax-un 6583  ax-cnex 9595  ax-resscn 9596  ax-1cn 9597  ax-icn 9598  ax-addcl 9599  ax-addrcl 9600  ax-mulcl 9601  ax-mulrcl 9602  ax-mulcom 9603  ax-addass 9604  ax-mulass 9605  ax-distr 9606  ax-i2m1 9607  ax-1ne0 9608  ax-1rid 9609  ax-rnegex 9610  ax-rrecex 9611  ax-cnre 9612  ax-pre-lttri 9613  ax-pre-lttrn 9614  ax-pre-ltadd 9615  ax-pre-mulgt0 9616  ax-pre-sup 9617
This theorem depends on definitions:  df-bi 189  df-or 372  df-an 373  df-3or 986  df-3an 987  df-tru 1447  df-ex 1664  df-nf 1668  df-sb 1798  df-eu 2303  df-mo 2304  df-clab 2438  df-cleq 2444  df-clel 2447  df-nfc 2581  df-ne 2624  df-nel 2625  df-ral 2742  df-rex 2743  df-reu 2744  df-rmo 2745  df-rab 2746  df-v 3047  df-sbc 3268  df-csb 3364  df-dif 3407  df-un 3409  df-in 3411  df-ss 3418  df-pss 3420  df-nul 3732  df-if 3882  df-pw 3953  df-sn 3969  df-pr 3971  df-tp 3973  df-op 3975  df-uni 4199  df-iun 4280  df-br 4403  df-opab 4462  df-mpt 4463  df-tr 4498  df-eprel 4745  df-id 4749  df-po 4755  df-so 4756  df-fr 4793  df-we 4795  df-xp 4840  df-rel 4841  df-cnv 4842  df-co 4843  df-dm 4844  df-rn 4845  df-res 4846  df-ima 4847  df-pred 5380  df-ord 5426  df-on 5427  df-lim 5428  df-suc 5429  df-iota 5546  df-fun 5584  df-fn 5585  df-f 5586  df-f1 5587  df-fo 5588  df-f1o 5589  df-fv 5590  df-riota 6252  df-ov 6293  df-oprab 6294  df-mpt2 6295  df-om 6693  df-2nd 6794  df-wrecs 7028  df-recs 7090  df-rdg 7128  df-er 7363  df-en 7570  df-dom 7571  df-sdom 7572  df-sup 7956  df-pnf 9677  df-mnf 9678  df-xr 9679  df-ltxr 9680  df-le 9681  df-sub 9862  df-neg 9863  df-div 10270  df-nn 10610  df-2 10668  df-3 10669  df-4 10670  df-n0 10870  df-z 10938  df-uz 11160  df-rp 11303  df-seq 12214  df-exp 12273  df-cj 13162  df-re 13163  df-im 13164  df-sqrt 13298  df-abs 13299
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator