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 44689
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 10826 . . . . . 6 (𝜑𝐴 ∈ ℂ)
32adantr 484 . . . . 5 ((𝜑𝑥 ∈ ℝ) → 𝐴 ∈ ℂ)
4 requad2.z . . . . . 6 (𝜑𝐴 ≠ 0)
54adantr 484 . . . . 5 ((𝜑𝑥 ∈ ℝ) → 𝐴 ≠ 0)
6 requad2.b . . . . . . 7 (𝜑𝐵 ∈ ℝ)
76recnd 10826 . . . . . 6 (𝜑𝐵 ∈ ℂ)
87adantr 484 . . . . 5 ((𝜑𝑥 ∈ ℝ) → 𝐵 ∈ ℂ)
9 requad2.c . . . . . . 7 (𝜑𝐶 ∈ ℝ)
109recnd 10826 . . . . . 6 (𝜑𝐶 ∈ ℂ)
1110adantr 484 . . . . 5 ((𝜑𝑥 ∈ ℝ) → 𝐶 ∈ ℂ)
12 recn 10784 . . . . . 6 (𝑥 ∈ ℝ → 𝑥 ∈ ℂ)
1312adantl 485 . . . . 5 ((𝜑𝑥 ∈ ℝ) → 𝑥 ∈ ℂ)
14 requad2.d . . . . . 6 (𝜑𝐷 = ((𝐵↑2) − (4 · (𝐴 · 𝐶))))
1514adantr 484 . . . . 5 ((𝜑𝑥 ∈ ℝ) → 𝐷 = ((𝐵↑2) − (4 · (𝐴 · 𝐶))))
163, 5, 8, 11, 13, 15quad 25677 . . . 4 ((𝜑𝑥 ∈ ℝ) → (((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0 ↔ (𝑥 = ((-𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∨ 𝑥 = ((-𝐵 − (√‘𝐷)) / (2 · 𝐴)))))
17 eleq1 2818 . . . . . . . . . 10 (𝑥 = ((-𝐵 + (√‘𝐷)) / (2 · 𝐴)) → (𝑥 ∈ ℝ ↔ ((-𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∈ ℝ))
1817adantl 485 . . . . . . . . 9 ((𝜑𝑥 = ((-𝐵 + (√‘𝐷)) / (2 · 𝐴))) → (𝑥 ∈ ℝ ↔ ((-𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∈ ℝ))
19 2re 11869 . . . . . . . . . . . . . . . . 17 2 ∈ ℝ
2019a1i 11 . . . . . . . . . . . . . . . 16 (𝜑 → 2 ∈ ℝ)
2120, 1remulcld 10828 . . . . . . . . . . . . . . 15 (𝜑 → (2 · 𝐴) ∈ ℝ)
2221adantr 484 . . . . . . . . . . . . . 14 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → (2 · 𝐴) ∈ ℝ)
237negcld 11141 . . . . . . . . . . . . . . . . 17 (𝜑 → -𝐵 ∈ ℂ)
246resqcld 13782 . . . . . . . . . . . . . . . . . . . . 21 (𝜑 → (𝐵↑2) ∈ ℝ)
25 4re 11879 . . . . . . . . . . . . . . . . . . . . . . 23 4 ∈ ℝ
2625a1i 11 . . . . . . . . . . . . . . . . . . . . . 22 (𝜑 → 4 ∈ ℝ)
271, 9remulcld 10828 . . . . . . . . . . . . . . . . . . . . . 22 (𝜑 → (𝐴 · 𝐶) ∈ ℝ)
2826, 27remulcld 10828 . . . . . . . . . . . . . . . . . . . . 21 (𝜑 → (4 · (𝐴 · 𝐶)) ∈ ℝ)
2924, 28resubcld 11225 . . . . . . . . . . . . . . . . . . . 20 (𝜑 → ((𝐵↑2) − (4 · (𝐴 · 𝐶))) ∈ ℝ)
3014, 29eqeltrd 2831 . . . . . . . . . . . . . . . . . . 19 (𝜑𝐷 ∈ ℝ)
3130recnd 10826 . . . . . . . . . . . . . . . . . 18 (𝜑𝐷 ∈ ℂ)
3231sqrtcld 14966 . . . . . . . . . . . . . . . . 17 (𝜑 → (√‘𝐷) ∈ ℂ)
3323, 32addcld 10817 . . . . . . . . . . . . . . . 16 (𝜑 → (-𝐵 + (√‘𝐷)) ∈ ℂ)
3433adantr 484 . . . . . . . . . . . . . . 15 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → (-𝐵 + (√‘𝐷)) ∈ ℂ)
356renegcld 11224 . . . . . . . . . . . . . . . . . 18 (𝜑 → -𝐵 ∈ ℝ)
3635adantr 484 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → -𝐵 ∈ ℝ)
3732adantr 484 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → (√‘𝐷) ∈ ℂ)
3831negnegd 11145 . . . . . . . . . . . . . . . . . . . . . . 23 (𝜑 → --𝐷 = 𝐷)
3938adantr 484 . . . . . . . . . . . . . . . . . . . . . 22 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → --𝐷 = 𝐷)
4039eqcomd 2742 . . . . . . . . . . . . . . . . . . . . 21 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → 𝐷 = --𝐷)
4140fveq2d 6699 . . . . . . . . . . . . . . . . . . . 20 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → (√‘𝐷) = (√‘--𝐷))
4230renegcld 11224 . . . . . . . . . . . . . . . . . . . . . 22 (𝜑 → -𝐷 ∈ ℝ)
4342adantr 484 . . . . . . . . . . . . . . . . . . . . 21 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → -𝐷 ∈ ℝ)
44 0red 10801 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝜑 → 0 ∈ ℝ)
4530, 44ltnled 10944 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝜑 → (𝐷 < 0 ↔ ¬ 0 ≤ 𝐷))
46 ltle 10886 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝐷 ∈ ℝ ∧ 0 ∈ ℝ) → (𝐷 < 0 → 𝐷 ≤ 0))
4730, 44, 46syl2anc 587 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝜑 → (𝐷 < 0 → 𝐷 ≤ 0))
4845, 47sylbird 263 . . . . . . . . . . . . . . . . . . . . . . 23 (𝜑 → (¬ 0 ≤ 𝐷𝐷 ≤ 0))
4948imp 410 . . . . . . . . . . . . . . . . . . . . . 22 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → 𝐷 ≤ 0)
5030le0neg1d 11368 . . . . . . . . . . . . . . . . . . . . . . 23 (𝜑 → (𝐷 ≤ 0 ↔ 0 ≤ -𝐷))
5150adantr 484 . . . . . . . . . . . . . . . . . . . . . 22 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → (𝐷 ≤ 0 ↔ 0 ≤ -𝐷))
5249, 51mpbid 235 . . . . . . . . . . . . . . . . . . . . 21 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → 0 ≤ -𝐷)
5343, 52sqrtnegd 14950 . . . . . . . . . . . . . . . . . . . 20 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → (√‘--𝐷) = (i · (√‘-𝐷)))
5441, 53eqtrd 2771 . . . . . . . . . . . . . . . . . . 19 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → (√‘𝐷) = (i · (√‘-𝐷)))
55 ax-icn 10753 . . . . . . . . . . . . . . . . . . . . . 22 i ∈ ℂ
5655a1i 11 . . . . . . . . . . . . . . . . . . . . 21 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → i ∈ ℂ)
5731negcld 11141 . . . . . . . . . . . . . . . . . . . . . . 23 (𝜑 → -𝐷 ∈ ℂ)
5857sqrtcld 14966 . . . . . . . . . . . . . . . . . . . . . 22 (𝜑 → (√‘-𝐷) ∈ ℂ)
5958adantr 484 . . . . . . . . . . . . . . . . . . . . 21 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → (√‘-𝐷) ∈ ℂ)
6056, 59mulcomd 10819 . . . . . . . . . . . . . . . . . . . 20 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → (i · (√‘-𝐷)) = ((√‘-𝐷) · i))
6143, 52resqrtcld 14946 . . . . . . . . . . . . . . . . . . . . . 22 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → (√‘-𝐷) ∈ ℝ)
62 inelr 11785 . . . . . . . . . . . . . . . . . . . . . . . 24 ¬ i ∈ ℝ
63 eldif 3863 . . . . . . . . . . . . . . . . . . . . . . . 24 (i ∈ (ℂ ∖ ℝ) ↔ (i ∈ ℂ ∧ ¬ i ∈ ℝ))
6455, 62, 63mpbir2an 711 . . . . . . . . . . . . . . . . . . . . . . 23 i ∈ (ℂ ∖ ℝ)
6564a1i 11 . . . . . . . . . . . . . . . . . . . . . 22 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → i ∈ (ℂ ∖ ℝ))
6630lt0neg1d 11366 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝜑 → (𝐷 < 0 ↔ 0 < -𝐷))
67 ltne 10894 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 ((0 ∈ ℝ ∧ 0 < -𝐷) → -𝐷 ≠ 0)
6844, 67sylan 583 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((𝜑 ∧ 0 < -𝐷) → -𝐷 ≠ 0)
6942adantr 484 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 ((𝜑 ∧ 0 < -𝐷) → -𝐷 ∈ ℝ)
70 ltle 10886 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 ((0 ∈ ℝ ∧ -𝐷 ∈ ℝ) → (0 < -𝐷 → 0 ≤ -𝐷))
7144, 42, 70syl2anc 587 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 (𝜑 → (0 < -𝐷 → 0 ≤ -𝐷))
7271imp 410 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 ((𝜑 ∧ 0 < -𝐷) → 0 ≤ -𝐷)
73 sqrt00 14792 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 ((-𝐷 ∈ ℝ ∧ 0 ≤ -𝐷) → ((√‘-𝐷) = 0 ↔ -𝐷 = 0))
7469, 72, 73syl2anc 587 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 ((𝜑 ∧ 0 < -𝐷) → ((√‘-𝐷) = 0 ↔ -𝐷 = 0))
7574bicomd 226 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 ((𝜑 ∧ 0 < -𝐷) → (-𝐷 = 0 ↔ (√‘-𝐷) = 0))
7675necon3bid 2976 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((𝜑 ∧ 0 < -𝐷) → (-𝐷 ≠ 0 ↔ (√‘-𝐷) ≠ 0))
7768, 76mpbid 235 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((𝜑 ∧ 0 < -𝐷) → (√‘-𝐷) ≠ 0)
7877ex 416 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝜑 → (0 < -𝐷 → (√‘-𝐷) ≠ 0))
7966, 78sylbid 243 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝜑 → (𝐷 < 0 → (√‘-𝐷) ≠ 0))
8045, 79sylbird 263 . . . . . . . . . . . . . . . . . . . . . . 23 (𝜑 → (¬ 0 ≤ 𝐷 → (√‘-𝐷) ≠ 0))
8180imp 410 . . . . . . . . . . . . . . . . . . . . . 22 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → (√‘-𝐷) ≠ 0)
8261, 65, 81recnmulnred 44413 . . . . . . . . . . . . . . . . . . . . 21 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → ((√‘-𝐷) · i) ∉ ℝ)
83 df-nel 3037 . . . . . . . . . . . . . . . . . . . . 21 (((√‘-𝐷) · i) ∉ ℝ ↔ ¬ ((√‘-𝐷) · i) ∈ ℝ)
8482, 83sylib 221 . . . . . . . . . . . . . . . . . . . 20 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → ¬ ((√‘-𝐷) · i) ∈ ℝ)
8560, 84eqneltrd 2850 . . . . . . . . . . . . . . . . . . 19 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → ¬ (i · (√‘-𝐷)) ∈ ℝ)
8654, 85eqneltrd 2850 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → ¬ (√‘𝐷) ∈ ℝ)
8737, 86eldifd 3864 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → (√‘𝐷) ∈ (ℂ ∖ ℝ))
8836, 87readdcnnred 44411 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → (-𝐵 + (√‘𝐷)) ∉ ℝ)
89 df-nel 3037 . . . . . . . . . . . . . . . 16 ((-𝐵 + (√‘𝐷)) ∉ ℝ ↔ ¬ (-𝐵 + (√‘𝐷)) ∈ ℝ)
9088, 89sylib 221 . . . . . . . . . . . . . . 15 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → ¬ (-𝐵 + (√‘𝐷)) ∈ ℝ)
9134, 90eldifd 3864 . . . . . . . . . . . . . 14 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → (-𝐵 + (√‘𝐷)) ∈ (ℂ ∖ ℝ))
92 2cnd 11873 . . . . . . . . . . . . . . . 16 (𝜑 → 2 ∈ ℂ)
93 2ne0 11899 . . . . . . . . . . . . . . . . 17 2 ≠ 0
9493a1i 11 . . . . . . . . . . . . . . . 16 (𝜑 → 2 ≠ 0)
9592, 2, 94, 4mulne0d 11449 . . . . . . . . . . . . . . 15 (𝜑 → (2 · 𝐴) ≠ 0)
9695adantr 484 . . . . . . . . . . . . . 14 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → (2 · 𝐴) ≠ 0)
9722, 91, 96cndivrenred 44414 . . . . . . . . . . . . 13 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → ((-𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∉ ℝ)
98 df-nel 3037 . . . . . . . . . . . . 13 (((-𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∉ ℝ ↔ ¬ ((-𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∈ ℝ)
9997, 98sylib 221 . . . . . . . . . . . 12 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → ¬ ((-𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∈ ℝ)
10099ex 416 . . . . . . . . . . 11 (𝜑 → (¬ 0 ≤ 𝐷 → ¬ ((-𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∈ ℝ))
101100con4d 115 . . . . . . . . . 10 (𝜑 → (((-𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∈ ℝ → 0 ≤ 𝐷))
102101adantr 484 . . . . . . . . 9 ((𝜑𝑥 = ((-𝐵 + (√‘𝐷)) / (2 · 𝐴))) → (((-𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∈ ℝ → 0 ≤ 𝐷))
10318, 102sylbid 243 . . . . . . . 8 ((𝜑𝑥 = ((-𝐵 + (√‘𝐷)) / (2 · 𝐴))) → (𝑥 ∈ ℝ → 0 ≤ 𝐷))
104103ex 416 . . . . . . 7 (𝜑 → (𝑥 = ((-𝐵 + (√‘𝐷)) / (2 · 𝐴)) → (𝑥 ∈ ℝ → 0 ≤ 𝐷)))
105 eleq1 2818 . . . . . . . . . 10 (𝑥 = ((-𝐵 − (√‘𝐷)) / (2 · 𝐴)) → (𝑥 ∈ ℝ ↔ ((-𝐵 − (√‘𝐷)) / (2 · 𝐴)) ∈ ℝ))
106105adantl 485 . . . . . . . . 9 ((𝜑𝑥 = ((-𝐵 − (√‘𝐷)) / (2 · 𝐴))) → (𝑥 ∈ ℝ ↔ ((-𝐵 − (√‘𝐷)) / (2 · 𝐴)) ∈ ℝ))
10723, 32subcld 11154 . . . . . . . . . . . . . . . 16 (𝜑 → (-𝐵 − (√‘𝐷)) ∈ ℂ)
108107adantr 484 . . . . . . . . . . . . . . 15 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → (-𝐵 − (√‘𝐷)) ∈ ℂ)
10936, 87resubcnnred 44412 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → (-𝐵 − (√‘𝐷)) ∉ ℝ)
110 df-nel 3037 . . . . . . . . . . . . . . . 16 ((-𝐵 − (√‘𝐷)) ∉ ℝ ↔ ¬ (-𝐵 − (√‘𝐷)) ∈ ℝ)
111109, 110sylib 221 . . . . . . . . . . . . . . 15 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → ¬ (-𝐵 − (√‘𝐷)) ∈ ℝ)
112108, 111eldifd 3864 . . . . . . . . . . . . . 14 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → (-𝐵 − (√‘𝐷)) ∈ (ℂ ∖ ℝ))
11322, 112, 96cndivrenred 44414 . . . . . . . . . . . . 13 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → ((-𝐵 − (√‘𝐷)) / (2 · 𝐴)) ∉ ℝ)
114 df-nel 3037 . . . . . . . . . . . . 13 (((-𝐵 − (√‘𝐷)) / (2 · 𝐴)) ∉ ℝ ↔ ¬ ((-𝐵 − (√‘𝐷)) / (2 · 𝐴)) ∈ ℝ)
115113, 114sylib 221 . . . . . . . . . . . 12 ((𝜑 ∧ ¬ 0 ≤ 𝐷) → ¬ ((-𝐵 − (√‘𝐷)) / (2 · 𝐴)) ∈ ℝ)
116115ex 416 . . . . . . . . . . 11 (𝜑 → (¬ 0 ≤ 𝐷 → ¬ ((-𝐵 − (√‘𝐷)) / (2 · 𝐴)) ∈ ℝ))
117116con4d 115 . . . . . . . . . 10 (𝜑 → (((-𝐵 − (√‘𝐷)) / (2 · 𝐴)) ∈ ℝ → 0 ≤ 𝐷))
118117adantr 484 . . . . . . . . 9 ((𝜑𝑥 = ((-𝐵 − (√‘𝐷)) / (2 · 𝐴))) → (((-𝐵 − (√‘𝐷)) / (2 · 𝐴)) ∈ ℝ → 0 ≤ 𝐷))
119106, 118sylbid 243 . . . . . . . 8 ((𝜑𝑥 = ((-𝐵 − (√‘𝐷)) / (2 · 𝐴))) → (𝑥 ∈ ℝ → 0 ≤ 𝐷))
120119ex 416 . . . . . . 7 (𝜑 → (𝑥 = ((-𝐵 − (√‘𝐷)) / (2 · 𝐴)) → (𝑥 ∈ ℝ → 0 ≤ 𝐷)))
121104, 120jaod 859 . . . . . 6 (𝜑 → ((𝑥 = ((-𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∨ 𝑥 = ((-𝐵 − (√‘𝐷)) / (2 · 𝐴))) → (𝑥 ∈ ℝ → 0 ≤ 𝐷)))
122121com23 86 . . . . 5 (𝜑 → (𝑥 ∈ ℝ → ((𝑥 = ((-𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∨ 𝑥 = ((-𝐵 − (√‘𝐷)) / (2 · 𝐴))) → 0 ≤ 𝐷)))
123122imp 410 . . . 4 ((𝜑𝑥 ∈ ℝ) → ((𝑥 = ((-𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∨ 𝑥 = ((-𝐵 − (√‘𝐷)) / (2 · 𝐴))) → 0 ≤ 𝐷))
12416, 123sylbid 243 . . 3 ((𝜑𝑥 ∈ ℝ) → (((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0 → 0 ≤ 𝐷))
125124rexlimdva 3193 . 2 (𝜑 → (∃𝑥 ∈ ℝ ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0 → 0 ≤ 𝐷))
12635adantr 484 . . . . . 6 ((𝜑 ∧ 0 ≤ 𝐷) → -𝐵 ∈ ℝ)
12730adantr 484 . . . . . . 7 ((𝜑 ∧ 0 ≤ 𝐷) → 𝐷 ∈ ℝ)
128 simpr 488 . . . . . . 7 ((𝜑 ∧ 0 ≤ 𝐷) → 0 ≤ 𝐷)
129127, 128resqrtcld 14946 . . . . . 6 ((𝜑 ∧ 0 ≤ 𝐷) → (√‘𝐷) ∈ ℝ)
130126, 129readdcld 10827 . . . . 5 ((𝜑 ∧ 0 ≤ 𝐷) → (-𝐵 + (√‘𝐷)) ∈ ℝ)
13119a1i 11 . . . . . 6 ((𝜑 ∧ 0 ≤ 𝐷) → 2 ∈ ℝ)
1321adantr 484 . . . . . 6 ((𝜑 ∧ 0 ≤ 𝐷) → 𝐴 ∈ ℝ)
133131, 132remulcld 10828 . . . . 5 ((𝜑 ∧ 0 ≤ 𝐷) → (2 · 𝐴) ∈ ℝ)
13495adantr 484 . . . . 5 ((𝜑 ∧ 0 ≤ 𝐷) → (2 · 𝐴) ≠ 0)
135130, 133, 134redivcld 11625 . . . 4 ((𝜑 ∧ 0 ≤ 𝐷) → ((-𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∈ ℝ)
136 oveq1 7198 . . . . . . . 8 (𝑥 = ((-𝐵 + (√‘𝐷)) / (2 · 𝐴)) → (𝑥↑2) = (((-𝐵 + (√‘𝐷)) / (2 · 𝐴))↑2))
137136oveq2d 7207 . . . . . . 7 (𝑥 = ((-𝐵 + (√‘𝐷)) / (2 · 𝐴)) → (𝐴 · (𝑥↑2)) = (𝐴 · (((-𝐵 + (√‘𝐷)) / (2 · 𝐴))↑2)))
138 oveq2 7199 . . . . . . . 8 (𝑥 = ((-𝐵 + (√‘𝐷)) / (2 · 𝐴)) → (𝐵 · 𝑥) = (𝐵 · ((-𝐵 + (√‘𝐷)) / (2 · 𝐴))))
139138oveq1d 7206 . . . . . . 7 (𝑥 = ((-𝐵 + (√‘𝐷)) / (2 · 𝐴)) → ((𝐵 · 𝑥) + 𝐶) = ((𝐵 · ((-𝐵 + (√‘𝐷)) / (2 · 𝐴))) + 𝐶))
140137, 139oveq12d 7209 . . . . . 6 (𝑥 = ((-𝐵 + (√‘𝐷)) / (2 · 𝐴)) → ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = ((𝐴 · (((-𝐵 + (√‘𝐷)) / (2 · 𝐴))↑2)) + ((𝐵 · ((-𝐵 + (√‘𝐷)) / (2 · 𝐴))) + 𝐶)))
141140eqeq1d 2738 . . . . 5 (𝑥 = ((-𝐵 + (√‘𝐷)) / (2 · 𝐴)) → (((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0 ↔ ((𝐴 · (((-𝐵 + (√‘𝐷)) / (2 · 𝐴))↑2)) + ((𝐵 · ((-𝐵 + (√‘𝐷)) / (2 · 𝐴))) + 𝐶)) = 0))
142141adantl 485 . . . 4 (((𝜑 ∧ 0 ≤ 𝐷) ∧ 𝑥 = ((-𝐵 + (√‘𝐷)) / (2 · 𝐴))) → (((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0 ↔ ((𝐴 · (((-𝐵 + (√‘𝐷)) / (2 · 𝐴))↑2)) + ((𝐵 · ((-𝐵 + (√‘𝐷)) / (2 · 𝐴))) + 𝐶)) = 0))
143 eqidd 2737 . . . . . 6 ((𝜑 ∧ 0 ≤ 𝐷) → ((-𝐵 + (√‘𝐷)) / (2 · 𝐴)) = ((-𝐵 + (√‘𝐷)) / (2 · 𝐴)))
144143orcd 873 . . . . 5 ((𝜑 ∧ 0 ≤ 𝐷) → (((-𝐵 + (√‘𝐷)) / (2 · 𝐴)) = ((-𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∨ ((-𝐵 + (√‘𝐷)) / (2 · 𝐴)) = ((-𝐵 − (√‘𝐷)) / (2 · 𝐴))))
1452adantr 484 . . . . . 6 ((𝜑 ∧ 0 ≤ 𝐷) → 𝐴 ∈ ℂ)
1464adantr 484 . . . . . 6 ((𝜑 ∧ 0 ≤ 𝐷) → 𝐴 ≠ 0)
1477adantr 484 . . . . . 6 ((𝜑 ∧ 0 ≤ 𝐷) → 𝐵 ∈ ℂ)
14810adantr 484 . . . . . 6 ((𝜑 ∧ 0 ≤ 𝐷) → 𝐶 ∈ ℂ)
14992, 2mulcld 10818 . . . . . . . 8 (𝜑 → (2 · 𝐴) ∈ ℂ)
15033, 149, 95divcld 11573 . . . . . . 7 (𝜑 → ((-𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∈ ℂ)
151150adantr 484 . . . . . 6 ((𝜑 ∧ 0 ≤ 𝐷) → ((-𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∈ ℂ)
15214adantr 484 . . . . . 6 ((𝜑 ∧ 0 ≤ 𝐷) → 𝐷 = ((𝐵↑2) − (4 · (𝐴 · 𝐶))))
153145, 146, 147, 148, 151, 152quad 25677 . . . . 5 ((𝜑 ∧ 0 ≤ 𝐷) → (((𝐴 · (((-𝐵 + (√‘𝐷)) / (2 · 𝐴))↑2)) + ((𝐵 · ((-𝐵 + (√‘𝐷)) / (2 · 𝐴))) + 𝐶)) = 0 ↔ (((-𝐵 + (√‘𝐷)) / (2 · 𝐴)) = ((-𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∨ ((-𝐵 + (√‘𝐷)) / (2 · 𝐴)) = ((-𝐵 − (√‘𝐷)) / (2 · 𝐴)))))
154144, 153mpbird 260 . . . 4 ((𝜑 ∧ 0 ≤ 𝐷) → ((𝐴 · (((-𝐵 + (√‘𝐷)) / (2 · 𝐴))↑2)) + ((𝐵 · ((-𝐵 + (√‘𝐷)) / (2 · 𝐴))) + 𝐶)) = 0)
155135, 142, 154rspcedvd 3530 . . 3 ((𝜑 ∧ 0 ≤ 𝐷) → ∃𝑥 ∈ ℝ ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0)
156155ex 416 . 2 (𝜑 → (0 ≤ 𝐷 → ∃𝑥 ∈ ℝ ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0))
157125, 156impbid 215 1 (𝜑 → (∃𝑥 ∈ ℝ ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0 ↔ 0 ≤ 𝐷))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399  wo 847   = wceq 1543  wcel 2112  wne 2932  wnel 3036  wrex 3052  cdif 3850   class class class wbr 5039  cfv 6358  (class class class)co 7191  cc 10692  cr 10693  0cc0 10694  ici 10696   + caddc 10697   · cmul 10699   < clt 10832  cle 10833  cmin 11027  -cneg 11028   / cdiv 11454  2c2 11850  4c4 11852  cexp 13600  csqrt 14761
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2018  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2160  ax-12 2177  ax-ext 2708  ax-sep 5177  ax-nul 5184  ax-pow 5243  ax-pr 5307  ax-un 7501  ax-cnex 10750  ax-resscn 10751  ax-1cn 10752  ax-icn 10753  ax-addcl 10754  ax-addrcl 10755  ax-mulcl 10756  ax-mulrcl 10757  ax-mulcom 10758  ax-addass 10759  ax-mulass 10760  ax-distr 10761  ax-i2m1 10762  ax-1ne0 10763  ax-1rid 10764  ax-rnegex 10765  ax-rrecex 10766  ax-cnre 10767  ax-pre-lttri 10768  ax-pre-lttrn 10769  ax-pre-ltadd 10770  ax-pre-mulgt0 10771  ax-pre-sup 10772
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3or 1090  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2073  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2728  df-clel 2809  df-nfc 2879  df-ne 2933  df-nel 3037  df-ral 3056  df-rex 3057  df-reu 3058  df-rmo 3059  df-rab 3060  df-v 3400  df-sbc 3684  df-csb 3799  df-dif 3856  df-un 3858  df-in 3860  df-ss 3870  df-pss 3872  df-nul 4224  df-if 4426  df-pw 4501  df-sn 4528  df-pr 4530  df-tp 4532  df-op 4534  df-uni 4806  df-iun 4892  df-br 5040  df-opab 5102  df-mpt 5121  df-tr 5147  df-id 5440  df-eprel 5445  df-po 5453  df-so 5454  df-fr 5494  df-we 5496  df-xp 5542  df-rel 5543  df-cnv 5544  df-co 5545  df-dm 5546  df-rn 5547  df-res 5548  df-ima 5549  df-pred 6140  df-ord 6194  df-on 6195  df-lim 6196  df-suc 6197  df-iota 6316  df-fun 6360  df-fn 6361  df-f 6362  df-f1 6363  df-fo 6364  df-f1o 6365  df-fv 6366  df-riota 7148  df-ov 7194  df-oprab 7195  df-mpo 7196  df-om 7623  df-2nd 7740  df-wrecs 8025  df-recs 8086  df-rdg 8124  df-er 8369  df-en 8605  df-dom 8606  df-sdom 8607  df-sup 9036  df-pnf 10834  df-mnf 10835  df-xr 10836  df-ltxr 10837  df-le 10838  df-sub 11029  df-neg 11030  df-div 11455  df-nn 11796  df-2 11858  df-3 11859  df-4 11860  df-n0 12056  df-z 12142  df-uz 12404  df-rp 12552  df-seq 13540  df-exp 13601  df-cj 14627  df-re 14628  df-im 14629  df-sqrt 14763  df-abs 14764
This theorem is referenced by:  requad1  44690  requad2  44691
  Copyright terms: Public domain W3C validator