Graphing Calculator
Plot functions, equations, inequalities, parametric and polar curves; find roots and intersections.
This function table calculator, also called a table of values calculator, lists f(x), and optionally g(x), at from your start, end and step.
Table of values
13 rows, x = −1 to 5 in steps of 0.5
The table evaluates f(x) = x² − 3x and g(x) = 2x − 4 at 13 values of x from −1 to 5. Over these points f ranges from −2.25 to 10.
f(x) = 0 exactly at x = 0, 3 (roots). f has a local minimum near x = 1.5 (f(x) = −2.25 in the table).
g(x) = 0 exactly at x = 2 (a root).
Turning points and sign changes are read from the table, so features between rows can be missed. A smaller step shows more detail.
| x | f(x) = x² − 3x | g(x) = 2x − 4 |
|---|---|---|
| −1 | 4 | −6 |
| −0.5 | 1.75 | −5 |
| 0 | 0 | −4 |
| 0.5 | −1.25 | −3 |
| 1 | −2 | −2 |
| 1.5 | −2.25 | −1 |
| 2 | −2 | 0 |
| 2.5 | −1.25 | 1 |
| 3 | 0 | 2 |
| 3.5 | 1.75 | 3 |
| 4 | 4 | 4 |
| 4.5 | 6.75 | 5 |
| 5 | 10 | 6 |
Row 1: x = −1
f(−1) = (−1)² − 3(−1) = 4
Row 2: x = −0.5
f(−0.5) = (−0.5)² − 3(−0.5) = 1.75
Row 3: x = 0
f(0) = (0)² − 3(0) = 0
Rows 4 to 13
Each remaining row substitutes its x-value into f(x) the same way.
It shows the substitution for the first rows, gives exact fractions, marks roots and turning points, draws a graph and exports the table as CSV.
Grid of x values
Plain-text formula: x_i = x_0 + i Δx, i = 0, 1, …, ⌊(x_end − x_0)/(Δx)⌋
The table starts at and adds the step until it would pass the end value. With rational inputs every is exact, so there is no drift from repeated decimal addition.
Sign change and the intermediate value theorem
Plain-text formula: f(x_i) f(x_(i + 1)) < 0 ⇒ f(c) = 0 for some c ∈ (x_i, x_(i + 1))
If f is continuous between two rows and its sign changes, it has a root in between. The calculator locates that root with Brent’s method. A sign change across a vertical asymptote, as with 1/(x − 1) at 1, is not a root.
Each row gives one input x and the outputs f(x) (and g(x)). Values are exact fractions whenever x and every operation are rational, such as 1/x at x = 3/4, which is 4/3; otherwise they are decimals rounded to 10 significant digits. not defined means x is outside the domain, for example division by zero or the square root of a negative number.
A row where the value is exactly 0 is a root. When consecutive values have opposite signs, a root lies between them (if f is continuous there). A value larger than both neighbors marks a local maximum near that x, and a smaller one a local minimum; the exact turning point can lie between rows, so shrink the step to pin it down.
To build the same table by hand, with each substitution written out, follow the guide on how to make a table of values. To see the whole curve between the rows, open the function in the graphing calculator.
A function table, also called an input–output table, an x and y table or a table of values, lists chosen inputs x in one column and the matching outputs f(x) in the next. Each input gives exactly one output, which is what makes the rule a function. The table below shows for x = 0 to 4 with a step of 1.
Each output is a direct substitution: . The outputs rise by 2 each time x rises by 1, so the table already shows the slope of the line.
| Input x | Output f(x) = 2x + 3 |
|---|---|
| 0 | 3 |
| 1 | 5 |
| 2 | 7 |
| 3 | 9 |
| 4 | 11 |
The table has rows, so start −1, end 5 and step 0.5 gives 13. Use a step of 1 for an overview of a polynomial, 0.1 or 1/4 to find detail near a root or a turning point, and multiples of π such as pi/6 or pi/4 for trigonometric functions.
Pick a range that contains the features you care about: for a parabola, both roots and the vertex; for a rational function, a few rows on each side of the vertical asymptote. If a sign change appears between two rows, run the table again over just those two values with a smaller step.
Work backwards from equally spaced x-values by looking at the differences between consecutive outputs. Constant first differences mean a linear rule : the slope is and is the output at x = 0. In the table above, Δy = 2 for Δx = 1 and f(0) = 3, so the rule is .
Constant second differences mean a quadratic , with equal to the second difference divided by . For outputs 1, 2, 5, 10 at x = 0, 1, 2, 3 the first differences are 1, 3, 5 and the second differences are all 2, so , and gives : the rule is . Constant ratios between outputs point to an exponential such as .
Type the rule you found into this calculator with the same start, end and step to check that every row matches. For a line through two points, the slope calculator gives m and b directly, and for noisy data the regression calculator fits the best line or curve.
| x | f(x) | First difference | Second difference |
|---|---|---|---|
| 0 | 1 | ||
| 1 | 2 | 1 | |
| 2 | 5 | 3 | 2 |
| 3 | 10 | 5 | 2 |
Squaring a negative input. The calculator reads -x^2 as , so it is −4 at x = 2 and at x = −2. To square the input itself write x^2; by hand, put negative inputs in parentheses: .
Degrees instead of radians. sin(x) uses radians, so sin(30) is about −0.988, not 0.5. For a table in degrees, write sin(pi x/180); then start 0, end 90 and step 30 gives 0, 0.5, 0.8660254038 and 1.
A step that points the wrong way. A positive step cannot count down from 5 to −5. Make the step negative, or swap the start and end.
Reading a sign change as a root. For the values jump from negative to positive across x = 1, but the function is never 0 there. The calculator flags these jumps separately from real roots.
Use a step of 0.5 and find the roots of f, its lowest point and where the two graphs meet.
Answer: The table shows roots at x = 0 and 3, a local minimum of −2.25 at x = 1.5, and intersections with g at x = 1 and x = 4.
Type expressions such as 0, 2pi and pi/6 for the start, end and step. The x column is then labeled in multiples of π (π/6, π/3, π/2, …) and the trigonometric values use radians.
The table never passes the end value. If the end is not reached exactly by whole steps, the last row is the last x before it; for example, start 0, end 1 and step 0.3 gives 0, 0.3, 0.6 and 0.9.
The function has no real value at that x: for example 1/(x − 1) at x = 1, or sqrt(x) at a negative x. The note under the table gives the reason, and the other rows are still calculated.
Yes. Make the end smaller than the start and use a negative step, such as start 5, end −5 and step −1.
Up to 1,000. For longer ranges, use a bigger step or the graphing calculator, which shows the whole curve.
Yes. Under the result, the step-by-step working substitutes the first x-values into f(x), for example f(−1) = (−1)² − 3(−1) = 4, and the remaining rows follow the same pattern. The notes then explain the roots, sign changes and turning points the table shows.
Yes. Download CSV under the table saves it as a comma-separated file that opens in Excel, Google Sheets or Numbers. Copy at the top of the result copies the inputs, the summary and the table as tab-separated text.
Solve the equation for y first, then enter the right-hand side as f(x). For 2x + y = 6, type 6 - 2x, and start −2, end 4, step 1 gives the x and y values 6 + 4 = 10 down to 6 − 8 = −2.
Not automatically. Check the differences of the outputs: constant first differences mean a line, constant second differences a quadratic. Then type the rule you found here to confirm every row, as shown in the section on finding the rule above.
The functions use radians. Convert inside the function with sin(pi x/180) or cos(pi x/180), and enter the start, end and step in degrees.
Plot functions, equations, inequalities, parametric and polar curves; find roots and intersections.
First to fifth derivatives with rule-by-rule steps, f′(a), the tangent line and a graph.
Antiderivatives with named steps, plus definite and improper integrals with an error estimate and area graph.
Two-sided, one-sided and infinite limits with steps, a table of values and the indeterminate form named.
All real and complex roots of a polynomial up to degree 10, with multiplicities, exact forms and steps.
Sigma notation with steps: exact fractions, partial sums, closed forms and infinite-series tests.
Learn more: For a step-by-step method, read how to make a table of values. To define your own f(x) and reuse it, see custom functions.
Results are calculated in your browser with methods checked by automated tests, and are intended for learning and general use. For engineering, medical, financial, legal or safety-critical decisions, verify important values independently and follow the rounding rules your work requires. How accurate are these results?