# 7.2 Inequalities in One Variable

When learning about domain and range, you learned about inequalities and using set-builder and interval notation to represent them. In this section, we will explore how to solve linear and absolute value inequalities in one variable. The process is very similar to solve equations, but instead of the solution being a single value, the solution will be an inequality.

Notice that if an inequality is true, like 2 < 5, then these operations result in a true statement as well, just like with equations:

Adding a number to both sides:

[latex]\begin{align*} 2+4&<5+4&\\ 6&<9 & True\\ \end{align*}[/latex]

Subtracting a number on both sides:

[latex]\begin{align*} 2 – 3 &< 5 – 3&\\ -1 &< 2 & True\\ \end{align*}[/latex]

Multiplying a positive number on both sides:

[latex]\begin{align*} 2(3) &< 5(3)\\ 6&<15 & True\\ \end{align*}[/latex]

Dividing by a positive number on both sides:

[latex]\begin{align*} \frac{2}{2}&<\frac{5}{2}\\ 1&<2.5 & True\\ \end{align*}[/latex]

We can use these operations just like when solving equations.

#### Example 7.2A

Solve [latex]3x + 7 \geq 1[/latex]

**Answer:**

[latex]\begin{align*} 3x+7&\geq1 & {\textrm{Subtract 7 from both sides}}\\ 3x&\geq-6 & {\textrm{Divide both sides by 3}}\\ x&\geq-2 \end{align*}[/latex]

This inequality represents the solution set. It tells us that all numbers greater than or equal to -2 will satisfy the original inequality. We could also write this solution in interval notation, as [latex][-2, \infty)[/latex]

To understand what is happening, we could also consider the problem graphically. If we were to graph the equation [latex]y = 3x +7[/latex], then solving [latex]3x + 7 \geq 1[/latex] would correspond with asking “for what values of [latex]x[/latex] is [latex]y\geq 1[/latex]”.

Notice that the part of the graph where this is true corresponds to where [latex]x\geq -2[/latex].

While most operations in solving inequalities are the same as in solving equations, we run into a problem when multiplying or dividing both sides by a negative number. Notice, for example:

[latex]\begin{align*} 2(-3)&<5(-3)\\ -6&<-15 & {\textrm{Not True}}\\ \end{align*}[/latex]

To account for this, when multiplying or dividing by a negative number, we must reverse the sign of the inequality.

### Rules for Solving Linear Inequalities

- You may add or subtract a positive or negative number to both sides of the inequality.
- You can multiply or divide both sides of the inequality by a positive number.
- You can multiply or divide both sides of the inequality by a negative number, but you must reverse the direction of the inequality.

#### Example 7.2B

Solve [latex]12 - 4x < 6[/latex]

**Answer:**

[latex]\begin{align*} 12-4x&<6 &{\text{Subtract 12 from both sides}}\\ -4x &< -6 &{\text{Divide both sides by -4, and reverse the inequality symbol}}\\ x&>\frac{-6}{-4} &{\text{Simplify}}\\ x&=\frac{3}{2}\\ \end{align*}[/latex]

#### Give It Some Thought

1. Solve: [latex]6 + 2x\leq18 + 5x[/latex]

#### Example 7.2 C

A company spends $1200 per day on overhead and labor, and each item they produce costs $5 for materials. If they sell the items for $10 each, how many items will they need to sell each day for their profits to be positive?

**Answer: **We want the profit to be positive: [latex]P>0[/latex].

Costs: [latex]C(q) = 1200 + 5q[/latex]

Revenue: [latex]R(q) = 10q[/latex]

Profit: [latex]P(q) = 10q – (1200 + 5q) = 5q – 1200[/latex]

Solving [latex]P(q) > 0[/latex]:

[latex]\begin{align*} 5q&-1200>0\\ 5q&>1200\\ q&>240\\ \end{align*}[/latex]

The company will need to less at least 240 items a day to make a profit.

## Compound Inequalities

Compound inequalities are inequalities that consist of more than one part. The most common type is called a tripartite inequality. The basic version looks like this: [latex]-1 < 3x + 5 < 14[/latex]. When we write these it is important that both inequalities point in the same direction and that the “outside” inequality is also true – in this case [latex]-1 < 14[/latex] is true, so this is valid. Expressions like [latex]10 < x < 2[/latex] and [latex]1 < x < 5[/latex] are not valid notation. The most universal way to solve a tripartite inequality is to:

- Break it into two separate inequalities
- Solve each inequality separately
- Combine the solutions if possible.

#### Example 7.2D

Solve [latex]-1 < -3x + 5 < 14[/latex].

**Answer: **First we separate this into two inequalities: [latex]-1 < -3x + 5[/latex] and [latex]-3x +5 < 14[/latex]
Now we solve each:

[latex]\begin{align*} -6&<-3x\\ 2&>x\\ \end{align*}[/latex]

and

[latex]\begin{align*} -3x&<9\\ x&>-3\\ \end{align*}[/latex]

Now we can combine these solution sets. The numbers where both [latex]2 > x[/latex] and [latex]x > -3[/latex] are true is the set:

[latex]2 > x > -3[/latex]

While this solution is valid and correct, it is more common to write the solution to tripartite inequalities with the smaller number on the left. We could rewrite the solution as:

[latex]-3 < x < 2[/latex]
This also has the advantage of corresponding better with the answer in interval notation: [latex](-3, 2)[/latex].

With this particular inequality, it would also be possible to skip the step of breaking it apart, and instead just subtract 5 from all three “parts” of the inequality. This works for simple problems like this, but may fail if the inequality has variables in more than one “part” of the inequality.

#### Give It Some Thought

2. Solve: [latex]4\leq2x + 6 < 16[/latex]

## Absolute Value

So far in this section we have been looking at inequalities that are linear. We will now turn to absolute value inequalities. The absolute value function is a piecewise-defined function made up of two linear functions.

### Absolute Value Function

The absolute value function can be defined as

[latex]\begin{align*} f(x) = | x | &=&\\ &&{x} &&{x \geq 0}\\ &&{- x} &&{x < 0}\\ \end{align*}[/latex]

The graph of the absolute value looks like a V:

The absolute value function is commonly used to determine the distance between two numbers on the number line. Given two values [latex]a[/latex] and [latex]b[/latex], then [latex]|a - b|[/latex] will give the distance, a positive quantity, between these values, regardless of which value is larger.

#### Example 7.2E

Describe all values, [latex]x[/latex], within a distance of 4 from the number 5.

**Answer: **We want the distance between [latex]x[/latex] and 5 to be less than or equal to 4. The distance can be represented using the absolute value, giving the expression

[latex]|x - 5|\leq4[/latex]

#### Example 7.2F

A 2010 poll reported 78% of Americans believe that people who are gay should be able to serve in the US military, with a reported margin of error of 3%^{[1]}. The margin of error tells us how far off the actual value could be from the survey value^{[2]}. Express the set of possible values using absolute values.

**Answer: **Since we want the size of the difference between the actual percentage, [latex]p[/latex], and the reported percentage to be less than 3%,[latex]|p - 78|\leq3[/latex]

#### Give It Some Thought

3. Students who score within 20 points of 80 will pass the test. Write this as a distance from 80 using the absolute value notation.

## Solving Absolute Value Equations

To solve an equation like [latex]8 = |2x - 6|[/latex], we can notice that the absolute value will be equal to 8 if the quantity inside the absolute value were 8 or -8. This leads to two different equations we can solve independently:

[latex]\begin{align*} 2x-6&=8\\ 2x&=14\\ x&=7\\ \end{align*}[/latex]

or

[latex]\begin{align*} 2x-6&=-8\\ 2x&=-2\\ x&=-1\\ \end{align*}[/latex]

### Solutions to Absolute Value Equations

An equation of the form [latex]|A| = B[/latex], with [latex]B\geq 0[/latex], will have solutions when [latex]A = B[/latex] or [latex]A = -B[/latex].

#### Example 7.2G

Solve: [latex]0 = |4x + 1| - 7[/latex]

**Answer: **Isolate the absolute value on one side of the equation}

[latex]\begin{align*} 0&=|4x+1|-7\\ 7&=|4x+1| \end{align*}[/latex]

Now we can break this into two separate equations:

[latex]\begin{align*} 7 &= 4x + 1\\ 6 &= 4x\\ x &= \frac{6}{4}\\ &= \frac{3}{2} \end{align*}[/latex]

or

[latex]\begin{align*} - 7 &= 4x + 1\\ - 8 &= 4x\\ x &= \frac{{ - 8}}{4}\\ &= - 2\\ \end{align*}[/latex]

There are two solutions: [latex]x = \frac{3}{2}[/latex] and [latex]x = -2[/latex]

#### Example 7.2H

Solve [latex]1 = 4|x - 2| + 2[/latex]

**Answer: **Isolating the absolute value on one side the equation,

[latex]\begin{align*} 1 &= 4|x - 2| + 2\\ -1 &= 4|x - 2|\\ -\frac{1}{4} &= |x - 2|\\ \end{align*}[/latex]

At this point, we notice that this equation has no solutions – the absolute value always returns a positive value, so it is impossible for the absolute value to equal a negative value.

#### Give It Some Thought

4. Find the horizontal & vertical intercepts for the function

[latex]f(x) = -|x + 2| + 3[/latex]

## Solving Absolute Value Inequalities

When absolute value inequalities are written to describe a set of values, like the inequality [latex]|x - 5|\leq4[/latex] we wrote earlier, it is sometimes desirable to express this set of values without the absolute value, either using inequalities, or using interval notation.

We will explore two approaches to solving absolute value inequalities:

- Using a graph
- Using test values

#### Example 7.2I

Solve [latex]|x - 5|\leq4[/latex]

**Answer: **With both approaches, we will need to know first where the corresponding equality is true. In this case we first will find where [latex]|x -5| = 4[/latex]. We do this because the absolute value is a nice friendly function with no breaks, so the only way the function values can switch from being less than 4 to being greater than 4 is by passing through where the values equal 4. Solve [latex]|x - 5| = 4[/latex],

[latex]\begin{align*} x - 5 &= 4\\ x &= 9 \end{align*}[/latex]

or

[latex]\begin{align*} x - 5 &= - 4\\ x &= 1\\ \end{align*}[/latex]

To use a graph, we can sketch the function [latex]f(x) = |x - 5|[/latex]. To help us see where the outputs are 4, the line [latex]g(x) = 4[/latex] could also be sketched.

On the graph, we can see that indeed the output values of the absolute value are equal to 4 at [latex]x = 1[/latex] and [latex]x = 9[/latex]. Based on the shape of the graph, we can determine the absolute value is less than or equal to 4 between these two points, when [latex]1\leq x\leq 9[/latex]. In interval notation, this would be the interval [latex][1, 9][/latex].

As an alternative to graphing, after determining that the absolute value is equal to 4 at [latex]x = 1[/latex] and [latex]x = 9[/latex], we know the graph can only change from being less than 4 to greater than 4 at these values. This divides the number line up into three intervals: [latex]x < 1[/latex], [latex]1 < x < 9[/latex], and [latex]x > 9[/latex]. To determine when the function is less than 4, we could pick a value in each interval and see if the output is less than or greater than 4.

Interval | Test [latex]x[/latex] | [latex]f(x)[/latex] | <4 or >4? |

[latex]x < 1[/latex] | 0 | [latex]|0 - 5| = 5[/latex] | greater |

[latex]1 < x < 9[/latex] | 6 | [latex]|6 - 5| = 1[/latex] | less |

[latex]x > 9[/latex] | 11 | [latex]|11 - 5| = 6[/latex] | greater |

Since [latex]1 < x < 9[/latex] is the only interval in which the output at the test value is less than 4, we can conclude the solution to [latex]|x - 5|\leq4[/latex] is [latex]1\leq x\leq 9[/latex].

#### Example 7.2J

Given the function [latex]f(x) = - \frac{1}{2}| {4x - 5} | + 3[/latex], determine for what [latex]x[/latex] values the function values are negative.

**Answer: **We are trying to determine where [latex]f(x) < 0[/latex], which is when [latex]- \frac{1}{2}| {4x - 5} | + 3 < 0[/latex].
We begin by isolating the absolute value:

[latex]\begin{align*} -\frac{1}{2}|4x-5|&<-3\\ \end{align*}[/latex]

when we multiply both sides by -2, it reverses the inequality

[latex]\begin{align*} |4x-5| &> 6\\ \end{align*}[/latex]

Next we solve for the equality [latex]|4x - 5| = 6[/latex]

[latex]\begin{align*} 4x - 5 &= 6\\ 4x &= 11\\ x &= \frac{{11}}{4}\\ \end{align*}[/latex]

or

[latex]\begin{align*} 4x - 5 &= - 6\\ 4x &= - 1\\ x &= \frac{{ - 1}}{4}\\ \end{align*}[/latex]

We can now either pick test values or sketch a graph of the function to determine on which intervals the original function value are negative. Notice that it is not even really important exactly what the graph looks like, as long as we know that it crosses the horizontal axis at [latex]x=\frac{-1}{4}[/latex] and [latex]x=\frac{11}{4}[/latex], and that the graph has been flipped.

From the graph of the function, we can see the function values are negative to the left of the first horizontal intercept at [latex]x=\frac{-1}{4}[/latex], and negative to the right of the second intercept at [latex]x=\frac{11}{4}[/latex]. This gives us the solution to the inequality:

[latex]\begin{align*} x<\frac{-1}{4}{\textrm{ or }} x>\frac{11}{4} \end{align*}[/latex]

In interval notation, this would be [latex]( { - \infty ,\frac{{ - 1}}{4}} ) \cup ( {\frac{{11}}{4},\infty } )[/latex]

#### Give It Some Thought

6. Solve [latex]-2|k - 4|\leq-6[/latex]

There is a third approach to solving absolute value inequalities that is formulaic. While it works, and you are welcome to use it, it is much more likely that you will remember the other approaches.

### Solutions to Absolute Value Inequalities

[latex]\begin{align*} {\textrm{ To solve }}|A| < B{\textrm{, solve: }}-B < A < B\\ {\textrm{ To solve }}|A| > B {\textrm{, solve: }}A > B{\textrm{ or }}A < -B\\ \end{align*}[/latex]

#### Example 7.2 K

Solve [latex]3|x + 4| - 2\geq7[/latex]

**Answer: **We need to start by isolating the absolute value:

[latex]\begin{align*} 3|x+4|-2&\geq7 &{\textrm{Add 2 to both sides}}\\ 3|x+4|&\geq9 &{\textrm{Divide both sides by 3}}\\ |x+4|&\geq3\\ \end{align*}[/latex]

Now we can break this apart and solve each piece separately:

[latex]\begin{align*} x + 4&\geq 3\\ x&\geq-1\\ \end{align*}[/latex]

or

[latex]\begin{align*} x + 4&\leq-3\\ x&\leq-7\\ \end{align*}[/latex]

In interval notation, this would be [latex]( - \infty , - 7] \cup [ - 1,\infty )[/latex]

#### Give It Some Thought Answers

- [latex]x\geq-4[/latex]
- [latex]4\leq wx+6<16[/latex]
- Using the variable [latex]p[/latex], for passing, [latex]|p-80|\leq 20[/latex]
- [latex]f(x)=-|x+2|+3[/latex]
- [latex]f(0) = 1[/latex], so the vertical intercept is at [latex](0, 1)[/latex].

[latex]f(x)= 0[/latex] when [latex]x = -5[/latex] and [latex]x = 1[/latex] so the horizontal intercepts are at [latex](-5, 0)[/latex] and [latex](1, 0)[/latex]. - [latex]k<1[/latex] or [latex]k>7[/latex]; in interval notation this would be [latex]( { - \infty ,1}) \cup( {7,\infty })[/latex]

## Section Exercises

Work on section 7.2 exercises in Fundamentals of Business Math Exercises. Discuss your solutions with your peers and/or course instructor.

You may consult answers to select exercises: Fundamentals of Business Math Exercises – Select Answers

- http://www.pollingreport.com/civil.htm, retrieved August 4, 2010 ↵
- Technically, margin of error usually means that the surveyors are 95% confident that actual value falls within this range. ↵