What Are Equations and How Do You Solve Them?
An equation is a statement that two expressions are equal, and solving it means finding the value(s) of the unknown that make that statement true. For example, in x + 3 = 7, the solution is x = 4 because substituting 4 back gives 4 + 3 = 7. The method you use depends on the type of equation: linear equations need isolation of the variable, quadratics often need factoring or the quadratic formula, and systems need substitution or elimination. You can solve all of these by hand, or use a step-by-step solver like MathDF to check each transformation.
The core idea: a balance you must keep
An equation has two sides separated by "=". Whatever you do to one side, you must do to the other, or the equality breaks. This single rule generates every algebraic solving technique:
- Add or subtract the same quantity on both sides (used to move terms).
- Multiply or divide both sides by the same non-zero quantity (used to clear fractions or coefficients).
- Apply a function to both sides (squaring, taking roots) — but this can introduce extra solutions, so always verify.
The goal is to isolate the unknown on one side, ending with something like x = value.
Common types of equations and how to solve them
Linear equations (first degree)
Form: ax + b = 0, where a ≠ 0.
Steps:
- Expand any brackets and combine like terms on each side.
- Move all variable terms to one side and constants to the other.
- Divide by the coefficient of the variable.
Example: 3(x − 2) = 9 → 3x − 6 = 9 → 3x = 15 → x = 5.
Quadratic equations (second degree)
Form: ax² + bx + c = 0, where a ≠ 0.
Three standard routes:
- Factoring when the expression splits neatly: x² − 5x + 6 = 0 → (x − 2)(x − 3) = 0 → x = 2 or x = 3.
- Quadratic formula: x = (−b ± √(b² − 4ac)) / 2a. Works for every quadratic.
- Completing the square, useful when you also need the vertex form.
The discriminant b² − 4ac tells you what to expect: positive → two real roots, zero → one repeated root, negative → no real roots (two complex ones).
Systems of equations
Two or more equations that must hold at the same time. For example:
x + y = 5 x − y = 1
- Substitution: solve one equation for a variable, plug it into the other.
- Elimination: add or subtract equations to cancel a variable. Here, adding gives 2x = 6 → x = 3, then y = 2.
A system can have one solution, no solution (parallel lines), or infinitely many (the same line written twice).
Inequalities and differential equations — related but different
An inequality (like 2x + 1 > 7) uses <, >, ≤, ≥ instead of "=". The solving steps are similar, but multiplying or dividing by a negative number flips the inequality sign.
A differential equation contains derivatives of an unknown function rather than just the variable itself. These are a separate class with their own methods and are not solved by simple algebraic rearrangement.
Solving with an online step-by-step tool
MathDF's solver accepts equations, inequalities, systems, derivatives, integrals, limits, and matrices in one input field. According to the site, it works like this:
- Enter the problem — type it, build it with the math keyboard, photograph or draw it, or describe it in words.
- Get an instant answer — every change to the input is analyzed in your browser; if it contains a math expression, the built-in calculator solves it immediately under the field, before anything is sent to the AI. Results such as roots and simplified forms appear as you type, and you can tap a result to insert it back into the input.
- Open the step-by-step solution — if the problem can be solved step by step, a link button lights up and opens the matching calculator with your expression already loaded, with no AI involved.
- Use photo or handwriting recognition — point the camera at a problem or draw it by hand; recognition converts it to an expression in the input, where you can fix a symbol before solving.
- Ask the AI chat — text and images go to the assistant for explanations, word problems, proofs, or checking your own solution. There are two assistant modes (a math-oriented one and a general-purpose one); the mode button only changes the system prompt, and you can switch at any time.
The site's own examples show the instant-answer behavior: x² − 5x + 6 = 0 returns x₁ = 2, x₂ = 3, and the system x + y = 5, x − y = 1 returns x = 3, y = 2.
This is most useful when you already have a method in mind and want to verify each transformation, or when you want to see the intermediate steps for a problem type you're learning.
Always verify your solution
Substitution is the check that catches most mistakes:
- Take each value you found.
- Put it back into the original equation (not a rearranged version).
- Confirm both sides are equal.
For the system above: 3 + 2 = 5 ✓ and 3 − 2 = 1 ✓.
Watch for these cases:
- No solution — you reach a contradiction like 0 = 5.
- Infinitely many solutions — you reach an identity like 0 = 0, meaning any value works.
- Extraneous roots — if you squared both sides or cleared a denominator, test every candidate; some may not satisfy the original equation.
- Division by zero — exclude any value that makes a denominator zero, even if it appears in your result.
Quick reference
| Equation type | Typical form | Main method |
|---|---|---|
| Linear | ax + b = 0 | Isolate the variable |
| Quadratic | ax² + bx + c = 0 | Factor, formula, or complete the square |
| System | Two or more equations | Substitution or elimination |
| Inequality | 2x + 1 > 7 | Same as linear, flip sign on negative multiply/divide |
| Differential | Contains derivatives | Separate methods (not algebraic rearrangement) |
Pick the method by the highest power of the unknown and the number of equations. Solve by hand for understanding, then use a step-by-step solver to confirm each step and catch sign errors before they compound.