Skip to main content
ScotlandMathsSyllabus dot point

How do you solve linear equations and inequations, including those with brackets and fractions?

Solving linear equations and inequations in one variable, including equations with brackets, fractions and the unknown on both sides, and representing inequation solutions.

A focused answer to the SQA National 5 Mathematics equations and inequations content, covering solving linear equations with brackets, fractions and the unknown on both sides, and solving linear inequations including the rule for reversing the sign when dividing by a negative.

Generated by Claude Opus 4.89 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. Solving linear equations
  3. Solving linear inequations
  4. Equations with the unknown on both sides
  5. Equations with brackets and fractions together
  6. Showing the solution of an inequation
  7. Examples in context
  8. Try this

What this dot point is asking

The SQA wants you to solve linear equations in one variable, including those with brackets, fractions and the unknown on both sides, and to solve linear inequations, remembering the special rule that the inequality sign reverses when you multiply or divide by a negative number.

Solving linear equations

The golden rule is to keep the equation balanced: whatever you do to one side you do to the other. Work through the layers in order, expanding brackets first, then collecting terms.

When there are brackets, expand them before collecting terms; when there are fractions, multiply every term by the denominator to clear them.

Solving linear inequations

An inequation (or inequality) uses one of <<, >>, \le or \ge instead of an equals sign. You solve it with the same balancing steps, but one rule changes.

You can often avoid the reversal by keeping the unknown positive: solving 73x17 - 3x \ge 1 as 713x7 - 1 \ge 3x, that is 63x6 \ge 3x, gives 2x2 \ge x, the same as x2x \le 2.

Equations with the unknown on both sides

When the unknown appears on both sides, gather all the xx terms on the side where the coefficient is larger, so the xx term stays positive, then solve as usual.

Equations with brackets and fractions together

The hardest questions combine brackets and fractions. The reliable order is: multiply out to clear fractions first, then expand any brackets, then collect and solve.

A reliable habit is to check your answer by substituting it back into the original equation. For x=7x = 7 here, 2×7+13=153=5\dfrac{2 \times 7 + 1}{3} = \dfrac{15}{3} = 5, which matches, confirming the solution. Checking catches sign slips and is quick enough to do every time.

Showing the solution of an inequation

An inequation usually has a range of answers rather than a single value, so the solution is written as an inequality such as x>3x > 3 or x2x \le -2. You may also be asked to show it on a number line: an open circle marks a strict inequality (<< or >>) where the end value is not included, and a filled circle marks \le or \ge where it is included, with an arrow showing the direction of all the values that satisfy the inequation.

Examples in context

Inequations describe limits and budgets. If a stallholder must take more than £200\pounds 200 to break even and sells items at £8\pounds 8 each after paying £40\pounds 40 for the pitch, profit is 8n408n - 40, and breaking even needs 8n40>2008n - 40 > 200. Solving gives 8n>2408n > 240, so n>30n > 30: more than 3030 items must be sold. Equations and inequations turn worded conditions into solvable statements.

Try this

Q1. Solve 3x7=83x - 7 = 8. [2 marks]

  • Cue. 3x=153x = 15, so x=5x = 5.

Q2. Solve 2(x+4)=x+112(x + 4) = x + 11. [2 marks]

  • Cue. 2x+8=x+112x + 8 = x + 11, so x=3x = 3.

Q3. Solve the inequation 5x>25 - x > 2. [2 marks]

  • Cue. x>3-x > -3, so x<3x < 3.

Exam-style practice questions

Practice questions written in the style of SQA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

SQA National 5 20193 marksSolve the equation 5(x2)=2x+55(x - 2) = 2x + 5.
Show worked answer →

Expand the bracket: 5x10=2x+55x - 10 = 2x + 5 (1 mark). Gather the xx terms on one side and the numbers on the other: 5x2x=5+105x - 2x = 5 + 10, so 3x=153x = 15 (1 mark). Divide: x=5x = 5 (1 mark). Markers reward expanding, collecting terms correctly, and the solution x=5x = 5.

SQA National 5 20223 marksSolve the inequation 32x<113 - 2x < 11.
Show worked answer →

Subtract 33 from both sides: 2x<8-2x < 8 (1 mark). Divide both sides by 2-2, and because you are dividing by a negative the inequality sign reverses: x>4x > -4 (2 marks). Markers reward isolating 2x-2x and, crucially, reversing the sign to give x>4x > -4. Forgetting to reverse the sign is the most common error.

Related dot points

Sources & how we know this