math solver
Type a maths problem and get the answer with every step explained: linear and quadratic equations, systems of equations, derivatives, integrals, factoring, expanding and simplifying. Each answer is checked before you see it, and everything runs in your browser.
Enter solves · Shift+Enter for a new line · put systems on separate lines or separate them with commas
✓ checked: substituting each answer back into the equation makes both sides equal.
step-by-step working
Factor: find two numbers that multiply to 6 and add to −5. They are −2 and −3.
So the equation factors as:
(x − 2)(x − 3) = 0Set each factor equal to zero: x − 2 = 0 or x − 3 = 0.
x = 2 or x = 3
What it can solve
| Problem type | Example to type | How it's solved |
|---|---|---|
| Linear equation | 3(x + 2) = 2x − 1 | expand, collect terms, divide |
| Quadratic equation | x^2 − 5x + 6 = 0 | factoring, or the quadratic formula |
| Polynomial equation | x^3 − 6x^2 + 11x − 6 = 0 | rational root test, then the quadratic |
| Equations with roots, logs, trig | sqrt(x + 1) = 3, 2^x = 8, sin(x) = 1/2 | undo each operation in turn |
| System of equations | 2x + y = 5, x − y = 1 | elimination, then back-substitution |
| Derivative | d/dx x^2 e^x | power, product, quotient and chain rules |
| Integral | integrate x sin(x) | standard integrals, substitution, by parts |
| Factor | factor 6x^2 − 7x + 2 | common factor, patterns, AC method |
| Simplify | simplify (x^2 − 1)/(x − 1) | factor and cancel |
| Expand | expand (x + 2)(x − 3) | FOIL and collect like terms |
Worked examples
2x + 3 = 11
✓ checked: substituting the answer back into the equation makes both sides equal.
step-by-step working
Subtract 3 from both sides.
2x = 8Divide both sides by 2.
x = 4
d/dx (x²·sin(x))
✓ checked: the answer matches the slope of the original function at several sample points (numerical differentiation).
step-by-step working
Product rule: (u·v)′ = u′·v + u·v′, with u = x² and v = sin(x).
d/dx (x²·sin(x)) = x²·cos(x) + 2x·sin(x)Power rule: d/dx xⁿ = n·xⁿ⁻¹.
d/dx x² = 2xStandard derivative: d/dx sin(u) = cos(u).
d/dx sin(x) = cos(x)
How it works (and why there's no AI)
This is a small computer algebra system written for this site. It reads your problem into an expression tree, applies the same rules you would use on paper — collect like terms, the quadratic formula, the chain rule, integration by parts — and writes down each rule as it goes. The answer is exact wherever possible: fractions stay as fractions and square roots stay as roots, with a decimal shown alongside.
There is no AI model guessing the answer, and nothing is sent to a server. Before an answer is shown it is checked: roots are substituted back into the equation, derivatives are compared with the slope of the original function, and integrals are differentiated to make sure they give back what you started with. If a check fails you'll see a warning instead of a confident wrong answer.
A few harder integrals and factorisations are handed to a larger algebra library that loads only when needed. Those answers are still checked, but come without steps, and the page says so.
How to type maths
| You want | Type | Or use the key |
|---|---|---|
| x² | x^2 | x² |
| √x | sqrt(x) | √ |
| ½ | 1/2 | a/b |
| 2·x | 2x or 2*x | |
| π | pi | π |
| eˣ | e^x | |
| sin² x | sin(x)^2 or sin^2 x | |
| natural log | ln(x) | ln |
| log base 10 | log(x) | log |
| |x| | abs(x) |
Mode detection
You usually don't need to choose a mode. Anything with an = sign is solved; two or more equations separated by commas or new lines are treated as a system; words like derivative, d/dx, integrate, factor, simplify and expand pick that mode; and a plain number expression is evaluated. If the guess is wrong, pick a mode from the row of buttons and it will be used instead.
Common mistakes
- Writing 1/2x when you mean 1/(2x). Like most calculators, 1/2x is read as (1/2)·x. Add brackets to be sure.
- Typing -x^2 and expecting (−x)². Powers come before the minus sign, so -x^2 means −(x²).
- Using log for the natural logarithm. Here log means base 10 and ln means base e.
Solved equations
Common derivatives, worked out
Common integrals, worked out
Frequently asked questions
Is the math solver really free?
Yes. There's no sign-up, no limit on problems and no paid tier for the steps. The page shows ads to cover running costs, and the solving happens on your own device.
Does it use AI?
No. It's a rule-based computer algebra system, so the same problem always gives the same steps, and every answer is checked by substituting or differentiating before it is shown.
Can it read a photo of my homework?
It can read a clear photo or screenshot of typed or printed maths and put it in the box for you to check. Handwriting is usually not recognised well, and symbols like powers and fractions often need fixing by hand.
Why do I get a decimal answer sometimes?
Exact answers are shown whenever possible (like 1 + √2). When an equation can't be rearranged with algebra, or a cubic has no rational roots, the solver finds the roots numerically and labels them as approximate.
What can't it do yet?
Inequalities, matrices, limits, differential equations and word problems aren't supported, and some integrals have no answer in ordinary functions at all (for example e^(x²)). You'll get a clear message rather than a wrong answer.