CalculatorSignAll calculators

Graphing Calculator

Plot a function of x, choose visible x and y ranges, and read sample values from the graph in radians or degrees.

Graphing Calculator

Result
—

How do you graph a function of x?

Enter the expression for y using x as the input variable. Set the visible horizontal and vertical ranges, then calculate to draw the curve. You can write x^2-4 for a parabola, sin(x) for a wave, or 1/x for a reciprocal function. The tool also reports sample values at the left edge, middle, and right edge of the horizontal range.

Turn a math expression into calculator syntax

Enter only the right side of an equation such as y = 3x + 1. In the field, write 3*x + 1 so the multiplication is explicit. Use a caret for a power, as in x^3, and use parentheses for grouped terms. A formula such as (x-2)^2 places the square on the entire expression inside the group.

Try abs(x-2) to see a V shape or exp(-x) to show exponential decay. Trigonometric inputs use the angle unit you select. A radian function sin(x) takes just over six horizontal units to repeat a full cycle. In degree mode, one full cycle requires 360 horizontal units. Matching the range to that unit makes the shape much clearer.

Choose a viewing window that fits your question

Use a broad window to see the overall shape or several cycles, then narrow the range to examine an intercept or turning point. For x^2 − 4, horizontal values from −5 to 5 and vertical values from −8 to 24 let you see the bottom of the curve and both places where it crosses the horizontal axis.

Upper and lower limits have different jobs. If the chart cuts the top of a curve off, raise the maximum y value without changing x. If a feature is too compressed, shrink the range in which it appears. A plotting window can hide a genuine root or turning point, so a feature missing from the screen may still exist outside the range.

Check intercepts against actual values

At a y-intercept, x equals zero. For x^2 − 4, the substitution gives −4. An x-intercept occurs when y equals zero. Here x² must equal four, so the curve crosses at −2 and 2. Even when a chart appears to show an integer crossing, substitute the value into the expression to check it.

A chart can also suggest where an equation has more than one possible solution. For example, the two sides of the parabola reach the same height when the x values have equal magnitude and opposite signs. This symmetry makes it easier to recognize that an equation involving a square can have two answers.

Read gaps and discontinuities carefully

Some expressions have inputs without a real-number result. For 1/x, zero is excluded. For sqrt(x), negative x values are outside the real domain. The plot samples the function and skips unusable values. Very steep changes can also break a drawn segment so the graph does not imply a confident connection across a possible discontinuity.

Sampling has limits. A hole in a curve can be smaller than the distance between sampled x positions, and a high-frequency wave can show a misleading pattern when the window is wide. For a formal answer, find the domain and roots analytically or use a smaller viewing range to investigate a feature.

Frequently asked questions

How do I graph an equation with two variables?

First solve for y if the equation describes a single output for each selected x. For example, 2*y = x + 6 becomes (x+6)/2 in the expression field. A circle can require separate upper and lower functions because one x can have two y values. Draw each branch in a separate run.

What does “no sampled points” mean?

The samples may be outside the vertical window, or the expression may be undefined across the selected horizontal values. Start with a wider y range if you expect a curve farther up or down. For a function like ln(x), use positive x values to inspect its real domain.

How can I read points without relying on the picture?

Read the three sample results below the expression. To probe a particular x at the center sample, enter horizontal bounds equidistant from that value. For a single exact substitution, you can also open the Scientific Calculator and replace x with the number.

Why is a straight line missing its expected slope angle?

The two axes can use different scales. A rise of one y unit and a run of one x unit may take different numbers of pixels. Compare the marked values on each axis when reasoning about slope rather than using the angle on the screen.

Can I enter more than one expression?

The current plot draws one function at a time. Keep the same axis limits while changing the expression to compare the shapes under a consistent scale. Save a copy of each sample or manually compare selected coordinates if you need to present the difference.