What is an equation?
An equation is a math statement that two expressions are equal, joined by an equals sign. It usually contains an unknown value, called x, and the goal is to find the number that makes both sides balance.
This page handles the two most common types: linear equations (ax + b = c), which have exactly one solution, and quadratic equations (ax² + bx + c = 0), which can have two, one, or no real solutions.
How to use this equation solver
- Pick the type with the dropdown: Linear (ax + b = c) or Quadratic (ax² + bx + c = 0).
- Type the coefficients a, b and c into the three boxes. For 2x + 6 = 14 enter a = 2, b = 6, c = 14.
- Press Solve equation.
- Read the Solution box. For quadratic equations a Discriminant (Δ) box also appears, showing how many solutions exist.
The formulas behind the answers
A linear equation is solved by undoing the operations around x: move the constant across, then divide by the coefficient. A quadratic uses the quadratic formula, where the discriminant Δ = b² − 4ac reveals how many real answers exist.
ax + b = c → x = (c − b) / a ax² + bx + c = 0 → x = (−b ± √(b² − 4ac)) / 2aExample 1: solving 2x + 6 = 14
Subtract 6 from both sides: 2x = 14 − 6 = 8. Divide both sides by 2: x = 8 ÷ 2 = 4. Check: 2 × 4 + 6 = 8 + 6 = 14, which matches the right side.
x = 4
Example 2: solving x² − 5x + 6 = 0
Here a = 1, b = −5 and c = 6. The discriminant is Δ = b² − 4ac = 25 − 24 = 1. Positive discriminant means two solutions.
Apply the formula: x = (5 ± 1) / 2, giving x = 6/2 = 3 and x = 4/2 = 2. Check the first: 3² − 5 × 3 + 6 = 9 − 15 + 6 = 0.
x = 3 or x = 2
Common mistakes to avoid
The most common error is forgetting to flip the sign when moving a term across the equals sign: +6 becomes −6. Check the signs of b and c carefully too — the quadratic formula is sensitive to them.
Another slip is dividing only part of a side: in 2x = 8, both the 2x and the 8 get divided by 2. Always finish by substituting the answer back into the original equation.