Free for your classroom: you may copy, adapt and share worksheets, exercises, texts and graphics with your class without asking (terms (in German)).

Ad-free in class: How it works (in German)

Linear Equations

A linear equation has a variable only to the first power, such as 3x + 5 = 20. Learn to solve one-step, two-step and multi-step equations, equations with variables on both sides, fractions and decimals, and to turn word problems into equations.

Also available in: Deutsch · Español · Português

A linear equation is an equation in which the variable appears only to the first power, with no squares, roots or variables in a denominator, for example 3x + 5 = 20. To solve a linear equation, you undo each operation with its inverse, doing the same thing to both sides, until the variable stands alone: 3x + 5 = 20 → 3x = 15 → x = 5. The value you find is the solution, and you can check it by substituting: 3 · 5 + 5 = 20.

This page takes you from one-step equations to multi-step equations with parentheses, variables on both sides, fractions and decimals. It also covers the special cases with no solution or infinitely many solutions, rearranging formulas, and solving word problems, each with worked examples and practice problems with answers.

What is a linear equation?

An equation says that two expressions are equal. The letter, often x, is the variable or unknown. An equation is linear when the variable appears only to the first power and is not multiplied by itself. These are linear: 2x − 7 = 9, 5(x + 1) = 3x, x/4 + 2 = 6. These are not: x2 = 9 (a square), √x = 4 (a root), 1/x = 2 (variable in a denominator).

The name “linear” comes from graphs: an equation like y = 2x − 3 with two variables draws a straight line. Solving the one-variable equation 2x − 3 = 5 means finding where that line reaches the height y = 5.

x y 1 2 3 5 6 2 4 6 8 −2 −4 4 (4, 5) y = 2x − 3 y = 5
The line y = 2x − 3 reaches the height 5 at x = 4. So x = 4 is the solution of 2x − 3 = 5.

The balance idea

Think of an equation as a balanced scale. As long as you add, subtract, multiply or divide both sides by the same number (not dividing by 0), the scale stays balanced and the solution does not change. Each step uses an inverse operation: addition undoes subtraction, multiplication undoes division, and the other way round.

Anzeige

Solving one-step equations

A one-step equation needs a single inverse operation.

Solving two-step equations

A two-step equation like 3x + 5 = 20 has two operations on the variable: it is multiplied by 3, then 5 is added. Undo them in reverse order:

  1. Undo the addition or subtraction (move the constant term).
  2. Undo the multiplication or division (divide by the coefficient).
  3. Check the solution in the original equation.

Solving multi-step equations

For longer equations, follow the same plan every time:

  1. Simplify each side: remove parentheses with the distributive property and combine like terms.
  2. Collect the variable terms on one side by adding or subtracting.
  3. Collect the constants on the other side.
  4. Divide by the coefficient of the variable.
  5. Check the answer in the original equation.

Equations with variables on both sides

Move all variable terms to one side first. It is usually easiest to move the smaller one, so the coefficient stays positive.

Anzeige

Equations with fractions and decimals

Fractions make every step harder, so get rid of them first: multiply every term on both sides by the least common denominator (LCD), the least common multiple of the denominators. With decimals, multiply by 10, 100 or 1,000 to make all numbers whole.

Equation (b) is a proportion, and cross multiplication is the same tool used in ratios and proportions.

No solution or infinitely many solutions

Most linear equations have exactly one solution. Sometimes the variable cancels out completely, and two special cases appear:

  • 2(x + 3) = 2x + 6 becomes 6 = 6, which is always true: infinitely many solutions (every number works).
  • 3x + 1 = 3x − 4 becomes 1 = −4, which is never true: no solution.

How to recognize each case in advance, and how the same idea works for pairs of equations and quadratics, is explained on the page number of solutions.

Literal equations: solving formulas for a variable

A formula is an equation with several letters. To solve it for one letter, treat the other letters like numbers and use the same inverse operations.

  • Distance d = rt, solved for time: divide by r, so t = d/r.
  • Temperature F = (9/5)C + 32, solved for C: subtract 32, then multiply by 5/9, so C = (5/9)(F − 32). For 77°F: C = (5/9) · 45 = 25°C.
  • Triangle area A = ½bh, solved for h: multiply by 2, divide by b, so h = 2A/b.
Anzeige

Linear equation word problems

Word problems become manageable with a fixed routine:

  1. Read the problem and decide what the unknown is. Name it with a letter.
  2. Write the other quantities in terms of that letter.
  3. Translate the sentence that states the condition into an equation.
  4. Solve the equation.
  5. Answer the question in words and check that the answer makes sense.

Common mistakes

  • Changing only one side: every operation must be applied to both sides.
  • Distributing to the first term only: 4(x − 3) is 4x − 12, not 4x − 3.
  • Sign errors when moving terms: from −2x = −6, divide by −2 to get x = 3, not −3.
  • Clearing fractions in only some terms: multiply every term, including whole numbers, by the LCD.
  • Dividing before subtracting: in 3x + 5 = 20, dividing only 3x by 3 breaks the balance. Move the 5 first.
  • Skipping the check: substituting takes seconds and catches most errors.
Anzeige

Practice problems

Frequently asked questions

How do you solve a linear equation?

Simplify both sides, collect the variable terms on one side and the numbers on the other, then divide by the coefficient. For 5x − 4 = 2x + 11: 3x = 15, so x = 5.

What makes an equation linear?

The variable appears only to the first power: no x2, no √x, no x in a denominator, and no product of two variables. Its graph is a straight line.

How do you solve two-step equations?

First undo the addition or subtraction, then undo the multiplication or division. For 3x + 5 = 20: subtract 5 to get 3x = 15, then divide by 3 to get x = 5.

How do you solve equations with fractions?

Multiply every term on both sides by the least common denominator. The fractions disappear and you solve a normal equation. For x/2 + x/3 = 10, multiply by 6: 3x + 2x = 60.

Can a linear equation have no solution?

Yes. If the variable cancels and a false statement like 1 = −4 remains, there is no solution. If a true statement like 6 = 6 remains, every number is a solution. See number of solutions.

Keep learning

Anzeige

Spotted a mistake or have a request? Send us a short message and we will take care of it.

Spotted a mistake or have a request?

Your message about the page “Linear Equations”. We send the page address along automatically.

Please do not include any other personal data. More in our privacy policy (in German).