Solving Linear Equations
A linear equation is a mathematical statement that two expressions are equal — and your job is to find the value of the unknown variable that makes it true. Master this skill and you can solve a huge range of real-world problems.
In this lesson
1 What Is a Linear Equation?
A linear equation is an equation where the variable (usually x) appears only to the first power — no x², no √x, just plain x. When you graph a linear equation, it produces a straight line, which is where the name comes from.
Examples of linear equations: x + 5 = 12, 3x − 4 = 11, 2x + 3 = x − 7. Examples of non-linear equations (not covered here): x² + 3 = 7, √x = 4.
Solving an equation means finding the value of the variable that makes the equation true. If x + 5 = 12, then x = 7 is the solution because 7 + 5 = 12 is a true statement. Any other value of x makes the equation false.
2 The Golden Rule of Equation Solving
There is one rule that governs all equation solving, and it is simple: whatever you do to one side of the equation, you must do exactly the same thing to the other side.
Think of an equation as a perfectly balanced scale. The equals sign is the pivot point. If you add weight to one side, you must add the same weight to the other side to keep it balanced. If you multiply one side by 3, you must multiply the other by 3 too.
The goal of solving is to isolate the variable — to get x alone on one side. You do this by performing inverse (opposite) operations to "undo" whatever is being done to x, while keeping the equation balanced.
Addition undoes subtraction (and vice versa). Multiplication undoes division (and vice versa). If x has 5 added to it, subtract 5 from both sides to undo it. If x is multiplied by 3, divide both sides by 3.
3 Solving One-Step, Two-Step, and Multi-Step Equations
777444 Variables on Both Sides
When x appears on both sides of the equation, your first move is to collect all x terms on one side by adding or subtracting.
4It doesn't matter which side you collect terms on — you can move x to the right instead. The answer will be the same. Choose whichever side gives you a positive coefficient on x, as this tends to prevent sign errors.
5 Common Mistakes
The most common error: subtracting from one side but not the other. Every operation must be applied to the entire expression on each side, not just one term.
Writing 3x − 5 = 16 and then 'moving the 5 to the other side' and writing 3x = 16 − 5. Watch the sign: adding 5 to both sides gives 3x = 16 + 5 = 21. The 5 becomes positive when moved.
Always substitute your solution back into the original equation to verify it works. This catches sign errors and arithmetic mistakes instantly.
In 3x = 21, divide by the coefficient of x (which is 3), not by any other number. The coefficient is whatever number is directly in front of x.
Try the Slope Calculator
Linear equations produce straight lines. Use the slope calculator to find the slope and equation of any line from two points.
Practice Problems
📚 Further Reading & Resources
Ready to go deeper? These are the best free resources for exploring this topic further.