Function Graph Plotter f(x)
Type an expression such as sin(x) or x^2-2 and instantly plot its graph over a chosen x range. Maximum, minimum, zeros, and sample point values are shown alongside.
Input
f(x)=
Example expressions (tap to fill in)
sin(x)
x^2 - 2
x^3 - x
exp(-x^2)
1/x
abs(x) - 1
pts
Operators: + - * / ^ (power). Functions: sin cos tan asin acos atan sinh cosh tanh exp log (natural log) ln log10 sqrt cbrt abs. Constants: pi (π), e. The only variable is x.
Result
f(x) = sin(x)
-1 ≦ f(x) ≦ 1
Maximum
1
x = 1.57
Minimum
-1
x = -1.57
Zeros (x-axis crossings)
3
-3.142, 0, 3.142
Sample point values
| x | f(x) |
|---|---|
| -6.28 | 0.0032 |
| -5.024 | 0.9518 |
| -3.768 | 0.5862 |
| -2.512 | -0.5888 |
| -1.256 | -0.9509 |
| 0 | 0 |
| 1.256 | 0.9509 |
| 2.512 | 0.5888 |
| 3.768 | -0.5862 |
| 5.024 | -0.9518 |
| 6.28 | -0.0032 |
How it works
- Enter a function f(x) together with the minimum and maximum x, and the tool draws the graph over that interval automatically. A larger number of points yields a smoother curve (200 points when left blank).
- Usable operators are + - * /, the power operator ^ (or **), parentheses, and unary minus. Implicit multiplication such as 2x or 2sin(x) is also supported.
- Supported functions: sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, exp, log (natural log), ln, log10, sqrt, cbrt, abs. The constants pi (π) and e are available, and the only variable is x. Trigonometric angles are treated in radians.
- Below the graph, the tool shows the maximum and minimum within the input range (each with the x value where it occurs) and the approximate positions of the zeros where the curve crosses the x-axis.
- The sample point table lists x and f(x) values at equally spaced points across the range. Points outside the domain (such as the square root of a negative number, or 1/x at x=0) are shown as "Out of domain".
- Your expression and the results are never sent anywhere; everything is processed inside your browser, so you can use it with peace of mind.
Reviews
Tell us what you think of this calculator.
Write a review
Found an incorrect result or a problem? Turn this on to report it.
- Home
Function Graph Plotter f(x)