Neural Sync Active
Quadratic Equations and Discriminant
Registry Synced
Quadratic Equations and Discriminant
2398 words
12 min read
Reading compass
Now · 🎯 Learning Objectives
Quadratic Equations and Discriminant
🎯 Learning Objectives
By the end of this topic, you will be able to:
- Solve quadratic equations by factoring, completing the square, and the quadratic formula
- Compute the discriminant and determine the nature of roots
- Classify roots as real and distinct, real and equal, or complex
- Find the sum and product of roots without solving the equation
- Form a quadratic equation given its roots
📋 Prerequisites
- Quadratic Functions — standard form, vertex, parabola
- Algebra — factoring, square roots, rationalizing denominators
- Number systems — real vs. complex numbers
📖 Core Content
4.1 Intuition: Finding the Zeros
A quadratic equation is the equation ax2+bx+c=0. Its solutions (roots) are the x-coordinates where the parabola y=ax2+bx+c crosses the x-axis. These are called the zeros of the quadratic function.
Imagine a ball thrown in the air: h(t)=−5t2+20t+2. Solving h(t)=0 tells us when the ball hits the ground. Solving quadratic equations answers "when does something become zero?"
💡 Why this matters: Quadratic equations appear everywhere in science, engineering, and finance: projectile motion, optimization, break-even analysis, compound interest problems, and eigenvalues of 2×2 matrices.
4.2 Methods of Solving
4.2.1 Method 1: Factoring (When Applicable)
Recipe:
- Write in standard form: ax2+bx+c=0
- Factor the left side
- Set each factor to zero
- Solve for x Example 1.1 (Easy): Solve x2−5x+6=0. Step 1: Factor: (x−2)(x−3)=0 Step 2: x−2=0 or x−3=0 Step 3: x=2 or x=3
Example 1.2: Solve 2x2+7x+3=0.
Step 1: Factor by grouping: 2x2+7x+3=2x2+6x+x+3
=2x(x+3)+1(x+3)=(2x+1)(x+3)
Step 2: 2x+1=0 or x+3=0⟹x=−1/2 or x=−3
4.2.2 Method 2: Completing the Square
Recipe:
- Move c to RHS: ax2+bx=−c
- Divide by a: x2+abx=−ac
- Add (2ab)2 to both sides
- Factor LHS as perfect square
- Take square root and solve Example 2.1: Solve x2+6x+2=0 by completing the square. Step 1: x2+6x=−2 Step 2: Add (6/2)2=9: x2+6x+9=−2+9 Step 3: (x+3)2=7 Step 4: x+3=±7⟹x=−3±7
4.2.3 Method 3: The Quadratic Formula (Universal)
For ax2+bx+c=0, the quadratic formula:
This formula works for all quadratic equations — real or complex roots.
Example 3.1: Solve 2x2−3x−5=0.
Step 1: a=2, b=−3, c=−5
Step 2: x=2(2)3±(−3)2−4(2)(−5)=43±9+40=43±49
Step 3: x=43+7=410=25 or x=43−7=4−4=−1
4.3 The Discriminant
4.3.1 Intuition
The discriminant D=b2−4ac tells us what kind of roots the equation has — without actually solving it. It's like a medical test that tells you the nature of the disease before treatment.
4.3.2 Definition and Classification
D=b2−4ac| Discriminant | Nature of Roots | Graph |
|---|---|---|
| D>0 | Two distinct real roots | Parabola crosses x-axis at two points |
| D=0 | One real root (double/repeated) | Parabola touches x-axis at one point |
| D<0 | Two complex conjugate roots | Parabola does NOT cross x-axis |
(Diagram)
4.3.3 Worked Examples
Example 4.1 (Easy): Determine the nature of roots of x2−5x+6=0.
Step 1: a=1, b=−5, c=6
Step 2: D=25−24=1>0
Conclusion: Two distinct real roots.
Example 4.2 (Medium): For what k does x2+kx+9=0 have a double root?
Step 1: a=1, b=k, c=9
Step 2: D=k2−36
Step 3: For double root, D=0⟹k2=36⟹k=±6
Example 4.3 (Hard): Show that f(x)=x2+x+1 has no real zeros.
Step 1: a=1, b=1, c=1
Step 2: D=1−4=−3<0
Conclusion: No real zeros (complex roots). The parabola lies entirely above the x-axis.
4.4 Sum and Product of Roots
4.4.1 Vieta's Formulas
For ax2+bx+c=0 with roots α and β:
Derivation: If α and β are roots, then ax2+bx+c=a(x−α)(x−β)
Expanding: a(x2−(α+β)x+αβ)=ax2−a(α+β)x+aαβ
Comparing: −a(α+β)=b⟹α+β=−b/a
And: aαβ=c⟹αβ=c/a
4.4.2 Worked Examples
Example 5.1 (Easy): Find the sum and product of roots of x2−7x+12=0.
Step 1: a=1, b=−7, c=12
Step 2: Sum =−(−7)/1=7
Step 3: Product =12/1=12
Example 5.2 (Medium): If α and β are roots of 2x2−5x+1=0, find α1+β1.
Step 1: α+β=25, αβ=21
Step 2: α1+β1=αβα+β=1/25/2=5
Example 5.3 (Hard): Form a quadratic equation whose roots are 2+3 and 2−3.
Step 1: Sum =(2+3)+(2−3)=4
Step 2: Product =(2+3)(2−3)=4−3=1
Step 3: Equation: x2−(sum)x+(product)=0
x2−4x+1=0
4.5 Complex Roots
When D<0, the roots are complex conjugates: α=p+qi, β=p−qi, where i=−1.
Example 6.1: Solve x2+4x+5=0.
Step 1: a=1, b=4, c=5
Step 2: D=16−20=−4<0
Step 3: x=2−4±−4=2−4±2i=−2±i
4.6 Why This Matters
The discriminant tells you everything about the behavior of a quadratic without solving it. In optimization:
- D>0: Two break-even points
- D=0: Exactly one break-even (touching)
- D<0: No real break-even (always profitable or never) In machine learning, many loss functions are quadratic (or approximated as quadratic near the minimum). The convexity (a>0) guarantees a unique minimum.
📐 Key Formulas — Summary Table
| Concept | Formula | When to Use |
|---|---|---|
| Quadratic formula | x=2a−b±b2−4ac | Solving ANY quadratic |
| Discriminant | D=b2−4ac | Nature of roots |
| D>0 | Two distinct real roots | Parabola crosses x-axis twice |
| D=0 | One double real root | Parabola touches x-axis |
| D<0 | Two complex conjugate roots | Parabola doesn't cross x-axis |
| Sum of roots | α+β=−b/a | Vieta's formula |
| Product of roots | αβ=c/a | Vieta's formula |
| Forming equation | x2−(sum)x+(product)=0 | Given roots |
| Completing square | a(x+2ab)2+4a4ac−b2 | Vertex form |
⚠️ Common Pitfalls
Pitfall 1: Sign Error in the Quadratic Formula
Mistake: Writing x=2a−b±b2−4ac correctly but evaluating −b as negative even when b is already negative.
Example: For x2−5x+6=0, b=−5, so −b=5, not −5.
x=25±25−24=25±1=3,2. ✓
Pitfall 2: Forgetting the ± Sign
Mistake: Writing x=2a−b+D and forgetting ±, thus finding only one root.
Correct: The ± gives both roots. Every quadratic (in the complex plane) has exactly two roots.
Pitfall 3: Discriminant Confusion
Mistake: Thinking D>0 means "one real root" or D=0 means "no real root."
Correct: D>0 → TWO real roots; D=0 → ONE (double) real root; D<0 → NO real roots (complex).
Pitfall 4: Forgetting to Write in Standard Form First
Mistake: Trying to apply the quadratic formula to 3x2+5=7x without rearranging.
Correct: First write 3x2−7x+5=0, then identify a=3, b=−7, c=5.
📝 Practice Questions
Q1: Solve x2−9=0.Strategy Hint: Difference of squares.(x−3)(x+3)=0⟹x=3 or x=−3x=±3 Q2: Solve 2x2−5x−3=0 using the quadratic formula.Strategy Hint: a=2, b=−5, c=−3.x=45±25+24=45±49=45±7 x=3 or x=−21x=3, −21 Q3: Find the discriminant and nature of roots of x2−6x+9=0.Strategy Hint: Compute D=b2−4ac.D=36−36=0 → one double real root.D=0, double root x=3 Q4: For what k does x2−4x+k=0 have real and distinct roots?Strategy Hint: Need D>0.D=16−4k>0⟹k<4k<4 Q5: Find the sum and product of roots of 3x2+7x−2=0.Strategy Hint: Sum =−b/a, Product =c/a.Sum =−37, Product =−32Sum=−37, Product=−32 Q6: Form a quadratic equation with roots 3 and −4.Strategy Hint: x2−(sum)x+product=0.Sum =3+(−4)=−1, Product =3(−4)=−12 x2−(−1)x+(−12)=0⟹x2+x−12=0x2+x−12=0 Q7: Solve x2−4x+13=0 (complex roots).Strategy Hint: D<0, use i=−1.x=24±16−52=24±−36=24±6i=2±3ix=2+3i, 2−3i Q8: If α,β are roots of x2−5x+3=0, find α2+β2.Strategy Hint: α2+β2=(α+β)2−2αβ.α+β=5, αβ=3 α2+β2=25−6=1919 Q9: Solve 2x2+3x−2=0 by completing the square.Strategy Hint: Divide by 2 first, then complete.x2+23x=1 x2+23x+169=1+169=1625 (x+43)2=1625 x+43=±45 x=4−3±5⟹x=21 or x=−2x=21, −2 Q10: A rectangular garden has area 96 m². The length is 4 m more than the width. Find dimensions.Strategy Hint: l=w+4, A=w(w+4)=96.w2+4w−96=0 D=16+384=400 w=2−4±20=8 or −12 (discard negative) w=8, l=128m×12m Q11: If one root of x2−7x+k=0 is 2, find k and the other root.Strategy Hint: If 2 is a root, f(2)=0.4−14+k=0⟹k=10 Other root: product =k=10, so other root =10/2=5 Check: 2+5=7=−b/a ✓k=10, other root=5 Q12: Prove that x2+px+p2=0 has no real roots for any non-zero real p.Strategy Hint: Show D<0 for p=0.D=p2−4p2=−3p2 For p=0, −3p2<0 → no real roots.D=−3p2<0 for p=0
🔗 Cross-References
- Previous topic: Quadratic Functions
- Next topic: Polynomials — quadratics generalize to higher-degree polynomials
- Related: Complex numbers — needed when D<0
- Across courses: BSMA1003 Maths 2 (eigenvalues use characteristic polynomial); BSMA1002 Stats 1 (quadratic regression) Join Discord Previous3.1 Quadratic FunctionsNext4.0 Polynomial Operations