Function grapher

Compare up to four functions on the same axes. Drag to pan and scroll or pinch to zoom.

Graph

100%

Curves

Examples

Apply to f(x)
Expression syntax

Use * for multiplication and ^ for powers, as in 2*x+1 and x^2. Trigonometric functions, logarithms, absolute values and the constants pi and e are supported.

How to use this tool

Function grapher

Add a curve, select its input or legend entry, and choose an example or type an expression. Each of the four curves has its own color. Identical expressions share the line in alternating colors.

Try sin(x), x^2 or sqrt(x). Drag to pan, use the wheel or pinch to zoom, and reset the view to return to the origin.