How to Solve Linear Equations
A linear equation asks for every value that makes two first-degree expressions equal. Solving preserves that equality while isolating the variable.
Set up the problem before choosing a step
Be comfortable with signed-number arithmetic, the distributive property, and combining like terms. Continue through the Algebra I course when you need the complete sequence.
A decision sequence for linear equations
- Expand parentheses and combine like terms on each side without crossing the equals sign.
- Move variable terms to one side and constants to the other using the same operation on both sides.
- Divide by the remaining coefficient, then state whether the result is one solution, no solution, or every real number.
Follow the decisions through one complete case
In $3x-5=16$, adding $5$ removes the constant attached to the variable side. Dividing $21$ by $3$ then reverses multiplication and produces $x=7$.
- Step 1 - Write the equation: $4(x+3)-2x=3x-5$
- Step 2 - Distribute the 4 across the parentheses: $4x+12-2x=3x-5$
- Step 3 - Combine the like terms on the left: $2x+12=3x-5$
- Step 4 - Subtract $2x$ from both sides: $12=x-5$
- Step 5 - Add 5 to both sides: $17=x$
- Step 6 - Check the left side with $x=17$: $4(17+3)-2(17)=80-34=46$
- Step 7 - Check the right side with $x=17$: $3(17)-5=51-5=46$, and $46=46$, so $x=17$ is correct
Try the same method with the surface details changed
Solve $5(2x-1)=3x+16$, then explain which operation preserves equivalence at every line.
Show the worked answer after attempting it
Distribute on the left: $5(2x-1)=10x-5$, so the equation is $10x-5=3x+16$. Subtract $3x$ from both sides: $7x-5=16$. Add 5 to both sides: $7x=21$. Divide both sides by 7: $x=3$. Check in the original equation: $5(2\cdot3-1)=5(5)=25$ and $3(3)+16=25$, so both sides agree. Each line kept the same solution for a specific reason. Distributing rewrites one side without changing its value. Adding or subtracting the same expression on both sides keeps the balance.
Dividing both sides by 7 is safe because 7 is not zero.
Verify the result and diagnose the first error
A result is useful only when it survives the original conditions and a second line of reasoning. Check the completed work before studying the error pattern below.
Check linear equations by a second route
Substitute $7$ into the untouched equation: $3(7)-5=21-5=16$. Because both sides match, the value belongs to the solution set.
Reference and notation for linear equations
The three things a linear equation can do
| Equation | What it becomes | How many solutions | Why |
|---|---|---|---|
| 3x - 5 = 16 | 3x = 21, so x = 7 | Exactly one | The two sides describe lines that cross at one point. |
| 2x + 4 = 2x + 9 | 4 = 9 | None | Both variable terms cancel and a false sentence is left, so no number works. |
| 5(x - 2) = 5x - 10 | 5x - 10 = 5x - 10 | Every real number | The sides are the same expression, so any input makes it true. |
| x / 4 = 3 | x = 12 | Exactly one | Multiplying both sides by 4 undoes the division by 4. |
| -2x = 8 | x = -4 | Exactly one | Dividing both sides by a negative number flips the sign of the answer. |
Language you need to use precisely
- Linear equation
- A linear equation is an equation in which the variable appears only to the first power, so its graph is a straight line.
- Coefficient
- A coefficient is the number multiplied by a variable, such as the 3 in $3x$.
- Like terms
- Like terms are terms with exactly the same variable part, such as $5x$ and $-2x$, so they can be combined into one term.
- Inverse operation
- An inverse operation is the operation that undoes another one, so subtraction undoes addition and division undoes multiplication.
- Identity
- An identity is an equation that stays true no matter what number you substitute, such as $5(x-2)=5x-10$.
- Solution set
- A solution set is the collection of every value that makes the equation true, and it may hold one number, no numbers at all, or all real numbers.
Use linear equations beyond one example
Finding a break-even point
A stand spends 500 dollars on equipment plus 3 dollars per drink, and sells each drink for 8 dollars. Setting cost equal to income gives $500+3x=8x$, so $500=5x$ and $x=100$ drinks. Below 100 drinks the stand loses money; above it, the stand earns money.
Converting a temperature
Fahrenheit and Celsius are linked by $F=\tfrac95C+32$. To find the Celsius reading for 68 degrees Fahrenheit, solve $68=\tfrac95C+32$: subtract 32 to get $36=\tfrac95C$, then multiply by $\tfrac59$ to get $C=20$.
Splitting a shared bill
Four friends split a dinner bill evenly after a 10 dollar coupon, and each pays 17 dollars. If $b$ is the bill, then $(b-10)/4=17$, so $b-10=68$ and $b=78$ dollars.
Connected ideas worth studying next
- Systems of equations: A system is two linear equations at once, and both substitution and elimination end with a single linear equation solved exactly the way you solve one here.
- The quadratic formula: Once the variable is squared the equation stops being linear, and moving terms around is no longer enough to finish it.
- Order of operations: Solving runs the order of operations backwards: you peel off addition and subtraction first and undo the multiplication last.
Ask for help with the decision, not only the answer
Bring your complete linear equations problem and the first step you cannot justify to the AI math solver. Ask it to explain that decision, then reproduce the method and check it against the original conditions.
Questions students ask about linear equations
What does it mean if I end up with something like 4 = 9?
It means the equation has no solution. Both variable terms cancelled and left a false sentence, so no number can make the original equation true. On a graph the two sides are parallel lines that never cross. If instead you land on a true sentence like $0=0$, every real number is a solution.
Does it matter which side I collect the variables on?
No, the answer is the same either way. In $2x+12=3x-5$ you can subtract $2x$ to get $12=x-5$, or subtract $3x$ to get $-x+12=-5$. Both give $x=17$. Collecting on the side with the larger coefficient just saves you from working with a negative variable term.
Can a linear equation have two different solutions?
No. A linear equation has one solution, no solution, or infinitely many. Two straight lines cannot cross at exactly two points. If you found two answers, one of them will fail the check, which usually means a sign slipped somewhere.
Why should I not divide both sides by $x$?
Because $x$ might be zero, and dividing by zero is undefined. Dividing by the variable can also delete a correct answer. In $x^2=5x$, dividing by $x$ leaves $x=5$ and hides the solution $x=0$. Move everything to one side and factor instead.