Definition
What a function graph shows
The graph of a function is the set of points where the horizontal coordinate is an allowed input and the vertical coordinate is the corresponding output. It shows how the output changes, including where it reaches zero or agrees with another function.
- Horizontal axis
- Input to the function
- Vertical axis
- Output at that input
- Curve intersections
- Inputs that give equal outputs
How to read a graph
Every point on the graph shows an input x along the bottom and the output y up the side. The line is the set of all such pairs for your function. Where it crosses the horizontal axis, y is zero, which is a solution of the equation. Where it crosses the vertical axis, x is zero, which is the starting value.
Move your pointer over the graph and the readout shows the exact value of each function at that x, with a dot on each curve. For an equation such as x^2 − 4 = 0, look for where the curve crosses the x-axis: that is x = −2 and x = 2.
Some shapes to try
A straight line such as 2x + 1 has a steady slope. A quadratic like x^2 − 3x + 2 makes a parabola that crosses the axis at x = 1 and x = 2. sin(x) is a wave that repeats every 2π, 1/x has two branches that never touch the axes, and e^x grows ever faster. Plot two together, such as x^2 and 2x + 3, and the points where they cross are the solutions of x^2 = 2x + 3, which are x = −1 and x = 3.
Tips and limits
Use brackets to be clear about what belongs together: write sin(x)/x, not sin x/x. The calculator draws one pixel at a time, so very sharp features or rapid oscillations at a large zoom-out may look rough. Zoom in to see them properly.
For solving a quadratic exactly, use the quadratic equation calculator, and for general calculations use the scientific calculator.
Getting the most from the graph
Start with a simple function, then change one number at a time and watch how the curve moves: adding a constant shifts it up, multiplying x by a number stretches or squeezes it sideways. Plot two functions to see where they meet, which is how equations like x² = 2x + 3 are solved visually.
If a curve looks jagged, zoom in. Functions with asymptotes, such as 1/x and tan x, are drawn with a gap where the value does not exist, which is correct, not a bug.
Step-by-step example
Plot y = x² − 4 and y = x² − 3x + 2 to compare their intercepts and the second curve’s vertex.
| Step | Result |
|---|---|
| Left x-intercept of y = x² − 4 | (−2, 0) |
| y-intercept of y = x² − 4 | (0, −4) |
| Right x-intercept of y = x² − 4 | (2, 0) |
| Vertex of y = x² − 3x + 2 | (1.5, −0.25) |
Formulas used
A point (x, y) is on the graph if y = f(x)
Roots (x-intercepts): solve f(x) = 0
Intersections of two curves: solve f(x) = g(x)
- x
- horizontal input coordinate
- y
- vertical output coordinate
- f
- first function
- g
- second function
Example: For y = x² − 4, the curve crosses the x-axis where x² = 4, so at x = −2 and x = 2, and the y-axis at (0, −4).
Line: y = mx + c (slope m, y-intercept c)
Parabola: y = ax² + bx + c, vertex at x = −b ÷ 2a
Sine: y = sin x repeats every 2π (360°)
- x
- horizontal input coordinate
- y
- vertical output coordinate
- m
- slope of the line
- c
- vertical intercept of the line or parabola
- a
- quadratic coefficient
- b
- linear coefficient of the parabola
- π
- the circle constant, about 3.14159
Example: y = x² − 3x + 2 has roots at x = 1 and x = 2, and its vertex at x = 1.5, y = −0.25.
When the answer can mislead
- A curve can touch the horizontal axis at a root and turn back without crossing it.
- Two curves that look joined at one zoom level can be separate when you zoom in.
- A small viewing window can hide roots or intersections outside the frame.
Questions
How do I graph a function?
Type an expression using x into one of the boxes, for example x^2 - 4, sin(x) or 1/x. The graph appears as you type. Use the example buttons for common shapes, and Add function to plot up to four curves in different colours on the same axes.
What can I type in a function?
You can use + − × ÷, powers with ^ (x^3), brackets, implicit multiplication such as 2x or 3(x+1), the constants pi and e, and the functions sin, cos, tan, asin, acos, atan, ln, log (base 10), sqrt, cbrt, abs and exp. Writing y = at the start is optional.
How do I zoom and move the graph?
Drag with the mouse or one finger to pan. Scroll the wheel or pinch with two fingers to zoom around the pointer. The plus, minus and 1:1 buttons zoom in, zoom out and reset. With the graph focused, the arrow keys pan, plus and minus zoom and 0 resets.
Why is there a gap in my graph?
A function has no value at some points. 1/x is undefined at 0, ln(x) and sqrt(x) are undefined for negative numbers, and tan(x) is undefined at odd multiples of 90°. The calculator leaves a gap there instead of drawing a false line across the asymptote.
Should I use radians or degrees?
Pick radians for most maths and physics, since the standard shapes of sin(x) and cos(x) repeat every 2π (about 6.28). Choose degrees if your angles are in degrees, where they repeat every 360. The setting changes how the trig functions read x.
Embed this calculator
Cite this calculator
Graphing Calculator. CalculatorLab. https://calculatorlab.site/calculators/graphing-calculator/. Last updated . Accessed .