Solving Linear Equations
Progress can't be saved in this browser, so this lesson's status can't be set.
Learning goals
- Confirm a solution by substituting it into the original equation
- Apply the properties of equality to write an equivalent equation
- Undo the operations around the variable in reverse order with inverse moves
- Distribute and combine like terms before isolating the variable
- Collect the variable on one side when it appears on both
What a linear equation is
An equation is a statement that two expressions are equal, written with an equals sign between them, such as . A solution of an equation is a value of the variable that makes that statement true. Test a candidate by substitution: replace the variable with the value and check whether the two sides are equal.
Is a solution of ? Substitute and compute the left side:
The left side equals , the same as the right, so is a solution. The value is not, because , which is not . Solving an equation means finding every value that passes this test.
A linear equation in one variable uses sums and differences of constants and constant multiples of the variable. Parentheses can group those terms, including groups inside other groups, and a constant can multiply a group. The variable appears only to the first power, never under a root or in a denominator. Expand the parentheses, combine like terms, and add or subtract the same terms on both sides to write the equation in standard form
where , , and are fixed numbers. For example, has , , and . Equations such as , , and are not linear equations. The next lesson shows how some equations with variable denominators reduce to linear equations on their original allowed inputs.
When the collected variable coefficient is nonzero, the equation has exactly one solution, as we will show below. These are the equations we solve in this lesson. Sometimes the variable terms cancel, leaving a coefficient of zero. The next lesson handles those cases, which have no solution or infinitely many.
Keeping the balance: the properties of equality
Subtracting from each side of keeps the balance level. Adding back to each side gives the original equation again. Because we can undo the move, we neither lose a solution nor gain a new one.
The properties of equality give four such moves. If , then:
- Addition: , for any number .
- Subtraction: , for any number .
- Multiplication: , with nonzero to keep exactly the same solutions.
- Division: , with nonzero.
Two equations with exactly the same solutions are equivalent equations. Solving means finding a chain of equivalent equations that ends with the variable alone.
Why the same move on both sides keeps the same solutions#
For , subtracting gives . Adding reverses the step. Any value that works in either equation therefore works in the other.
The same reasoning works for any equation. Call its sides and . At a solution, they have the same value. Adding a number gives that value plus on each side, so the solution still works in . Subtracting returns , so a solution of the new equation must also solve the original. No solutions are lost or gained. Subtraction works the same way, and adding undoes it.
Multiplying by a nonzero number is undone by dividing, and dividing is undone by multiplying. So these moves also keep exactly the same solutions. Multiplying by zero instead gives , which is true even at . That step gained solutions, and it cannot be undone. Division by zero is undefined.
We can also add or subtract the same variable expression on both sides, provided it is defined at every input allowed by the original equation. The expression meets that condition. At each candidate value of , it has the same value on each side, and the move can be undone. That is why we can collect variable terms before we know .
Isolating the variable
To isolate a variable means to leave it alone on one side. For a two-step expression such as , first is multiplied by , then is added. Undo the operations in reverse order: subtract , then divide by . These are inverse operations, operations that undo one another. Addition and subtraction form a pair; multiplication and division by a nonzero number form another.
Why has the single solution #
For , subtract from both sides to get , then divide by to get . Check: . Multiplying by and adding reverses the two steps. The same two solving steps work for any other numbers, as long as the number we divide by is not zero.
Take any linear equation in one variable, gathered into the standard form , where , , and are numbers and . Two moves isolate , each one an application of the properties of equality.
First subtract from both sides to strip away the constant:
Then divide both sides by , which is legal precisely because :
Every step is reversible, so the original has exactly the same solution as this last equation.
Worked example 1 Solve
Two things happen to the variable: it is multiplied by , then is added. Undo them in reverse order. First subtract from both sides to peel off the constant:
Then divide both sides by , the coefficient of :
Check the answer in the original equation, not in a later line that may already contain a mistake:
The left side equals , matching the right, so is correct.
Check your understanding
Solve , then check your value in the original equation.
Undo the operations in reverse: subtract from both sides, then divide by .
Checking in the original, , so .
Clearing parentheses and combining like terms
When an equation has parentheses or like terms, simplify each side first, and you often get a two-step equation. Use distribution and combining like terms from the Language of Algebra chapter. These moves replace an expression with an equal one; they do not change the equation’s solutions. Then use the properties of equality to isolate the variable.
Worked example 2 Solve
The left side has parentheses and two terms, so tidy it before isolating anything. Distribute the across the parentheses:
Combine the like terms and :
The equation is now the two-step . Subtract , then divide by :
Substituting back into the original, , which matches.
Variables on both sides
So far the variable has been on only one side. When it appears on both, as in , you cannot isolate it until it is on a single side. We use the subtraction property to move it. Compare the coefficients of the two variable terms, and , and subtract the term with the smaller coefficient, , from both sides. On the right, , so the variable leaves that side entirely; on the left, :
What remains is a two-step equation. Subtracting leaves a positive coefficient, , which can make the signs easier to track. Subtracting instead is also legal; it leaves a negative coefficient on the right. Either route works if you apply each move to both sides.
Worked example 3 Solve
The variable sits on both sides, so first collect it on one. The term with the smaller coefficient is , so subtract from both sides. That removes the term on the right, and the left becomes :
Now it is an ordinary two-step equation. Add , then divide by :
Check in the original, evaluating each side on its own. The left is and the right is . The two sides agree, so .
Check your understanding
Solve .
Subtract the term with the smaller coefficient, , from both sides, then finish the two-step equation.
Both sides of the original equal at , since and
Putting the steps together
For the equations in this lesson, work in this order.
- Clear parentheses by distributing across each one.
- Combine like terms on each side separately.
- Collect the variable on one side and the constants on the other, using the addition and subtraction properties.
- Divide by the nonzero coefficient of the variable to leave it alone.
- Check by substituting the answer into the original equation.
Worked example 4 Solve
Both sides carry parentheses, so clear them first:
Collect the variable on the left by subtracting the term with the smaller coefficient, , from both sides:
Add , then divide by :
Check: the left is and the right is , so the solution is .
Worked example 5 Solve
A fractional coefficient is handled the same way; the inverse of multiplying by is multiplying by its reciprocal . First subtract from both sides:
Now multiply both sides by to undo the :
Check in the original: . Multiplying by the reciprocal turns a fractional coefficient into , which is why it isolates in a single step.
Check your understanding
Solve .
Distribute on each side, then gather the variable on the side where its coefficient is larger.
Checking, and , so .