# Intermediate Algebra/Solving Inequalities
## Inequalities

As opposed to an equation, an inequality is an expression that states that two quantities are unequal or not equivalent to one another. In most cases we use inequalities in real life more than equations (i.e. this shirt costs $2 more than that one).
Given that a and b are real numbers, there are four basic inequalities:

### a < b

    a is "less than" b:
    Example: 2 < 4 ; -3 < 0; etc.

### a > b

    a is "greater than" b:
    Example: -2 > -4 ; 3 > 0 ; etc.

### $a\leq b$

    a is "less than or equal to" b:
    Example: If we know that $x\leq 7$, then we can conclude that x is equal to any value less than 7, including 7 itself.

### $a\geq b$

    a is "greater than or equal to" b:
    Example: Conversely, if $x\geq 7$, then x is equal to any value greater than 7, including 7 itself.

## Properties of Inequalities

Just as there are four properties of equality, there are also four properties of inequality:
Addition Property of Inequality
If a, b, and c are real numbers such that a > b, then a + c > b + c. Conversely, if a < b, then a + c < b + c.
Subtraction Property of Inequality
If a, b, and c are real numbers such that a > b, then a - c > b - c. Conversely, if a < b, then a - c < b - c.
Multiplication Property of Inequality
If a, b, and c are real numbers such that a > b and c > 0, then ac (or a * c) > bc (or b * c). Conversely, if a < b and c > 0, then ac < bc. (Note that if c = 0, then both sides of the inequality are in fact equal.) We will also review cases where c is less than zero later in the lesson.
Division Property of Inequality
If a, b, and c are real numbers such that a > b, and c > 0, then ${\frac {a}{c}}>{\frac {b}{c}}$. Conversely under the same conditions, if a < b, then ${\frac {a}{c}}<{\frac {b}{c}}$. As with the Multiplication Property, there are special cases that will be discussed later when c < 0.
Note that all four properties also work with inequalities where $a\leq b$ or $a\geq b$.

### Trichotomy Property

The statements above form the basis of Trichotomy Property:
* a < b
* a = b
* a > b
So, if we are given any two unknown real-number values, then any one of the three statements will hold true.

## Solving Inequalities

Solving algebraic inequalities is more or less identical to solving algebraic equations. Consider the following example:
Although it may be an inequality, we can use the Properties of Inequality stated above to solve. Start by subtracting 2x from both sides:
Finish by adding 7 to both sides.
This can be rewritten as $x\geq 11$. To check, substitute any value greater than or equal to 11. However, in order to satisfy the Trichotomy Property, we'll substitute three different values: 10, 11, and 12.
| $2x+4\leq 3x-7$ | $2x+4\leq 3x-7$ | $2x+4\leq 3x-7$ |
| $2(10)+4\leq 3(10)-7$ | $2(11)+4\leq 3(11)-7$ | $2(12)+4\leq 3(12)-7$ |
| $24\leq 23$ | $26\leq 26$ | $28\leq 29$ |
Ten is incorrect, whereas eleven and twelve satisfy the solution. Therefore, the solution set - the set of all answers which satisfy the original inequality - is $x\geq 11$. Written in set notation, the answer is {$x|x\geq 11$}. This is read as "the set of all x such that x is greater than or equal to 11".

## Special Cases - A variable in the denominator

For example, consider the inequality
    ${\frac {2}{x-1}}<2\,$
In this case one cannot multiply the right hand side by (x-1) because the value of x is unknown. Since x may be either positive or negative, you can't know whether to leave the inequality sign as <, or reverse it to >. The method for solving this kind of inequality involves four steps:
* Find out when the denominator is equal to 0. In this case it's when $x=1$.
* Pretend the inequality sign is an = sign and solve it as such: ${\frac {2}{x-1}}=2\,$, so $x=2$.
* Plot the points $x=1$ and $x=2$ on a number line with an unfilled circle because the original equation included < (it would have been a filled circle if the original equation included <= or >=). You now have three regions: $x<1$, $1<x<2$, and $x>2$.
* Test each region independently. in this case test if the inequality is true for 1<x<2 by picking a point in this region (e.g. x=1.5) and trying it in the original inequation. For x=1.5 the original inequation doesn't hold. So then try for 1>x>2 (e.g. x=3). In this case the original inequation holds, and so the solution for the original inequation is 1>x>2.

### Special Cases

Let us suppose that we were given this inequality to solve:
Using the same steps as above, start by subtracting 8 from both sides.
Now divide both sides by -3.
Check this solution by substituting three numbers. We'll use -7, -6, and -5.
| $-3x+8\geq 26$ | $-3x+8\geq 26$ | $-3x+8\geq 26$ |
| $-3(-7)+8\geq 26$ | $-3(-6)+8\geq 26$ | $-3(-5)+8\geq 26$ |
| $29\geq 26$ | $26\geq 26$ | $23\geq 26$ |
Wait, what happened? -7 and -6 satisfy the inequality, yet -7 is non-inclusive in the solution set! And -5, which is greater than -6, does not satisfy the inequality!
This is a special case involved in solving inequalities. Because the coefficient of the x-term was negative, the constant on the other side (26, which became 18 and then -6) switched signs. In order to attain a valid solution if a negative number is divided, we need to switch the sign in order to make sure that the solution set is correct. Thus, $x\geq -6$ becomes $x\leq -6$, or more specifically, {$x|x\leq -6$}.

#### Practice Problems
## Graphing Solutions

Because inequalities have multiple solutions, we need to be able to represent them graphically. In order to do so, we use the number line, depicted below:
There are two ways of graphing solutions; however, each one is unique depending on the nature of the inequality. If, for example, the inequality contains the < or > sign, we use an open circle ("O") and place it on (or above) the corresponding position on the number line, then draw another line either left or right of the solution (based on the sign) to indicate the infinite number of solutions in the set. For example, if we were to graph x < 4:
The open circle indicates that 4 is not included in the solution set; however, all values less than 4 satisfy the solution.
If an inequality contains a $\leq$ or $\geq$, then a closed circle (it will be depicted here with a *) is placed on or above the corresponding position on the number line. Hence, the solution $x\geq -2$ is graphed as follows.
The asterisk (*) indicates that -2 is inclusive in the solution set, as are all values greater than -2.
Practice Problems
Graph the following inequalities on a number line:
1. x > 4
2. $x\leq 1$
3. -1 > x
Solutions
1.
2.
(Note that your actual graph should have a closed circle in place of the dot. If in doubt, simply draw a circle and color it black.)
3. Be careful here; you need to rearrange the inequality first before graphing. When rewritten, the inequality becomes x < -1:

## Lesson Review

An inequality is a statement justifying that two quantities are not equal to each other. There are four cases of inequalities, two of which allow for equality ($a\leq b$ and $a\geq b$). The four properties of inequality, which are more or less parallel to the properties of equality, can be used to solve simple inequalities. The only exceptions are in multiplication and division, where the signs must be reversed if both sides are multiplied or divided by a negative number. Finally, the solution set of an inequality can be graphed on the number line with either an open circle ("O") or a closed circle ("*"), depending on the original sign used.

## Lesson Quiz

1. What is an inequality? List the four possible cases of inequalities.
2. State the Trichotomy Property in your own words.
3. Solve the following and graph all solutions:

### Quiz Answers

1. An inequality states that two quantities are not equal. The four cases of inequalities: a < b, a > b, $a\leq b$, $a\geq b$.
2. Answers will vary. Just make sure you didn't copy and paste the actual definition.
3a. x > 1
3b. $x\leq {\frac {5}{3}}$
3c. $x\leq 6$
3d. x < 1