MAT040 Beginning Algebra All classes

Introduction to Algebra · Chapter 8

Solving Linear Inequalities

The numbered examples below are interactive: the numbers change every time you load the page. Type your answer, press Enter or Check, and use New numbers to practice again.

Graph Inequalities on the Number Line

Recall that a solution of an equation is a value of the variable that makes a true statement when substituted into the equation. What about the solution of an inequality? What number would make x>3x>3 true? xx could be 44, but also 55, 2020, or even 3.0013.001. Any number greater than 33 is a solution.

We show the solutions of x>3x>3 on the number line by shading all the numbers to the right of 33. Because 33 itself is not a solution, we put an open parenthesis at 33.

x>3x>3  Number line from −5 to 5. A parenthesis at 3 with the line shaded to the right: all numbers greater than 3.

For x≥3x\geq3 we need to show that 33 is a solution too, so we put a bracket at 33.

x≥3x\geq3  Number line from −5 to 5. A bracket at 3 with the line shaded to the right: all numbers greater than or equal to 3.

The parenthesis (( shows that the endpoint of the inequality is not included. The bracket [[ shows that the endpoint is included.

Example 1

Graph on the number line.

a. x≤1b. x<5c. x>−1a.\ x\leq1\qquad\qquad b.\ x<5\qquad\qquad c.\ x>-1

a.a. x≤1x\leq1 means all numbers less than or equal to 11. Shade to the left of 11 and put a bracket at 11.

Number line from −5 to 5. A bracket at 1 with the line shaded to the left: all numbers less than or equal to 1.

b.b. x<5x<5 means all numbers less than 55. Shade to the left of 55 and put a parenthesis at 55.

Number line from −5 to 5. A parenthesis at 5 with the line shaded to the left: all numbers less than 5.

c.c. x>−1x>-1 means all numbers greater than −1-1. Shade to the right of −1-1 and put a parenthesis at −1-1.

Number line from −5 to 5. A parenthesis at −1 with the line shaded to the right: all numbers greater than −1.

Interval Notation

We can also write inequalities in interval notation. The inequality x>3x>3 means all numbers greater than 33. There is no upper end, so we write (3,∞)(3,\infty). The symbol ∞\infty is read “infinity”; it is not an actual number. The inequality x≤1x\leq1 has no lower end, so we write (−∞,1](-\infty,1], where −∞-\infty is read “negative infinity”.

The parenthesis or bracket in interval notation matches the symbol at the endpoint of the arrow.

x>ax>ax≥ax\geq ax<ax<ax≤ax\leq a
(a,∞)(a,\infty)[a,∞)[a,\infty)(−∞,a)(-\infty,a)(−∞,a](-\infty,a]
parenthesisbracketparenthesisbracket

Infinity always gets a parenthesis, since it is not a number we can reach.

Example 2

Graph on the number line and write in interval notation.

a. x≥−3b. x<2.5c. x≤−35a.\ x\geq-3\qquad\qquad b.\ x<2.5\qquad\qquad c.\ x\leq-\dfrac35

a.a. x≥−3x\geq-3: shade right of −3-3 with a bracket. Interval notation: [−3,∞)[-3,\infty).

Number line from −5 to 5. A bracket at −3 with the line shaded to the right: all numbers greater than or equal to −3.

b.b. x<2.5x<2.5: shade left of 2.52.5 with a parenthesis. Interval notation: (−∞,2.5)(-\infty,2.5).

Number line from −5 to 5. A parenthesis at 2.5 with the line shaded to the left: all numbers less than 2.5.

c.c. x≤−35x\leq-\frac35: shade left of −35-\frac35 with a bracket. Interval notation: (−∞,−35]\left(-\infty,-\frac35\right].

Number line from −5 to 5. A bracket at −3/5 with the line shaded to the left: all numbers less than or equal to −3/5.

The Addition and Subtraction Properties of Inequality

The Subtraction and Addition Properties of Equality say that if two quantities are equal, adding or subtracting the same amount from both gives equal results. Similar properties hold for inequalities. For example, −4<2-4<2. If we subtract 55 from both sides we get −9-9 and −3-3, and −9<−3-9<-3. The inequality sign stayed the same.

Properties of Inequality. For any numbers aa, bb and cc:

Subtraction PropertyAddition Property
if a<ba<b then a−c<b−ca-c<b-cif a<ba<b then a+c<b+ca+c<b+c
if a>ba>b then a−c>b−ca-c>b-cif a>ba>b then a+c>b+ca+c>b+c

We use these properties to solve inequalities, taking the same steps we used to solve equations. For x+5>9x+5>9:

x+5>9 → x+5−5>9−5 → x>4x+5>9\ \to\ x+5-5>9-5\ \to\ x>4

Any number greater than 44 is a solution.

Example 3

Solve x+5≤6x+5\leq6, graph the solution and write it in interval notation.

x+5≤6x+5−5≤6−5subtract 5 from both sidesx≤1\begin{align*} x+5&\leq6\\ x+5-5&\leq6-5&&\text{subtract $5$ from both sides}\\ x&\leq1 \end{align*}

Interval notation: (−∞,1](-\infty,1].

Number line from −5 to 5. A bracket at 1 with the line shaded to the left: all numbers less than or equal to 1.

Example 4

Solve x−2>1x-2>1, graph the solution and write it in interval notation.

x−2>1x−2+2>1+2add 2 to both sidesx>3\begin{align*} x-2&>1\\ x-2+2&>1+2&&\text{add $2$ to both sides}\\ x&>3 \end{align*}

Interval notation: (3,∞)(3,\infty).

Number line from −5 to 5. A parenthesis at 3 with the line shaded to the right: all numbers greater than 3.

Example 5

Solve n−12≤58n-\dfrac12\leq\dfrac58, graph the solution and write it in interval notation.

n−12≤58n−12+12≤58+12add 12 to both sidesn≤58+48=98\begin{align*} n-\frac12&\leq\frac58\\ n-\frac12+\frac12&\leq\frac58+\frac12&&\text{add $\tfrac12$ to both sides}\\ n&\leq\frac58+\frac48=\frac98 \end{align*}

Interval notation: (−∞,98]\left(-\infty,\frac98\right].

Number line from 0 to 3. A bracket at 9/8 with the line shaded to the left: all numbers less than or equal to 9/8.

The Division and Multiplication Properties of Inequality

The Division and Multiplication Properties of Equality say that if two quantities are equal, dividing or multiplying both by the same amount (not dividing by 00) gives equal results. What happens to an inequality?

Start with 10<1510<15. If we divide both sides by 55 we get 2<32<3. If we multiply both sides by 55 we get 50<7550<75. The sign stayed the same.

Now what if we divide or multiply by a negative number? Dividing 10<1510<15 by −5-5 gives −2-2 and −3-3, and −2>−3-2>-3. Multiplying both sides by −5-5 gives −50-50 and −75-75, and −50>−75-50>-75. The inequality sign reversed.

Division and Multiplication Properties of Inequality. For any real numbers aa, bb, cc:

if a<b and c>0, then ac<bc and ac<bcif a>b and c>0, then ac>bc and ac>bcif a<b and c<0, then ac>bc and ac>bcif a>b and c<0, then ac<bc and ac<bc\begin{align*} \text{if }a<b\text{ and }c>0,&\text{ then }\frac ac<\frac bc\text{ and }ac<bc\\ \text{if }a>b\text{ and }c>0,&\text{ then }\frac ac>\frac bc\text{ and }ac>bc\\ \text{if }a<b\text{ and }c<0,&\text{ then }\frac ac>\frac bc\text{ and }ac>bc\\ \text{if }a>b\text{ and }c<0,&\text{ then }\frac ac<\frac bc\text{ and }ac<bc \end{align*}

When we divide or multiply an inequality by a positive number, the inequality stays the same.
When we divide or multiply an inequality by a negative number, the inequality reverses.

Sometimes the variable ends up on the right. We can rewrite the inequality in reverse to put the variable on the left: x>ax>a has the same meaning as a<xa<x. (If Xavier is taller than Alex, then Alex is shorter than Xavier.)

Example 6

Solve 7y<427y<42, graph the solution and write it in interval notation.

7y<427y7<427divide by 7; since 7>0 the sign staysy<6\begin{align*} 7y&<42\\ \frac{7y}7&<\frac{42}7&&\text{divide by $7$; since $7>0$ the sign stays}\\ y&<6 \end{align*}

Interval notation: (−∞,6)(-\infty,6).

Number line from 3 to 8. A parenthesis at 6 with the line shaded to the left: all numbers less than 6.

Example 7

Solve −10a≥50-10a\geq50, graph the solution and write it in interval notation.

−10a≥50−10a−10≤50−10divide by −10; since −10<0 the sign reversesa≤−5\begin{align*} -10a&\geq50\\ \frac{-10a}{-10}&\leq\frac{50}{-10}&&\text{divide by $-10$; since $-10<0$ the sign reverses}\\ a&\leq-5 \end{align*}

Interval notation: (−∞,−5](-\infty,-5].

Number line from −8 to −3. A bracket at −5 with the line shaded to the left: all numbers less than or equal to −5.

Example 8

Solve −20<45u-20<\dfrac45u, graph the solution and write it in interval notation.

−20<45u54(−20)<54(45u)multiply by 54; since 54>0 the sign stays−25<uu>−25rewrite with the variable on the left\begin{align*} -20&<\frac45u\\ \frac54(-20)&<\frac54\left(\frac45u\right)&&\text{multiply by $\tfrac54$; since $\tfrac54>0$ the sign stays}\\ -25&<u\\ u&>-25&&\text{rewrite with the variable on the left} \end{align*}

Interval notation: (−25,∞)(-25,\infty).

Number line from −27 to −22. A parenthesis at −25 with the line shaded to the right: all numbers greater than −25.

Example 9

Solve t−2≥8\dfrac t{-2}\geq8, graph the solution and write it in interval notation.

t−2≥8−2(t−2)≤−2(8)multiply by −2; since −2<0 the sign reversest≤−16\begin{align*} \frac t{-2}&\geq8\\ -2\left(\frac t{-2}\right)&\leq-2(8)&&\text{multiply by $-2$; since $-2<0$ the sign reverses}\\ t&\leq-16 \end{align*}

Interval notation: (−∞,−16](-\infty,-16].

Number line from −19 to −14. A bracket at −16 with the line shaded to the left: all numbers less than or equal to −16.

Inequalities That Require Simplification

Most inequalities take more than one step. We follow the same steps we used to solve linear equations, but we pay close attention when multiplying or dividing by a negative number.

Example 10

Solve 4m≤9m+174m\leq9m+17, graph the solution and write it in interval notation.

4m≤9m+174m−9m≤9m+17−9msubtract 9m to collect the variables on the left−5m≤17−5m−5≥17−5divide by −5 and reverse the inequalitym≥−175\begin{align*} 4m&\leq9m+17\\ 4m-9m&\leq9m+17-9m&&\text{subtract $9m$ to collect the variables on the left}\\ -5m&\leq17\\ \frac{-5m}{-5}&\geq\frac{17}{-5}&&\text{divide by $-5$ and reverse the inequality}\\ m&\geq-\frac{17}5 \end{align*}

Interval notation: [−175,∞)\left[-\frac{17}5,\infty\right).

Number line from −5 to −1. A bracket at −17/5 with the line shaded to the right: all numbers greater than or equal to −17/5.

Example 11

Solve 8p+3(p−12)>7p−288p+3(p-12)>7p-28, graph the solution and write it in interval notation.

8p+3(p−12)>7p−288p+3p−36>7p−28distribute11p−36>7p−28combine like terms11p−36−7p>7p−28−7psubtract 7p4p−36>−284p−36+36>−28+36add 364p>84p4>84divide by 4; the sign staysp>2\begin{align*} 8p+3(p-12)&>7p-28\\ 8p+3p-36&>7p-28&&\text{distribute}\\ 11p-36&>7p-28&&\text{combine like terms}\\ 11p-36-7p&>7p-28-7p&&\text{subtract $7p$}\\ 4p-36&>-28\\ 4p-36+36&>-28+36&&\text{add $36$}\\ 4p&>8\\ \frac{4p}4&>\frac84&&\text{divide by $4$; the sign stays}\\ p&>2 \end{align*}

Interval notation: (2,∞)(2,\infty).

Number line from −1 to 4. A parenthesis at 2 with the line shaded to the right: all numbers greater than 2.

Just like some equations are identities and some are contradictions, inequalities may be too. We recognize these when only constants are left as we solve. If the result is a true statement we have an identity (the solution is all real numbers). If the result is a false statement we have a contradiction (there is no solution).

Example 12

Solve 8x−2(5−x)<4(x+9)+6x8x-2(5-x)<4(x+9)+6x, graph the solution and write it in interval notation.

8x−2(5−x)<4(x+9)+6x8x−10+2x<4x+36+6xdistribute10x−10<10x+36combine like terms10x−10−10x<10x+36−10xsubtract 10x−10<36\begin{align*} 8x-2(5-x)&<4(x+9)+6x\\ 8x-10+2x&<4x+36+6x&&\text{distribute}\\ 10x-10&<10x+36&&\text{combine like terms}\\ 10x-10-10x&<10x+36-10x&&\text{subtract $10x$}\\ -10&<36 \end{align*}

The xx’s are gone and we have a true statement, so the inequality is an identity. The solution is all real numbers, (−∞,∞)(-\infty,\infty).

Number line from −5 to 5, shaded in both directions with arrows at both ends: every number is included.

Example 13

Solve 13a−18a>524a+34\dfrac13a-\dfrac18a>\dfrac5{24}a+\dfrac34, graph the solution and write it in interval notation.

13a−18a>524a+3424(13a−18a)>24(524a+34)multiply by the LCD, 248a−3a>5a+185a>5a+18combine like terms5a−5a>5a+18−5asubtract 5a0>18\begin{align*} \frac13a-\frac18a&>\frac5{24}a+\frac34\\ 24\left(\frac13a-\frac18a\right)&>24\left(\frac5{24}a+\frac34\right)&&\text{multiply by the LCD, $24$}\\ 8a-3a&>5a+18\\ 5a&>5a+18&&\text{combine like terms}\\ 5a-5a&>5a+18-5a&&\text{subtract $5a$}\\ 0&>18 \end{align*}

The statement is false, so the inequality is a contradiction. There is no solution.

Worked-example videos

Adapted from OpenStax Elementary Algebra, licensed under CC BY 4.0.