Graphing Calculator

AlgebraFreeNo sign-up

A graphing calculator plots y = f(x) by working out y for hundreds of x-values and joining the points. For y = x² − 2x − 3 the graph is a parabola that crosses the x-axis at (−1, 0) and (3, 0), crosses the y-axis at (0, −3) and has its lowest point at (1, −4). Type any function below to see its graph and key points.

Functions (up to 6)
−8−6−4−22468−550
Tap or hover on the graph to trace a curve.
Drag to move, pinch or use + and − to zoom. Click the graph first to zoom with the mouse wheel. Keyboard: arrow keys move, + and − zoom, 0 resets, Shift + Left/Right traces, Shift + Up/Down switches curve.
Window
Key points in this window
y₁ = x^2 − 2x − 3
x-intercepts
y-intercept
Local maximum
none in this window
Local minimum
y₂ = a x + b
x-intercepts
y-intercept
Local maximum
none in this window
Local minimum
none in this window
Intersections
y₁ and y₂
How the key points were found
  1. The calculator works out y for 601 evenly spaced x-values from −10 to 10 (a step of 0.0333), and draws each curve from about two points per screen pixel.
  2. x-intercepts: when y changes sign between two neighbouring x-values, the curve must cross the x-axis between them (if it has no break there). For y₁, y = 0.1344 at x = −1.0333 and y = −0.1322 at x = −0.9667. Halving that interval again and again (bisection) closes in on x = −1.
  3. A sign change across a vertical asymptote (as in 1/x at x = 0) is not a root: there y grows without bound instead of reaching 0, so those points are rejected.
  4. Local maximum and minimum: where the y-values stop rising and start falling (or the reverse), a golden-section search narrows the turning point. A curve that only touches the x-axis at a turning point (such as x² at x = 0) gets an x-intercept there too.
  5. Intersections: y₁ = y₂ exactly where y₁ − y₂ = 0, so the same root search is run on the difference of the two functions.
  6. y-intercept: substitute x = 0. y₁(0) = −3.
  7. Values are rounded to 4 decimal places, and only points inside the current window are listed. Zoom or change the window to find others.
Table of values
x y₁ y₂
−3 12 −2
−2 5 −1
−1 0 0
0 −3 1
1 −4 2
2 −3 3
3 0 4
4 5 5
5 12 6
6 21 7
7 32 8
Key points are found numerically inside the current window and rounded to 4 decimal places. Exact answers (such as √2 or π/3) appear as decimals.

Graphing Calculator
Embed this calculator on your site

Free to use on class pages, blogs and course pages. Copy the code below and paste it into your page:

How to use the graphing calculator

  1. Type the right side of y = … in a function box, for example x^2 - 4 or 2sin(x). Add up to six functions; tap a colored circle to hide or show a curve.
  2. Move around the graph: drag to pan, pinch or use the + and − buttons to zoom, or type the window values (x min, x max, y min, y max).
  3. Hover over or tap a curve to trace it. The coordinates appear under the graph. With the keyboard, click the graph and use Shift + arrow keys.
  4. Read the key points under the graph: x-intercepts, the y-intercept, local maximum and minimum points and intersections. Tap a point to mark it on the graph.
  5. Use the sliders for a and b to see how changing a number moves the graph, and open the table of values to check points by hand.

The site also has a simpler function grapher that scales the graph automatically. This graphing calculator adds tracing, zooming, key points, sliders and a table.

What you can type

You type Meaning
2x, 3(x + 1), (x + 1)(x − 2) Multiplication can be written without *
x^2, x^(1/3), 2^x Powers and roots; x^(1/3) gives the real cube root, so (−8)^(1/3) = −2
sqrt(x), abs(x) or |x| Square root and absolute value
sin(x), cos(x), tan(x), asin(x), acos(x), atan(x) Trig functions in radians or degrees (switch with the buttons)
ln(x), log(x), exp(x) or e^x Natural log, base-10 log and the exponential function
pi or π, e The constants π ≈ 3.1416 and e ≈ 2.7183
a, b Slider values, for example a(x − b)^2

The calculator reads your formula with its own parser and follows the order of operations: parentheses, then powers, then multiplication and division, then addition and subtraction. Two results surprise many students. First, −x^2 means −(x²), so at x = 3 it is −9; type (−x)^2 for 9. Second, 1/2x means (1/2) × x, which is 2 at x = 4; type 1/(2x) if you mean one over 2x.

How to read a graph

  • x-intercepts (also called roots or zeros) are the points where the graph meets the x-axis, so y = 0. They are the solutions of f(x) = 0.
  • The y-intercept is where the graph crosses the y-axis, at x = 0. Its y-value is f(0).
  • A local maximum or minimum is a turning point: the highest or lowest point compared with the points around it. A parabola has exactly one.
  • Increasing and decreasing: reading from left to right, the graph rises where y increases and falls where y decreases.
  • Gaps and asymptotes: √x has no graph to the left of 0, and 1/x shoots up and down near x = 0 without ever touching the line x = 0. The calculator leaves those places empty instead of drawing false vertical lines.

Choosing the graph window

The window is the part of the coordinate plane you can see. The standard window runs from −10 to 10 on both axes. A graph can look wrong only because the window hides the interesting part. The parabola y = x² − 40x has its lowest point at (20, −400), so in the standard window you see a steep line falling through the origin. Set x from −10 to 50 and y from −450 to 100 and the full U shape appears. When only the height is the problem, Fit y to curves resizes the y-axis to the curves in view.

  • Zoom in to read a crossing more precisely; zoom out to check that you have not missed roots further away.
  • Equal units makes one unit on the x-axis the same length as one unit on the y-axis, so circles look round and a slope of 1 looks like a 45° line.
  • In degree mode the x-axis is measured in degrees and the window switches to −360 to 360, where one period of sin x is 360 wide.

Finding roots and intersections from a graph

Example 1: roots of a quadratic

The graph of y = x² − 2x − 3 crosses the x-axis at x = −1 and x = 3. Check by factoring: x² − 2x − 3 = (x + 1)(x − 3), which is 0 when x = −1 or x = 3. The vertex is halfway between the roots, at x = 1, and y = 1 − 2 − 3 = −4, so the minimum point is (1, −4).

Example 2: where a line meets the parabola

With the sliders at a = 1 and b = 1, the second function is y = x + 1. The graphs meet where x² − 2x − 3 = x + 1, which rearranges to x² − 3x − 4 = 0, or (x − 4)(x + 1) = 0. So x = 4 or x = −1, and the intersection points are (4, 5) and (−1, 0). The calculator finds these by searching for zeros of the difference y₁ − y₂.

Example 3: roots that are not whole numbers

For y = x² − 2, the graph shows x-intercepts near ±1.4142. The exact answers are x = ±√2, because x² = 2. A graph gives decimal approximations; algebra gives exact values. Use both: the graph tells you how many solutions there are and roughly where, and algebra confirms them.

Example 4: an intersection of two trig graphs

In radian mode, sin x and cos x first meet to the right of the y-axis at x = π/4 ≈ 0.7854, where both equal √2/2 ≈ 0.7071. Because both functions repeat, they meet again every π ≈ 3.1416 units, so the window from −10 to 10 shows six intersection points.

How the calculator finds key points

Key points are found numerically. When y changes sign between two neighboring x-values, the graph crosses the x-axis between them, and the interval is halved again and again (the bisection method) until the crossing is pinned down. Turning points are found where y stops rising and starts falling, or the reverse. A sign change across an asymptote, as in 1/x at x = 0, is not a root, so it is rejected. Open How the key points were found under the graph to see these steps with your own numbers.

Common graphing mistakes

  • Leaving the calculator in degree mode for a radian problem (or the reverse). sin x in degrees looks almost flat on a −10 to 10 window.
  • Writing sin x^2 when you mean (sin x)². The calculator reads sin x^2 as sin(x²); type (sin x)^2 or sin^2(x).
  • Typing log when you need the natural log. Here log is base 10 and ln is base e.
  • Trusting one window. A cubic can have a root far outside −10 to 10; zoom out before concluding there are no more.
  • Reading a rounded decimal as exact. 1.4142 is √2 rounded to 4 decimal places.

Graphing practice quiz: 10 questions

Test yourself with 10 multiple-choice questions. Choose an answer and press Submit to see if you are right and why. Your score appears at the end.

Question 1 of 10
1. Where does the graph of y = x² − 6x + 8 cross the x-axis?

Found a mistake? Let us know!

2. What is the y-intercept of y = 3x² − 5x + 7?

Found a mistake? Let us know!

3. What is the minimum point of y = x² − 4x + 1?

Found a mistake? Let us know!

4. At which point do y = 2x + 1 and y = x + 4 intersect?

Found a mistake? Let us know!

5. How does the calculator read −x^2 when x = 5?

Found a mistake? Let us know!

6. In radian mode, about where is the first positive x-intercept of y = sin x?

Found a mistake? Let us know!

7. Which function has a vertical asymptote at x = 2?

Found a mistake? Let us know!

8. The window is x from −10 to 10, but a cubic also has a root at x = 15. What should you do to see it?

Found a mistake? Let us know!

9. For y = a(x − b)² with a = 2 and b = 3, where is the vertex?

Found a mistake? Let us know!

10. A graph shows x-intercepts at about ±1.4142 for y = x² − 2. What are the exact values?

Found a mistake? Let us know!

Frequently asked questions

How do you find the x-intercepts on a graphing calculator?

Graph the function and look where the curve meets the x-axis. This calculator lists every x-intercept in the current window automatically; on a handheld calculator you would use the zero or root command and choose a left and right bound around each crossing.

How do you find where two graphs intersect?

Enter both functions. The intersection points appear under the graph. They are the solutions of f(x) = g(x), which you can confirm by setting the two expressions equal and solving.

Why does my sine graph look like a flat line?

The calculator is probably in degree mode while the window shows only −10 to 10. Switch to radians, or keep degrees and use a window such as −360 to 360.

What do the sliders a and b do?

They let you write a function with parameters, such as a(x − b)², and watch the graph change as you drag. Here a stretches or flips the parabola and b shifts it left or right.

Why is there a gap in the graph?

The function is undefined there. Square roots of negative numbers, division by zero and logarithms of numbers that are 0 or less have no real value, so nothing is drawn.

Related calculators

More algebra calculators

Browse all 541 calculators

Related to This Article

What people say about "Graphing Calculator: Plot Functions, Roots and Intersections"?

No one replied yet.

Leave a Reply