Linear equations: solving step by step
A linear equation states that two linear expressions have the same value. Solving it means finding every value of the unknown that makes the statement true.
For example, the equation
has solution , because substituting makes both sides equal to .
Linear equations occur throughout A-level Mathematics. They appear directly, but they also form individual steps inside coordinate geometry, trigonometry, calculus, statistics and mechanics. The essential habit is to preserve equality while simplifying the equation.
Prerequisites
Section titled “Prerequisites”You should already be able to:
- calculate accurately with negative numbers and fractions;
- collect like terms;
- expand a single bracket;
- substitute a value into an expression.
Review exact arithmetic or algebraic manipulation and factorisation if these steps are not yet secure.
Expressions, equations and solutions
Section titled “Expressions, equations and solutions”An expression such as has no equals sign. It can be simplified or evaluated, but it cannot be solved by itself.
An equation such as
asserts equality. A solution is a value that makes this assertion true. Here is a solution because
The letter does not have to be . Solving for uses exactly the same reasoning.
The balance principle
Section titled “The balance principle”Think of the equals sign as a balance. If two quantities are equal, applying the same valid operation to both preserves equality:
and, for ,
This explains the familiar instruction to “do the same to both sides”. Terms do not literally jump across the equals sign. What is often called moving a term is shorthand for adding or subtracting that term on both sides.
For instance,
Writing every elementary line is not always necessary, but the operation must remain logically valid.
One step and two step equations
Section titled “One step and two step equations”To isolate the unknown, undo operations in reverse order.
Worked example 1: a positive coefficient
Section titled “Worked example 1: a positive coefficient”Solve .
The expression means multiply by , then subtract . Undo subtraction first:
Check:
Worked example 2: a negative coefficient
Section titled “Worked example 2: a negative coefficient”Solve .
Dividing by gives . A negative solution is not evidence of an error.
Misconception: divide only one term
Section titled “Misconception: divide only one term”From , first obtain , then divide both sides by .
Do not divide only in the original equation. If you choose to divide the original equation by , every term must be divided:
Self-check 1
Section titled “Self-check 1”Solve:
- ;
- ;
- .
Answers
- , so .
- , so .
- , so .
Unknowns on both sides
Section titled “Unknowns on both sides”Collect the unknown terms on one side and constants on the other. Either side is valid, but choosing the side that leaves a positive coefficient often makes the arithmetic easier.
Worked example 3
Section titled “Worked example 3”Solve .
Subtract from both sides:
Checking in the original equation gives
Worked example 4: decimals and a negative solution
Section titled “Worked example 4: decimals and a negative solution”Solve .
Decimals are permitted, but exact fractions are often safer when values recur or do not terminate.
Equations containing brackets
Section titled “Equations containing brackets”Expand every bracket carefully, then collect like terms before isolating the unknown.
Worked example 5: one bracket
Section titled “Worked example 5: one bracket”Solve .
The multiplier applies to both terms inside the bracket.
Worked example 6: brackets on both sides
Section titled “Worked example 6: brackets on both sides”Solve .
First expand and simplify each side:
Now collect the terms:
Keep the exact fraction unless a decimal is requested.
Misconception: a minus before a bracket changes one sign
Section titled “Misconception: a minus before a bracket changes one sign”In
the bracket is multiplied by , so both signs change:
It is not .
Self-check 2
Section titled “Self-check 2”Solve:
- ;
- ;
- .
Answers
- , so and .
- , so and .
- , so and .
Equations containing fractions
Section titled “Equations containing fractions”Fractions can be handled in two reliable ways:
- isolate a single fraction, then multiply by its denominator;
- multiply every term by the lowest common multiple of all denominators.
The second method clears several fractions at once.
Worked example 7: one algebraic fraction
Section titled “Worked example 7: one algebraic fraction”Solve
Multiply both sides by :
The fraction bar groups the entire numerator .
Worked example 8: clear two denominators
Section titled “Worked example 8: clear two denominators”Solve
The lowest common multiple of and is . Multiply every term by :
Check without converting to a rounded decimal:
Worked example 9: an unknown denominator is different
Section titled “Worked example 9: an unknown denominator is different”The equation
is not linear because the unknown is in a denominator. However, it can still be solved here by noting and multiplying by :
Do not assume that every equation which eventually becomes was linear in its original form. Equations with variable denominators require attention to excluded values. See algebraic fractions for the full method.
Self-check 3
Section titled “Self-check 3”Solve:
- ;
- ;
- .
Answers
- , so .
- Multiply by : . Hence and .
- Multiply by : . Hence , so .
One solution, no solution or infinitely many solutions
Section titled “One solution, no solution or infinitely many solutions”Most linear equations in one unknown have one solution, but cancellation can reveal two special cases.
Worked example 10: no solution
Section titled “Worked example 10: no solution”Solve .
Expanding gives
Subtracting from both sides leaves
which is false. No value of can make the original equation true, so there is no solution.
Worked example 11: infinitely many solutions
Section titled “Worked example 11: infinitely many solutions”Solve .
Expanding gives
which is true for every real . The two sides are equivalent expressions, so there are infinitely many solutions.
Do not divide by the coefficient of after it has cancelled to zero. Statements such as and must be interpreted, not divided by zero.
| Final statement | Meaning | Solution set |
|---|---|---|
| , where | one value works | |
| , where | contradiction | no solution |
| identity | every real value |
Forming a linear equation
Section titled “Forming a linear equation”In a worded problem, define the unknown, translate each relationship, solve, then interpret the result in context.
Worked example 12: consecutive integers
Section titled “Worked example 12: consecutive integers”Three consecutive integers have sum . Find them.
Let the first integer be . The next two are and .
The integers are
Their sum is , so the answer satisfies the context.
Worked example 13: perimeter
Section titled “Worked example 13: perimeter”A rectangle has length cm and width cm. Its perimeter is cm. Find its dimensions.
Use :
Therefore the length is cm and the width is cm. The perimeter check is cm.
Worked example 14: modelling a charge
Section titled “Worked example 14: modelling a charge”A taxi fare is a fixed charge of £3.80 plus £1.60 per mile. A journey costs £15.80. Find the distance travelled.
Let the distance be miles:
The journey was . The units belong in the final answer.
Checking and diagnosing an answer
Section titled “Checking and diagnosing an answer”Substitute your proposed solution into the original equation. Simplifying the original left and right sides independently is stronger than checking only your rearranged final line.
For and proposed solution :
Since both sides agree, is correct.
A check can also expose the type of error:
- one side differs only by a sign, so inspect negative coefficients and brackets;
- one side differs by a constant factor, so inspect multiplication or division of every term;
- a decimal answer is close but not exact, so repeat the work with fractions;
- the algebra ends in a false constant statement, so the equation may genuinely have no solution.
Mixed self-check
Section titled “Mixed self-check”- Solve .
- Solve .
- Solve .
- Classify the solutions of .
- Classify the solutions of .
- The angles of a triangle are , and . Find all three angles.
Answers
- , so .
- , so and .
- Multiply by : . Thus , so .
- Both sides simplify to , so every real is a solution.
- Simplification gives , so there is no solution.
- Since angles in a triangle sum to , Hence , so . The angles are , and .
What to learn next
Section titled “What to learn next”Linear equations provide the algebraic engine for several connected topics:
- rearranging formulae generalises the same balance principle when several letters are present;
- simultaneous equations finds values satisfying two equations together;
- inequalities replaces equality with an order relation and introduces one crucial sign rule;
- straight-line graphs interprets linear relationships geometrically;
- quadratic equations develops methods for equations containing .