Skip to main content
Mathematics LibreTexts

1.4: Compound Inequalities

  • Page ID
    19681
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    This section discusses a technique that is used to solve compound inequalities, which is a phrase that usually refers to a pair of inequalities connected either by the word “and” or the word “or.” Before we begin with the advanced work of solving these inequalities, let’s first spend a word or two (for purposes of review) discussing the solution of simple linear inequalities.

    Simple Linear Inequalities

    As in solving equations, you may add or subtract the same amount from both sides of an inequality.

    Property \(\PageIndex{1}\)

    Let \(a\) and \(b\) be real numbers with \(a<b\). If \(c\) is any real number, then

    \[a+c<b+c \nonumber \]

    and

    \[a-c<b-c \nonumber \]

    This utility is equally valid if you replace the “less than” symbol with \(>, \leq\) or \(\geq\).

    Example \(\PageIndex{1}\)

    Solve the inequality \(x + 3 < 8\) for \(x.\)

    Solution

    Subtract \(3\) from both sides of the inequality and simplify.

    \[\begin{align*} x+3 &<8 \\ x+3-3 &<8-3 \\ x &<5 \end{align*} \]

    Thus, all real numbers less than \(5\) are solutions of the inequality. It is traditional to sketch the solution set of inequalities on a number line.

    WeChata28e8e4a2d99b7b3a327478e2bb93bd8.png

    We can describe the solution set using set-builder and interval notation. The solution is

    \[(-\infty, 5)=\{x : x<5\}\nonumber \]

    An important concept is the idea of equivalent inequalities.

    Equivalent Inequalities.

    Two inequalities are said to be equivalent if and only if they have the same solution set.

    Note that this definition is similar to the definition of equivalent equations. That is, two inequalities are equivalent if all of the solutions of the first inequality are also solutions of the second inequality, and vice-versa.

    Thus, in Example \(\PageIndex{1}\), subtracting three from both sides of the original inequality produced an equivalent inequality. That is, the inequalities \(x+3 < 8\) and \(x < 5\) have the same solution set, namely, all real numbers that are less than 5. It is no coincidence that the tools in Property \(\PageIndex{1}\) produce equivalent inequalities. Whenever you add or subtract the same amount from both sides of an inequality, the resulting inequality is equivalent to the original (they have the same solution set).

    Let’s look at another example.

    Example \(\PageIndex{2}\)

    Solve the inequality \(x-5 \geq 4\) for \(x.\)

    Solution

    Add 5 to both sides of the inequality and simplify.

    \[\begin{align*} x-5 & \geq 4 \\ x-5+5 & \geq 4+5 \\ x & \geq 9 \end{align*} \]

    Shade the solution on a number line.

    WeChat8d1d4c6380fc3e8e12328e39f3aefb18.png

    In set-builder and interval notation, the solution is

    \[[9, \infty)=\{x : x \geq 9\} \nonumber \]

    You can also multiply or divide both sides by the same positive number.

    Property \(\PageIndex{2}\)

    Let \(a\) and \(b\) be real numbers with \(a<b\). If \(c\) is a real positive number, then

    \[a c<b c \nonumber \]

    and

    \[\frac{a}{c}<\frac{b}{c} \nonumber \]

    Again, this utility is equally valid if you replace the “less than” symbol by \(>, \leq, \text{or} \geq.\) The tools in Property 4 always produce equivalent inequalities.

    Example \(\PageIndex{3}\)

    Solve the inequality \(3x \leq −18\)for \(x.\)

    Solution

    Divide both sides of the inequality by \(3\) and simplify.

    \[\begin{align*} 3 x & \leq-18 \\ \frac{3 x}{3} & \leq \frac{-18}{3} \\ x & \leq-6 \end{align*} \]

    Sketch the solution on a number line.

    WeChat9c751df6b4c3b9da2bdc69f1141f91c7.png

    In set-builder and interval notation, the solution is

    \[(-\infty,-6]=\{x : x \leq-6\} \nonumber \]

    Thus far, there is seemingly no difference between the technique employed for solving inequalities and that used to solve equations. However, there is one important exception. Consider for a moment the true statement

    \[-2<6 \label{eq6} \]

    If you multiply both sides of Inequality \ref{eq6} by \(3,\) you still have a true statement; i.e.,

    \[-6<18 \nonumber \]

    But if you multiply both sides of Inequality \ref{eq6} by \(−3,\) you need to “reverse the inequality symbol” to maintain a true statement; i.e.,

    \[6>-18 \nonumber \]

    This discussion leads to the following property.

    Property \(\PageIndex{3}\)

    Let \(a\) and \(b\) be real numbers with \(a < b\). If \(c\) is any real negative number, then

    \[a c>b c \nonumber \]

    and

    \[\frac{a}{c}>\frac{b}{c} \nonumber \]

    Note that you “reverse the inequality symbol” when you multiply or divide both sides of an inequality by a negative number. Again, this utility is equally valid if you replace the “less than” symbol by \(>, \leq,\) or \(\geq\). The tools in Property \(\PageIndex{3}\) always produce equivalent inequalities.

    Example \(\PageIndex{4}\)

    Solve the inequality \(−5x > 10\) for \(x.\)

    Solution

    Divide both sides of the inequality by \(−5\) and reverse the inequality symbol. Simplify.

    \[\begin{array}{r}{-5 x>10} \\ {\dfrac{-5 x}{-5}<\dfrac{10}{-5}} \\ {\quad x<-2}\end{array} \nonumber \]

    Sketch the solution on a number line.

    WeChat49bced8b396523698da494d36b552b34.png

    In set-builder and interval notation, the solution is

    \[(-\infty,-2)=\{x : x<-2\} \nonumber \]

    Compound Inequalities

    We now turn our attention to the business of solving compound inequalities. In the previous section, we studied the subtleties of “and” and “or,” intersection and union, and looked at some simple compound inequalities. In this section, we build on those fundamentals and turn our attention to more intricate examples.

    In this case, the best way of learning is by doing. Let’s start with an example.

    Example \(\PageIndex{5}\)

    Solve the following compound inequality for \(x.\)

    \[3-2 x<-1 \quad \text { or } \quad 3-2 x>1 \nonumber \]

    Solution

    First, solve each of the inequalities independently. With the first inequality, add \(−3\) to both sides of the inequality, then divide by \(−2,\) reversing the inequality sign.

    \[\begin{align*} 3-2 x &<-1 \\-2 x &<-4 \\ x &>2 \end{align*} \]

    Shade the solution on a number line.

    WeChatb5ad05c28fa7924860efaccb6206f309.png

    The exact same sequence of operations can be used to solve the second inequality

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

    WeChat8dc6e5a40384fb6f3272a775dfa7612d.png

    Although you solve each side of the inequality independently, you will want to arrange your work as follows, stacking the number line solution for the first inequality above that of the second inequality.

    \[\begin{array}{rlllrll}{3-2 x}&{<}&{-1} & {\text { or }} & {\quad 3-2 x}&{>}&{1} \\ {-2 x}&{<}&{-4} & &{-2 x}&{>}&{-2} \\ {x}&{>}&{2} && {x}&{<}&{1}\end{array} \nonumber \]

    WeChatfbd8ed56df5413863688ed601e15ed0a.png
    WeChat0dcae70b5e936edb42e351e4ea9e206c.png
    Figure \(\PageIndex{1}\). The solution of the compound inequality \(3 − 2x < −1\) or \(3 − 2x > 1\)

    The solution, in interval and set-builder notation, is \[(-\infty, 1) \cup(2, \infty)=\{x : x<1 \text { or } x>2\} \nonumber \]

    Let’s look at another example.

    Example \(\PageIndex{6}\)

    Solve the following compound inequality for \(x.\)

    \[-1<3-2 x<1 \label{eq12} \]

    Solution

    Recall that \(a < x < b\) is identical to the statement \(x > a\) and \(x < b.\) Thus, we can write the compound inequality \(−1 < 3 − 2x < 1\) in the form

    \[3-2 x>-1 \quad \text { and } \quad 3-2 x<1 \label{eq13} \]

    Solve each inequality independently, arranging your work as follows.

    \[\begin{array}{rlllrll}{3-2 x}&{>}&{-1} & {\text { and }} & {\quad 3-2 x}&{<}&{1} \\ {-2 x}&{>}&{-4} & &{-2 x}&{<}&{-2} \\ {x}&{<}&{2} && {x}&{>}&{1}\end{array} \label{eq14} \]

    Shade the solution of each inequality on separate real lines, one atop the other

    WeChate8fdba242332afc37cb9ba25ce4278e7.png
    WeChat4bb84b27707520b9ef125fb6f5e8b38a.png
    Figure \(\PageIndex{2}\). The solution of the compound inequality \(−1 < 3 − 2x < 1.\)

    The solution, in both interval and set-builder notation, is

    \[(1,2)=\{x : 1<x<2\} \nonumber \]

    Note that we used the compact form of the compound inequality in our answer. We could just as well have used

    \[(1,2)=\{x : x>1 \text { and } x<2\} \nonumber \]

    Both forms of set-builder notation are equally valid. You may use either one, but you must understand both.

    Alternative approach. You might have noted that in solving the second inequality in \ref{eq14}, you found yourself repeating the identical operations used to solve the first inequality. That is, you subtracted \(3\) from both sides of the inequality, then divided both sides of the inequality by \(−2,\) reversing the inequality sign.

    This repetition is annoying and suggests a possible shortcut in this particular situation. Instead of splitting the compound inequality \ref{eq12} in two parts (as in \ref{eq13}), let’s keep the inequality together, as in

    \[-1<3-2 x<1 \label{eq16} \]

    Now, here are the rules for working with this form.

    Property \(\PageIndex{4}\)

    When working with a compound inequality having the form

    \[a<x<b \nonumber \]

    you may add (or subtract) the same amount to (from) all three parts of the inequality, as in

    \[a+c<x+c<b+c \nonumber \]

    or

    \[a-c<x-c<b-c \nonumber \]

    You may also multiply all three parts by the same positive number \(c > 0,\) as in

    \[c a<c x<c b \nonumber \]

    However, if you multiply all three parts by the same negative number \(c < 0,\) then don’t forget to reverse the inequality signs, as in

    \[c a>c x>c b \nonumber \]

    The rules for division are identical to the multiplication rules. If \(c > 0\) (positive), then

    \[\frac{a}{c}<\frac{x}{c}<\frac{b}{c} \nonumber \]

    If \(c < 0\) (negative), then reverse the inequality signs when you divide.

    \[\frac{a}{c}>\frac{x}{c}>\frac{b}{c} \nonumber \]

    Each of the tools in Property \(\PageIndex{4}\) always produce equivalent inequalities.

    So, let’s return to the compound inequality \ref{eq16} and subtract \(3\) from all three members of the inequality.

    \[\begin{array}{c}{-1<3-2 x<1} \\ {-1-3<3-2 x-3<1-3} \\ {-4<-2 x<-2}\end{array} \nonumber \]

    Next, divide all three members by \(−2,\) reversing the inequality signs as you do so.

    \[\begin{array}{c}{-4<-2 x<-2} \\ {\dfrac{-4}{-2}>\dfrac{-2 x}{-2}>\dfrac{-2}{-2}} \\ {2>x>1}\end{array} \nonumber \]

    It is conventional to change the order of this last inequality. By reading the inequality from right to left, we get

    \[1<x<2 \nonumber \]

    which describes the real numbers that are greater than 1 and less than \(2.\) The solution is drawn on the following real line.

    WeChat96279dfda2857d0b7753bfc37ec3813d.png
    Figure \(\PageIndex{3}\). The solution of the compound inequality \(−1 < 3 − 2x < 1\).

    Note that this is identical to the solution set on the real line in Figure \(\PageIndex{2}\). Note also that this second alternative method is more efficient, particularly if you do a bit of work in your head. Consider the following sequence where we subtract three from all three members, then divide all three members by \(−2,\) reversing the inequality signs, then finally read the inequality in the opposite direction.

    \[\begin{array}{c}{-1<3-2 x<1} \\ {-4<-2 x<-2} \\ {\quad 2>x>1} \\ {\quad 1<x<2}\end{array} \nonumber \]

    Let’s look at another example.

    Example \(\PageIndex{7}\)

    Solve the following compound inequality for \(x.\)

    \[-1<x-\frac{x+1}{2} \leq 2 \nonumber \]

    Solution

    First, let’s multiply all three members by \(2,\) in order to clear the fractions.

    \[2(-1)<2\left(x-\frac{x+1}{2}\right) \leq 2(2) \nonumber \]

    \[-2<2(x)-2\left(\frac{x+1}{2}\right) \leq 4 \nonumber \]

    Cancel. Note the use of parentheses, which is crucial when a minus sign is involved.

    \[-2<2 x-\cancel{2}\left(\frac{x+1}{\cancel{2}}\right) \leq 4 \nonumber \]

    \[-2<2 x-(x+1) \leq 4 \nonumber \]

    Distribute the minus sign and simplify.

    \[\begin{align*} -2 &< &&2x-x-1 &&\leq 4 \\ -2 &< &&x-1&& \leq 4\end{align*} \]

    Add \(1\) to all three members.

    \[-1<x \leq 5 \nonumber \]

    This solution describes the real numbers that are greater than \(-1\) and less than \(5,\) including \(5.\) That is, the real numbers that fall between \(-1\) and \(5,\) including \(5,\) shaded on the real line in Figure \(\PageIndex{4}\).

    WeChata8b836e07fe50d89bd7fc775102533f2.png
    Figure \(\PageIndex{4}\). The solution set of \(−1 < x − (x + 1)/2 \leq 2\).

    The answer, described in both interval and set-builder notation, follows

    \[(-1,5]=\{x :-1<x \leq 5\} \nonumber \]

    Let’s look at another example.

    Example \(\PageIndex{8}\)

    Solve the following compound inequality for \(x.\)

    \[x \leq 2 x-3 \leq 5 \nonumber \]

    Solution

    Suppose that we try to isolate \(x\) as we did in Example \(\PageIndex{7}\). Perhaps we would try adding \(−x\) to all three members.

    \[\begin{align*} x &\leq &&2x-3 &&\leq 5 \\ x-x &\leq &&2x-3-x &&\leq 5-x \\ 0 &\leq &&x-3 &&\leq 5-x \end{align*} \]

    Well, that didn’t help much, just transferring the problem with \(x\) to the other end of the inequality. Similar attempts will not help in isolating \(x.\) So, what do we do?

    The solution is we split the inequality (with the word “and,” of course).

    \[x \leq 2 x-3 \quad \text { and } \quad 2 x-3 \leq 5 \nonumber \]

    We can solve the first inequality by subtracting \(2x\) from both sides of the inequality, then multiplying both sides by \(−1,\) reversing the inequality in the process

    \[\begin{align*} x & \leq 2 x-3 \\-x & \leq-3 \\ x & \geq 3 \end{align*} \]

    To solve the second inequality, add \(3\) to both sides, then divide both sides by \(2\):

    \[\begin{align*} 2 x-3 & \leq 5 \\ 2 x & \leq 8 \\ x & \leq 4 \end{align*} \]

    Of course, you’ll probably want to arrange your work as follows

    \[\begin{array}{rllrl} x & \leq 2 x-3 & \text{and} &2 x-3 & \leq 5 \\ -x & \leq-3 && 2 x & \leq 8 \\ x & \geq 3 & & x & \leq 4\end{array} \nonumber \]

    Thus, we need to shade on a number line all real numbers that are greater than or equal to \(3\) and less than or equal to \(4,\) as shown in Figure \(\PageIndex{5}\).

    WeChatb5d2ec2c0d59c1eea3469a07a6e3eeb3.png
    Figure \(\PageIndex{5}\) When shading the solution of \(x \leq 2 x-3 \leq 5\), we “fill-in” the endpoints.

    The solution, described in both interval and set-builder notation, is

    \[[3,4]=\{x : 3 \leq x \leq 4\} \nonumber \]


    This page titled 1.4: Compound Inequalities is shared under a CC BY-NC-SA 2.5 license and was authored, remixed, and/or curated by David Arnold via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.