Linear equations: worked examples, step-by-step methods and online practice

A linear equation is an equation that can be rearranged to the form ax+b=0ax + b = 0, where a≠0a \neq 0, for example 3x+5=203x + 5 = 20. It is solved by equivalent steps: the same operation is done on both sides until the unknown stands alone. Find out more

Basic
6x−4=2x+126x - 4 = 2x + 12

Every example on linear equations can be solved right on the Learniva board, just like on paper. Learniva checks your whole working and shows you where the mistake is and why.

Solve on the board

Příklady 1–15

  1. 6x=426x = 42
  2. x+9=17x + 9 = 17
  3. x−6=11x - 6 = 11
  4. 7x=637x = 63
  5. 3x=−243x = -24
  6. −5x=35-5x = 35
  7. 2x+7=152x + 7 = 15
  8. 3x+8=353x + 8 = 35
  9. 5x−7=285x - 7 = 28
  10. 8x−5=438x - 5 = 43
  11. 7x+9=27x + 9 = 2
  12. 4x+20=84x + 20 = 8
  13. 15−2x=715 - 2x = 7
  14. 9−4x=219 - 4x = 21
  15. 26=5x+626 = 5x + 6
Solve on the board

Příklady 16–30

  1. 6x−4=2x+126x - 4 = 2x + 12
  2. 5x−9=3x+75x - 9 = 3x + 7
  3. 7x+3=4x+187x + 3 = 4x + 18
  4. 5x+4=2x+255x + 4 = 2x + 25
  5. 9x−8=5x+169x - 8 = 5x + 16
  6. 4x−15=x+124x - 15 = x + 12
  7. 3x+14=5x+23x + 14 = 5x + 2
  8. 2x+21=6x−72x + 21 = 6x - 7
  9. 8x+30=3x+58x + 30 = 3x + 5
  10. 6x+17=2x−76x + 17 = 2x - 7
  11. 7x−6=9x+27x - 6 = 9x + 2
  12. 3x−10=20−2x3x - 10 = 20 - 2x
  13. 12−x=2x−912 - x = 2x - 9
  14. 4x=6x−184x = 6x - 18
  15. 10x=7x+3610x = 7x + 36
Solve on the board

Příklady 31–45

  1. 3(x+2)=213(x + 2) = 21
  2. 2(x+7)=302(x + 7) = 30
  3. 6(x−2)=426(x - 2) = 42
  4. 5(x+4)=55(x + 4) = 5
  5. 3(2x−5)=273(2x - 5) = 27
  6. 4(3x+1)=524(3x + 1) = 52
  7. 7(x−2)+6=347(x - 2) + 6 = 34
  8. 3(x+5)−4=263(x + 5) - 4 = 26
  9. 2(4x−3)+9=352(4x - 3) + 9 = 35
  10. 6x−(2x+9)=196x - (2x + 9) = 19
  11. 8x−(3x−4)=448x - (3x - 4) = 44
  12. 4x−3(x−2)=114x - 3(x - 2) = 11
  13. 7x−2(x+6)=337x - 2(x + 6) = 33
  14. 9x−4(x−5)=109x - 4(x - 5) = 10
  15. 20−(x+4)=920 - (x + 4) = 9
Solve on the board

Příklady 46–60

  1. 4(x−3)=2x4(x - 3) = 2x
  2. 5(x+2)=3x+185(x + 2) = 3x + 18
  3. 3(x−4)=x+63(x - 4) = x + 6
  4. 2(3x+1)=4x+162(3x + 1) = 4x + 16
  5. 6(x−1)=9x+126(x - 1) = 9x + 12
  6. 2(3x−1)=5(x+2)2(3x - 1) = 5(x + 2)
  7. 3(x+4)=5(x−2)3(x + 4) = 5(x - 2)
  8. 4(x+1)=2(x+9)4(x + 1) = 2(x + 9)
  9. 7(x−3)=4(x+6)7(x - 3) = 4(x + 6)
  10. 5(2x−3)=3(3x−2)5(2x - 3) = 3(3x - 2)
  11. 2(x+3)+3(x−1)=232(x + 3) + 3(x - 1) = 23
  12. 4(x−2)+2(x+5)=324(x - 2) + 2(x + 5) = 32
  13. 5(x+1)−2(x−4)=285(x + 1) - 2(x - 4) = 28
  14. 6(x−2)−3(x+3)=06(x - 2) - 3(x + 3) = 0
  15. 3(2x+1)−4(x−2)=53(2x + 1) - 4(x - 2) = 5
Solve on the board

Sixty more worked examples: basic linear equations →

New

The tasks match the types used in the CERMAT unified entrance exams 2023–2026.

  1. 0,5x+1,5=40{,}5x + 1{,}5 = 4
  2. x+24+x8=2\frac{x + 2}{4} + \frac{x}{8} = 2
  3. 0,2⋅(x−5)=0,4x+10{,}2 \cdot (x - 5) = 0{,}4x + 1
  4. 2(y−1)3−y2=16\frac{2(y - 1)}{3} - \frac{y}{2} = \frac{1}{6}
  5. 3⋅(x2−1)+0,5x=2⋅(x+1)3 \cdot (\frac{x}{2} - 1) + 0{,}5x = 2 \cdot (x + 1)
  6. 3x−14−x+26=x2−1\frac{3x - 1}{4} - \frac{x + 2}{6} = \frac{x}{2} - 1
  7. x−32+x4=6\frac{x - 3}{2} + \frac{x}{4} = 6
  8. 0,4⋅(x+3)=0,1x+30{,}4 \cdot (x + 3) = 0{,}1x + 3
Solve on the board

Sixty more worked examples: linear equations from entrance exams →

  1. x5=3\frac{x}{5} = 3
  2. x2+4=9\frac{x}{2} + 4 = 9
  3. x3+x6=6\frac{x}{3} + \frac{x}{6} = 6
  4. x+13=4\frac{x + 1}{3} = 4
  5. 3x5−x2=1\frac{3x}{5} - \frac{x}{2} = 1
  6. 2x+34−x−13=2\frac{2x + 3}{4} - \frac{x - 1}{3} = 2
  7. x4−x6=2\frac{x}{4} - \frac{x}{6} = 2
  8. x+25=x3−2\frac{x + 2}{5} = \frac{x}{3} - 2
Solve on the board

Sixty more worked examples: linear equations with fractions →

  1. 8x=4\frac{8}{x} = 4
  2. x+10x=3\frac{x + 10}{x} = 3
  3. 6x+1=2\frac{6}{x + 1} = 2
  4. 4x−1=2x+2\frac{4}{x - 1} = \frac{2}{x + 2}
  5. 1x+14x=58\frac{1}{x} + \frac{1}{4x} = \frac{5}{8}
  6. x+1x−1+x−1x+1=2\frac{x + 1}{x - 1} + \frac{x - 1}{x + 1} = 2
  7. 12x−3=4\frac{12}{x - 3} = 4
  8. x−2x+4=13\frac{x - 2}{x + 4} = \frac{1}{3}
Solve on the board

Sixty more worked examples: equations with the unknown in the denominator →

  1. {x+y=8x−y=2\begin{cases} x + y = 8 \\ x - y = 2 \end{cases}
  2. {2x+y=11x−y=1\begin{cases} 2x + y = 11 \\ x - y = 1 \end{cases}
  3. {x+2y=73x−2y=5\begin{cases} x + 2y = 7 \\ 3x - 2y = 5 \end{cases}
  4. {y=3xx+y=12\begin{cases} y = 3x \\ x + y = 12 \end{cases}
  5. {2x+3y=13x−y=−1\begin{cases} 2x + 3y = 13 \\ x - y = -1 \end{cases}
  6. {3x+4y=102x−3y=1\begin{cases} 3x + 4y = 10 \\ 2x - 3y = 1 \end{cases}
  7. {x+3y=11x−y=3\begin{cases} x + 3y = 11 \\ x - y = 3 \end{cases}
  8. {2x+y=93x−y=6\begin{cases} 2x + y = 9 \\ 3x - y = 6 \end{cases}
Solve on the board

Sixty more worked examples: systems of linear equations →

  1. I'm thinking of a number. If I subtract 8 from it, I get 19.
  2. Half of a number is 14.
  3. Twice a number, decreased by 6, is 20.
  4. The sum of two consecutive numbers is 37.
  5. The mother is 3 times as old as the daughter. Together they are 52 years old.
  6. The perimeter of a rectangle is 36 cm and its length is 2 cm more than its width.
  7. A third of a number increased by 5 is 11.
  8. Three identical notebooks and a pen for 20 CZK cost 65 CZK in total.
Solve on the board

Sixty more worked examples: word problems with linear equations →

Linear equations with absolute value examples

  • 1st year of upper secondary
  1. ∣x∣=3\lvert x\rvert = 3
  2. ∣2x∣=10\lvert 2x\rvert = 10
  3. ∣x−1∣=4\lvert x - 1\rvert = 4
  4. ∣x+3∣+2=7\lvert x + 3\rvert + 2 = 7
  5. ∣x+2∣=−3\lvert x + 2\rvert = -3
  6. ∣2x−5∣=3\lvert 2x - 5\rvert = 3
  7. ∣x−6∣=2\lvert x - 6\rvert = 2
  8. ∣3x∣−4=5\lvert 3x\rvert - 4 = 5
  9. 2∣x+1∣=82\lvert x + 1\rvert = 8
Solve on the board

Sixty more worked examples: equations with absolute value →

Linear equations with a parameter examples

  • 1st year of upper secondary
  1. px=4px = 4
  2. px=5ppx = 5p
  3. x(p−4)=8x(p - 4) = 8
  4. px+3x=12px + 3x = 12
  5. px−2=4xpx - 2 = 4x
  6. x(p−1)=p2−1x(p - 1) = p^{2} - 1
  7. px+p=6px + p = 6
  8. 2x−px=102x - px = 10
Solve on the board

Sixty more worked examples: equations with a parameter →

Linear equation examples as a PDF worksheet, free to download

Download the linear equation examples as a worksheet in PDF. Just enter your e-mail.

Linear equations – practice problems, sample of 6 equations from 8 types

How to solve linear equation examples: the complete guide

What a linear equation is, the balance-scale trick and a worked example for each of the eight types

What a linear equation is

A linear equation is an equality in which the unknown appears only to the first power, for example 2x+3=112x + 3 = 11. Solving it means finding the number that gives the same value on both sides when you substitute it for x.

In a linear equation the unknown is only multiplied by numbers and added: no x², no x under a root. Every such equation in one unknown can be rearranged to ax+b=0ax + b = 0. When a is not zero, it has exactly one solution, x=−b/ax = -b/a.

Memory aid: the equation as a balance. An equation is a balance in equilibrium. Whatever you do to the left side, do to the right side too: add, subtract, multiply or divide both sides by the same non-zero number and the scale stays level. These steps are called equivalent transformations.

How to solve linear equation examples — a five-step method

Step by step

  1. Remove the fractions

    Multiply the whole equation by the common denominator. Every term, including the ones without a fraction.

  2. Multiply out the brackets

    Multiply the number in front of a bracket by every term inside. A minus in front flips the signs.

  3. Move the terms

    x terms to one side, numbers to the other. Whatever crosses the equals sign changes its sign.

  4. Divide

    Combine the x terms and the numbers, then divide both sides by the number in front of x.

  5. Check by substitution

    Substitute the result into the original equation. Both sides must agree.

Basic linear equations

Expand the brackets, move the x terms to one side and the numbers to the other, then divide by the number in front of x.

Worked example

  1. 4(x−1)+3=2x+94(x - 1) + 3 = 2x + 9the equation
  2. 4x−4+3=2x+94x - 4 + 3 = 2x + 9expand the bracket
  3. 4x−1=2x+94x - 1 = 2x + 9add the numbers on the left
  4. 2x=102x = 10subtract 2x, add 1
  5. x=5x = 5divide by 2

All 60 examples: Basic linear equations

Linear equations with fractions

Multiply the whole equation, every term on both sides, by the common denominator. The fractions disappear and a basic equation is left.

Worked example

  1. x/3+x/4=14x/3 + x/4 = 14the equation, common denominator 12
  2. 4x+3x=1684x + 3x = 168multiply the whole equation by 12
  3. 7x=1687x = 168add
  4. x=24x = 24divide by 7

All 60 examples: Linear equations with fractions

Equations with the unknown in the denominator

Write the conditions first, because a denominator must not be zero. Then multiply by the denominator and compare the result with the conditions.

Worked example

  1. 12/(x+1)=412/(x + 1) = 4the equation
  2. x≠−1x \neq -1condition
  3. 12=4(x+1)12 = 4(x + 1)multiply both sides by x + 1
  4. 12=4x+412 = 4x + 4expand
  5. 8=4x8 = 4xsubtract 4
  6. x=2x = 2divide by 4, meets the condition

All 60 examples: Equations with the unknown in the denominator

Systems of linear equations

Add the equations so that one unknown disappears, or express it from one equation and substitute it into the other.

Worked example

  1. x+y=9;x−y=3x + y = 9; x - y = 3the system
  2. 2x=122x = 12add the equations, y cancels out
  3. x=6x = 6divide by 2
  4. 6+y=96 + y = 9substitute into the first equation
  5. y=3y = 3subtract 6

All 60 examples: Systems of linear equations

Word problems with linear equations

Name the unknown, turn the text into an equation and at the end answer the question that was asked. Problem: the sum of three consecutive whole numbers is 48. Which of them is the largest?

Worked example

  1. xxthe smallest number, the next two are x + 1 and x + 2
  2. x+(x+1)+(x+2)=48x + (x + 1) + (x + 2) = 48the sum is 48
  3. 3x+3=483x + 3 = 48add
  4. x=15x = 15subtract 3 and divide by 3
  5. Answer: the largest number is 15 + 2 = 17.

All 60 examples: Word problems with linear equations

Equations with absolute value

Isolate the absolute value and split the equation into two cases: the expression inside equals the positive number or its opposite.

Worked example

  1. ∣x−3∣=5\lvert x - 3\rvert = 5the equation
  2. x−3=5x - 3 = 5first case
  3. x=8x = 8add 3
  4. x−3=−5x - 3 = -5second case
  5. x=−2x = -2add 3, the equation has two solutions

All 60 examples: Equations with absolute value

Equations with a parameter

Treat the parameter p as a number, factor out x and, before dividing, state when the divisor is non-zero.

Worked example

  1. px−1=2x+4px - 1 = 2x + 4the equation
  2. px−2x=5px - 2x = 5x terms to the left, numbers to the right
  3. x(p−2)=5x(p - 2) = 5factor out x
  4. x=5/(p−2)x = 5/(p - 2)for p ≠ 2, divide
  5. p=2:0=5p = 2: 0 = 5for p = 2 the equation has no solution

All 60 examples: Equations with a parameter

Linear equations from entrance exams

These problems mix decimals, fractions and brackets. Get rid of the decimals and fractions first, then proceed as with a basic equation.

Worked example

  1. 0.5(x+4)=x/3+30.5(x + 4) = x/3 + 3the equation
  2. 3(x+4)=2x+183(x + 4) = 2x + 18multiply the whole equation by 6
  3. 3x+12=2x+183x + 12 = 2x + 18expand
  4. x=6x = 6subtract 2x and 12

All 60 examples: Linear equations from entrance exams

The most common mistakes in linear equation examples

  1. Signs when multiplying out a bracket with a negative number

    What it looks like. In the equation 2x−3(4−x)=82x - 3(4 - x) = 8 the bracket gets multiplied out as −12−3x-12 - 3x, even though the correct result is −12+3x-12 + 3x. The sign in front of the bracket applies to every term inside it, including the one that already has a minus.

    How to avoid it. Multiply each term in the bracket separately and write down the resulting sign straight away: −3⋅4=−12-3 \cdot 4 = -12 and −3⋅(−x)=+3x-3 \cdot (-x) = +3x. That gives 2x−12+3x=82x - 12 + 3x = 8, so x=4x = 4.

  2. Multiplying only one side of the equation, or forgetting a term without a fraction

    What it looks like. In the equation x2+3=5\frac{x}{2} + 3 = 5 you multiply the fraction by two but leave the 3 alone: x+3=10x + 3 = 10. You get x=7x = 7, but the check doesn't confirm it: 72+3=6.5\frac{7}{2} + 3 = 6.5, not 5.

    How to avoid it. Multiply the whole equation, meaning every term on both sides: 2⋅(x2+3)=2⋅52 \cdot (\frac{x}{2} + 3) = 2 \cdot 5, which gives x+6=10x + 6 = 10 and x=4x = 4. It helps to put the whole side in brackets before multiplying it.

  3. Missing condition for the unknown in the denominator

    What it looks like. The equation xx−2=2x−2\frac{x}{x - 2} = \frac{2}{x - 2} gives x=2x = 2 once you multiply out the denominator. But for x=2x = 2 the denominator is zero, and you can't work with a fraction that has zero on the bottom, so this equation has no solution.

    How to avoid it. Before you start rearranging, write down what x must not equal (here x≠2x \neq 2), and check the result against that condition at the end. If the result breaks the condition, discard it.

  4. Dividing by an expression that could be zero (with a parameter)

    What it looks like. In the equation x(p+2)=p+2x(p + 2) = p + 2 you divide both sides by p+2p + 2 and get x=1x = 1. But for p=−2p = -2, p+2=0p + 2 = 0, and you can't divide by zero: the equation turns into 0⋅x=00 \cdot x = 0, which is true for every x.

    How to avoid it. Before dividing by an expression containing a parameter, ask whether it could be zero. If it could, solve that case separately (here p=−2p = -2), and you can divide for the other values of the parameter.

  5. x calculated in a word problem, but the question left unanswered

    What it looks like. The problem: “The father is 3 times older than the son. Together they are 48 years old. How old is the father?” You call the son’s age x, and the equation x+3x=48x + 3x = 48 gives x=12x = 12. That isn’t the answer yet, though, because 12 years is the son’s age, not the father’s.

    How to avoid it. At the start, write down what x stands for, and at the end go back to the question and answer it in a full sentence: the father is 3⋅12=363 \cdot 12 = 36 years old. Check: 12+36=4812 + 36 = 48.

Frequently asked questions about linear equation examples

What is a linear equation?

It is an equation in which the unknown appears only to the first power: no x², no x under a square root or in a denominator. Every linear equation in one unknown can be rearranged into the form ax+b=0ax + b = 0, for example 3x+5=143x + 5 = 14.

How do you solve a linear equation?

Clear the fractions, expand the brackets, move the x terms to one side and the numbers to the other, divide by the number in front of x and check your answer. For example 3x+5=143x + 5 = 14: subtract 5 to get 3x=93x = 9, divide by three and you have x=3x = 3. Check: 3⋅3+5=143 \cdot 3 + 5 = 14.

How do you solve a linear equation with fractions?

Multiply the whole equation, i.e. every term on both sides, by the lowest common multiple of the denominators. For x/2+x/3=10x/2 + x/3 = 10 that is 6: you get 3x+2x=603x + 2x = 60, so x=12x = 12. Check: 6+4=106 + 4 = 10.

How many solutions can a linear equation have?

Either one, e.g. 2x=82x = 8 has the solution x=4x = 4. Or none: x+1=x+2x + 1 = x + 2 simplifies to 0=10 = 1, which is never true. Or infinitely many: 2(x+1)=2x+22(x + 1) = 2x + 2 simplifies to 0=00 = 0, which holds for every x.

How do you check the answer?

Substitute the result into the original equation and work out the left and right sides separately. If they come out equal, the answer is correct. Substitute into the original task, not into a rearranged equation, otherwise you will not catch a mistake made while rearranging.

What is the difference between a linear and a quadratic equation?

In a quadratic equation the unknown is also squared, for example x2−5x+6=0x^{2} - 5x + 6 = 0. It is solved differently (by factorising or with the discriminant) and can have up to two solutions. In a linear equation the unknown appears only to the first power.

Do linear equations appear in entrance exams?

Yes, equations are a common task in the Czech unified maths entrance exam for secondary schools. You will find examples in a similar style above in the section Linear equations from entrance exams.

How does practising on the board work?

Linear equations can be practised right on Learniva’s interactive board. You write your own working step by step, by hand as on paper or on the keyboard, and Learniva checks every step. If you make a mistake, it marks the step where it happened and tells you what is wrong with it, for example that the step changed the solution of the equation. You can try it for free with any example using the Solve on the board button.

The linear-equation examples follow the Czech RVP ZV, the framework curriculum for basic education issued by the Ministry of Education (MŠMT), and, for the upper-secondary types (absolute value, parameter), the framework programmes for secondary schools (RVP). Their difficulty matches established Czech problem collections such as F. Běloun’s for lower-secondary schools and standard upper-secondary collections. All problems are our own; none is copied verbatim.

Page created on .

PDF worksheet

Enter your e-mail and download the worksheet right away.