Algebraic Equations: Step-by-Step Solution
· Updated
Solving an equation means finding every value of the variable that makes the equality true. Here is a step-by-step guide to linear and quadratic equations and to equations with the variable in a denominator, with practice problems and answers at the end.
The Main Rule
An equation works like a balance: do the same thing to both sides, such as adding or subtracting a number, or multiplying or dividing by the same nonzero number, and the equality still holds. Every step below rests on this. For what variables and expressions are, see Algebra for Students: Complex Concepts Made Simple.
Linear Equations
Example: 3(x + 4) = 18.
- Remove the parentheses: 3x + 12 = 18.
- Gather the numbers on one side by subtracting 12 from both sides: 3x = 6.
- Divide both sides by the coefficient of x: x = 2.
- Check: 3 · (2 + 4) = 3 · 6 = 18, correct.
When a is not zero, the linear equation ax + b = 0 always has exactly one solution: x = −b/a.
Quadratic Equations
Example: x² − 5x + 6 = 0. There are two ways to solve it.
- By factoring. For x² + bx + c, look for a pair of numbers with sum b and product c. Here they are −2 and −3: the sum is −5 and the product is 6. So (x − 2)(x − 3) = 0. A product is zero when one of its factors is zero, so x = 2 or x = 3.
- With the discriminant. For ax² + bx + c = 0, compute D = b² − 4ac. If D > 0, there are two roots, x = (−b ± √D) / 2a; if D = 0, there is one; if D < 0, there are no real roots. In the example, D = 25 − 24 = 1 and x = (5 ± 1) / 2, so 3 and 2.
A Variable in the Denominator: The Domain
First find the domain, the values of the variable for which the expression makes sense. Division by zero is undefined, so the denominator must not equal zero.
Example: 2/x + 3 = 5. Domain: x ≠ 0. Subtract 3: 2/x = 2. Multiply both sides by x: 2 = 2x, so x = 1. The root lies in the domain; check: 2/1 + 3 = 5, correct.
If a root falls outside the domain, throw it out. For example, in (x² − 4)/(x − 2) = 0 the numerator is zero at x = 2 and x = −2, but x = 2 also makes the denominator zero. The only answer is x = −2.
Practice Problems
- 5x − 7 = 18. Answer: x = 5.
- 2(x − 3) = x + 4. Answer: x = 10.
- x² − 7x + 10 = 0. Answer: x = 2 or x = 5.
- x² + 4x + 5 = 0. Answer: no real roots (D = −4).
- 6/(x + 1) = 2. Domain: x ≠ −1. Answer: x = 2.
For how to prepare for a test or exam, see How to Prepare for an Algebra Exam: Useful Tips.
How to Get Started
In our algebra course, the teacher helps students understand school topics and fill gaps, teaches them to spot patterns, weigh different ways to solve a problem and explain their reasoning, and prepares them for tests and exams. Lessons are open to students from age 13. A trial lesson costs $8.00: it is individual and lasts 45 minutes. More about the course is on the Algebra page.