Plot up to eight functions of x, find their roots, turning points and intersections, shade integrals and draw derivatives. Pan, zoom and share any graph.
Initializing in your browser…
Plot 3D surfaces from z = f(x, y), polar z = f(r, theta) or parametric formulas, rotate them by mouse or touch, and export STL or OBJ for 3D printing.
A scientific calculator with exact fractions and decimals, degrees or radians, 34 functions and a desk-calculator mode. Rounded answers are labelled as rounded.
Molar mass, equation balancing, pH and pOH, molarity, dilution and the ideal gas law, using IUPAC 2021 atomic weights for all 118 elements.
A homework question asks for the roots and turning points of y = x^3 - 3x, and the area under the curve from 0 to 2.
Function and settings
x^3 - 3x Area (integral) on, from 0 to 2
Analysis panel
Roots (3): x = -1.732050808, x = 0, x = 1.732050808 Turning points (2): max (-1, 2), min (1, -2) Area: -2
The roots are 0 and plus or minus the square root of 3, which is 1.7320508. The slope 3x^2 - 3 is zero at x = -1 and x = 1, giving the maximum and minimum. The area is negative because most of the region from 0 to 2 lies below the x axis: the exact value is 2^4/4 - 3(2^2)/2 = 4 - 6 = -2, which matches the tool.
Plot up to eight functions of x on one set of axes and read off their roots, turning points and intersections. Shade the area under a curve to get its integral, overlay the derivative, or add t to an expression and animate it.
Type it the way you would write it. Expressions are read by a full maths parser, so 2x, 3(x + 1), sin(x)^2, abs(x), max(x, 0), nthRoot(x, 3), sec(x) and gamma(x) all work, along with pi and e. log(x) is the natural logarithm; use log10(x) for base 10. If an expression cannot be read, the problem is named under the function list. One case catches most people out: x(x + 1) is read as calling a function named x, so write x*(x + 1).
Curves that are drawn honestly. Where a function has no value, such as sqrt(x) for negative x, the curve stops. Where it has a vertical asymptote, as tan(x) and 1/x do, the curve is broken instead of being joined by a steep line through the asymptote, and a note under the graph says how many gaps and poles there are. Each curve is sampled at 1,500 points by default; raise that under Window and detail if a sharp feature looks rounded.
Points worth knowing, computed for you. For the first visible curve the tool lists every root in the window, every turning point labelled as a minimum or maximum, and every point where it meets the second visible curve. Roots are located by repeatedly halving an interval where the function changes sign, which always converges, and the value of the function at each root is printed beside it as a check. A curve that only touches the axis, like (x - 1.3)^2, is reported too. A sign change caused by a pole is not mistaken for a root, which is why 1/x correctly shows none. Turning points are placed where the slope is zero, to nine decimal places.
Area and slope. Switch on Area (integral), choose the limits and the region is shaded; the value comes with an error estimate and the number of function evaluations used. Area below the axis counts as negative, so x^3 - 3x from 0 to 2 gives -2. Switch on Derivative to draw the slope of the first curve as a dashed yellow line, which makes it easy to see that turning points sit where the derivative crosses zero.
Moving around. Drag to pan, scroll or pinch to zoom around the point under your finger or cursor, or use the buttons on the graph to zoom, fit the height to the curves and reset. With the graph focused, the arrow keys pan and + and - zoom. The exact window can be typed under Window and detail. The whole setup is kept in the page address, so Share gives a link that reopens the same graph, and PNG saves the picture. Everything is calculated in your browser.
x^3 - 3x has roots at -1.732050808, 0 and 1.732050808 (that is, plus or minus the square root of 3), a maximum at (-1, 2) and a minimum at (1, -2).
With x^2 and x + 2 on the graph, the intersections panel lists (-1, 1) and (2, 4), the solutions of x^2 = x + 2.
The integral of sin(x) from 0 to 3.14159265358979 is 2, reported with an estimated error near 1e-11.
Check where a polynomial crosses the axis, where it turns, and what its derivative looks like before you work it out by hand.
Plot two curves and read off exactly where they meet, for example where a linear cost line crosses a curved revenue line.
See how tan(x), 1/x and rational functions behave near their poles, with the curve broken where the function is undefined.
Animate a parameter with t to show how a phase shift, a frequency or a damping factor changes a curve.
Either the function has no real value there, as with the square root of a negative number or the logarithm of zero, or it has a vertical asymptote. At an asymptote the value jumps from very large to very large with the opposite sign between two neighbouring sample points, and joining them would draw a line that is not part of the graph. The note under the graph says how many of each it found.
Because it has none. The function does change sign at x = 0, which is what a simple root finder looks for, but it does so by jumping across a pole, not by passing through zero. Every candidate is checked by evaluating the function there, and a pole fails that check.
Numbers, x, t, the constants pi and e, the operators + - * / ^, brackets and a wide range of functions: sqrt, cbrt, nthRoot, abs, exp, log (natural), log10, log2, sin, cos, tan, sec, csc, cot and their inverses and hyperbolic forms, floor, ceil, round, sign, min, max, mod, gamma and factorial with x!. Implicit multiplication such as 2x and 3(x + 1) is understood.
In this notation a name followed directly by brackets is a function call, so x(x + 1) asks for a function called x. Write x*(x + 1) to multiply. The message under the function list says the same thing.
Roots are found by halving an interval that brackets a sign change until it cannot shrink further, which is accurate to the limits of double-precision arithmetic, and the printed f value shows how close to zero the function is there. Turning points are found the same way on the slope and are shown to nine decimal places.
With adaptive Simpson's rule. The interval is split wherever a finer estimate disagrees with a coarser one, so effort goes where the curve bends most, and the remaining disagreement is reported as the estimated error. If the function has no value somewhere in the interval, the tool says so instead of returning a number.
Yes. The functions, the window and the switches are stored in the page address, so the Share button gives a link that opens the same graph. PNG downloads an image of the graph as drawn.
Every calculation runs locally in your browser. Your numbers and expressions are not transmitted or stored.