Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  requad01 Structured version   Visualization version   GIF version

Theorem requad01 48812
Description: A condition for a quadratic equation with real coefficients to have (at least) one real solution. (Contributed by AV, 23-Jan-2023.)
Hypotheses
Ref Expression
requad2.a (𝜑 → 𝐴 ∈ ℝ)
requad2.z (𝜑 → 𝐴 ≠ 0)
requad2.b (𝜑 → 𝐵 ∈ ℝ)
requad2.c (𝜑 → 𝐶 ∈ ℝ)
requad2.d (𝜑 → 𝐷 = ((𝐵↑2) − (4 · (𝐴 · 𝐶))))
Assertion
Ref Expression
requad01 (𝜑 → (∃𝑥 ∈ ℝ ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0 ↔ 0 ≤ 𝐷))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝑥,𝐶   𝑥,𝐷   𝜑,𝑥

Proof of Theorem requad01
StepHypRef Expression
1 requad2.a . . . . . . 7 (𝜑 → 𝐴 ∈ ℝ)
21recnd 11340 . . . . . 6 (𝜑 → 𝐴 ∈ ℂ)
32adantr 486 . . . . 5 ((𝜑 ∧ 𝑥 ∈ ℝ) → 𝐴 ∈ ℂ)
4 requad2.z . . . . . 6 (𝜑 → 𝐴 ≠ 0)
54adantr 486 . . . . 5 ((𝜑 ∧ 𝑥 ∈ ℝ) → 𝐴 ≠ 0)
6 requad2.b . . . . . . 7 (𝜑 → 𝐵 ∈ ℝ)
76recnd 11340 . . . . . 6 (𝜑 → 𝐵 ∈ ℂ)
87adantr 486 . . . . 5 ((𝜑 ∧ 𝑥 ∈ ℝ) → 𝐵 ∈ ℂ)
9 requad2.c . . . . . . 7 (𝜑 → 𝐶 ∈ ℝ)
109recnd 11340 . . . . . 6 (𝜑 → 𝐶 ∈ ℂ)
1110adantr 486 . . . . 5 ((𝜑 ∧ 𝑥 ∈ ℝ) → 𝐶 ∈ ℂ)
12 recn 11293 . . . . . 6 (𝑥 ∈ ℝ → 𝑥 ∈ ℂ)
1312adantl 487 . . . . 5 ((𝜑 ∧ 𝑥 ∈ ℝ) → 𝑥 ∈ ℂ)
14 requad2.d . . . . . 6 (𝜑 → 𝐷 = ((𝐵↑2) − (4 · (𝐴 · 𝐶))))
1514adantr 486 . . . . 5 ((𝜑 ∧ 𝑥 ∈ ℝ) → 𝐷 = ((𝐵↑2) − (4 · (𝐴 · 𝐶))))
163, 5, 8, 11, 13, 15quad 27173 . . . 4 ((𝜑 ∧ 𝑥 ∈ ℝ) → (((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0 ↔ (𝑥 = (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∨ 𝑥 = (( -𝐵 − (√‘𝐷)) / (2 · 𝐴)))))
17 eleq1 2848 . . . . . . . . . 10 (𝑥 = (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) → (𝑥 ∈ ℝ ↔ (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∈ ℝ))
1817adantl 487 . . . . . . . . 9 ((𝜑 ∧ 𝑥 = (( -𝐵 + (√‘𝐷)) / (2 · 𝐴))) → (𝑥 ∈ ℝ ↔ (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∈ ℝ))
19 2re 12420 . . . . . . . . . . . . . . . . 17 2 ∈ ℝ
2019a1i 11 . . . . . . . . . . . . . . . 16 (𝜑 → 2 ∈ ℝ)
2120, 1remulcld 11342 . . . . . . . . . . . . . . 15 (𝜑 → (2 · 𝐴) ∈ ℝ)
2221adantr 486 . . . . . . . . . . . . . 14 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → (2 · 𝐴) ∈ ℝ)
237negcld 11659 . . . . . . . . . . . . . . . . 17 (𝜑 → -𝐵 ∈ ℂ)
246resqcld 14271 . . . . . . . . . . . . . . . . . . . . 21 (𝜑 → (𝐵↑2) ∈ ℝ)
25 4re 12430 . . . . . . . . . . . . . . . . . . . . . . 23 4 ∈ ℝ
2625a1i 11 . . . . . . . . . . . . . . . . . . . . . 22 (𝜑 → 4 ∈ ℝ)
271, 9remulcld 11342 . . . . . . . . . . . . . . . . . . . . . 22 (𝜑 → (𝐴 · 𝐶) ∈ ℝ)
2826, 27remulcld 11342 . . . . . . . . . . . . . . . . . . . . 21 (𝜑 → (4 · (𝐴 · 𝐶)) ∈ ℝ)
2924, 28resubcld 11747 . . . . . . . . . . . . . . . . . . . 20 (𝜑 → ((𝐵↑2) − (4 · (𝐴 · 𝐶))) ∈ ℝ)
3014, 29eqeltrd 2860 . . . . . . . . . . . . . . . . . . 19 (𝜑 → 𝐷 ∈ ℝ)
3130recnd 11340 . . . . . . . . . . . . . . . . . 18 (𝜑 → 𝐷 ∈ ℂ)
3231sqrtcld 15612 . . . . . . . . . . . . . . . . 17 (𝜑 → (√‘𝐷) ∈ ℂ)
3323, 32addcld 11331 . . . . . . . . . . . . . . . 16 (𝜑 → ( -𝐵 + (√‘𝐷)) ∈ ℂ)
3433adantr 486 . . . . . . . . . . . . . . 15 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → ( -𝐵 + (√‘𝐷)) ∈ ℂ)
356renegcld 11746 . . . . . . . . . . . . . . . . . 18 (𝜑 → -𝐵 ∈ ℝ)
3635adantr 486 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → -𝐵 ∈ ℝ)
3732adantr 486 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → (√‘𝐷) ∈ ℂ)
3831negnegd 11663 . . . . . . . . . . . . . . . . . . . . . . 23 (𝜑 → - -𝐷 = 𝐷)
3938adantr 486 . . . . . . . . . . . . . . . . . . . . . 22 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → - -𝐷 = 𝐷)
4039eqcomd 2766 . . . . . . . . . . . . . . . . . . . . 21 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → 𝐷 = - -𝐷)
4140fveq2d 6889 . . . . . . . . . . . . . . . . . . . 20 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → (√‘𝐷) = (√‘ - -𝐷))
4230renegcld 11746 . . . . . . . . . . . . . . . . . . . . . 22 (𝜑 → -𝐷 ∈ ℝ)
4342adantr 486 . . . . . . . . . . . . . . . . . . . . 21 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → -𝐷 ∈ ℝ)
44 0red 11314 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝜑 → 0 ∈ ℝ)
4530, 44ltnled 11460 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝜑 → (𝐷 < 0 ↔ ¬ 0 ≤ 𝐷))
46 ltle 11401 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝐷 ∈ ℝ ∧ 0 ∈ ℝ) → (𝐷 < 0 → 𝐷 ≤ 0))
4730, 44, 46syl2anc 596 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝜑 → (𝐷 < 0 → 𝐷 ≤ 0))
4845, 47sylbird 263 . . . . . . . . . . . . . . . . . . . . . . 23 (𝜑 → (¬ 0 ≤ 𝐷 → 𝐷 ≤ 0))
4948imp 412 . . . . . . . . . . . . . . . . . . . . . 22 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → 𝐷 ≤ 0)
5030le0neg1d 11890 . . . . . . . . . . . . . . . . . . . . . . 23 (𝜑 → (𝐷 ≤ 0 ↔ 0 ≤ -𝐷))
5150adantr 486 . . . . . . . . . . . . . . . . . . . . . 22 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → (𝐷 ≤ 0 ↔ 0 ≤ -𝐷))
5249, 51mpbid 235 . . . . . . . . . . . . . . . . . . . . 21 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → 0 ≤ -𝐷)
5343, 52sqrtnegd 15594 . . . . . . . . . . . . . . . . . . . 20 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → (√‘ - -𝐷) = (i · (√‘ -𝐷)))
5441, 53eqtrd 2795 . . . . . . . . . . . . . . . . . . 19 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → (√‘𝐷) = (i · (√‘ -𝐷)))
55 ax-icn 11262 . . . . . . . . . . . . . . . . . . . . . 22 i ∈ ℂ
5655a1i 11 . . . . . . . . . . . . . . . . . . . . 21 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → i ∈ ℂ)
5731negcld 11659 . . . . . . . . . . . . . . . . . . . . . . 23 (𝜑 → -𝐷 ∈ ℂ)
5857sqrtcld 15612 . . . . . . . . . . . . . . . . . . . . . 22 (𝜑 → (√‘ -𝐷) ∈ ℂ)
5958adantr 486 . . . . . . . . . . . . . . . . . . . . 21 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → (√‘ -𝐷) ∈ ℂ)
6056, 59mulcomd 11333 . . . . . . . . . . . . . . . . . . . 20 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → (i · (√‘ -𝐷)) = ((√‘ -𝐷) · i))
6143, 52resqrtcld 15590 . . . . . . . . . . . . . . . . . . . . . 22 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → (√‘ -𝐷) ∈ ℝ)
62 inelr 12313 . . . . . . . . . . . . . . . . . . . . . . . 24 ¬ i ∈ ℝ
63 eldif 4049 . . . . . . . . . . . . . . . . . . . . . . . 24 (i ∈ (ℂ ∖ ℝ) ↔ (i ∈ ℂ ∧ ¬ i ∈ ℝ))
6455, 62, 63mpbir2an 724 . . . . . . . . . . . . . . . . . . . . . . 23 i ∈ (ℂ ∖ ℝ)
6564a1i 11 . . . . . . . . . . . . . . . . . . . . . 22 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → i ∈ (ℂ ∖ ℝ))
6630lt0neg1d 11888 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝜑 → (𝐷 < 0 ↔ 0 < -𝐷))
67 ltne 11410 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 ((0 ∈ ℝ ∧ 0 < -𝐷) → -𝐷 ≠ 0)
6844, 67sylan 592 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((𝜑 ∧ 0 < -𝐷) → -𝐷 ≠ 0)
6942adantr 486 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 ((𝜑 ∧ 0 < -𝐷) → -𝐷 ∈ ℝ)
70 ltle 11401 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 ((0 ∈ ℝ ∧ -𝐷 ∈ ℝ) → (0 < -𝐷 → 0 ≤ -𝐷))
7144, 42, 70syl2anc 596 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 (𝜑 → (0 < -𝐷 → 0 ≤ -𝐷))
7271imp 412 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 ((𝜑 ∧ 0 < -𝐷) → 0 ≤ -𝐷)
73 sqrt00 15435 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (( -𝐷 ∈ ℝ ∧ 0 ≤ -𝐷) → ((√‘ -𝐷) = 0 ↔ -𝐷 = 0))
7469, 72, 73syl2anc 596 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 ((𝜑 ∧ 0 < -𝐷) → ((√‘ -𝐷) = 0 ↔ -𝐷 = 0))
7574bicomd 226 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 ((𝜑 ∧ 0 < -𝐷) → ( -𝐷 = 0 ↔ (√‘ -𝐷) = 0))
7675necon3bid 2999 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((𝜑 ∧ 0 < -𝐷) → ( -𝐷 ≠ 0 ↔ (√‘ -𝐷) ≠ 0))
7768, 76mpbid 235 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((𝜑 ∧ 0 < -𝐷) → (√‘ -𝐷) ≠ 0)
7877ex 418 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝜑 → (0 < -𝐷 → (√‘ -𝐷) ≠ 0))
7966, 78sylbid 243 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝜑 → (𝐷 < 0 → (√‘ -𝐷) ≠ 0))
8045, 79sylbird 263 . . . . . . . . . . . . . . . . . . . . . . 23 (𝜑 → (¬ 0 ≤ 𝐷 → (√‘ -𝐷) ≠ 0))
8180imp 412 . . . . . . . . . . . . . . . . . . . . . 22 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → (√‘ -𝐷) ≠ 0)
8261, 65, 81recnmulnred 48468 . . . . . . . . . . . . . . . . . . . . 21 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → ((√‘ -𝐷) · i) ∉ ℝ)
83 df-nel 3062 . . . . . . . . . . . . . . . . . . . . 21 (((√‘ -𝐷) · i) ∉ ℝ ↔ ¬ ((√‘ -𝐷) · i) ∈ ℝ)
8482, 83sylib 221 . . . . . . . . . . . . . . . . . . . 20 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → ¬ ((√‘ -𝐷) · i) ∈ ℝ)
8560, 84eqneltrd 2880 . . . . . . . . . . . . . . . . . . 19 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → ¬ (i · (√‘ -𝐷)) ∈ ℝ)
8654, 85eqneltrd 2880 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → ¬ (√‘𝐷) ∈ ℝ)
8737, 86eldifd 4050 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → (√‘𝐷) ∈ (ℂ ∖ ℝ))
8836, 87readdcnnred 48466 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → ( -𝐵 + (√‘𝐷)) ∉ ℝ)
89 df-nel 3062 . . . . . . . . . . . . . . . 16 (( -𝐵 + (√‘𝐷)) ∉ ℝ ↔ ¬ ( -𝐵 + (√‘𝐷)) ∈ ℝ)
9088, 89sylib 221 . . . . . . . . . . . . . . 15 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → ¬ ( -𝐵 + (√‘𝐷)) ∈ ℝ)
9134, 90eldifd 4050 . . . . . . . . . . . . . 14 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → ( -𝐵 + (√‘𝐷)) ∈ (ℂ ∖ ℝ))
92 2cnd 12424 . . . . . . . . . . . . . . . 16 (𝜑 → 2 ∈ ℂ)
93 2ne0 12452 . . . . . . . . . . . . . . . . 17 2 ≠ 0
9493a1i 11 . . . . . . . . . . . . . . . 16 (𝜑 → 2 ≠ 0)
9592, 2, 94, 4mulne0d 11971 . . . . . . . . . . . . . . 15 (𝜑 → (2 · 𝐴) ≠ 0)
9695adantr 486 . . . . . . . . . . . . . 14 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → (2 · 𝐴) ≠ 0)
9722, 91, 96cndivrenred 48469 . . . . . . . . . . . . 13 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∉ ℝ)
98 df-nel 3062 . . . . . . . . . . . . 13 ((( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∉ ℝ ↔ ¬ (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∈ ℝ)
9997, 98sylib 221 . . . . . . . . . . . 12 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → ¬ (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∈ ℝ)
10099ex 418 . . . . . . . . . . 11 (𝜑 → (¬ 0 ≤ 𝐷 → ¬ (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∈ ℝ))
101100con4d 116 . . . . . . . . . 10 (𝜑 → ((( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∈ ℝ → 0 ≤ 𝐷))
102101adantr 486 . . . . . . . . 9 ((𝜑 ∧ 𝑥 = (( -𝐵 + (√‘𝐷)) / (2 · 𝐴))) → ((( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∈ ℝ → 0 ≤ 𝐷))
10318, 102sylbid 243 . . . . . . . 8 ((𝜑 ∧ 𝑥 = (( -𝐵 + (√‘𝐷)) / (2 · 𝐴))) → (𝑥 ∈ ℝ → 0 ≤ 𝐷))
104103ex 418 . . . . . . 7 (𝜑 → (𝑥 = (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) → (𝑥 ∈ ℝ → 0 ≤ 𝐷)))
105 eleq1 2848 . . . . . . . . . 10 (𝑥 = (( -𝐵 − (√‘𝐷)) / (2 · 𝐴)) → (𝑥 ∈ ℝ ↔ (( -𝐵 − (√‘𝐷)) / (2 · 𝐴)) ∈ ℝ))
106105adantl 487 . . . . . . . . 9 ((𝜑 ∧ 𝑥 = (( -𝐵 − (√‘𝐷)) / (2 · 𝐴))) → (𝑥 ∈ ℝ ↔ (( -𝐵 − (√‘𝐷)) / (2 · 𝐴)) ∈ ℝ))
10723, 32subcld 11672 . . . . . . . . . . . . . . . 16 (𝜑 → ( -𝐵 − (√‘𝐷)) ∈ ℂ)
108107adantr 486 . . . . . . . . . . . . . . 15 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → ( -𝐵 − (√‘𝐷)) ∈ ℂ)
10936, 87resubcnnred 48467 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → ( -𝐵 − (√‘𝐷)) ∉ ℝ)
110 df-nel 3062 . . . . . . . . . . . . . . . 16 (( -𝐵 − (√‘𝐷)) ∉ ℝ ↔ ¬ ( -𝐵 − (√‘𝐷)) ∈ ℝ)
111109, 110sylib 221 . . . . . . . . . . . . . . 15 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → ¬ ( -𝐵 − (√‘𝐷)) ∈ ℝ)
112108, 111eldifd 4050 . . . . . . . . . . . . . 14 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → ( -𝐵 − (√‘𝐷)) ∈ (ℂ ∖ ℝ))
11322, 112, 96cndivrenred 48469 . . . . . . . . . . . . 13 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → (( -𝐵 − (√‘𝐷)) / (2 · 𝐴)) ∉ ℝ)
114 df-nel 3062 . . . . . . . . . . . . 13 ((( -𝐵 − (√‘𝐷)) / (2 · 𝐴)) ∉ ℝ ↔ ¬ (( -𝐵 − (√‘𝐷)) / (2 · 𝐴)) ∈ ℝ)
115113, 114sylib 221 . . . . . . . . . . . 12 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → ¬ (( -𝐵 − (√‘𝐷)) / (2 · 𝐴)) ∈ ℝ)
116115ex 418 . . . . . . . . . . 11 (𝜑 → (¬ 0 ≤ 𝐷 → ¬ (( -𝐵 − (√‘𝐷)) / (2 · 𝐴)) ∈ ℝ))
117116con4d 116 . . . . . . . . . 10 (𝜑 → ((( -𝐵 − (√‘𝐷)) / (2 · 𝐴)) ∈ ℝ → 0 ≤ 𝐷))
118117adantr 486 . . . . . . . . 9 ((𝜑 ∧ 𝑥 = (( -𝐵 − (√‘𝐷)) / (2 · 𝐴))) → ((( -𝐵 − (√‘𝐷)) / (2 · 𝐴)) ∈ ℝ → 0 ≤ 𝐷))
119106, 118sylbid 243 . . . . . . . 8 ((𝜑 ∧ 𝑥 = (( -𝐵 − (√‘𝐷)) / (2 · 𝐴))) → (𝑥 ∈ ℝ → 0 ≤ 𝐷))
120119ex 418 . . . . . . 7 (𝜑 → (𝑥 = (( -𝐵 − (√‘𝐷)) / (2 · 𝐴)) → (𝑥 ∈ ℝ → 0 ≤ 𝐷)))
121104, 120jaod 873 . . . . . 6 (𝜑 → ((𝑥 = (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∨ 𝑥 = (( -𝐵 − (√‘𝐷)) / (2 · 𝐴))) → (𝑥 ∈ ℝ → 0 ≤ 𝐷)))
122121com23 87 . . . . 5 (𝜑 → (𝑥 ∈ ℝ → ((𝑥 = (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∨ 𝑥 = (( -𝐵 − (√‘𝐷)) / (2 · 𝐴))) → 0 ≤ 𝐷)))
123122imp 412 . . . 4 ((𝜑 ∧ 𝑥 ∈ ℝ) → ((𝑥 = (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∨ 𝑥 = (( -𝐵 − (√‘𝐷)) / (2 · 𝐴))) → 0 ≤ 𝐷))
12416, 123sylbid 243 . . 3 ((𝜑 ∧ 𝑥 ∈ ℝ) → (((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0 → 0 ≤ 𝐷))
125124rexlimdva 3163 . 2 (𝜑 → (∃𝑥 ∈ ℝ ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0 → 0 ≤ 𝐷))
12635adantr 486 . . . . . 6 ((𝜑 ∧ 0 ≤ 𝐷) → -𝐵 ∈ ℝ)
12730adantr 486 . . . . . . 7 ((𝜑 ∧ 0 ≤ 𝐷) → 𝐷 ∈ ℝ)
128 simpr 490 . . . . . . 7 ((𝜑 ∧ 0 ≤ 𝐷) → 0 ≤ 𝐷)
129127, 128resqrtcld 15590 . . . . . 6 ((𝜑 ∧ 0 ≤ 𝐷) → (√‘𝐷) ∈ ℝ)
130126, 129readdcld 11341 . . . . 5 ((𝜑 ∧ 0 ≤ 𝐷) → ( -𝐵 + (√‘𝐷)) ∈ ℝ)
13119a1i 11 . . . . . 6 ((𝜑 ∧ 0 ≤ 𝐷) → 2 ∈ ℝ)
1321adantr 486 . . . . . 6 ((𝜑 ∧ 0 ≤ 𝐷) → 𝐴 ∈ ℝ)
133131, 132remulcld 11342 . . . . 5 ((𝜑 ∧ 0 ≤ 𝐷) → (2 · 𝐴) ∈ ℝ)
13495adantr 486 . . . . 5 ((𝜑 ∧ 0 ≤ 𝐷) → (2 · 𝐴) ≠ 0)
135130, 133, 134redivcld 12148 . . . 4 ((𝜑 ∧ 0 ≤ 𝐷) → (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∈ ℝ)
136 oveq1 7427 . . . . . . . 8 (𝑥 = (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) → (𝑥↑2) = ((( -𝐵 + (√‘𝐷)) / (2 · 𝐴))↑2))
137136oveq2d 7436 . . . . . . 7 (𝑥 = (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) → (𝐴 · (𝑥↑2)) = (𝐴 · ((( -𝐵 + (√‘𝐷)) / (2 · 𝐴))↑2)))
138 oveq2 7428 . . . . . . . 8 (𝑥 = (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) → (𝐵 · 𝑥) = (𝐵 · (( -𝐵 + (√‘𝐷)) / (2 · 𝐴))))
139138oveq1d 7435 . . . . . . 7 (𝑥 = (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) → ((𝐵 · 𝑥) + 𝐶) = ((𝐵 · (( -𝐵 + (√‘𝐷)) / (2 · 𝐴))) + 𝐶))
140137, 139oveq12d 7438 . . . . . 6 (𝑥 = (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) → ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = ((𝐴 · ((( -𝐵 + (√‘𝐷)) / (2 · 𝐴))↑2)) + ((𝐵 · (( -𝐵 + (√‘𝐷)) / (2 · 𝐴))) + 𝐶)))
141140eqeq1d 2762 . . . . 5 (𝑥 = (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) → (((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0 ↔ ((𝐴 · ((( -𝐵 + (√‘𝐷)) / (2 · 𝐴))↑2)) + ((𝐵 · (( -𝐵 + (√‘𝐷)) / (2 · 𝐴))) + 𝐶)) = 0))
142141adantl 487 . . . 4 (((𝜑 ∧ 0 ≤ 𝐷) ∧ 𝑥 = (( -𝐵 + (√‘𝐷)) / (2 · 𝐴))) → (((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0 ↔ ((𝐴 · ((( -𝐵 + (√‘𝐷)) / (2 · 𝐴))↑2)) + ((𝐵 · (( -𝐵 + (√‘𝐷)) / (2 · 𝐴))) + 𝐶)) = 0))
143 eqidd 2761 . . . . . 6 ((𝜑 ∧ 0 ≤ 𝐷) → (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) = (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)))
144143orcd 887 . . . . 5 ((𝜑 ∧ 0 ≤ 𝐷) → ((( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) = (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∨ (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) = (( -𝐵 − (√‘𝐷)) / (2 · 𝐴))))
1452adantr 486 . . . . . 6 ((𝜑 ∧ 0 ≤ 𝐷) → 𝐴 ∈ ℂ)
1464adantr 486 . . . . . 6 ((𝜑 ∧ 0 ≤ 𝐷) → 𝐴 ≠ 0)
1477adantr 486 . . . . . 6 ((𝜑 ∧ 0 ≤ 𝐷) → 𝐵 ∈ ℂ)
14810adantr 486 . . . . . 6 ((𝜑 ∧ 0 ≤ 𝐷) → 𝐶 ∈ ℂ)
14992, 2mulcld 11332 . . . . . . . 8 (𝜑 → (2 · 𝐴) ∈ ℂ)
15033, 149, 95divcld 12096 . . . . . . 7 (𝜑 → (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∈ ℂ)
151150adantr 486 . . . . . 6 ((𝜑 ∧ 0 ≤ 𝐷) → (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∈ ℂ)
15214adantr 486 . . . . . 6 ((𝜑 ∧ 0 ≤ 𝐷) → 𝐷 = ((𝐵↑2) − (4 · (𝐴 · 𝐶))))
153145, 146, 147, 148, 151, 152quad 27173 . . . . 5 ((𝜑 ∧ 0 ≤ 𝐷) → (((𝐴 · ((( -𝐵 + (√‘𝐷)) / (2 · 𝐴))↑2)) + ((𝐵 · (( -𝐵 + (√‘𝐷)) / (2 · 𝐴))) + 𝐶)) = 0 ↔ ((( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) = (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∨ (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) = (( -𝐵 − (√‘𝐷)) / (2 · 𝐴)))))
154144, 153mpbird 260 . . . 4 ((𝜑 ∧ 0 ≤ 𝐷) → ((𝐴 · ((( -𝐵 + (√‘𝐷)) / (2 · 𝐴))↑2)) + ((𝐵 · (( -𝐵 + (√‘𝐷)) / (2 · 𝐴))) + 𝐶)) = 0)
155135, 142, 154rspcedvd 3578 . . 3 ((𝜑 ∧ 0 ≤ 𝐷) → ∃𝑥 ∈ ℝ ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0)
156155ex 418 . 2 (𝜑 → (0 ≤ 𝐷 → ∃𝑥 ∈ ℝ ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0))
157125, 156impbid 215 1 (𝜑 → (∃𝑥 ∈ ℝ ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0 ↔ 0 ≤ 𝐷))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   = wceq 1569   ∈ wcel 2144   ≠ wne 2955   ∉ wnel 3061  ∃wrex 3086   ∖ cdif 4045   class class class wbr 5102  ‘cfv 6538  (class class class)co 7420  ℂcc 11201  ℝcr 11202  0cc0 11203  ici 11205   + caddc 11206   · cmul 11208   < clt 11346   ≤ cle 11347   − cmin 11544   -cneg 11545   / cdiv 11976  2c2 12400  4c4 12402  ↑cexp 14207  √csqrt 15405
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7751  ax-cnex 11259  ax-resscn 11260  ax-1cn 11261  ax-icn 11262  ax-addcl 11263  ax-addrcl 11264  ax-mulcl 11265  ax-mulrcl 11266  ax-mulcom 11267  ax-addass 11268  ax-mulass 11269  ax-distr 11270  ax-i2m1 11271  ax-1ne0 11272  ax-1rid 11273  ax-rnegex 11274  ax-rrecex 11275  ax-cnre 11276  ax-pre-lttri 11277  ax-pre-lttrn 11278  ax-pre-ltadd 11279  ax-pre-mulgt0 11280  ax-pre-sup 11281
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-pss 4014  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5545  df-eprel 5550  df-po 5558  df-so 5559  df-fr 5603  df-we 5605  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-pred 6304  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-riota 7377  df-ov 7423  df-oprab 7424  df-mpo 7425  df-om 7878  df-2nd 8002  df-frecs 8302  df-wrecs 8333  df-recs 8382  df-rdg 8421  df-er 8720  df-en 8977  df-dom 8978  df-sdom 8979  df-sup 9437  df-pnf 11348  df-mnf 11349  df-xr 11350  df-ltxr 11351  df-le 11352  df-sub 11546  df-neg 11547  df-div 11977  df-nn 12339  df-2 12408  df-3 12409  df-4 12410  df-n0 12610  df-z 12697  df-uz 12969  df-rp 13124  df-seq 14148  df-exp 14208  df-cj 15271  df-re 15272  df-im 15273  df-sqrt 15407  df-abs 15408
This theorem is used by:  requad1  48813  requad2  48814
  Copyright terms: Public domain W3C validator