Quadratic Equations and Inequalities
This lesson covers every standard technique for solving quadratic equations and quadratic inequalities, and how to study the sign of a quadratic function.
Learning objectives
By the end of this lesson, you should be able to:
- Recognize a quadratic equation and identify its coefficients.
- Compute the discriminant and interpret its sign.
- Solve a quadratic equation by factoring, by completing the square, or with the quadratic formula.
- Use Vieta’s formulas to compute symmetric functions of the roots.
- Study the sign of a quadratic expression on .
- Solve quadratic inequalities using sign tables.
- Handle parameter problems (find such that some condition on the roots holds).
1. Standard form
A quadratic equation in one variable is any equation that can be written as
where are the coefficients:
| Coefficient | Name | Condition |
|---|---|---|
| leading coefficient | ||
| linear coefficient | any real | |
| constant term | any real |
If , the equation is linear, not quadratic.
2. The discriminant
The discriminant of is
Its sign determines the nature of the roots:
| Sign of | Roots | Number of solutions |
|---|---|---|
| Two distinct real roots | 2 | |
| One double root | 1 | |
| Two complex conjugate roots | 0 real solutions |
3. Three methods to solve a quadratic equation
3.1 Factoring
If the quadratic can be factored as
then the solutions are and .
Example. → or .
3.2 Completing the square
Rewrite the quadratic as
This form is useful to find the vertex of the parabola (see §6).
3.3 Quadratic formula
Valid only if . This is the most reliable method and always works.
4. Vieta’s formulas
If and are the roots of (with ), then
Useful derived identities:
5. Sign of a quadratic function
Consider with .
Case 1:
The quadratic has no real roots and keeps the sign of on all of :
- If : for all .
- If : for all .
Case 2:
Double root . The quadratic has the sign of everywhere except at where it vanishes.
Case 3:
Two distinct roots :
Sign table (case , ):
| | | | | | | | | |—|—|—|—|—|—|—| | | | | | | | |
6. Parabola geometry
The graph of is a parabola with:
- Vertex:
- Axis of symmetry:
- Opens upward if , downward if
5. Sign of a quadratic function
Consider with .
Case 1:
The quadratic has no real roots and keeps the sign of on all of .
- If : for all .
- If : for all .
| Sign of ( if , if ) | ||
Case 2:
Double root . The quadratic has the sign of everywhere except at where it vanishes.
| Sign of | Sign of |
Case 3:
Two distinct roots .
has the sign of outside , and the opposite sign inside.
Sign table (case , ):
Sign table (case , ):
Bonus: Table of Variations
If you also need the table of variations, here is how the function behaves depending on the sign of :
Case (Parabola opens upward, minimum at vertex):
| ↘ | ↗ |
Case (Parabola opens downward, maximum at vertex):
| ↗ | ↘ |
7. Solving quadratic inequalities
To solve (or , , ):
Step 1. Compute . Step 2. Find the roots (if any). Step 3. Draw the sign table (§5). Step 4. Read off the solution set.
Example. Solve .
Roots: and , .
Sign of : outside , inside.
Solution: .
8. Worked examples
Example 1 — Solving by factoring
Solve .
Find two numbers with sum and product : and .
Example 2 — Discriminant and formula
Solve .
Example 3 — No real roots
Solve .
. No real solution.
Example 4 — Vieta
Given , compute .
Example 5 — Quadratic inequality
Solve .
, roots and . Since , the quadratic is between the roots:
9. Summary sheet
| Concept | Formula |
|---|---|
| Standard form | , |
| Discriminant | |
| Roots | |
| Sum of roots | |
| Product of roots | |
| Vertex | |
| Sign rule | : outside, inside |