Graphing Calculator

Use x as the variable: x^3 - 3x, 2sin(x), sqrt(x), abs(x), ln(x), e^(-x^2). Trig uses radians.

Drag to pan · scroll or pinch to zoom · hover or tap to trace a point

Table of values

How to use the graphing calculator

  1. Enter a function of x in a “y =” box, for example x^2 - 2. The curve is drawn as soon as you stop typing, and any typo is explained in red under the box.
  2. Add more functions (up to five) with the “Add function” button. Each gets its own colour; remove one with ✕.
  3. Explore the graph: drag to pan, scroll or pinch to zoom, and use ⟲ to return to the standard window of −10 to 10.
  4. Trace a point: hover (or tap) anywhere and the calculator shows the (x, y) coordinates on the nearest curve.
  5. Make a table of values by choosing a start x, a step and the number of rows below the graph.

Writing functions

To graphType
y = 3x² − 4x + 13x^2 - 4x + 1
y = √xsqrt(x)
y = |x − 2|abs(x - 2)
y = 2 sin(3x)2sin(3x)
y = eˣ, y = ln x, y = log₁₀ xe^x, ln(x), log(x)
y = 1 ÷ (x − 1)1/(x - 1)
y = ∛xcbrt(x)

Multiplication can be implied (2x, 3(x+1), 2pi). Powers are written with ^ and are evaluated before multiplication, so -x^2 is an upside-down parabola. Other available functions include tan, asin, acos, atan, sinh, cosh, tanh, floor, ceil, round and sign.

Worked example: reading the default graph

The two starting functions are a parabola, y = x² − 2, and a sine wave, y = sin(x). With the table set to start at −5 with a step of 1, the first row shows x = −5, x² − 2 = 23 and sin(−5) = 0.958924274663; at x = 0 the values are −2 and 0.

The parabola crosses the x-axis where x² − 2 = 0, i.e. at x = ±√2 ≈ ±1.41421. Zoom in on the right-hand crossing and trace it — the y value gets closer to 0 as x approaches 1.41421. Where the two curves intersect, both functions give the same y, which is a quick way to estimate solutions of the equation x² − 2 = sin(x) (around x ≈ −1.06 and x ≈ 1.73).

How the graph is drawn

The calculator evaluates each function once for every pixel across the screen and joins the points. When the value is undefined (such as ln(x) for x ≤ 0) or jumps across a vertical asymptote (like tan(x) at x = π/2 or 1/x at x = 0), the pen is lifted so no false vertical line appears. Grid lines are spaced at “nice” intervals of 1, 2 or 5 times a power of ten and adjust automatically as you zoom, and the axes use the same scale in both directions so circles look round and slopes look true.

Tips

Graphing Calculator by AllOnlineCalcs