Everyday tool

Function Grapher

Enter polynomial coefficients from highest power to constant, then choose the visible x range.

Runs in your browser. No upload.

Values are processed locally in this browser.

Result

—Function Grapher

About this tool

Function Grapher made simple.

This lightweight graph plots a polynomial of degree 1–4 using sampled points. It does not parse arbitrary expressions or promise symbolic intersections.

Guide

Using Function Grapher

The Function Grapher draws a polynomial from its coefficients. You type the numbers from the highest power down to the constant, choose the left and right ends of x, and pick how many points to sample. It draws a line through the points and lists every x,y pair as text. It does not read formulas such as sin(x), it has no axis labels, and it does not find roots or crossings.

How to use it

  1. Type the coefficients from the highest power to the constant, separated by commas, spaces or semicolons. For x squared minus 4, type 1,0,-4.
  2. Set Minimum x and Maximum x. The minimum must be smaller than the maximum.
  3. Set the number of plot points between 40 and 400. More points give a smoother line.
  4. Press Calculate. The graph appears and the x,y pairs are listed in the result, which you can copy.

Worked examples

The starting example, x squared minus 4

You enter
Coefficients
1,0,-4
Xmin
-5
Xmax
5
Samples
160
You get
Rows
161
First
-5,21
Second
-4.938,20.379
Middle
0,-4
Last
5,21

Samples are spread evenly from -5 to 5, giving 161 rows. At x = -5 the value is 25 minus 4, which is 21, and at x = 0 it is -4. The curve is a U shape.

Run through the tool’s own code.

A straight line

You enter
Coefficients
2,1
Xmin
0
Xmax
4
Samples
40
You get
Rows
41
First
0,1
Second
0.1,1.2
Last
4,9

Two numbers mean 2x + 1. The x step is 4 divided by 40, which is 0.1, so the second point is (0.1, 1.2) and the last is (4, 9).

Run through the tool’s own code.

A cubic through the origin

You enter
Coefficients
1,0,-3,0
Xmin
-2
Xmax
2
Samples
40
You get
Rows
41
First
-2,-2
Middle
0,0
Last
2,2

Four numbers mean x cubed minus 3x. At x = 2 the value is 8 minus 6, which is 2, and at x = -2 it is -2.

Run through the tool’s own code.

Too many coefficients or too few points

You enter
Coefficients
1,2,3,4,5,6
Xmin
-1
Xmax
1
Samples
40
You get
Message
Use 1–5 finite coefficients, an increasing x range and 40–400 plot points.

Six coefficients would be a fifth power, which is over the limit. The same message appears for a flat or reversed x range, for 39 points, or for a text such as x^2.

Run through the tool’s own code.

When it helps

  • Check the rough shape of a quadratic or cubic from your homework.
  • See how changing one coefficient moves or bends the curve.
  • Copy a list of x,y values into a spreadsheet to plot or check.
  • Show students how a polynomial's degree changes its graph.

Limits to keep in mind

  • Only polynomials with 1 to 5 coefficients are accepted, which means a degree up to 4. There is no sin, log, division or brackets, and a text formula is rejected.
  • The picture fits the highest and lowest points of your sample to the box, so the x and y scales are not equal. The two faint lines through the middle are fixed in place, are not the true axes, and there are no tick marks or numbers.
  • The tool plots sampled points joined by lines. It does not find roots, turning points or where two graphs cross, so a narrow peak between samples can be missed.
  • It stops if a value goes above 1,000,000,000,000 and asks you to narrow the x range. The x range can span at most 1,000,000.

Tips

  • Include a 0 for every missing power, such as 1,0,-4 for x squared minus 4.
  • Read the exact numbers in the result list, because the drawing has no scale marks.
  • Narrow the x range around the part you want to see if the curve looks flat.

Common questions

About Function Grapher.

How do I enter a polynomial?

Type its coefficients from the highest power to the constant. For 3x squared plus 2x minus 5, type 3,2,-5. Separate them with commas, spaces or semicolons. A missing power needs a 0 so the places line up.

Can it graph sin(x) or other functions?

No. It plots only polynomials made from coefficients, up to degree 4. It does not read formulas or expressions, and anything that is not a list of numbers is rejected.

Why are there no numbers on the axes?

The drawing is simple and has no scale marks, and its two faint guide lines are always in the middle of the picture, not at x = 0 or y = 0. Use the result list to read the exact values.

What do the plot points do?

They set how many equal steps the x range is cut into, from 40 to 400. The result has one more row than that number. More points make a smoother curve but a longer list.

Why did I get an error about the range?

The minimum x must be less than the maximum, the span can be at most a million, and every value must stay below one trillion. Narrow the range or reduce the highest power if you see the message.

Is my input sent to a server?

No. The points are worked out in your browser and the page says nothing is uploaded. Copy the result list if you want to keep it, because it is not saved.

How do I use Function grapher?

Enter polynomial coefficients from highest power to constant, then choose the visible x range.

Is my data uploaded to a server?

No. This tool runs locally in your browser. Your input is not uploaded.