---
title: "Solving linear equations"
description: "Use algebraic methods to solve linear equations in one variable, including rearranging, expanding brackets, collecting terms on both sides, and working with rational coefficients."
canonical: https://lightmysky.com/en/learn/mathematics/solving-linear-equations
source: https://lightmysky.com/learn/mathematics/solving-linear-equations.md
license: https://lightmysky.com/en/license
retrieved: 2026-12-03
---

> **Using this content.** You may index it, quote short parts, and use it to answer a person's question, if you name LightMySky and link to the page. You may train models on it.
> Please do not republish, resell or serve our lessons and questions as another product.
> [Topic data credits and licenses](https://github.com/withmarbleapp/os-taxonomy#attribution) (ODbL 1.0 for the database and CC BY-SA 4.0 for the topic text).
> Full license: https://lightmysky.com/en/license

> **Agent view.** This is the Markdown twin of the page, for tools and assistants.
> When to use this site, and the call that answers each job: https://lightmysky.com/agent-instructions.md
> API description (OpenAPI 3.1): https://lightmysky.com/openapi.json · Authentication: https://lightmysky.com/auth.md
> Pricing: https://lightmysky.com/pricing.md · Catalog: https://lightmysky.com/llms.txt · Full catalog: https://lightmysky.com/llms-full.txt
> Every machine-readable file on this domain: https://lightmysky.com/.well-known/ai-catalog.json
> Ask for Markdown with `Accept: text/markdown`, a `.md` address, or `?mode=agent`.

# Solving linear equations

Use algebraic methods to solve linear equations in one variable, including rearranging, expanding brackets, collecting terms on both sides, and working with rational coefficients.

Subject: Mathematics · Area: Algebra · Ages 11 to 14
Page: https://lightmysky.com/en/learn/mathematics/solving-linear-equations

## Ready when they can

- Solve one-step and two-step linear equations in one variable
- Solve equations requiring expansion of brackets and collection of like terms
- Solve equations with the unknown on both sides and with fractional or negative coefficients

## Lesson: Solving for x

An equation is like a balance. Both sides always stay equal. Your job is to get x alone on one side, using inverse operations to undo whatever has been done to it.

*(drawing: First undo the plus 7, then undo the times 3. Whatever you do to one side, do the same to the other.)*

**Example.** To solve 3(x + 2) = 21, expand the bracket first: 3x + 6 = 21. Subtract 6 from both sides: 3x = 15. Divide by 3: x = 5.

**Example.** When x is on both sides, like 5x - 4 = 2x + 8, move the x terms together first. Subtract 2x from both sides: 3x - 4 = 8. Add 4: 3x = 12. Divide by 3: x = 4.

**Tip.** A negative or fractional coefficient does not change the plan. Divide or multiply both sides by the coefficient of x, whether it is negative or fractional.

**Recap.** Whatever operation you use, apply it to both sides, until x stands alone.

## Practice

20 questions on this page, each with its working shown.

## Needs first

- [Writing Algebraic Equations](https://lightmysky.com/en/learn/mathematics/writing-algebraic-equations)
- [Sign Rules for Multiplication and Division](https://lightmysky.com/en/learn/mathematics/sign-rules-for-multiplication-and-division)
- [Substituting into Formulae](https://lightmysky.com/en/learn/mathematics/substituting-into-formulae)
- [Using inverse operations](https://lightmysky.com/en/learn/mathematics/using-inverse-operations)

## Optional connections

- [Expanding Single Brackets](https://lightmysky.com/en/learn/mathematics/expanding-single-brackets)

## Opens up

- [Simple formulae](https://lightmysky.com/en/learn/mathematics/simple-formulae)
- [Nth-Term Rules](https://lightmysky.com/en/learn/mathematics/nth-term-rules)
- [Inequalities and their solution sets](https://lightmysky.com/en/learn/mathematics/inequalities-and-their-solution-sets)
- [Simultaneous equations](https://lightmysky.com/en/learn/mathematics/simultaneous-equations)
