# Online Graphing Calculator: Plot your own SVG Math Graphs

You can plot 2 functions, function 1 (in dark green) and function 2 (in magenta).

Edit your functions and then click the "Graph it" button below. To remove a graph, leave its text box blank.

The number of points changes the number of data points. Usually more points gives a better graph in cases where the curve goes off to infinity (like tan(x)).

(If you can't see the graph below, or there is a problem, try this alternative graph plotter).

Function 1:

Function 2:

Min x-value:

Max x-value:

Grid interval (along x-axis):

Min y-value:

Max y-value:

Grid interval (along y-axis):

Graph width (pixels, max 700):

Graph height (pixels, max 600):

Equal scaling along x- and y-axes.

Number of points:

Continues below

## Some graphs to try

The grapher will accept any of the following functions (use the notation shown). You can copy from the examples below if you wish.

• Straight lines: (like 3x - 2)
• Polynomials: (like x^3 + 3x^2 - 5x + 2)
• Any of the trigonometric functions: sin(x), cos(x/2), tan(2x), csc(3x), sec(x/4), cot(x)
• The inverse trigonometric functions: arcsin(x), arccos(x), arctan(x), arccsc(x), arcsec(x), arccot(x)
• Exponential (e^x) and logarithm (ln(x) for natural log and log(x) for log base 10)
• Absolute value: use "abs" like this: abs(x)
• The hyperbolic functions and their inverses: sinh(x), cosh(x), tanh(x), arcsinh(x), arccosh(x), arctanh(x)
• Sign (1 if the sign is positive, −1 if the sign of the function is negative.) For example, try sign(sin(x))

In fact, you can use most of the javascript math functions, including

• ceiling: ceil(x) and round: round(x)
• square root: sqrt(x)

You can also use any combinations of the above, like ln(abs(x)).

If your graph doesn't work: Try using brackets! For example, "tan 2x" won't work. You have to put tan(2x).

The above graph is not an image (that is, it's not a .GIF, .JPG or .PNG). It is a javascript-based graph. That's why we can change it so easily and not wait for an image to be created.

top

### Online Algebra Solver

This algebra solver can solve a wide range of math problems.

### Math Lessons on DVD

Easy to understand math lessons on DVD. See samples before you commit.