/

Zeros of a Function Calculator — Find Real & Complex Roots with Steps

Zeros of a Function Calculator — Find Real & Complex Roots with Steps
Algebra Tool

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.

Find Zeros — Three Dedicated Tools
f(x) = f(x) = 0  →  zeros: ?
x^2-5*x+6Quadratic
x^3-6*x^2+11*x-6Cubic
x^4-1Quartic
2*x^2+3*x-2With coefficients
x^2+4Complex zeros
x^3-3*x+2Repeated root

Use * for multiplication, ^ for powers. Finds ALL zeros including complex.

f(x)=
x²−5x+6
x²−4
x²+4 (complex)
2x²+3x−2
x³−6x²+11x−6
x³−3x+2 (repeated)
x⁴−1
x⁴−5x²+4
x³+x²−4x−4
Error
ax³ + bx² + cx + d = 0
a  (x³)
b  (x²)
c  (x)
d  (const)
Quick examples:
x³−6x²+11x−6
x³−3x+2
x³+x−2
2x³−x²−5x+2
x³+x²+x−3
Error
(x−r₁)(x−r₂)··· = 0  →  zeros
(x−2)(x+3)(x−1)=0
(x−5)(x+2)=0
x(x−4)(x+1)=0
(2x−1)(x+3)=0
(x−1)²(x+2)=0
(3x+2)(x−7)(x+4)=0
Error
Methods for Finding Zeros — Reference Guide
1 Quadratic Formula x = (−b ± √(b²−4ac)) / 2a

For any quadratic ax²+bx+c=0. The discriminant Δ = b²−4ac determines root type.

x = (−b ± √(b²−4ac)) / (2a)

Δ > 0 → two distinct real zeros  |  Δ = 0 → one repeated real zero  |  Δ < 0 → two complex conjugate zeros

2 Rational Root Theorem p/q : p|d, q|a

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 ✓

3 Synthetic Division Reduce degree after finding one root

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

4 Zero Product Property A·B = 0 → A = 0 or B = 0

Fastest method for factored-form polynomials. Set each factor equal to zero and solve independently.

(x−r₁)(x−r₂)···(x−rₙ) = 0 → x = r₁, r₂, …, rₙ
5 Cubic Discriminant Δ > 0 three real | Δ < 0 one real

For ax³+bx²+cx+d=0:

Δ = 18abcd − 4b³d + b²c² − 4ac³ − 27a²d²

Δ > 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.

f(x) = 0  →  x = r₁, r₂, …, rₙ By the Fundamental Theorem of Algebra: degree-n polynomial has exactly n zeros (with multiplicity, in ℂ)

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

DegreeBest MethodFormula/Tool
1 (linear)Direct algebrax = −b/a
2 (quadratic)Quadratic formulax = (−b ± √Δ) / 2a
3 (cubic)Rational root + synthetic divisionDiscriminant classifies
4 (quartic)Rational root + factor to quadraticsRepeated quadratic formula
≥ 5Numerical methods / CASNewton'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

  1. Degree 2 → use quadratic formula. a = 1, b = −5, c = 6
  2. Discriminant: Δ = (−5)² − 4(1)(6) = 25 − 24 = 1 > 0 → two distinct real zeros
  3. x = (5 ± √1) / 2 = (5 ± 1) / 2
  4. x₁ = 6/2 = 3     x₂ = 4/2 = 2
  5. Factored form: f(x) = (x − 2)(x − 3)
  6. 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 TypeExample
Δ = b²−4ac > 02 distinct real zerosx²−5x+6 → x=2, 3
Δ = 01 repeated real zero (mult. 2)x²−6x+9 → x=3
Δ < 02 complex conjugate zerosx²+4 → x=±2i

Example: Complex zeros of f(x) = x² + 4

  1. Set equal to zero: x² + 4 = 0 → x² = −4
  2. Take square root: x = ±√(−4) = ±2i
  3. Two complex zeros: x = 2i and x = −2i (conjugate pair)
  4. 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.

(x − r₁)(x − r₂)···(x − rₙ) = 0 → Set each factor to zero → x = r₁, x = r₂, …, x = rₙ

Example: (x − 2)(x + 3)(x − 1) = 0

  1. Factor 1: x − 2 = 0 → x = 2
  2. Factor 2: x + 3 = 0 → x = −3
  3. Factor 3: x − 1 = 0 → x = 1
  4. Three zeros: x = 2, x = −3, x = 1

Example with repeated factor: (x − 1)²(x + 2) = 0

  1. Factor 1: (x − 1)² = 0 → x − 1 = 0 → x = 1 (multiplicity 2)
  2. Factor 2: x + 2 = 0 → x = −2
  3. 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:

Δ = 18abcd − 4b³d + b²c² − 4ac³ − 27a²d² Δ > 0: three distinct real roots  |  Δ = 0: repeated root  |  Δ < 0: one real + two complex

Standard Method: Rational Root Theorem + Synthetic Division

Example: Solve x³ − 6x² + 11x − 6 = 0

  1. Leading coefficient a = 1, constant d = −6. Rational root candidates: ±1, ±2, ±3, ±6
  2. Test x = 1: 1 − 6 + 11 − 6 = 0 ✓ → x = 1 is a root
  3. Synthetic division by (x−1): x³−6x²+11x−6 ÷ (x−1) = x²−5x+6
  4. Solve x²−5x+6 = 0: (x−2)(x−3) = 0 → x = 2, x = 3
  5. Three real zeros: x = 1, x = 2, x = 3
  6. Factored: (x−1)(x−2)(x−3)

Example: Solve x³ − 3x + 2 = 0 (repeated root)

  1. Discriminant: a=1, b=0, c=−3, d=2 → Δ = 0 → repeated root expected
  2. Test x = 1: 1 − 3 + 2 = 0 ✓ → factor (x−1)
  3. Synthetic division: x³−3x+2 ÷ (x−1) = x²+x−2
  4. Factor x²+x−2 = (x+2)(x−1)
  5. Zeros: x = 1 (multiplicity 2) and x = −2
  6. Factored: (x−1)²(x+2)

Multiplicity — What It Means for the Graph

MultiplicityGraph Behavior at ZeroExample
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

  1. Factor as difference of squares: x⁴−1 = (x²−1)(x²+1) = (x−1)(x+1)(x²+1)
  2. Real zeros: x−1=0 → x=1    x+1=0 → x=−1
  3. Complex zeros: x²+1=0 → x=±i
  4. Four zeros: x=1, x=−1, x=i, x=−i

2. Find zeros of f(x) = 2x² + 3x − 2

  1. a=2, b=3, c=−2. Δ = 9 + 16 = 25 > 0 → two distinct real zeros
  2. x = (−3 ± √25) / 4 = (−3 ± 5) / 4
  3. x₁ = 2/4 = 1/2     x₂ = −8/4 = −2
  4. Zeros: x = 1/2 and x = −2

3. Find zeros of f(x) = x⁴ − 5x² + 4

  1. Substitute u = x²: u²−5u+4 = (u−1)(u−4)
  2. u=1 → x²=1 → x=±1    u=4 → x²=4 → x=±2
  3. Four real zeros: x = −2, −1, 1, 2

4. Find zeros of f(x) = x³ + x² − 4x − 4

  1. Factor by grouping: x²(x+1) − 4(x+1) = (x+1)(x²−4) = (x+1)(x−2)(x+2)
  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

What are the zeros of a function?
The zeros of f(x) are values of x where f(x) = 0. Also called roots or x-intercepts for real zeros. Every degree-n polynomial has exactly n zeros counting multiplicity in the complex numbers, by the Fundamental Theorem of Algebra.
What is the zero of the following function f(x) = x² − 5x + 6?
The zeros are x = 2 and x = 3. Factor: (x−2)(x−3) = 0. By zero product property: x−2=0 gives x=2, and x−3=0 gives x=3. Verify: f(2) = 4−10+6 = 0 ✓ and f(3) = 9−15+6 = 0 ✓.
What is the difference between real and complex zeros?
Real zeros appear as x-intercepts on the graph where f(x)=0 on the number line. Complex zeros (a±bi, b≠0) do not appear on the real graph. For polynomials with real coefficients, complex zeros always come in conjugate pairs — if a+bi is a zero, so is a−bi.
What is the Zero Product Property?
If A·B = 0 then A = 0 or B = 0. For (x−2)(x+3)(x−1) = 0: set each factor to zero — x−2=0 → x=2, x+3=0 → x=−3, x−1=0 → x=1. Use Tool 3 (Zero Product Property tab) above for instant results.
How do you solve a cubic equation?
Compute the discriminant Δ = 18abcd−4b³d+b²c²−4ac³−27a²d² to classify roots. List rational root candidates (±p/q). Test to find one root r. Divide by (x−r) using synthetic division to get a quadratic. Apply quadratic formula. Use the Cubic Equation Solver tab for instant full results.
How many zeros does a polynomial have?
A degree-n polynomial has exactly n zeros in the complex numbers, counting multiplicity. In the real numbers it may have fewer — x²+1 has degree 2 but 0 real zeros (both are complex: ±i). A degree-3 polynomial with real coefficients always has at least one real zero.
What does zero multiplicity mean for the graph?
A zero r with multiplicity k means (x−r)^k divides f(x). Odd multiplicity → curve crosses the x-axis. Even multiplicity → curve touches and bounces back. Multiplicity ≥ 3 → inflection behavior at the zero. Example: (x−3)² has x=3 as a multiplicity-2 zero — the graph touches x=3 and bounces.
What is the Rational Root Theorem?
For integer-coefficient polynomial aₙxⁿ+···+a₀, every rational root p/q (lowest terms) has p dividing a₀ (constant term) and q dividing aₙ (leading coefficient). For x³−6x²+11x−6, candidates are ±1,±2,±3,±6. Testing finds x=1,2,3 all work.

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 Calculator
Quick Reference
x=(−b±√(b²−4ac))/2a Quadratic formula
Δ=b²−4ac: >0 real, <0 complex Discriminant rule
A·B=0 → A=0 or B=0 Zero product property
p|d, q|a → rational roots Rational root theorem
degree n → n zeros (ℂ) Fundamental theorem
even mult → bounce at zero Multiplicity graph rule
Common Problems
x²−5x+6 → x=2, 3
x²−4 → x=±2
x²+4 → x=±2i
x³−6x²+11x−6
(x−2)(x+3)(x−1)=0
x⁴−1 (4 roots)
Cubic: x³−3x+2

Free chemistry, physics, biology & math calculators with step-by-step solutions. Trusted by 100,000+ students. Solve any science problem instantly!

Newsletter

Subscribe to our Newsletter to be updated. We promise not to spam.

Copyright © 2026 SciSolveLab. All Rights Reserved

Scroll to Top