Zeros of a Function Calculator
Find all real and complex zeros of any polynomial — quadratic formula shown explicitly, cubic equation solver with discriminant classification, zero product property tool, factored form output, and complete step-by-step working for every root.
Use * for multiplication, ^ for powers. Finds ALL zeros including complex.
For any quadratic ax²+bx+c=0. The discriminant Δ = b²−4ac determines root type.
Δ > 0 → two distinct real zeros | Δ = 0 → one repeated real zero | Δ < 0 → two complex conjugate zeros
For integer-coefficient polynomials, every rational root p/q (lowest terms) has p dividing the constant and q dividing the leading coefficient.
Example: For x³−6x²+11x−6, candidates are ±1,±2,±3,±6. Test x=1: 1−6+11−6=0 ✓
Once root r is found, divide by (x−r) to reduce degree by 1. Repeat until you reach a quadratic, then apply the quadratic formula.
Flow: degree n → find r₁ → divide → degree n−1 → … → quadratic → formula
Fastest method for factored-form polynomials. Set each factor equal to zero and solve independently.
For ax³+bx²+cx+d=0:
Δ > 0 → three distinct real roots | Δ = 0 → repeated root | Δ < 0 → one real + two complex
What Are the Zeros of a Function?
This zeros of a function calculator finds all real and complex zeros of any polynomial — showing the quadratic formula explicitly for degree-2, the discriminant classification for cubics, factored form output, and step-by-step working for every root. It also includes a dedicated zero product calculator for factored-form input.
The zeros of a function f(x) are the values of x for which f(x) = 0. They are also called roots, solutions, or (for real zeros) x-intercepts. Finding zeros is one of the most fundamental problems in algebra.
Zeros play a central role throughout mathematics:
- Graphically: Real zeros are x-intercepts — where the curve crosses or touches the x-axis
- Factoring: If r is a zero, then (x−r) is a factor of f(x)
- Engineering: Zeros of transfer functions determine system stability
- Partial fractions: Finding zeros of Q(x) is step 2 of fraction decomposition
How to Find Zeros — Step-by-Step
Step 1: Check the Degree
The degree of the polynomial determines how many zeros exist (counting multiplicity and complex). A degree-n polynomial has exactly n zeros in the complex number system.
Step 2: Choose the Right Method
| Degree | Best Method | Formula/Tool |
|---|---|---|
| 1 (linear) | Direct algebra | x = −b/a |
| 2 (quadratic) | Quadratic formula | x = (−b ± √Δ) / 2a |
| 3 (cubic) | Rational root + synthetic division | Discriminant classifies |
| 4 (quartic) | Rational root + factor to quadratics | Repeated quadratic formula |
| ≥ 5 | Numerical methods / CAS | Newton's method, calculator above |
Step 3: Apply, Verify, and Factor
After finding all zeros r₁, r₂, …, rₙ, write the factored form: f(x) = a(x−r₁)(x−r₂)···(x−rₙ). Verify by expanding back or substituting each root into f(x).
Example: Find the zeros of f(x) = x² − 5x + 6
- Degree 2 → use quadratic formula. a = 1, b = −5, c = 6
- Discriminant: Δ = (−5)² − 4(1)(6) = 25 − 24 = 1 > 0 → two distinct real zeros
- x = (5 ± √1) / 2 = (5 ± 1) / 2
- x₁ = 6/2 = 3 x₂ = 4/2 = 2
- Factored form: f(x) = (x − 2)(x − 3)
- Verify: f(2) = 4 − 10 + 6 = 0 ✓ f(3) = 9 − 15 + 6 = 0 ✓
Real Zeros vs Complex Zeros
A real zero is a value r ∈ ℝ where f(r) = 0 — these appear as x-intercepts on the graph. A complex zero is a + bi with b ≠ 0 — these do not appear on the real x-axis.
Complex Conjugate Root Theorem: For polynomials with real coefficients, complex zeros always come in conjugate pairs. If a+bi is a zero, then a−bi is also a zero. A degree-3 polynomial with real coefficients must have at least one real zero.
| Discriminant (quadratic) | Zero Type | Example |
|---|---|---|
| Δ = b²−4ac > 0 | 2 distinct real zeros | x²−5x+6 → x=2, 3 |
| Δ = 0 | 1 repeated real zero (mult. 2) | x²−6x+9 → x=3 |
| Δ < 0 | 2 complex conjugate zeros | x²+4 → x=±2i |
Example: Complex zeros of f(x) = x² + 4
- Set equal to zero: x² + 4 = 0 → x² = −4
- Take square root: x = ±√(−4) = ±2i
- Two complex zeros: x = 2i and x = −2i (conjugate pair)
- Factored form over ℂ: (x − 2i)(x + 2i) = x² + 4 ✓
The Zero Product Property
The Zero Product Property is the most efficient method when a polynomial is already in factored form. It states: if A · B = 0, then A = 0 or B = 0.
Example: (x − 2)(x + 3)(x − 1) = 0
- Factor 1: x − 2 = 0 → x = 2
- Factor 2: x + 3 = 0 → x = −3
- Factor 3: x − 1 = 0 → x = 1
- Three zeros: x = 2, x = −3, x = 1
Example with repeated factor: (x − 1)²(x + 2) = 0
- Factor 1: (x − 1)² = 0 → x − 1 = 0 → x = 1 (multiplicity 2)
- Factor 2: x + 2 = 0 → x = −2
- Graphically: at x = 1, the curve touches but does not cross the x-axis (even multiplicity)
Solving Cubic Equations
A cubic equation ax³ + bx² + cx + d = 0 always has exactly three zeros (counting multiplicity and complex). The cubic discriminant classifies them without solving:
Standard Method: Rational Root Theorem + Synthetic Division
Example: Solve x³ − 6x² + 11x − 6 = 0
- Leading coefficient a = 1, constant d = −6. Rational root candidates: ±1, ±2, ±3, ±6
- Test x = 1: 1 − 6 + 11 − 6 = 0 ✓ → x = 1 is a root
- Synthetic division by (x−1): x³−6x²+11x−6 ÷ (x−1) = x²−5x+6
- Solve x²−5x+6 = 0: (x−2)(x−3) = 0 → x = 2, x = 3
- Three real zeros: x = 1, x = 2, x = 3
- Factored: (x−1)(x−2)(x−3)
Example: Solve x³ − 3x + 2 = 0 (repeated root)
- Discriminant: a=1, b=0, c=−3, d=2 → Δ = 0 → repeated root expected
- Test x = 1: 1 − 3 + 2 = 0 ✓ → factor (x−1)
- Synthetic division: x³−3x+2 ÷ (x−1) = x²+x−2
- Factor x²+x−2 = (x+2)(x−1)
- Zeros: x = 1 (multiplicity 2) and x = −2
- Factored: (x−1)²(x+2)
Multiplicity — What It Means for the Graph
| Multiplicity | Graph Behavior at Zero | Example |
|---|---|---|
| 1 (simple) | Crosses x-axis at a slant | (x−2) |
| 2 (even) | Touches but does not cross (bounces) | (x−2)² |
| 3 (odd) | Crosses with an inflection (flattens) | (x−2)³ |
| 4 (even) | Touches, very flat bounce | (x−2)⁴ |
Connection to inflection points: A zero of multiplicity ≥ 3 creates an inflection point in the graph at that x-value. Use our Inflection Point Calculator to find where the concavity changes.
Worked Examples — Full Solutions
1. Find zeros of f(x) = x⁴ − 1
- Factor as difference of squares: x⁴−1 = (x²−1)(x²+1) = (x−1)(x+1)(x²+1)
- Real zeros: x−1=0 → x=1 x+1=0 → x=−1
- Complex zeros: x²+1=0 → x=±i
- Four zeros: x=1, x=−1, x=i, x=−i
2. Find zeros of f(x) = 2x² + 3x − 2
- a=2, b=3, c=−2. Δ = 9 + 16 = 25 > 0 → two distinct real zeros
- x = (−3 ± √25) / 4 = (−3 ± 5) / 4
- x₁ = 2/4 = 1/2 x₂ = −8/4 = −2
- Zeros: x = 1/2 and x = −2
3. Find zeros of f(x) = x⁴ − 5x² + 4
- Substitute u = x²: u²−5u+4 = (u−1)(u−4)
- u=1 → x²=1 → x=±1 u=4 → x²=4 → x=±2
- Four real zeros: x = −2, −1, 1, 2
4. Find zeros of f(x) = x³ + x² − 4x − 4
- Factor by grouping: x²(x+1) − 4(x+1) = (x+1)(x²−4) = (x+1)(x−2)(x+2)
- Three real zeros: x = −1, x = 2, x = −2
Connection to partial fractions: Finding zeros of Q(x) is the essential first step in partial fraction decomposition. Each zero r of Q(x) contributes an A/(x−r) term to the decomposition, enabling integration and inverse Laplace transforms.
Frequently Asked Questions
Related Calculators
P/Q
Partial Fraction Decomposition
The zeros you find here feed directly into fraction decomposition — each root r becomes an A/(x−r) term.
Open CalculatorShare This Tool
Share the Zeros Calculator!