WordGPT
← Math: from algebra to machine learning

Algebra · Part 3 of 10

Linear inequalities

Solve linear inequalities step by step, learn when the sign flips, and read answers as intervals and word problems.

Algebra16 min read

An equation tells you one exact value: "the ticket costs exactly $8." Real life is often looser: "I can spend at most $40," "I need at least 6 hours of sleep," "the elevator holds no more than 1000 kg." These are inequalities, and their answers are not single numbers but whole ranges of numbers.

Solving a linear inequality is almost identical to solving a linear equation: do the same operations to both sides to isolate the variable. There is exactly one new rule to learn, and it appears only when you multiply or divide by a negative number. This lesson shows when and why that rule kicks in, then practices reading and checking answers.

What an inequality solution looks like

The four inequality symbols are (less than), (greater than), (less than or equal to), and (greater than or equal to). A solution to an inequality is any value of the variable that makes the statement true, so solutions usually form an interval.

For example, is true for , , , , and every other number below — but not for itself. We write the answer as , or in interval notation , where a round parenthesis means the endpoint is excluded. For the endpoint is included, written with a square bracket.

A good habit: pick one test value from your answer and substitute it into the original inequality. If satisfies (it does: ), your interval at least contains the right region.

Number line showing a closed circle at 3 with shading extending left toward negative infinity, the interval (−∞, 3].1.522.533.544.5
The solution of x ≤ 3 is the whole ray up to 3, with a closed circle because 3 itself satisfies the inequality.

Example 1. Reading a solution as an interval Which values satisfy ? Write the answer in interval notation and test and .

The endpoint is included because of the "or equal to" bar.

Test : is true, so the endpoint belongs.

Test : is false, so values above are excluded, as expected.

Solving inequalities like equations

Adding or subtracting the same number on both sides, and multiplying or dividing both sides by a positive number, never changes which values make the inequality true. So most of the work is exactly what you did with equations.

The one new rule: if you multiply or divide both sides by a negative number, the inequality sign flips ( becomes , becomes , and so on).

Why? Compare . Multiply both sides by : you get and , and . Negatives reverse order, so the sign must flip to keep the statement true.

Strategy: move all variable terms to one side and constants to the other, combine like terms, and isolate . If a negative coefficient ends up in front of , divide by it and flip the sign. (Alternatively, you can avoid the flip entirely by moving -terms so ends up with a positive coefficient — both routes give the same answer.)

Number line showing an open circle at −5 with shading extending left, the interval (−∞, −5).-6.5-6-5.5-5-4.5-4-3.5
After dividing −2x > 10 by −2 and flipping the sign, the answer is an open circle at −5 with everything to the left shaded.
Interactive plot of y = a·x against the horizontal line y = 10, with a slider for a from −3 to 3; the crossing point and the side satisfying a·x > 10 move as a changes sign.-10-5510-30-20-10102030y = a·xy = 10
Drag a from positive to negative: the solution of a·x > 10 switches from x > 10/a to x < 10/a. When a is negative, larger x makes a·x smaller, so the sign flips.

Example 2. A one-step inequality Solve .

Subtract from both sides:

Check with : , true. And gives , also true, so the interval behaves correctly.

Example 3. Dividing by a negative flips the sign Solve .

Divide both sides by and flip the sign:

Check with : , true.

Check the excluded endpoint : , which is not greater than , so is correctly left out.

Example 4. Variables on both sides Solve .

Subtract from both sides:

Add to both sides:

Divide by and flip:

Check with : left side , right side , and is true.

Check : left side , right side , and is false — so values above are correctly excluded.

Inequalities with fractions and parentheses

Distribute first, clear fractions if you like, then collect terms. Clearing fractions by multiplying everything by a positive common denominator is safe — no flip needed since the multiplier is positive.

Example 5. Clearing a fraction Solve .

Multiply every term by (positive, so no flip):

Subtract from both sides:

That is the same as .

Check with : and , and is true.

Check : is false, so is correctly excluded.

Compound inequalities

A compound inequality like says two things at once: and . The trick is to operate on all three parts at once, keeping the chain valid.

If the two halves of a compound inequality contradict each other (for example it would require and at once), there is no solution.

Number line showing a closed circle at −2 and an open circle at 3 with the segment between them shaded, the interval [−2, 3).-4-3-2-1012345
The compound inequality −3 ≤ 2x + 1 < 7 reduces to a closed circle at −2 and an open circle at 3: included on the left, excluded on the right.

Example 6. Solving a chain Solve .

Subtract from all three parts:

Divide all three parts by :

In interval notation: .

Check : , and is true.

Check : is false, so the right endpoint is correctly excluded.

Inequalities in word problems

Translate the words into a symbol: "at most" means , "at least" means , "more than" means , "less than" means . Then solve as usual and interpret the answer in context — often the answer must be a whole number, so you round the right way.

Example 7. A budget limit A taxi charges $ to start plus $ per kilometer. You have $. At most how many whole kilometers can you ride?

Let be the number of kilometers. The cost must satisfy:

Subtract :

Divide by :

The largest whole number of kilometers is .

Check: , exactly on budget; km would cost $, too much.

Common mistakes

  • Forgetting to flip the inequality sign when dividing by a negative: gives , not .
  • Flipping the sign when multiplying or dividing by a positive number — the flip happens only for negatives.
  • Treating like and excluding an endpoint that should be included: includes .
  • In a compound inequality, operating on only two of the three parts instead of applying each step to all three.
  • In word problems, rounding the wrong way: if kilometers, the largest whole number is , not .

Practice

  1. Solve the inequality .
  2. Solve the inequality .
  3. Solve the inequality .
  4. Solve the compound inequality .
  5. A gym charges a $ membership fee plus $ per visit. If you have $ to spend in total, what is the largest number of whole visits you can pay for?
Answers
  1. , since subtracting from both sides gives .
  2. , since dividing by flips the sign.
  3. , since after collecting terms.
  4. , after subtracting from all parts and dividing by .
  5. visits, because gives .

Next, you will meet systems of linear equations, where two equations with two variables must be satisfied at the same time.

Part of the free WordGPT Learn section. WordGPT is an AI writing workspace for documents, resumes, websites and study.