Learn

Equations and Inequalities

Contents

An equation says that two expressions have the same value. Solving it means finding every value of the letter that makes that true. Every step has one justification: do the same thing to both sides, and the two sides stay equal. The one exception is an inequality, where dividing by a negative number reverses the sign.

How do you solve a linear equation?

Undo the operations around the letter, starting with the one applied last. In 3x + 7 = 22, subtract 7 from both sides: 3x = 15. Divide both sides by 3: x = 5.

A bracket is expanded first, and the number in front multiplies every term inside it. See Equations with Brackets.

Expand first — the 3 multiplies both parts inside, just as with brackets alone. Full lesson: Equations with Brackets

When the number in front divides the other side, divide both sides by it instead: 3(x + 1) = 12 becomes x + 1 = 4. See Treating a Bracket as a Single Quantity.

When the letter appears on both sides, subtract the smaller x term from both sides so that it appears only once. Removing the smaller term keeps the coefficient positive. See Equations with the Unknown on Both Sides.

Take 2x off both pans. The scales stay level, and one side has no letter left. Full lesson: Equations with the Unknown on Both Sides

When the equation has fractions, multiply every term by the common denominator, including any term that is not a fraction. In x/3 + x/4 = 7, multiply by 12: 4x + 3x = 84, so x = 12. See Equations with Fractions.

Multiply both sides by 3 and the equation reads x = 12. Full lesson: Equations with Fractions

Now you

4x + 4 = 2x + 14

8x + 9 = 4x + 45

How many solutions does it have?

Usually the x terms survive and there is exactly one solution. Sometimes they cancel, and what is left decides. If it is false, such as 1 = 5, no value of x works. If it is true, such as 4 = 4, every value works, and the equation is an identity. See How Many Solutions an Equation Has.

Each side is a line. 2x + 1 and 2x + 5 climb alike, so they never meet. Full lesson: How Many Solutions an Equation Has

In ax + 3 = 5x + 7, the x terms collect to (a − 5)x = 4. Choose a = 5 and the x term is zero, and zero lots of x can never equal 4. See Choosing a Coefficient to Fix the Solution Count.

Choose a = 5 and the x term dies. Zero lots of x never reach 4: none. Full lesson: Choosing a Coefficient to Fix the Solution Count

How do you change the subject of a formula?

The subject of a formula is the letter that stands alone on one side. To change it, undo the operations around the letter you want, doing the same to both sides. The answer is an expression in the other letters. To make r the subject of A = πr², divide both sides by π, then take the square root: r = √(A/π). See Changing the Subject of a Formula.

Then divide both sides by m. The whole side is divided, never just one part. Full lesson: Changing the Subject of a Formula

When the letter appears twice, bring every term containing it to one side, take it out as a common factor, then divide both sides by the bracket. See Making a Twice-Appearing Letter the Subject.

Now factor: ax − bx is x times (a − b), so the two x terms become one. Full lesson: Making a Twice-Appearing Letter the Subject

Now you

Make x the subject of y = 2x + 3

Make x the subject of y = 7x + 2

Turning words into equations

A word problem becomes an equation once the unknown has a name. Write the definition down: let n be the smaller number. See Forming Equations.

Together they make 17, so n + (n + 3) = 17. Full lesson: Forming Equations

A formula answers every version of a question at once, and a case you can count checks it. See Writing Formulas from Words.

C = np + 3: the $3 entry is paid once, and $p is charged for each of the n rides. Full lesson: Writing Formulas from Words

How do you solve simultaneous equations?

Remove one unknown, solve for the other, then substitute back. On a graph each equation is a line, and the solution is the point where they cross, because both equations hold there.

Elimination adds or subtracts the equations so that one letter cancels. See Simultaneous by Elimination.

Add them: +y and −y cancel, so 2x = 14 and x = 7. Then 7 + y = 10 gives y = 3. Full lesson: Simultaneous by Elimination

When no letter has the same coefficient in both equations, multiply one equation first so that a pair of coefficients match. See Solving Simultaneous Equations by Scaling.

Multiply the second equation by 2, and its 2y matches the 2y in the first equation. Full lesson: Solving Simultaneous Equations by Scaling

Substitution rearranges one equation for one letter and puts that expression into the other. If y = x + 1 and 2x + y = 10, then 2x + x + 1 = 10, so x = 3 and y = 4. Use it when one equation already gives a letter on its own. See Simultaneous by Substitution.

A word problem with two unknowns needs two facts. Name both unknowns, write one equation from each fact, and read the answer back in the words of the question. See Writing a Pair of Equations from a Word Problem.

Two lines can cross once, run parallel, or be the same line: one solution, none, or infinitely many. Scaling one equation to match the other shows which. See How Many Solutions a Pair of Equations Has and Choosing a Coefficient in a Pair of Equations.

These two lines are equally steep, so they run alongside and never meet. Full lesson: How Many Solutions a Pair of Equations Has

Sometimes the question asks only for x + y. If 3x + 2y = 11 and 2x + 3y = 9, adding gives 5x + 5y = 20, so x + y = 4. See Solving for x + y Without Finding x and y.

Now you

3x + 2y = 28 and x + y = 11. Solve for x and y.

4x + 2y = 26 and x + y = 9. Multiply the second by what to match the y terms?

What does an inequality mean?

An inequality describes a range of values rather than one value. x > 4 means every number greater than 4. On a number line it is a ray, with a hollow circle at 4 because 4 is not greater than 4. x ≥ 4 includes 4, and the circle is filled. As a set it is written {x : x > 4}. See Inequalities and Solution Sets of Inequalities.

Every value right of 4 works. The circle is hollow: 4 is not greater than 4. Full lesson: Inequalities

Solve an inequality the way you solve an equation. From 2x + 3 < 11, subtract 3, then divide by 2: x < 4. See Two-Step Inequalities.

There is one exception. Multiplying or dividing both sides by a negative number reverses the sign. From −2x > 6, divide by −2: x < −3. A negative sign reflects the number line: 2 < 3, but −2 > −3. Adding or subtracting moves both sides the same way and leaves their order alone.

True: 2 < 3. Make both negative: −2 > −3. Bigger became smaller — the sign flips. Full lesson: Inequalities

A compound inequality has two ends. −3 < x ≤ 5 has infinitely many solutions but only eight integer solutions, because −3 is out and 5 is in. See Integer Solutions of Inequalities.

The integers inside run −2, −1, 0, 1, 2, 3, 4, 5 — the −3 is out, the 5 is in. Full lesson: Integer Solutions of Inequalities

Now you

Solve −2x + 8 < −2

Solve 4x + 5 < 13

Inequalities in two variables

A limit on a total of two things is written with an inequality sign: pens at $2 and pads at $5 with $30 to spend is 2p + 5d ≤ 30. "At most" gives and "at least" gives . See Forming an Inequality in Two Variables.

To graph it, draw the boundary line, dashed when the sign is strict and solid when it is or . Test a point off the line, usually the origin, and shade the side where the inequality holds. See Graphing an Inequality in Two Variables.

The side holding (−2, 4) is the solution, and the dashed boundary is left out. Full lesson: Graphing an Inequality in Two Variables

Two inequalities together are solved by the region where both shadings overlap. See The Overlap of Two Inequality Regions.

Draw both. The doubly shaded wedge is where the two demands hold at once. Full lesson: The Overlap of Two Inequality Regions

Equations with a modulus

The modulus |x| is the distance of x from zero, so it is never negative, and |x| = 5 has two solutions: 5 and −5. An equation with a modulus splits into two cases, because the expression inside the bars can be positive or negative. From |x − 3| = 5, either x − 3 = 5, giving x = 8, or x − 3 = −5, giving x = −2. Substitute both back to check. |x + 1| = −4 has no solution. See Solving Absolute Value Equations.

Read that on the line: 8 and −2 are each five steps away from 3. Full lesson: Solving Absolute Value Equations

An inequality with a modulus is a statement about distance. |x − 3| < 5 means x is within 5 of 3, one stretch of the line: −2 < x < 8. |x − 3| > 5 means more than 5 away from 3, which is two separate rays: x < −2 or x > 8. See Solving Absolute Value Inequalities.

Those are two rays heading apart, and no single stretch can describe them. Full lesson: Solving Absolute Value Inequalities

Now you

Solve |x − 2| = 3

Solve |x − 6| = 5

How do you know a solution is right?

Substitute it into the original equation, not into a line you wrote along the way. Solving 5x + 4 = 2x + 19 gave x = 5. Check: 5 × 5 + 4 = 29 and 2 × 5 + 19 = 29. For simultaneous equations, check both equations.

For an inequality, test one value from inside the answer and one from outside. If x < −3 solves −2x > 6, then x = −4 should work and x = 0 should fail. This catches a sign that was not reversed.

The four mistakes worth naming

The usual slip: only the x gets multiplied, and the 2 slides through untouched. Full lesson: Equations with Brackets

Where this leads next

The algebra behind these methods is in algebraic expressions, indices and surds, and the arithmetic in arithmetic methods. Quadratic equations need factoring or the quadratic formula. Proportional relationships written as equations start in ratio and proportion.

Practice it in the game

Math Challenge teaches each method above as an illustrated lesson with a try-it question, and the Linear Equations topic drills the solving itself.

Your turn

Three to try — tap what you get.

Solve 3x + 5 = 20

Solve x/4 = 6

Which x satisfies 2x − 1 > 9?

Math ChallengePractice that adapts to you, the whole lesson ladder, and your progress saved.
Practise solving equations free

Mr. Chalk Practice this lesson in the app