Suppose you spent 2 more hours doing your homework this week than you spent last week. If the number of hours that you spent last week is represented by \begin{align*}h\end{align*}, and you spent between 6 and 9 hours this week, how many hours did you spend doing your homework last week?

### Compound Inequalities

Inequalities that relate to the same topic can be written as a **compound inequality**. A compound inequality involves the connecting words “and” and “or.”

The word **and** in mathematics means the **intersection** between sets or what the sets have in common.

The word **or** in mathematics means the **union** of the sets or combining both sets into one large set.

#### Inequalities Involving “And”

Suppose you were given the statement “The speed limit is 65 miles per hour.” Using interval notation, the solutions to this situation can be written as [0, 65]. As an inequality, what is being said it this:

The speed must be at least 0 mph and at most 65 mph.

Using inequalities to represent “at least” and “at most,” the following sentences are written:

\begin{align*}s \ge 0 \ \text{and} \ s \le 65\end{align*}

This is an example of a compound inequality. It can be shortened by writing:

\begin{align*}0 \le s \le 65\end{align*}

#### Graph the solutions to \begin{align*}-40 \le y < 60:\end{align*}

Color in a circle at -40 to represent “less than or equal to.” Draw an open circle at 60 to indicate that 60 is the limit, but is not itself included. The variable is placed between these two values, showing that the solutions occur between these two numbers.

#### Solving “And” Compound Inequalities

When you solve compound inequalities, separate the inequalities and solve each of them separately. Then combine the solutions at the end.

#### Solve for and graph the solution to the inequality:

#### \begin{align*}3x-5 < x + 9 \le 5x + 13\end{align*}

To solve this compound inequality, begin by separating the two component inequalities.

\begin{align*}3x-5 & < x+9 &&&& \ x+9 \le 5x+13\\ 2x & < 14 && \text{and} && \quad -4 \le 4x\\ x & < 7 && && \quad -1 \le x \ \text{or } x\ge -1\end{align*}

The answers are \begin{align*}x<7\end{align*} and \begin{align*}x \ge -1\end{align*} and can be written together as \begin{align*}-1 \le x < 7.\end{align*} Graph the solutions that satisfy both inequalities.

#### Inequalities Involving “Or”

Suppose a restaurant offers discounts to diners who are children 3 years or younger or adults over 65.

To write an inequality to represent this situation, begin by writing an inequality to represent each piece. “3 years or younger” means you must be born but must not have celebrated your fourth birthday.

\begin{align*}0 \le a < 4\end{align*}

“Adults over 65” implies \begin{align*}a > 65\end{align*}.

To finish writing the inequality, add the word "or" between the phrases.

\begin{align*}0 \le a < 4 \text{ or } a > 65\end{align*}

The word "or" between the phrases allows you to graph all the possibilities on one number line.

#### Solving “Or” Compound Inequalities

To solve an “or” compound inequality, separate the component inequalities, solve each separately, then combine the solutions to finish the problem.

#### Solve for \begin{align*}x\end{align*} and graph the solution to the following inequality:

\begin{align*}9-2x \le 3 \text{ or } 3x+10 \le 6-x\end{align*}

To solve this compound inequality, begin by separating the components.

\begin{align*}9-2x & \le 3 &&&& 3x+10 \le 6-x\\ -2x & \le -6 && \text{or} && \ \qquad 4x \le -4\\ x & \ge 3 &&&& \qquad \ \ x \le -1\end{align*}

The answer is \begin{align*}x \ge 3\end{align*} or \begin{align*}x \le -1.\end{align*} Graph by placing filled dots at 3 and at -1, then coloring the line in opposite directions to indicate the values of \begin{align*}x\end{align*} that make either statement true.

#### Using a Graphing Calculator to Solve Compound Inequalities

Graphing calculators can be used to solve many complex algebraic sentences.

#### Solve \begin{align*}7x-2 < 10x+1 < 9x+5\end{align*} using a graphing calculator:

This is a compound inequality composed of two separate statements: \begin{align*}7x-2 < 10x+1\end{align*} and \begin{align*}10x+1 < 9x+5.\end{align*}

To enter a compound inequality into a graphing calculator:

Press the **[Y=]** button.

The inequality symbols are found by pressing **[TEST]** **[2nd] [MATH]**

Enter the inequality as:

\begin{align*}Y_1 = (7x-2 < 10x+1) \ AND \ (10x+1 < 9x+5)\end{align*}

To enter the **[AND]** symbol, press **[TEST]**. Choose **[LOGIC]** on the top row and then select option 1.

The resulting graph is as shown below.

The solutions are the values of \begin{align*}x\end{align*} for which \begin{align*}y=1\end{align*}.

In this case, \begin{align*}-1 < x < 4\end{align*} .

### Examples

#### Example 1

Earlier, you were told to assume that you spent 2 more hours doing your homework this week than you spent last week. If the number of hours that you spent last week is represented by \begin{align*}h,\end{align*} and you spent between 6 and 9 hours this week, how many hours did you spend doing your homework last week?

If you spent \begin{align*}h\end{align*} hours doing your homework this last week, and 2 more hours doing your homework this week, you spent \begin{align*}h+2\end{align*} hours working on homework this week. If you spent 6 to 9 hours working this week, then the inequality that represents this situation is:

\begin{align*}6 < h + 2 < 9\end{align*}

To solve this, begin by separating the inequalities:

\begin{align*}6 & < h+2 && \text{and} && \quad \ h+2 < 9\\ 4 & < h && \text{and} && \qquad \ \ \ h < 7\\ \end{align*}

Putting these two inequalities together, you get \begin{align*}4 < h < 7\end{align*} as your solution.

You spent between 4 and 7 hours working on homework last week.

#### Example 2

Graph the solution set for \begin{align*}-1+b>4\end{align*} or \begin{align*} 2b+7\le11\end{align*}.

Start by solving for \begin{align*}b\end{align*} for each inequality.

\begin{align*} \text{Start with the inequalities.} && -1+b&>4 && 2b+7 \le 11\\ \text{Simplify by adding opposites.} && b&>5 &&\quad \ \ 2b\le 4\\ \text{Divide if necessary.} && & && \qquad \! b\le 2 \end{align*}

### Review

- Describe the solution set to a compound inequality joined by the word “and.”
- How would your answer to question #1 change if the joining word was “or?”
- Write the process used to solve a compound inequality.

Write the compound inequalities represented by the following graphs.

Graph each compound inequality on a number line.

- \begin{align*}-4 \le x \le 6\end{align*}
- \begin{align*}x < 0\end{align*} or \begin{align*}x > 2\end{align*}
- \begin{align*}x \ge -8\end{align*} or \begin{align*}x \le -20\end{align*}
- \begin{align*}-15 < x \le 85\end{align*}

In 15–30, solve the following compound inequalities and graph the solution on a number line.

- \begin{align*}-5 \le x-4 \le 13\end{align*}
- \begin{align*}-2 < 4x -5 \le 11\end{align*}
- \begin{align*}\frac{x-2}{6} \le 2x-4\end{align*} or \begin{align*}\frac{x-2}{6} > x+5\end{align*}
- \begin{align*}1 \le 3x+4 \le 4\end{align*}
- \begin{align*}-12 \le 2 - 5x \le 7\end{align*}
- \begin{align*}\frac{3}{4} \le 2x+9 \le \frac{3}{2}\end{align*}
- \begin{align*}-2 < \frac{2x-1}{3} < -1\end{align*}
- \begin{align*}5x+2(x-3)\ge 2\end{align*}
- \begin{align*}3x+2 \le 10\end{align*} or \begin{align*}3x+2 \ge 15\end{align*}
- \begin{align*}4x-1 \ge 7\end{align*} or \begin{align*}\frac{9x}{2} < 3\end{align*}
- \begin{align*}3-x < -4\end{align*} or \begin{align*}3-x > 10\end{align*}
- \begin{align*}\frac{2x+3}{4} < 2\end{align*} or \begin{align*}-\frac{x}{5}+3\frac{2}{5}\end{align*}
- \begin{align*}2x - 7 \le -3\end{align*} or \begin{align*}2x - 3 > 11\end{align*}
- \begin{align*}-6d>48\end{align*} or \begin{align*}10+d>11\end{align*}
- \begin{align*}6+b<8\end{align*} or \begin{align*}b+6 \ge 6\end{align*}
- \begin{align*}4x+3 \le 9\end{align*} or \begin{align*}-5x+4 \le -12\end{align*}

### Review (Answers)

To see the Review answers, open this PDF file and look for section 6.5.