Solve linear, quadratic, cubic and polynomial equations up to degree 12, and systems of up to six linear equations, with exact fractions and every answer checked.
Initializing in your browser…
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.
A scientific calculator with exact fractions and decimals, degrees or radians, 34 functions and a desk-calculator mode. Rounded answers are labelled as rounded.
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 ball is thrown upwards at 20 m/s from a height of 1.5 m. Its height after t seconds is -4.9t² + 20t + 1.5, and you want to know when it hits the ground.
Quadratic
a = -4.9, b = 20, c = 1.5 -4.9x^2 + 20x + 1.5 = 0
Solution
x₁ ≈ -0.0736703080012, x₂ ≈ 4.15530296106 b² - 4ac = 2147/5 = 429.4 The parabola turns at (2.040816327, 21.90816327), its highest point.
The discriminant is positive, so there are two real roots. The negative one is before the throw and has no physical meaning; the ball lands after about 4.16 seconds. The vertex gives the top of the flight: 21.9 metres, reached after 2.04 seconds, which is -b/2a = 20/9.8. Both roots are irrational, so they are shown with ≈ and checked by substituting them back into the equation.
Solve linear, quadratic and cubic equations, polynomials up to degree 12, and systems of up to six linear equations. Coefficients can be fractions or decimals, exact answers are given as exact fractions, and every answer is checked by substituting it back.
Pick the kind of equation and type the coefficients. A quadratic such as x^2 - 5x + 6 = 0 takes three numbers, a, b and c. A polynomial of any degree takes its coefficients from the highest power down, so 1, 0, -5, 0, 4 means x^4 - 5x^2 + 4 = 0. A system takes one line per equation, with the coefficients followed by the right-hand side, so 2, 3, 8 means 2x + 3y = 8. Whole numbers, decimals and fractions such as 3/4 are accepted everywhere, mixed numbers such as 1 1/2 in the separate coefficient boxes, and the equation is written back in normal notation so you can see it was read correctly.
Exact where the answer is exact. Coefficients are held as exact fractions rather than rounded decimals. Any rational root of a polynomial is found by the rational root theorem and shown exactly, with an equals sign: 1/2x^2 - 3/4x + 1/4 = 0 gives x = 1/2 and x = 1, and a cubic with integer roots gives 1, 2 and 3 rather than 2.9999999999999996. Roots that are irrational or complex are computed numerically, marked with ≈ and shown to 12 significant figures. Systems of linear equations are solved entirely in fractions, so the answer to 0.001x + 0.002y = 0.003, 0.004x + 0.001y = 0.002 is exactly x = 1/7, y = 10/7.
Quadratics in detail. The discriminant b^2 - 4ac is computed exactly and tells you whether there are two real roots, one repeated root or a pair of complex roots; because it is exact, a repeated root such as that of x^2 - 1.4x + 0.49 is recognised as one. The small root is computed in a form that avoids subtracting two almost equal numbers, which keeps it accurate even when b is huge next to a and c. The vertex of the parabola is shown too, which is the maximum or minimum of the quadratic.
Systems with no solution or infinitely many. If the equations contradict each other the tool says there is no solution. If they leave some unknowns free, it names the free variables and writes the general solution, for example x = 4 - 2y - 3z with y and z free, together with one particular solution. The determinant, the rank and every step of the elimination are available, which is useful for checking homework done by Gaussian elimination.
Every answer is checked. Each root is substituted back into the equation and the result is printed beside it, with a tick when it is as close to zero as the arithmetic allows. For polynomials the roots are also added and multiplied and compared with Vieta's formulas, and for systems the solution is substituted into every equation, which must give exactly zero. Everything runs in your browser, and Share gives a link to the same equation.
Adult tickets cost 12 and child tickets 7. 50 tickets brought in 480. Entering 1, 1, 50 and 12, 7, 480 as a system gives x = 26 adults and y = 24 children, with a determinant of -5.
1, 0, -5, 0, 4 is x^4 - 5x^2 + 4 = 0, whose roots are -2, -1, 1 and 2, all found exactly.
x + y + z = 6 and y + z = 5 give x = 1 and y = 5 - z, with z free: infinitely many solutions.
Solve a quadratic or a system and compare the exact fractions and the elimination steps with your own working.
Turn ticket sales, mixtures or projectile heights into equations and get the numbers out, with a check that they satisfy every equation.
Find the real roots of a characteristic polynomial or the time at which a body reaches the ground.
Confirm whether a repeated root is really repeated or whether a system really has no solution, without rounding getting in the way.
It marks a decimal approximation. Roots that are rational numbers are found exactly and shown with an equals sign, often as a fraction. Irrational roots, such as the square root of 2, cannot be written exactly as a decimal, so they are shown to 12 significant figures.
Choose Quadratic and enter a = 1, b = -5 and c = 6. The equation is written back under the boxes so you can confirm it. The roots are x = 2 and x = 3.
Yes. A quadratic with a negative discriminant shows its pair of complex roots, and the Any degree and Cubic modes list every complex root alongside the real ones.
The tool says so. With no solution, elimination leaves an impossible equation such as 0 = 1. With infinitely many, it names the free variables and writes the other unknowns in terms of them, then gives one particular solution with the free variables set to zero.
Exponent notation is easy to misread, so coefficients are written out in full: 1000 instead of 1e3. Fractions, decimals, mixed numbers and percentages are all accepted.
Exact roots and system solutions have no rounding at all. Numerical roots are accurate to about the 12 significant figures shown. Each one is substituted back into the equation and the leftover value is printed, so you can see the size of the error yourself.
Polynomials up to degree 12 and systems of up to six equations in up to six unknowns.
Every calculation runs locally in your browser. Your numbers and expressions are not transmitted or stored.