Graphing calculator

Graph equations, find where lines cross, and check your algebra. The calculator is made by Desmos; the examples below are ours.

How to use the graphing calculator

The calculator above is made by Desmos. Type an equation in the box on the left and the graph appears straight away.

  • Plot a function: type y = 2x + 1, or y = x^2 − 4 for a parabola. Use ^ for exponents.
  • Add a slider: type y = mx + b. Desmos offers sliders for m and b; drag them to see how slope and intercept move the line.
  • Find intercepts and intersections: click a graph to show gray points where it crosses an axis or another graph, then click a point for its coordinates.
  • Make a table: press + and choose “table” to enter points, for example from a physics lab.
  • Zoom: scroll or pinch, or use the wrench icon to set the axes exactly.

Try these

  1. Where do y = 2x + 1 and y = −x + 7 cross? Type both lines, then click the point where they meet.

    Show answer

    (2, 5). Check: 2(2) + 1 = 5 and −2 + 7 = 5. Algebra gives the same thing: 2x + 1 = −x + 7, so 3x = 6 and x = 2.

  2. Find the vertex and x-intercepts of y = x2 − 6x + 5.

    Show answer

    Vertex (3, −4), intercepts (1, 0) and (5, 0). The vertex is halfway between the intercepts, at x = −b/2a = 6/2 = 3.

  3. Solve 2x = 10 without logs: graph y = 2x and y = 10 and read off where they cross.

    Show answer

    x ≈ 3.32. That matches log2 10 = ln 10 / ln 2 ≈ 3.3219, and it sits between 3 and 4 because 23 = 8 and 24 = 16.

  4. Graph y = sin(x) and y = 0.5. Where is the first crossing to the right of 0?

    Show answer

    x ≈ 0.524, which is π/6 radians (30°). Desmos uses radians unless you switch to degrees with the wrench icon, a common reason a trig graph looks wrong.

Check your algebra with it

Graphing is the fastest way to check an answer. If you solved x² − x − 12 = 0 and got x = 4 and x = −3, graph y = x² − x − 12: the parabola should cross the x-axis at exactly those two points. Our guide to solving quadratic equations shows the algebra, and 5 common graphing mistakes in physics covers reading motion graphs.