Solving Linear Equations

A plumber charges $45 upfront plus $30 per hour. The bill comes to $165. How many hours did the job take? That question is a linear equation: 30x + 45 = 165. Solving it means finding the value of x that makes both sides equal — and the answer is x = 4 hours. Linear equations are any equation where the variable appears to the first power, and they are the foundation of every algebra course. They scale from one-step problems to multi-step expressions with fractions, decimals, and variables on both sides, and they are the core skill behind systems of equations, graphing lines, and functions.

The Core Rule

Whatever you do to one side, do to the other. Every step in solving a linear equation is an application of this rule — adding, subtracting, multiplying, or dividing both sides by the same value.

Goal: Isolate x. Move everything that is not x to the other side.

Order: Simplify first (distribute, combine like terms), then move variable terms, then move constants, then divide by the coefficient.

Special cases: If the variable cancels and leaves a true statement (5 = 5), the solution is all real numbers. A false statement (5 = 9) means no solution.



1) What a Linear Equation Is

A linear equation in one variable has the form ax + b = c, where a, b, and c are constants and a is not zero. The variable x appears only to the first power. Examples: 3x + 5 = 14, 2(x − 3) = 8, and x/4 + 1 = 7 are all linear equations. An equation like x² + 3 = 7 is not linear — it is quadratic.

The solution to a linear equation is the value of x that makes both sides equal. Most linear equations have exactly one solution, but two special cases produce either no solution or infinitely many solutions. The flowchart below shows the full solving process and when to expect each outcome.

Flowchart for solving a linear equation. Step 1: simplify each side by distributing and combining like terms. Step 2: move all variable terms to one side. Step 3: move all constant terms to the other side. Step 4: divide by the coefficient to isolate x. Then a decision diamond: did the variable terms cancel? If no, you have one solution — check by substituting back. If yes, another diamond: is the remaining statement true or false? True (0 equals 0) means all real numbers. False (0 equals 5) means no solution. Bottom bar: whatever you do to one side, do to the other — every step.
Follow these steps in order every time. The simplification step at the top is the one students most often skip, and skipping it causes errors in every subsequent step.

Linear equations are the building block for the rest of algebra. Once you can solve them confidently, systems of equations and graphing lines follow directly.

Back to Top



2) One-Step Equations

A one-step equation requires a single operation to isolate the variable. The operation you apply is always the inverse of what is being done to x.

Addition and subtraction

If a number is being added to x, subtract it from both sides. If a number is being subtracted from x, add it to both sides.

x + 7 = 12
Subtract 7 from both sides:
x = 12 − 7 = 5

Check: 5 + 7 = 12 ✓

x − 4 = −9
Add 4 to both sides:
x = −9 + 4 = −5

Check: −5 − 4 = −9 ✓

Multiplication and division

If x is being multiplied by a coefficient, divide both sides by that coefficient. If x is being divided, multiply both sides by the divisor.

5x = 35
Divide both sides by 5:
x = 7

x/3 = −4
Multiply both sides by 3:
x = −12

Negative coefficients

When the coefficient is negative, dividing by a negative number flips the sign of the answer. This is the most common sign error in one-step equations.

−3x = 18
Divide both sides by −3:
x = 18 / (−3) = −6

Check: −3(−6) = 18 ✓

Back to Top



3) Multi-Step Equations

Multi-step equations require two or more operations. The strategy is to undo operations in reverse order — the opposite of the order of operations. Addition and subtraction are undone first, then multiplication and division. Before any of that, simplify: distribute parentheses and combine like terms on each side.

Standard multi-step example

3x + 8 = 23

Step 1: Subtract 8 from both sides:
3x = 15

Step 2: Divide both sides by 3:
x = 5

Check: 3(5) + 8 = 23 ✓

With the distributive property

When parentheses are present, distribute before doing anything else. Skipping distribution and moving the constant first is one of the most common multi-step errors.

4(2x − 3) = 20

Distribute first:
8x − 12 = 20

Add 12 to both sides:
8x = 32

Divide by 8:
x = 4

Check: 4(2(4) − 3) = 4(5) = 20 ✓

Combining like terms first

5x − 2x + 9 = 21

Combine like terms on the left:
3x + 9 = 21

Subtract 9:
3x = 12

Divide by 3:
x = 4

Back to Top



4) Variables on Both Sides

When x appears on both sides of the equation, the first move is to collect all variable terms on one side. It does not matter which side you choose — pick the side that keeps the coefficient positive to reduce sign errors.

Step 1

Distribute and combine like terms on each side independently.

Step 2

Move all variable terms to one side by adding or subtracting.

Step 3

Move all constant terms to the other side.

Step 4

Divide by the coefficient. Check for special cases if the variable cancels.

7x − 4 = 3x + 12

Subtract 3x from both sides:
4x − 4 = 12

Add 4 to both sides:
4x = 16

Divide by 4:
x = 4

Check: 7(4) − 4 = 24 and 3(4) + 12 = 24 ✓

With distribution on both sides

3(2x + 1) = 5(x − 2) + 4

Distribute both sides first:
6x + 3 = 5x − 10 + 4
6x + 3 = 5x − 6

Subtract 5x:
x + 3 = −6

Subtract 3:
x = −9

Check: 3(2(−9) + 1) = 3(−17) = −51
5((−9) − 2) + 4 = 5(−11) + 4 = −51 ✓

Which side should x go to?

Move x to whichever side gives a positive coefficient after combining. In 3x = 7x − 8, subtracting 7x gives −4x = −8, which requires dividing by a negative. Instead, subtract 3x to get 0 = 4x − 8, giving 4x = 8 and x = 2 with no negatives to manage.

Back to Top



5) Equations with Fractions and Decimals

Fractions and decimals in linear equations are not harder to solve — they just require one extra step at the start. Clearing fractions or decimals converts the equation into a standard integer equation before you begin solving.

Clearing fractions using the LCD

Find the least common denominator (LCD) of all fractions in the equation. Multiply every term on both sides by the LCD. Every fraction cancels, leaving an integer equation.

x/3 + 1/2 = 5/6

LCD of 3, 2, and 6 = 6
Multiply every term by 6:
6(x/3) + 6(1/2) = 6(5/6)
2x + 3 = 5

Subtract 3:
2x = 2

Divide by 2:
x = 1

Check: 1/3 + 1/2 = 2/6 + 3/6 = 5/6 ✓

Multi-step fraction example

(x + 2)/4 = (x − 1)/3

LCD = 12. Multiply every term by 12:
3(x + 2) = 4(x − 1)
3x + 6 = 4x − 4

Subtract 3x:
6 = x − 4

Add 4:
x = 10

Check: (10+2)/4 = 12/4 = 3 and (10−1)/3 = 9/3 = 3 ✓

Clearing decimals

Identify the decimal with the most decimal places. Multiply every term by the corresponding power of 10 to eliminate all decimals.

0.3x + 0.15 = 0.75

Most decimal places: 2 (the 0.15 and 0.75)
Multiply every term by 100:
30x + 15 = 75

Subtract 15:
30x = 60

Divide by 30:
x = 2

MyMathLab and ALEKS fraction entry

When entering fractional answers on MyMathLab, use the fraction template rather than typing a slash. ALEKS requires fractions to be in lowest terms — entering 2/4 instead of 1/2 will be marked wrong. See MyMathLab Help and ALEKS College Algebra Help for platform-specific entry guidance.

Back to Top



6) Special Cases: No Solution and All Real Numbers

Most linear equations have exactly one solution. But when variable terms on both sides have the same coefficient, they cancel during solving and leave a statement with no variable. What that statement says determines the outcome.

Three-card reference chart for linear equation outcomes. Card one: One Solution — variable isolates to a single value, example 2x plus 3 equals 9 gives x equals 3. Card two: No Solution — variables cancel leaving a false statement like 5 equals 9, no value of x satisfies the equation. Card three: All Real Numbers — variables cancel leaving a true statement like 5 equals 5, every value of x satisfies the equation.
The same logic applies in systems of equations when you eliminate a variable: 0 = 0 means infinitely many solutions, 0 = 5 means no solution.

No solution — worked example

4x + 6 = 4x − 3

Subtract 4x from both sides:
6 = −3 ← FALSE

No solution.

All real numbers — worked example

3(2x + 4) = 6x + 12

Distribute left side:
6x + 12 = 6x + 12

Subtract 6x:
12 = 12 ← TRUE

All real numbers.

How to write these answers on homework platforms

For no solution: MyMathLab accepts “No solution” or the empty set symbol. ALEKS accepts “No solution.” WebAssign typically accepts “DNE” or “no solution.” For all real numbers: MyMathLab and ALEKS typically accept “All real numbers” or the interval notation (−∞, ∞). Check your specific course settings — accepted formats vary by version and instructor configuration.

Back to Top



7) Word Problems Using Linear Equations

Word problems are how linear equations are tested on most algebra platforms. The algebra is the same as in the previous sections — the skill being tested is translating the scenario into an equation. Every word problem that produces a single linear equation follows the same setup: identify the unknown, assign a variable, write an equation from the relationships in the problem, solve.

Type 1: Rate and cost problems

These problems describe a fixed charge plus a per-unit rate. Set the total equal to the expression and solve for the unknown quantity.

A plumber charges $45 upfront plus $30 per hour.
The bill is $165. How many hours did the job take?

Let x = hours worked
30x + 45 = 165
30x = 120
x = 4 hours

Type 2: Consecutive integer problems

Consecutive integers differ by 1. Consecutive even or odd integers differ by 2. Assign the first integer as x, write the others in terms of x, set their sum or relationship equal to the given total.

The sum of three consecutive integers is 72.
Find the integers.

Let x = first integer
x + (x+1) + (x+2) = 72
3x + 3 = 72
3x = 69
x = 23

The integers are 23, 24, and 25.
Check: 23 + 24 + 25 = 72 ✓

Type 3: Percent and discount problems

Percent problems translate directly into multiplication. “What is 20% of x” becomes 0.20x. “A price after a 15% discount” becomes 0.85x (the original minus 15% of it).

After a 20% discount, a jacket costs $64.
What was the original price?

Let x = original price
x − 0.20x = 64
0.80x = 64
x = 80

Original price: $80
Check: 80 − 0.20(80) = 80 − 16 = 64 ✓

Type 4: Geometry problems

Perimeter problems, angle relationships, and area problems with one unknown all produce linear equations. Write the geometric formula, substitute the expressions given, and solve.

A rectangle has a perimeter of 56 cm.
The length is 4 more than twice the width.
Find the dimensions.

Let w = width, then length = 2w + 4
Perimeter formula: 2l + 2w = 56
2(2w + 4) + 2w = 56
4w + 8 + 2w = 56
6w = 48
w = 8 cm, length = 2(8) + 4 = 20 cm

Check: 2(20) + 2(8) = 40 + 16 = 56 ✓

Word problems holding up your MyMathLab grade?

Application problems are where most students get stuck — not because the algebra is hard, but because the setup is. If these modules are dragging down your grade, FMMC handles the entire assignment with an A/B guarantee.

Back to Top



8) Where Students Lose Points

Not distributing before moving terms

✗ Wrong: 3(x + 4) = 18 → subtract 4 first, getting 3x = 14.

✓ Correct: Distribute first: 3x + 12 = 18 → 3x = 6 → x = 2.

Sign errors when subtracting a negative

✗ Wrong: x − (−5) = 12 → x − 5 = 12.

✓ Correct: Subtracting a negative adds: x + 5 = 12 → x = 7.

Dividing only the last term by the coefficient

✗ Wrong: 3x = 12 − 6 → x = 12 − 2 = 10. (Only dividing the 6 by 3.)

✓ Correct: 3x = 6 → divide both sides by 3 → x = 2.

Not applying the operation to the entire opposite side

When you add or subtract a term, it must be added or subtracted from the entire other side, not just one term. Write the operation below both sides explicitly until it is automatic.

Stopping at one solution when the variable cancelled

If you reach a statement like 8 = 8, you have not made an error — this is a valid outcome meaning all real numbers. Students sometimes assume they made a mistake and restart. If you reach 8 = 3, same thing — the answer is no solution, not an arithmetic error to fix.

Fraction entry format on platforms

ALEKS requires fractions to be fully reduced. MyMathLab uses a fraction entry tool — typing 3/5 as plain text may not register correctly. Use the answer entry palette. For detailed format guidance: MyMathLab Help.

Back to Top



9) How FMMC Can Help

Linear equations appear in every algebra course and on every major homework platform. If you are behind on assignments or facing a proctored exam on this material, FMMC’s algebra experts handle every module with an A/B guarantee.

Algebra Homework

Every linear equations module handled accurately and on time — one-step, multi-step, variables on both sides, fractions, and special cases. See our algebra homework help page.

Proctored Exams

Algebra exams on Honorlock and Respondus supported. See our proctored exam page for details.

Full Course Help

Week 1 through final exam across all algebra levels. A or B grade guaranteed — see our guarantee.

Behind on algebra or exam coming up? Tell us your course, platform, and next due date.

Get Help Now →

Other guides in this series

Solving linear equations feeds directly into systems of equations — every substitution and elimination step relies on these same mechanics — and into graphing lines, where slope-intercept form requires isolating y.

Back to Top



FAQ: Solving Linear Equations

What is a linear equation?

A linear equation is an equation where the variable appears to the first power only — no exponents greater than 1, no square roots. It has the general form ax + b = c. The solution is the value of x that makes both sides equal.

What is the first step in solving a linear equation?

Simplify each side first. Distribute any parentheses and combine like terms on each side before moving any terms across the equals sign. Skipping simplification is the most common source of errors in multi-step equations.

How do you solve an equation with variables on both sides?

Move all variable terms to one side by adding or subtracting. Choose the side that gives a positive coefficient to reduce sign errors. Then move all constant terms to the other side and divide by the coefficient. If the variable terms cancel completely, check whether the remaining statement is true or false to determine if the solution is all real numbers or no solution.

How do you solve a linear equation with fractions?

Find the LCD of all fractions in the equation and multiply every term on both sides by that LCD. This clears all fractions and leaves a standard integer equation. Then solve normally. Always check the solution by substituting back into the original equation with fractions.

What does it mean when you get a false statement like 5 = 9?

It means the equation has no solution. The variable terms cancelled out and left a contradiction that is never true. There is no value of x that satisfies the equation. This is not an arithmetic error — it is a valid outcome. Write “No solution” or the empty set symbol as your answer.

What does it mean when you get a true statement like 5 = 5?

It means every value of x satisfies the equation. The solution is all real numbers. The two sides of the original equation are identical expressions, so no matter what x equals, both sides will be equal. Write “All real numbers” or the interval (−∞, ∞) as your answer.

How do you check a solution to a linear equation?

Substitute the value you found back into the original equation and simplify both sides. If both sides equal the same number, the solution is correct. Always check in the original equation, not a simplified version — an error in an earlier step may have simplified into something that looks correct but is not.

Can FMMC help with linear equations homework and exams?

Yes. FMMC handles algebra homework, quizzes, and proctored exams across MyMathLab, ALEKS, WebAssign, and Hawkes Learning. See our algebra homework help page or get a free quote.

Back to Top

Algebra Homework Piling Up?

Tell us your course, platform, and next due date. FMMC’s algebra experts handle every assignment — A/B guaranteed or your money back.

Get Your Free Quote

Or email: info@finishmymathclass.com • A/B GuaranteeAlgebra Help