Skip to content

Solve Linear Inequalities

By the end of this section, you will be able to: graph inequalities on the number line, solve linear inequalities, translate words to an inequality and solve, and solve applications with linear inequalities.

Graph inequalities on the number line

What number would make the inequality x>3x>3 true? Are you thinking, “xx could be four”? That’s correct, but xx could be 66, too, or 3737, or even 3.0013.001. Any number greater than three is a solution to the inequality x>3x>3.

We show all the solutions to the inequality x>3x>3 on the number line by shading in all the numbers to the right of three, to show that all numbers greater than three are solutions. Because the number three itself is not a solution, we put an open parenthesis at three.

We can also represent inequalities using interval notation. There is no upper end to the solution to this inequality. In interval notation, we express x>3x>3 as (3,infty)(3,infty). The symbol inftyinfty is read as “infinity.” It is not an actual number.

−5−4−3−2−1012345(x > 3

We use the left parenthesis symbol, ((, to show that the endpoint of the inequality is not included. The left bracket symbol, [[, shows that the endpoint is included.

The inequality x1x\leq1 means all numbers less than or equal to one. Here we need to show that one is a solution, too. We do that by putting a bracket at x=1x=1. We then shade in all the numbers to the left of one, to show that all numbers less than one are solutions.

There is no lower end to those numbers. We write x1x\leq1 in interval notation as (,1](-\infty,1]. The symbol -\infty is read as “negative infinity.”

−5−4−3−2−1012345]x ≤ 1

The notation for inequalities on a number line and in interval notation use the same symbols to express the endpoints of intervals.

Example. Graph each inequality on the number line and write in interval notation: (a) x3x\geq-3 (b) x<2.5x<2.5 (c) x35x\leq-\tfrac35.

Solution.

(a) Shade to the right of 3-3, and put a bracket at 3-3.

−4−3−2−1[x ≥ −3

(b) Shade to the left of 2.52.5 and put a parenthesis at 2.52.5.

0123)x < 2.5

(c) Shade to the left of 35-\tfrac35, and put a bracket at 35-\tfrac35.

−2−101]x ≤ −3/5

Graph x>2x>2 mentally and write its solution in interval notation.

What numbers are greater than two but less than five? Are you thinking say, 2.5,3,323,4,4.992.5,3,3\tfrac23,4,4.99? We can represent all the numbers between two and five with the inequality 2<x<52<x<5. We can show 2<x<52<x<5 on the number line by shading all the numbers between two and five. Again, we use the parentheses to show the numbers two and five are not included.

On a number line, the solution is the segment between 22 and 55, with a parenthesis at each endpoint. The interval notation is (2,5)(2,5).

Example. Graph each inequality on the number line and write in interval notation: (a) 3<x<4-3<x<4 (b) 6x<1-6\leq x<-1 (c) 0x2.50\leq x\leq2.5.

Solution.

(a) Shade between 3-3 and 44. Put parentheses at 3-3 and 44.

The graph is the segment between 3-3 and 44, with a parenthesis at each endpoint. The interval notation is (3,4)(-3,4).

(b) Shade between 6-6 and 1-1. Put a bracket at 6-6, and a parenthesis at 1-1.

The graph is the segment between 6-6 and 1-1, with a bracket at 6-6 and a parenthesis at 1-1. The interval notation is [6,1)[-6,-1).

(c) Shade between 00 and 2.52.5. Put a bracket at 00 and at 2.52.5.

The graph is the segment between 00 and 2.52.5, with a bracket at each endpoint. The interval notation is [0,2.5][0,2.5].

Graph 2<x<1-2<x<1 mentally and write its solution in interval notation.

Solve linear inequalities

A linear inequality is much like a linear equation—but the equal sign is replaced with an inequality sign. A linear inequality is an inequality in one variable that can be written in one of the forms, ax+b<cax+b<c, ax+bcax+b\leq c, ax+b>cax+b>c, or ax+bcax+b\geq c.

Linear inequality. A linear inequality is an inequality in one variable that can be written in one of the following forms where aa, bb, and cc are real numbers and a0a\ne0:

ax+b<c,ax+bc,ax+b>c,ax+bc.ax+b<c,\qquad ax+b\leq c,\qquad ax+b>c,\qquad ax+b\geq c.

When we solved linear equations, we were able to use the properties of equality to add, subtract, multiply, or divide both sides and still keep the equality. Similar properties hold true for inequalities.

We can add or subtract the same quantity from both sides of an inequality and still keep the inequality. For example:

4<245<259<3  True4<24+7<2+73<9  True \begin{array}{rcl} -4&<&2\\[4pt] -4-5&<&2-5\\[4pt] -9&<&-3\ \text{ True} \end{array} \qquad \begin{array}{rcl} -4&<&2\\[4pt] -4+7&<&2+7\\[4pt] 3&<&9\ \text{ True} \end{array}

Notice that the inequality sign stayed the same.

Addition and Subtraction Property of Inequality. For any numbers aa, bb, and cc, if a<ba<b, then a+c<b+ca+c<b+c and ac<bca-c<b-c. If a>ba>b, then a+c>b+ca+c>b+c and ac>bca-c>b-c. We can add or subtract the same quantity from both sides of an inequality and still keep the inequality.

What happens to an inequality when we divide or multiply both sides by a constant? Let’s first multiply and divide both sides by a positive number.

10<1510(5)<15(5)50<75  True10<15105<1552<3  True \begin{array}{rcl} 10&<&15\\[4pt]10(5)&<&15(5)\\[4pt]50&<&75\ \text{ True} \end{array} \qquad \begin{array}{rcl} 10&<&15\\[4pt]\tfrac{10}{5}&<&\tfrac{15}{5}\\[4pt]2&<&3\ \text{ True} \end{array}

The inequality signs stayed the same. Does the inequality stay the same when we divide or multiply by a negative number?

10<1510(5)?15(5)50?7550>7510<15105?1552?32>3 \begin{array}{rcl} 10&<&15\\[4pt]10(-5)&?&15(-5)\\[4pt]-50&?&-75\\[4pt]-50&>&-75 \end{array} \qquad \begin{array}{rcl} 10&<&15\\[4pt]\tfrac{10}{-5}&?&\tfrac{15}{-5}\\[4pt]-2&?&-3\\[4pt]-2&>&-3 \end{array}

Notice that when we filled in the inequality signs, the inequality signs reversed their direction. When we divide or multiply an inequality by a positive number, the inequality sign stays the same. When we divide or multiply an inequality by a negative number, the inequality sign reverses.

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

  • If a<ba<b and c>0c>0, then ac<bcac<bc and ac<bc\tfrac ac<\tfrac bc.
  • If a>ba>b and c>0c>0, then ac>bcac>bc and ac>bc\tfrac ac>\tfrac bc.
  • If a<ba<b and c<0c<0, then ac>bcac>bc and ac>bc\tfrac ac>\tfrac bc.
  • If a>ba>b and c<0c<0, then ac<bcac<bc and ac<bc\tfrac ac<\tfrac bc.

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 when solving an inequality, as in the next example, the variable ends upon the right. We can rewrite the inequality in reverse to get the variable to the left. x>ax>a has the same meaning as a<xa<x. Think about it as “If Xander is taller than Andy, then Andy is shorter than Xander.”

Example. Solve each inequality. Graph the solution on the number line, and write the solution in interval notation: (a) x3834x-\tfrac38\leq\tfrac34 (b) 9y<549y<54 (c) 15<35z-15<\tfrac35z.

Solution.

(a)

x3834Add 38 to both sides of the inequality.x38+3834+38Simplify.x98 \begin{array}{lrcl} &&x-\tfrac38&\leq\tfrac34\\[4pt] \text{Add }\tfrac38\text{ to both sides of the inequality.}&x-\tfrac38+\tfrac38&\leq&\tfrac34+\tfrac38\\[4pt] \text{Simplify.}&x&\leq&\tfrac98 \end{array}
0123]x ≤ 9/8

(b)

9y<54Divide both sides by 9; the inequality stays the same.9y9<549Simplify.y<6 \begin{array}{lrcl} &&9y&<54\\[4pt] \text{Divide both sides by }9\text{; the inequality stays the same.}&\tfrac{9y}{9}&<&\tfrac{54}{9}\\[4pt] \text{Simplify.}&y&<&6 \end{array}
4567)y < 6

(c)

15<35zMultiply both sides by 53; the inequality stays the same.53(15)<53(35z)Simplify.25<zRewrite with the variable on the left.z>25 \begin{array}{lrcl} &&-15&<\tfrac35z\\[4pt] \text{Multiply both sides by }\tfrac53\text{; the inequality stays the same.}&\tfrac53(-15)&<&\tfrac53(\tfrac35z)\\[4pt] \text{Simplify.}&-25&<&z\\[4pt] \text{Rewrite with the variable on the left.}&z&>&-25 \end{array}
−26−25−24−23(z > −25

Solve p3416p-\tfrac34\geq\tfrac16. Enter the value at the endpoint.

Be careful when you multiply or divide by a negative number—remember to reverse the inequality sign.

Example. Solve each inequality, graph the solution on the number line, and write the solution in interval notation: (a) 13m65-13m\geq65 (b) n28\tfrac{n}{-2}\geq8.

Solution.

(a) Divide both sides of the inequality by 13-13. Since 13-13 is a negative, the inequality reverses.

13m136513,m5.\frac{-13m}{-13}\leq\frac{65}{-13},\qquad m\leq-5.
−7−6−5−4]m ≤ −5

(b) Multiply both sides of the inequality by 2-2. Since 2-2 is a negative, the inequality reverses.

2(n2)2(8),n16.-2\left(\frac n{-2}\right)\leq-2(8),\qquad n\leq-16.
−18−17−16−15]n ≤ −16

Solve 8q<32-8q<32.

Most inequalities will take more than one step to solve. We follow the same steps we used in the general strategy for solving linear equations, but make sure to pay close attention when we multiply or divide to isolate the variable.

Example. Solve the inequality 6y11y+176y\leq11y+17, graph the solution on the number line, and write the solution in interval notation.

Solution.

6y11y+17Subtract 11y from both sides.6y11y11y11y+17Simplify.5y17Divide by 5 and reverse the inequality.5y5175Simplify.y175 \begin{array}{lrcl} &&6y&\leq11y+17\\[4pt] \text{Subtract }11y\text{ from both sides.}&6y-11y&\leq&11y-11y+17\\[4pt] \text{Simplify.}&-5y&\leq&17\\[4pt] \text{Divide by }-5\text{ and reverse the inequality.}&\tfrac{-5y}{-5}&\geq&\tfrac{17}{-5}\\[4pt] \text{Simplify.}&y&\geq&-\tfrac{17}{5} \end{array}
−5−4−3−2[y ≥ −17/5

Solve 3q7q233q\geq7q-23.

When solving inequalities, it is usually easiest to collect the variables on the side where the coefficient of the variable is largest. This eliminates negative coefficients and so we don’t have to multiply or divide by a negative—which means we don’t have to remember to reverse the inequality sign.

Example. Solve the inequality 8p+3(p12)>7p288p+3(p-12)>7p-28, graph the solution on the number line, and write the solution in interval notation.

Solution.

8p+3(p12)>7p28Distribute.8p+3p36>7p28Combine like terms.11p36>7p28Subtract 7p from both sides.11p367p>7p287pSimplify.4p36>28Add 36 to both sides.4p36+36>28+36Simplify.4p>8Divide both sides by 4; the inequality stays the same.4p4>84Simplify.p>2 \begin{array}{lrcl} &&8p+3(p-12)&>7p-28\\[4pt] \text{Distribute.}&8p+3p-36&>&7p-28\\[4pt] \text{Combine like terms.}&11p-36&>&7p-28\\[4pt] \text{Subtract }7p\text{ from both sides.}&11p-36-7p&>&7p-28-7p\\[4pt] \text{Simplify.}&4p-36&>&-28\\[4pt] \text{Add }36\text{ to both sides.}&4p-36+36&>&-28+36\\[4pt] \text{Simplify.}&4p&>&8\\[4pt] \text{Divide both sides by }4\text{; the inequality stays the same.}&\tfrac{4p}{4}&>&\tfrac84\\[4pt] \text{Simplify.}&p&>&2 \end{array}
0123(p > 2

Solve 9y+2(y+6)>5y249y+2(y+6)>5y-24.

Just like some equations are identities and some are contradictions, inequalities may be identities or contradictions, too. We recognize these forms when we are left with only constants as we solve the inequality. If the result is a true statement, we have an identity. If the result is a false statement, we have a contradiction.

Example. Solve the inequality 8x2(5x)<4(x+9)+6x8x-2(5-x)<4(x+9)+6x, graph the solution on the number line, and write the solution in interval notation.

Solution.

8x2(5x)<4(x+9)+6xDistribute.8x10+2x<4x+36+6xCombine like terms.10x10<10x+36Subtract 10x from both sides.10x1010x<10x+3610xSimplify.10<36 \begin{array}{lrcl} &&8x-2(5-x)&<4(x+9)+6x\\[4pt] \text{Distribute.}&8x-10+2x&<&4x+36+6x\\[4pt] \text{Combine like terms.}&10x-10&<&10x+36\\[4pt] \text{Subtract }10x\text{ from both sides.}&10x-10-10x&<&10x+36-10x\\[4pt] \text{Simplify.}&-10&<&36 \end{array}

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

Solve 4b3(3b)>5(b6)+2b4b-3(3-b)>5(b-6)+2b. Enter the solution set in interval notation.

We can clear fractions in inequalities much as we did in equations. Again, be careful with the signs when multiplying or dividing by a negative.

Example. Solve the inequality 13a18a>524a+34\tfrac13a-\tfrac18a>\tfrac5{24}a+\tfrac34, graph the solution on the number line, and write the solution in interval notation.

Solution.

13a18a>524a+34Multiply both sides by the LCD, 24.24(13a18a)>24(524a+34)Simplify.8a3a>5a+18Combine like terms.5a>5a+18Subtract 5a from both sides.5a5a>5a5a+18Simplify.0>18 \begin{array}{lrcl} &&\tfrac13a-\tfrac18a&>\tfrac5{24}a+\tfrac34\\[4pt] \text{Multiply both sides by the LCD, }24.&24(\tfrac13a-\tfrac18a)&>&24(\tfrac5{24}a+\tfrac34)\\[4pt] \text{Simplify.}&8a-3a&>&5a+18\\[4pt] \text{Combine like terms.}&5a&>&5a+18\\[4pt] \text{Subtract }5a\text{ from both sides.}&5a-5a&>&5a-5a+18\\[4pt] \text{Simplify.}&0&>&18 \end{array}

The statement is false. The inequality is a contradiction. There is no solution.

Solve 14x112x>16x+78\tfrac14x-\tfrac1{12}x>\tfrac16x+\tfrac78. How many solutions are there?

Translate to an inequality and solve

To translate English sentences into inequalities, we need to recognize the phrases that indicate the inequality. Some words are easy, like “more than” and “less than.” But others are not as obvious. The table shows some common phrases that indicate inequalities.

>>\geq<<\leq
is greater thanis greater than or equal tois less thanis less than or equal to
is more thanis at leastis smaller thanis at most
is larger thanis no less thanhas fewer thanis no more than
exceedsis the minimumis lower thanis the maximum

Example. Translate and solve. Then graph the solution on the number line, and write the solution in interval notation.

Twenty-seven less than xx is at least 4848.

Solution. Translate: x2748x-27\geq48. Solve—add 2727 to both sides.

x27+2748+27,x75.x-27+27\geq48+27,\qquad x\geq75.
7374757677[x ≥ 75

Translate and solve: Nineteen less than pp is no less than 47.

Solve applications with linear inequalities

Many real-life situations require us to solve inequalities. The method we will use to solve applications with linear inequalities is very much like the one we used when we solved applications with equations.

We will read the problem and make sure all the words are understood. Next, we will identify what we are looking for and assign a variable to represent it. We will restate the problem in one sentence to make it easy to translate into an inequality. Then, we will solve the inequality.

Sometimes an application requires the solution to be a whole number, but the algebraic solution to the inequality is not a whole number. In that case, we must round the algebraic solution to a whole number. The context of the application will determine whether we round up or down.

Example. Dawn won a mini-grant of $4,000 to buy tablet computers for her classroom. The tablets she would like to buy cost $254.12 each, including tax and delivery. What is the maximum number of tablets Dawn can buy?

Solution.

Step 1. Read the problem.

Step 2. Identify what you are looking for: the maximum number of tablets Dawn can buy.

Step 3. Name what you are looking for. Choose a variable to represent that quantity. Let n=n= the number of tablets.

Step 4. Translate. Write a sentence that gives the information to find it: $254.12 times the number of tablets is no more than $4,000. Translate into an inequality: 254.12n4000254.12n\leq4000.

Step 5. Solve the inequality. n15.74n\leq15.74. But nn must be a whole number of tablets, so round to 1515: n15n\leq15.

Step 6. Check the answer in the problem and make sure it makes sense. Rounding down the price to $250, 1515 tablets would cost $3,750, while 1616 tablets would be $4,000. So a maximum of 1515 tablets at $254.12 seems reasonable.

Step 7. Answer the question with a complete sentence. Dawn can buy a maximum of 1515 tablets.

Angie has $20 to spend on juice boxes for her son’s preschool picnic. Each pack costs $2.63. What is the maximum number of packs she can buy?

Example. Taleisha’s phone plan costs her $28.80 a month plus $0.20 per text message. How many text messages can she send/receive and keep her monthly phone bill no more than $50?

Solution.

Step 1. Read the problem.

Step 2. Identify what you are looking for: the number of text messages Taleisha can make.

Step 3. Name what you are looking for. Choose a variable to represent that quantity. Let t=t= the number of text messages.

Step 4. Translate. Write a sentence that gives the information to find it: $28.80 plus $0.20 times the number of text messages is less than or equal to $50. Translate into an inequality: 28.80+0.20t5028.80+0.20t\leq50.

Step 5. Solve the inequality:

0.2t21.2,t106 text messages.0.2t\leq21.2,\qquad t\leq106\text{ text messages}.

Step 6. Check the answer in the problem and make sure it makes sense. Yes, 28.80+0.20(106)=5028.80+0.20(106)=50.

Step 7. Write a sentence that answers the question. Taleisha can send/receive no more than 106106 text messages to keep her bill no more than $50.

Sergio and Lizeth plan to rent a car for $75 a week plus $0.25 a mile. How many miles can they travel and keep within their $200 budget?

Profit is the money that remains when the costs have been subtracted from the revenue. In the next example, we will find the number of jobs a small businesswoman needs to do every month in order to make a certain amount of profit.

Example. Felicity has a calligraphy business. She charges $2.50 per wedding invitation. Her monthly expenses are $650. How many invitations must she write to earn a profit of at least $2,800 per month?

Solution.

Step 1. Read the problem.

Step 2. Identify what you are looking for: the number of invitations Felicity needs to write.

Step 3. Name what you are looking for. Choose a variable to represent it. Let j=j= the number of invitations.

Step 4. Translate. Write a sentence that gives the information to find it: $2.50 times the number of invitations minus $650 is at least $2,800. Translate into an inequality:

2.50j6502,800.2.50j-650\geq2{,}800.

Step 5. Solve the inequality: 2.5j3,4502.5j\geq3{,}450, so j1,380j\geq1{,}380 invitations.

Step 6. Check the answer in the problem and make sure it makes sense. If Felicity wrote 14001400 invitations, her profit would be 2.50(1400)6502.50(1400)-650, or $2,850. This is more than $2,800.

Step 7. Write a sentence that answers the question. Felicity must write at least 1,3801{,}380 invitations.

Caleb charges $32 per hour for pet sitting. His monthly expenses are $2,272. How many hours must he work to earn a profit of at least $800 per month?

There are many situations in which several quantities contribute to the total expense. We must make sure to account for all the individual expenses when we solve problems like this.

Example. Malik is planning a six-day summer vacation trip. He has $840 in savings, and he earns $45 per hour for tutoring. The trip will cost him $525 for airfare, $780 for food and sightseeing, and $95 per night for the hotel. How many hours must he tutor to have enough money to pay for the trip?

Solution.

Step 1. Read the problem.

Step 2. Identify what you are looking for: the number of hours Malik must tutor.

Step 3. Name what you are looking for. Choose a variable to represent that quantity. Let h=h= the number of hours.

Step 4. Translate. Write a sentence that gives the information to find it. The expenses must be less than or equal to the income. The cost of airfare plus the cost of food and sightseeing and the hotel bill must be less than the savings plus the amount earned tutoring. Translate into an inequality:

525+780+95(6)840+45h.525+780+95(6)\leq840+45h.

Step 5. Solve the inequality:

1,875840+45h1,03545h23hh23 \begin{array}{rcl} 1{,}875&\leq&840+45h\\[4pt] 1{,}035&\leq&45h\\[4pt] 23&\leq&h\\[4pt] h&\geq&23 \end{array}

Step 6. Check the answer in the problem and make sure it makes sense. We substitute 2323 into the inequality:

1,875840+45h1,875840+45(23)1,8751,875 \begin{array}{rcl} 1{,}875&\leq&840+45h\\[4pt] 1{,}875&\leq&840+45(23)\\[4pt] 1{,}875&\leq&1{,}875 \end{array}

Step 7. Write a sentence that answers the question. Malik must tutor at least 2323 hours.

Brenda has $500 in savings and can earn $15 an hour babysitting. She expects to pay $350 airfare, $375 for food and entertainment, and $60 a night for 3 nights. How many hours must she babysit to pay for the trip?

Key terms. A linear inequality is an inequality in one variable that can be written in one of the forms ax+b<cax+b<c, ax+bcax+b\leq c, ax+b>cax+b>c, or ax+bcax+b\geq c, where aa, bb, and cc are real numbers and a0a\ne0.


Adapted from Intermediate Algebra 2e, Section 2.5 by Lynn Marecek and Andrea Honeycutt Mathis, © OpenStax, licensed under CC BY-NC-SA 4.0. Access the original for free at OpenStax. Changes: adapted the source into an interactive web section and converted selected Try It exercises into answer-checked activities.