What if 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 , and you spent between 6 and 9 hours this week, how many hours did you spend doing your homework last week? In this Concept, you'll learn how to solve inequalities such as the one representing this scenario and how to graph the solution. You'll also learn how to use a graphing calculator to find the solution.

### Guidance

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 the sets.

“What the sets have in common.”

The word **or** in mathematics means the **union** of the sets.

“Combining both sets into one large set.”

**Inequalities Involving “And”**

Consider, for example, the speed limit situation from the previous Concept. 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:

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

#### Example A

Graph the solutions to .

**Solution:** Color in a circle above –40 to represent “less than or equal to.” Draw an uncolored circle above 60. The variable is placed between these two values, so the solutions occur between these two numbers.

**Inequalities Involving “Or”**

A restaurant offers discounts to children 3 years or younger or to adults over 65. Write an inequality for the possible ages eligible to receive the discount.

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.

“Adults over 65” implies .

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

**Solving “And” Compound Inequalities**

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

#### Example B

*Solve for and graph your solution: .*

**Solution:**

To solve , begin by separating the inequalities.

The answers are and and can be written as . You graph the solutions that satisfy both inequalities.

**Solving “Or” Compound Inequalities**

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

#### Example C

*Solve for and graph the solution: or .*

**Solution:**

To solve or , begin by separating the inequalities.

The answers are or .

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

As you have seen in previous Concepts, graphing calculators can be used to solve many complex algebraic sentences.

#### Example D

Solve using a graphing calculator.

**Solution:**

This is a compound inequality: and

To enter a compound inequality:

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

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

Enter the inequality as:

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 for which .

In this case, .

### Guided Practice

*Graph the solution set for or .*

**Solution:**

Start by solving for for each inequality.

### Practice

Sample explanations for some of the practice exercises below are available by viewing the following video. Note that there is not always a match between the number of the practice exercise in the video and the number of the practice exercise listed in the following exercise set. However, the practice exercise is the same in both. CK-12 Basic Algebra: Compound Inequalities (11:45)

- 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.

- or
- or

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

- or
- or
- or
- or
- or
- or
- or
- or
- or