Inequalities -Quadratic
Every question with a fully worked solution.
- Inequalities -Quadratic - Video - Quadratic Inequalities Watch
Theory
To solve a cubic inequality, get zero on one side, factorise fully, mark the zeros on a number line and read the answer from a sign diagram. This Year 11 Mathematics Extension 1 page covers factorised cubics, a negative leading coefficient, repeated factors such as \((x-2)^2\), and inequalities where cancelling a factor would lose solutions.
A cubic inequality compares a cubic with zero, such as \((x+1)(x-2)(x-5)\le 0\), or can be rearranged to do so. Its solution is a set of \(x\)-values, usually one or two intervals joined by "or".
The zeros of the cubic are the values of \(x\) that make it equal to \(0\). A polynomial can only change sign at a zero, so between two neighbouring zeros its sign stays the same. A sign diagram is a number line with the zeros marked and the sign (\(+\) or \(-\)) of the cubic written in each interval.
The leading coefficient is the coefficient of \(x^3\) once the cubic is expanded. For a product of factors, multiply the coefficients of \(x\) in each factor: \((3x+1)(x-2)(x+5)\) has leading coefficient \(3\times 1\times 1=3\). When the leading coefficient is positive and there are three different zeros, the cubic is negative for very small \(x\) and changes sign at each zero, so the signs from the left are \(-,\ +,\ -,\ +\).
For \(\gt 0\) take the \(+\) intervals; for \(\lt 0\) take the \(-\) intervals. With \(\ge\) or \(\le\) the zeros themselves are also solutions (closed endpoints); with \(\gt\) or \(\lt\) they are not (open endpoints).
A repeated factor such as \((x-2)^2\) is never negative and equals \(0\) only at \(x=2\). The cubic touches the \(x\)-axis there and does not change sign, so it needs separate care.
For \(a\gt 0\) and zeros \(\alpha\lt\beta\lt\gamma\):
| Inequality | Take | Zeros |
|---|---|---|
| \(P(x)\gt 0\) | \(+\) intervals | excluded (open) |
| \(P(x)\ge 0\) | \(+\) intervals | included (closed) |
| \(P(x)\lt 0\) | \(-\) intervals | excluded (open) |
| \(P(x)\le 0\) | \(-\) intervals | included (closed) |
How to solve a cubic inequality
- Rearrange so that one side is \(0\). Never divide by, or cancel, a factor containing \(x\): it can be negative or zero. Move everything to one side instead.
- Factorise fully. Take out a common factor first (\(x\), or a bracket such as \((x-1)(x+2)\)), then use a difference of two squares or factorise the quadratic. If a question gives the factors to "show", expand them to check.
- Check the leading coefficient. If it is negative, multiply both sides by \(-1\) and reverse the sign.
- List the zeros in order from smallest to largest.
- Draw the sign diagram. With three different zeros the signs from the left are \(-,\ +,\ -,\ +\). For a squared factor, use the sign of the other factor and test the repeated zero separately.
- Choose the intervals (\(+\) for \(\gt\), \(-\) for \(\lt\)), include the zeros only for \(\ge\) or \(\le\), and write the answer with "or".
Questions built on the same skill
- Sign on an interval: if no zero lies inside the interval, test one value of \(x\) there.
- Counting integers: solve first, then list the integers in the solution.
- Unknown zero: if the solution is given, match its endpoints to the zeros of the cubic.
- Square roots: \(\sqrt{P(x)}\) is real when \(P(x)\ge 0\) (\(\sqrt{0}=0\) is real).
- One curve above another: subtract and solve \(f(x)-g(x)\gt 0\).
Use a sign diagram. Zeros: \(x=-1,\ 2,\ 5\).
Leading coefficient \(1\times 1\times 1=1\gt 0\), so the signs from the left are \(-,\ +,\ -,\ +\).
The product must be \(\le 0\): take the \(-\) intervals together with the zeros.
\(\therefore\ \boldsymbol{x\le -1}\) or \(\boldsymbol{2\le x\le 5}\)
Check: \(x=0\) gives \((1)(-2)(-5)=10\gt 0\), so \(0\) is rightly not in the solution.
Make the leading coefficient positive. \(3-x=-(x-3)\), so
| \(-(x-3)(x+4)(2x-1)\) | \(\lt\) | \(0\) |
| \((x-3)(x+4)(2x-1)\) | \(\gt\) | \(0\) |
(multiplying by \(-1\) reverses the inequality)
Zeros: \(x=-4,\ \dfrac{1}{2},\ 3\). Leading coefficient \(1\times 1\times 2=2\gt 0\), so the signs from the left are \(-,\ +,\ -,\ +\).
Take the \(+\) intervals, zeros excluded.
\(\therefore\ \boldsymbol{-4\lt x\lt \dfrac{1}{2}}\) or \(\boldsymbol{x\gt 3}\)
Take out the common factor \(x\), then factorise the quadratic.
| \(x^3+8x^2+16x\) | \(\ge\) | \(0\) |
| \(x(x^2+8x+16)\) | \(\ge\) | \(0\) |
| \(x(x+4)^2\) | \(\ge\) | \(0\) |
\((x+4)^2\ge 0\) for all \(x\), and it equals \(0\) only at \(x=-4\).
For \(x\ne -4\) the sign is the sign of \(x\): \(x\ge 0\).
At \(x=-4\) the product equals \(0\), and \(0\ge 0\) is true, so \(x=-4\) is also a solution.
\(\therefore\ \boldsymbol{x=-4}\) or \(\boldsymbol{x\ge 0}\)
Below means \(y_{\text{curve}}\lt y_{\text{parabola}}\):
\((x+1)(x-3)(x-4)\lt 2(x+1)(x-3)\)
Do not cancel \((x+1)(x-3)\): its sign changes. Move everything to one side and take out the common factor.
| \((x+1)(x-3)(x-4)-2(x+1)(x-3)\) | \(\lt\) | \(0\) |
| \((x+1)(x-3)\big[(x-4)-2\big]\) | \(\lt\) | \(0\) |
| \((x+1)(x-3)(x-6)\) | \(\lt\) | \(0\) |
Zeros: \(x=-1,\ 3,\ 6\); signs from the left: \(-,\ +,\ -,\ +\).
Take the \(-\) intervals; the zeros are where the graphs meet, so they are excluded.
\(\therefore\ \boldsymbol{x\lt -1}\) or \(\boldsymbol{3\lt x\lt 6}\)
Check: at \(x=4\) the curve gives \(0\) and the parabola gives \(10\), and \(0\lt 10\).
Common pitfalls
Frequently asked questions
How do you solve a cubic inequality?
Move everything to one side so the other side is \(0\), factorise fully, list the zeros, then use a sign diagram. With a positive leading coefficient and three different zeros the signs from the left are \(-,\ +,\ -,\ +\). Take the \(+\) intervals for \(\gt 0\) and the \(-\) intervals for \(\lt 0\).
What is a sign diagram?
A number line with the zeros of the expression marked and its sign, \(+\) or \(-\), written in each interval between them. A polynomial can only change sign at a zero, so one sign holds for each whole interval.
Why can't you divide both sides of an inequality by x?
Because \(x\) might be negative, which would reverse the inequality, or zero, which you cannot divide by. Dividing loses solutions. Move every term to one side and factorise instead.
What happens with a squared factor in a cubic inequality?
A factor such as \((x-2)^2\) is never negative, so it does not change the sign of the product, except that the product is \(0\) at \(x=2\). Solve using the other factor, then include \(x=2\) for \(\ge\) or \(\le\) and exclude it for \(\gt\) or \(\lt\).
How do you know whether to include the endpoints?
The endpoints are the zeros. They make the expression equal to \(0\), so they are solutions of \(\ge 0\) or \(\le 0\) but not of \(\gt 0\) or \(\lt 0\).
What do you do if the leading coefficient is negative?
Multiply both sides by \(-1\) and reverse the inequality sign. For example \(-(x-2)(x+1)(x+5)\gt 0\) becomes \((x-2)(x+1)(x+5)\lt 0\), which has a positive leading coefficient.