Reading and Analyzing Graphs

Find the Intersection of Two Graphs

Two graphs intersect where they have the same y-value at the same x, so solve f(x) = g(x). The x-solutions are the intersection x-coordinates; substitute back into either function for y. When algebra is hard, a graphing calculator finds the intersections numerically. Graphs may cross, touch at a single point, or not meet at all.

Graphs of y = x² − 2 and y = −x + 4 intersecting at (−3, 7) and (2, 2).

Check it yourself: every example here can be loaded into the Graphing Calculator.

Open the Graphing Calculator

The idea

At an intersection, both graphs pass through the same point, so their y-values are equal at that x:

f(x) = g(x)   ⟺   f(x) − g(x) = 0

Finding intersections is the same as finding the zeros of the difference f − g.

Algebraic method

Find where y = x² − 2 meets y = −x + 4.

  1. Set equal: x² − 2 = −x + 4.
  2. Rearrange: x² + x − 6 = 0.
  3. Factor: (x + 3)(x − 2) = 0 → x = −3 or x = 2.
  4. Substitute into y = −x + 4: y = 7 and y = 2.
  5. Intersections: (−3, 7) and (2, 2).
Try it in the calculator
Three panels: a parabola and line crossing twice; the parabola y = x² and line y = 2x − 1 touching at (1, 1); the parabola y = x² + 2 and line y = x never meeting.
f(x) − g(x) = 0 can have two, one (a tangent touch) or no real solutions.
Text description of this figure

Three panels: a parabola and line crossing twice; the parabola y = x² and line y = 2x − 1 touching at (1, 1); the parabola y = x² + 2 and line y = x never meeting.

  1. Set f(x) = g(x) and rearrange to f(x) − g(x) = 0.
  2. Solve (factor, formula, or numerically).
  3. Substitute each x into either function for y.

Tangent touches

y = x² and y = 2x − 1: x² − 2x + 1 = 0 → (x − 1)² = 0 → a single solution x = 1. The line is tangent to the parabola at (1, 1). The difference touches zero without changing sign, which is easy to miss by eye; the calculator searches specifically for this case.

Try it in the calculator

No intersection

y = x² + 2 and y = x: x² − x + 2 = 0 has discriminant 1 − 8 = −7 < 0, so the graphs never meet.

Numerical method (when algebra fails)

Equations like cos x = x or eˣ = 3 − x have no algebraic solution. A graphing calculator solves them numerically:

  1. Graph both sides.
  2. The calculator scans for sign changes of f(x) − g(x).
  3. It narrows each one down by halving the interval until it is accurate to many decimal places.

For cos x = x the result is x ≈ 0.73909, y ≈ 0.73909.

Try it in the calculator

The calculator also checks that the difference is continuous across each sign change. For example, 1⁄x and −1⁄x have opposite signs on each side of x = 0, but they never meet — the sign change is a break, not an intersection, so it is not reported.

Common mistakes

  • Reporting only x. An intersection is a point (x, y).
  • Substituting into the wrong expression. Either function gives the same y; use the simpler one to check.
  • Missing intersections outside the window.
  • Treating a near-miss as a touch. Zoom in, or check the discriminant.

For straight lines specifically, see solving systems of equations by graphing.

Questions

How does the calculator find intersections?

It looks for sign changes in f(x) − g(x) across the window and narrows each one by repeated halving. It also searches for places where the difference touches zero without changing sign, which catches tangent points.

Why are some intersections not listed?

Only the visible window is searched. Zoom out to find intersections further away.

Are intersections the same as solving an equation?

Yes: the x-coordinates of the intersections of y = f(x) and y = g(x) are exactly the solutions of f(x) = g(x).

Graph your own example with the Graphing Calculator — free, in your browser.

Try it now

Sources and further reading

Worked examples and figures were produced and checked with the Graphing Calculator Lab engine. See the editorial policy.

Related guides

More in Reading and Analyzing Graphs · All guides