How to Find x and y Intercepts: Lines, Quadratics, Rationals, Circles
Solver AI TeamPublished 13 min read
Set y = 0 to find x-intercepts and x = 0 to find y-intercepts. Worked examples cover lines and special lines, quadratics with the discriminant as a count, a rational function with a hole, a circle with two y-intercepts, a thrown ball, and a summary table by equation type.
Frequently asked questions
How do you find the x and y intercepts of an equation?
Set y = 0 and solve for x to get the x-intercepts, then set x = 0 and solve for y to get the y-intercepts. Write each as a point. For 3x − 4y = 12, y = 0 gives x = 4 and x = 0 gives y = −3, so the intercepts are (4, 0) and (0, −3). Check each point in the original equation.
Can a graph have no x-intercept?
Yes. If setting y = 0 leads to an equation with no real solution, the graph never meets the x-axis. The horizontal line y = 4 gives 0 = 4, which is false. The parabola y = x² + 4x + 5 has discriminant 16 − 20 = −4, so it has no real roots and sits entirely above the axis.
Can a function have more than one y-intercept?
No. A function gives exactly one output for each input, and the y-axis is the single input x = 0, so there is at most one point there. This is the vertical line test applied to the y-axis. Graphs that are not functions, such as circles, can cross the y-axis twice.
Are x-intercepts the same as zeros and roots?
They describe the same thing in different words. A zero or root is the x value that makes f(x) = 0, such as x = 4 for x² − 2x − 8. The x-intercept is the point on the graph, (4, 0). Only real zeros give x-intercepts, so a quadratic with a negative discriminant has complex roots but no x-intercepts.
Why is a hole not an x-intercept of a rational function?
At a hole the function is undefined. In f(x) = (x² − 4)/(x² − x − 6), x = −2 makes the numerator zero, but it makes the denominator zero too, so f(−2) is 0/0. A point the function never reaches is not on its graph. Cross off numerator zeros that are also denominator zeros.
To find the x-intercept, set y = 0 and solve for x. To find the y-intercept, set x = 0 and solve for y. Write each answer as a point, such as (4, 0) or (0, −3), because an intercept is a place on the graph, not just a number.
The rule works for every equation. Only the algebra after the substitution changes: one step for a line, factoring or the quadratic formula for a quadratic, a domain check for a rational function, and possibly two y-intercepts for a circle.
What Are x- and y-Intercepts?
Definition: Intercepts
An x-intercept is a point where a graph meets the x-axis, so it has the form (a, 0). A y-intercept is a point where a graph meets the y-axis, so it has the form (0, b).
The definition already tells you the method. Every point on the x-axis has a y-coordinate of 0, so any point where the graph touches that axis must also have y = 0. Likewise, every point on the y-axis has x = 0. This is how OpenStax Elementary Algebra 2e defines and finds them for lines, and the same reasoning carries over to curves.
If you mix up which variable to zero, tie it to the axis: standing on the x-axis, your height y is zero.
The Method: Set the Other Variable to Zero
For the x-intercepts, replace y with 0
Substitute y = 0 everywhere y appears, then solve the resulting equation for x. Each real solution gives one x-intercept (x, 0). No real solution means the graph never meets the x-axis.
For the y-intercepts, replace x with 0
Substitute x = 0 and solve for y. For a function y = f(x) this is just f(0), provided 0 is in the domain.
Write each answer as a point
Pair each value with the zero you substituted: x-intercepts end in , 0) and y-intercepts start with (0,.
Check by substituting back
Put each point into the original equation. Both sides should match.
Intercepts of a Line
Lines are the quickest case, and intercepts are a fast way to graph a line in standard form Ax + By = C (the graphing linear equations guide compares this with the slope-intercept method).
Example 1: A line in standard form
Find the intercepts of 3x − 4y = 12.
x-intercept: set y = 0. Then 3x − 4(0) = 12, so 3x = 12 and x = 4.
y-intercept: set x = 0. Then 3(0) − 4y = 12, so −4y = 12 and y = −3.
Check: 3(4) − 4(0) = 12 ✓ and 3(0) − 4(−3) = 12 ✓. For graphing, add a third point such as (8, 3).
Answerx-intercept (4, 0), y-intercept (0, −3)
Here's a shortcut that comes from the same idea. Divide Ax + By = C by C (when C is not zero) and you get x / (C/A) + y / (C/B) = 1. The denominators are the intercepts. For Example 1, dividing by 12 gives x/4 + y/(−3) = 1, so the intercepts are 4 and −3 without any further solving.
Example 2: Three special lines
Find the intercepts of y = (2/3)x, y = 4 and x = −2.
y = (2/3)x: setting y = 0 gives x = 0, and setting x = 0 gives y = 0. Both intercepts are the origin (0, 0). To graph it you need a second point, such as (3, 2).
y = 4: setting y = 0 gives 0 = 4, which is false, so there is no x-intercept. The line is horizontal and never reaches the x-axis. Its y-intercept is (0, 4).
x = −2: the x-intercept is (−2, 0). Setting x = 0 gives 0 = −2, also false, so this vertical line has no y-intercept.
Answer(0, 0) for both; y = 4 has only (0, 4); x = −2 has only (−2, 0)
A false statement like 0 = 4 isn't an algebra mistake. It means no point on the graph has that coordinate.
Intercepts of a Quadratic
For y = ax² + bx + c, the y-intercept is always (0, c), because every x term vanishes at x = 0. The x-intercepts take more work: setting y = 0 gives ax² + bx + c = 0, which has zero, one or two real solutions. These solutions are also called the zeros or roots of the quadratic.
Example 3: A quadratic that factors
Find the intercepts of y = x² − 2x − 8.
y-intercept: y = 0² − 2(0) − 8 = −8, so (0, −8).
x-intercepts: solve x² − 2x − 8 = 0. Two numbers that multiply to −8 and add to −2 are −4 and 2, so (x − 4)(x + 2) = 0.
Answerx-intercepts (−2, 0) and (4, 0), y-intercept (0, −8)
Before solving, the discriminant b² − 4ac tells you how many x-intercepts to expect.
Quadratic
Discriminant b² − 4ac
x-intercepts
y = x² − 2x − 8
4 + 32 = 36 (positive)
Two: (−2, 0) and (4, 0)
y = x² − 6x + 9
36 − 36 = 0
One: (3, 0), where the vertex touches the axis
y = x² + 4x + 5
16 − 20 = −4 (negative)
None: the parabola sits above the axis
In the middle row, x² − 6x + 9 = (x − 3)², so the graph touches the axis at (3, 0) without crossing. In the last row the vertex (−2, 1) is above the axis and the parabola opens upward. All three still have a y-intercept: (0, −8), (0, 9) and (0, 5).
Example 4: A quadratic that does not factor
Find the intercepts of y = x² − 4x + 1.
y-intercept: (0, 1).
Discriminant: (−4)² − 4(1)(1) = 16 − 4 = 12. It is positive, so there are two x-intercepts, but 12 isn't a perfect square, so they won't come from whole-number factoring.
Use the quadratic formula: x = (4 ± √12) / 2 = (4 ± 2√3) / 2 = 2 ± √3.
A fraction equals zero only when its numerator is zero and its denominator is not. So the x-intercepts of a rational function come from the numerator, but every candidate has to pass a domain check first. The y-intercept is f(0), which exists only if the denominator isn't zero at x = 0.
Example 5: A rational function with a hole
Find the intercepts of f(x) = (x² − 4) / (x² − x − 6).
Factor both parts: f(x) = (x − 2)(x + 2) / ((x − 3)(x + 2)). The denominator is zero at x = 3 and x = −2, so those values are not in the domain.
Numerator zeros: x = 2 and x = −2. But x = −2 is excluded from the domain, so it can't be an intercept. Only x = 2 survives.
What happens at x = −2? The factor (x + 2) cancels, leaving (x − 2)/(x − 3), which would give (−4)/(−5) = 4/5 there. The graph has a hole at (−2, 4/5), and a vertical asymptote at x = 3.
Answerx-intercept (2, 0), y-intercept (0, 2/3)
Common Mistake
Setting only the numerator to zero and listing (−2, 0) as a second x-intercept in Example 5. It looks right because x = −2 does make the numerator zero, but it makes the denominator zero too, so f(−2) is 0/0, which is undefined. A point the function never reaches can't be on its graph. Always cross off numerator zeros that are also denominator zeros. The same factors decide holes and vertical asymptotes, which the guide on how to find asymptotes covers in detail.
A rational function can also miss the y-axis entirely. For g(x) = (x + 1) / x, the denominator is zero at x = 0, so there's no y-intercept. The x-intercept is still (−1, 0).
Intercepts of a Circle
A circle isn't a function, so it can cross the y-axis twice. Substitute the zero and solve; you don't need the center-radius form first.
Example 6: A circle in general form
Find the intercepts of x² + y² − 4x + 6y − 12 = 0.
x-intercepts: set y = 0. The equation becomes x² − 4x − 12 = 0, which factors as (x − 6)(x + 2) = 0, so x = 6 or x = −2.
y-intercepts: set x = 0. The equation becomes y² + 6y − 12 = 0. This doesn't factor, so use the quadratic formula: y = (−6 ± √(36 + 48)) / 2 = (−6 ± √84) / 2 = −3 ± √21.
As decimals, −3 + √21 ≈ 1.583 and −3 − √21 ≈ −7.583.
Check with the center-radius form. Completing the square gives (x − 2)² + (y + 3)² = 25: center (2, −3), radius 5. The point (6, 0) is √(4² + 3²) = 5 from the center ✓.
A circle can have 0, 1 or 2 intercepts on each axis. Move the center to (2, −6) and y = 0 gives (x − 2)² = −11: no real solution, so that circle misses the x-axis.
An Applied Problem: What Intercepts Mean
In a word problem each intercept answers a question. The vertical-axis intercept is usually the starting value; the horizontal-axis intercept is usually when something runs out or lands.
Example 7: A ball thrown from a ledge
A ball is thrown upward from a ledge. Its height above the ground after t seconds is h = −4.9t² + 14.7t + 19.6 metres. Find both intercepts and say what each one means.
h-intercept: set t = 0. Then h = 19.6, so the point is (0, 19.6). The ball starts 19.6 m above the ground, which is the height of the ledge.
t-intercepts: set h = 0. Divide every term by −4.9 to get t² − 3t − 4 = 0, which factors as (t − 4)(t + 1) = 0. So t = 4 or t = −1.
Interpret: t = −1 would be one second before the throw, which is outside the situation, so reject it. The ball hits the ground at t = 4 s.
Answer(0, 19.6): launch height 19.6 m; (4, 0): the ball lands after 4 s
Rejecting a root is a decision about the context, not the algebra. The guide to projectile motion problems builds this kind of height equation from scratch.
Intercepts by Equation Type
The number of intercepts to expect depends on the kind of equation. Use this table to know when you're done.
Equation type
Possible x-intercepts
Possible y-intercepts
Solve with
Slanted line Ax + By = C
Exactly 1
Exactly 1
One step of algebra
Horizontal line y = k, k ≠ 0
0
1
Read it off
Vertical line x = c, c ≠ 0
1
0
Read it off
Quadratic y = ax² + bx + c
0, 1 or 2 (check b² − 4ac)
1, always (0, c)
Factoring or the quadratic formula
Polynomial of degree n
Up to n
1
Factoring, grouping
Absolute value, e.g. y = |x − 3| − 2
0, 1 or 2 (here (1, 0), (5, 0))
1 (here (0, 1))
Split into x − 3 = ±2
Rational function
Numerator zeros that are in the domain
0 or 1
Factor, then check the domain
Circle
0, 1 or 2
0, 1 or 2
A quadratic in one variable
Every function has at most one y-intercept. A function gives one output for each input, and the y-axis is the single input x = 0, so there's at most one point there. This is the vertical line test applied to the y-axis itself. Only non-functions like circles and sideways parabolas can have two.
How to Check Your Intercepts
Three quick checks catch almost every slip:
Substitute back. Put each point into the original equation, not a rearranged version.
Count first. Use the table above, or the discriminant for a quadratic, to predict how many intercepts there should be. Finding three x-intercepts for a quadratic means an error; finding one when the discriminant is positive means you've lost a root (often by dividing both sides by x).
Sketch or plot. A rough graph shows whether the signs make sense. For a line, the two intercepts also fix the slope: (4, 0) and (0, −3) give a slope of 3/4. You can enter both points in the free slope calculator and confirm it rebuilds the standard form you started from.
Work the problem by hand first. Then, if you want a second opinion, Solver AI on iPhone and iPad can scan a printed or handwritten equation and show a step-by-step solution, so you can compare it with your own working line by line.
The Takeaway
On the x-axis y is 0; on the y-axis x is 0. Substitute, solve, write points, and treat "no solution" as an answer: it means the graph misses that axis.
Practice Problems
Find every x- and y-intercept. Answers follow each problem, so cover them while you work.
5x + 2y = 20
Answer: (4, 0) and (0, 10).
y = x² + 2x − 15
Answer: it factors as (x + 5)(x − 3), so (−5, 0), (3, 0) and (0, −15).
y = 2x² − 8x + 8
Answer: 2(x − 2)², discriminant 64 − 64 = 0, so one x-intercept (2, 0), where the graph touches the axis, and (0, 8).
f(x) = (x² − 9) / (x² + 3x)
Answer: (x − 3)(x + 3) / (x(x + 3)). Only (3, 0) is an x-intercept; x = −3 is a hole at (−3, 2). There is no y-intercept, because x = 0 makes the denominator zero.
y = x³ − 4x² − 4x + 16
Answer: group as x²(x − 4) − 4(x − 4) = (x − 4)(x² − 4) = (x − 4)(x − 2)(x + 2). The x-intercepts are (−2, 0), (2, 0) and (4, 0), and the y-intercept is (0, 16). A degree-3 polynomial has at most 3 x-intercepts, so you've found them all.