Linear equations

Math · Algebra I

Question 1 of 10

0

    Solve for :

    Decimals (0.75 or 0,75), fractions (3/4) and mixed numbers (1 1/2) are accepted. Do not use thousands separators.

    How to type your answer
    • Fractions: 3/4. Mixed numbers: 1 1/2.
    • Decimals with a point or a comma: 0.75 or 0,75.
    • Negative numbers start with a minus: -3/4.
    • Percentages need the % sign: 75%.

    Stuck? Read the explanation

    Unlocks at a streak of 5 correct answers in a row.

    Print a free worksheet (PDF)

    Embed this practice on your site or class page

    Paste this HTML into your page. Students practise right there; it is free and needs no account.

    Linear equations explained

    A linear equation contains an unknown (usually xx) raised only to the first power, such as 3x+5=203x + 5 = 20. Solving it means finding the value of xx that makes both sides equal.

    The golden rule: whatever you do to one side, do to the other, so the equation stays balanced. Undo operations in reverse order:

    1. Expand any brackets.
    2. Collect the xx terms on one side and the plain numbers on the other, by adding or subtracting the same thing on both sides.
    3. Divide both sides by the number in front of xx.

    If xx appears on both sides, move the smaller xx term so that you keep a positive coefficient. With fractions, multiply every term by the common denominator first to clear them.

    Worked example

    Solve 5x−7=2x+85x - 7 = 2x + 8.

    1. Subtract 2x2x from both sides: 3x−7=83x - 7 = 8.
    2. Add 7 to both sides: 3x=153x = 15.
    3. Divide by 3: x=5x = 5.

    Check by substituting back: the left side is 5(5)−7=185(5) - 7 = 18 and the right side is 2(5)+8=182(5) + 8 = 18. Both sides match, so x=5x = 5 is correct.

    Checking takes a few seconds and catches most sign errors, which are the most common mistake, especially when subtracting a negative number or expanding a bracket with a minus sign in front of it.

    Key facts

    • Every step is done to both sides. Subtracting 2x2x from the left means subtracting 2x2x from the right too.
    • A minus sign in front of a bracket changes the sign of every term inside it: −2(x−4)=−2x+8-2(x - 4) = -2x + 8.
    • With fractions, multiply every term by the common denominator. The equation stays balanced, and the fractions disappear.
    • Solving means finding the one value of xx that makes both sides equal. If you reach something like 5=55 = 5 the equation is true for every xx, and if you reach 5=75 = 7 it has no solution.
    • The aim of each line is the same: get closer to x=…x = \ldots by undoing one operation at a time, in the reverse order to how it was built.

    Worked example 2

    Solve 3(2x−5)=4x+93(2x - 5) = 4x + 9.

    1. Expand the bracket: 6x−15=4x+96x - 15 = 4x + 9.
    2. Subtract 4x4x from both sides: 2x−15=92x - 15 = 9.
    3. Add 15 to both sides: 2x=242x = 24.
    4. Divide by 2: x=12x = 12.

    Check: the left side is 3(2×12−5)=3×19=573(2 \times 12 - 5) = 3 \times 19 = 57 and the right side is 4×12+9=574 \times 12 + 9 = 57.

    Worked example 3

    Solve x+32+x−14=5\dfrac{x + 3}{2} + \dfrac{x - 1}{4} = 5.

    1. The common denominator is 4. Multiply every term by 4: 2(x+3)+(x−1)=202(x + 3) + (x - 1) = 20.
    2. Expand: 2x+6+x−1=202x + 6 + x - 1 = 20.
    3. Collect like terms: 3x+5=203x + 5 = 20.
    4. Subtract 5: 3x=153x = 15.
    5. Divide by 3: x=5x = 5.

    Check: 5+32=4\dfrac{5 + 3}{2} = 4 and 5−14=1\dfrac{5 - 1}{4} = 1, and 4+1=54 + 1 = 5.

    Worked example 4

    Solve 7−2(x−4)=3x−57 - 2(x - 4) = 3x - 5. This one has a minus sign in front of the bracket.

    1. Expand carefully: −2×x=−2x-2 \times x = -2x and −2×(−4)=+8-2 \times (-4) = +8. So 7−2x+8=3x−57 - 2x + 8 = 3x - 5.
    2. Collect the numbers on the left: 15−2x=3x−515 - 2x = 3x - 5.
    3. Add 2x2x to both sides, so the xx term stays positive: 15=5x−515 = 5x - 5.
    4. Add 5 to both sides: 20=5x20 = 5x.
    5. Divide by 5: x=4x = 4.

    Check: the left side is 7−2(4−4)=77 - 2(4 - 4) = 7 and the right side is 3×4−5=73 \times 4 - 5 = 7.

    Common mistakes

    • Multiplying only the first term in a bracket. 3(2x−5)3(2x - 5) is 6x−156x - 15, not 6x−56x - 5.
    • Getting the sign wrong after a minus in front of a bracket. −2(x−4)-2(x - 4) gives +8+8, not −8-8.
    • Changing a term's sign without doing the same operation to the other side. "Moving" a term across the equals sign really means adding or subtracting it on both sides.
    • Clearing fractions on only some terms. Multiply every term, including the number on the right.
    • Dividing only part of one side. In 2x+6=142x + 6 = 14, dividing by 2 gives x+3=7x + 3 = 7, not x+6=7x + 6 = 7.
    • Adding when you should subtract. To remove +9+9 you subtract 9, so always do the opposite operation.
    • Stopping at 2x=242x = 24 and writing that as the answer. The question asks for xx, so finish with the division.

    Exam tips

    • Write one operation per line and keep the equals signs in a column. It makes a slip easy to spot.
    • Always substitute your answer into the original equation, not the line you rearranged. If the two sides match, you are right.
    • If the question says "give your answer as a fraction" or "to 1 decimal place", do that. For example, 4x=104x = 10 gives x=52x = \tfrac{5}{2} or 2.52.5.
    • A negative answer is fine. Do not "fix" it, just check it by substituting.
    • If xx is on both sides, add or subtract so the xx term ends up positive. Dividing by a positive number is less error-prone.

    What you will practise

    New numbers every time you practise. Levels: Easy, Medium, Hard. Each answer is followed by a worked explanation.

    Example questions

    • Easy

      Solve for x: x + 1 = −14

    • Medium

      Solve for x: 4x + 5 = −36

    • Hard

      Solve for x: 9x − 2 = −60