Porisma

Solving inequalities

← Back to lesson · Complete chapter reading and print view · Open reference notes separately

By the end, you can

  • Solve rational inequalities with a sign diagram
  • Distinguish zeros from excluded denominator values
  • Interpret absolute values as distances

about 15 minutes for the lesson · practise at your own pace.

The central idea

An inequality asks for a set of inputs. Factor a rational expression, mark every numerator zero and denominator zero, and test the intervals between them. For b>0b>0, ∣x−a∣<b|x-a|<b means a−b<x<a+ba-b<x<a+b, while ∣x−a∣>b|x-a|>b selects the two outside intervals.

Critical values and repeated roots

Factor the polynomial, mark every real zero and test signs between them. For x2+2x−15=(x+5)(x−3)x^2+2x-15=(x+5)(x-3), the roots are −5,3-5,3 and interval signs are +,−,++,-,+. Thus x2+2x−15<0x^2+2x-15<0 gives −5<x<3-5<x<3, where the upward-opening parabola is below the axis.

For (x−1)(x+1)(x+3)2(x-1)(x+1)(x+3)^2, signs on (−∞,−3),(−3,−1),(−1,1),(1,∞)(-\infty,-3),(-3,-1),(-1,1),(1,\infty) are +,+,−,++,+,-,+. The double root −3-3 does not change the sign. The positive inequality gives x<−3x<-3 or −3<x<−1-3<x<-1 or x>1x>1; the nonpositive inequality gives x=−3x=-3 or −1≤x≤1-1\le x\le1.

Example 1’s test-point paragraph prints (x−5)(x+3)(x-5)(x+3): that is a typo. Test the original (x+5)(x−3)(x+5)(x-3), consistent with the source roots and final answer.

Nine rules for preserving an inequality

Before cancelling a factor, check its sign. When applying a function to both sides, check whether it increases or decreases.

  1. Transitivity: a<ba<b and b<cb<c imply a<ca<c. For example, −1<2<13-1<2<13 gives −1<13-1<13.
  2. Add the same number: a<ba<b implies a+c<b+ca+c<b+c. Starting with 2<72<7, adding 44 gives 6<116<11; adding −4-4 gives −2<3-2<3.
  3. Multiply by a positive number: if a>ba>b and c>0c>0, then ac>bcac>bc. From 2>−12>-1, multiplication by 33 gives 6>−36>-3.
  4. Multiply by a negative number: if a>ba>b and c<0c<0, then ac<bcac<bc. Multiplying 2>−12>-1 by −3-3 gives −6<3-6<3. Check this sign before multiplying by an expression involving xx.
  5. Square positive inputs: a>b>0a>b>0 implies a2>b2a^2>b^2. For example, 3>23>2 gives 9>49>4. Do not drop the positivity condition.
  6. A positive product: ab>0ab>0 means both factors are positive or both are negative. For example, (2)(3)>0(2)(3)>0 and (−2)(−3)>0(-2)(-3)>0.
  7. A negative product: ab<0ab<0 means the factors have opposite signs. For example, (2)(−3)<0(2)(-3)<0 and (−2)(3)<0(-2)(3)<0.
  8. Apply an increasing function: a<ba<b implies f(a)<f(b)f(a)<f(b) when ff is strictly increasing. The examples are ln⁡x\ln x on positive inputs and exe^x: ln⁡a<ln⁡b\ln a<\ln b and ea<ebe^a<e^b.
  9. Apply a decreasing function: a<ba<b implies f(a)>f(b)f(a)>f(b) when ff is strictly decreasing. For f(x)=e−xf(x)=e^{-x}, this gives e−a>e−be^{-a}>e^{-b}.

Algebraic and graphical methods describe the same solution set. Check critical values individually for non-strict inequalities; an even repeated root need not change the sign. When asked for the set of values, present set notation. A range may be written with inequalities, interval notation or set notation.

Choose one of three methods

One graph: make the right side zero, for example f(x)−g(x)>0f(x)-g(x)>0. Sketch the difference; find its x-intercepts and vertical asymptotes, then read the required intervals.

Two graphs: sketch y=f(x)y=f(x) and y=g(x)y=g(x). Find intersection inputs and vertical asymptotes of either graph, then compare which graph lies higher.

Analytical: make the right side zero, combine the left side into one rational expression and factor numerator and denominator as far as possible. Complete the square when a quadratic does not factor over the reals. Mark critical values and test every interval.

For other expressions a graph is often useful. Always inspect domain endpoints and vertical asymptotes as well as crossings. When squaring a radical comparison, first check that its radicand is nonnegative and that the two quantities being compared have the required signs.

Modulus: a nonnegative magnitude

By definition, ∣x∣=x|x|=x for x≥0x\ge0 and ∣x∣=−x|x|=-x for x<0x<0. Its graph reflects the negative half of y=xy=x above the axis.

  • ∣x∣≥0|x|\ge0 for every real xx.
  • ∣x∣2=∣x2∣=x2|x|^2=|x^2|=x^2.
  • x2=∣x∣\sqrt{x^2}=|x|, which need not equal xx when x<0x<0.
  • For a positive constant aa, ∣x∣<a|x|<a means −a<x<a-a<x<a.
  • For a positive constant aa, ∣x∣>a|x|>a means x<−ax<-a or x>ax>a.

Compare the V graph with y=ay=a to see the inside and outside intervals. Simple modulus inequalities can use these properties directly; more complicated ones can use graph comparisons. The positivity condition matters: ∣x∣<−2|x|<-2 has no solution, whereas ∣x∣>−2|x|>-2 holds for every real xx.

Recognise a hence substitution

Match the complete expression to a form already solved. Every occurrence of the old input must be replaced, including powers, denominators and modulus bars. Common replacements in these notes are x2x^2, exe^x, ln⁡x\ln x, ∣x∣|x| and sin⁡x\sin x.

Then intersect the resulting condition with the replacement’s range and domain: ∣x∣≥0|x|\ge0, ex>0e^x>0, ln⁡x\ln x requires x>0x>0, and −1≤sin⁡x≤1-1\le\sin x\le1. Keep denominator exclusions after substitution. Examples 10 and 11 show why the algebraic answer alone is not the last step.

Compare the modulus graphs

Expand diagram

Use the scrollbars or arrow keys to inspect details.

The first source diagram reflects the negative branch of y=x to make the V-shaped graph of|x|. The second compares it with y=a for a>0, retaining both intersections±a and the inside/outside interval distinction. The plotted levela=2 is explicitly illustrative.
The first source diagram reflects the negative branch of y=x to make the V-shaped graph of|x|. The second compares it with y=a for a>0, retaining both intersections±a and the inside/outside interval distinction. The plotted levela=2 is explicitly illustrative.
The first source diagram reflects the negative branch of y=x to make the V-shaped graph of|x|. The second compares it with y=a for a>0, retaining both intersections±a and the inside/outside interval distinction. The plotted levela=2 is explicitly illustrative.
Open original diagram (new tab)

Explore

Use the worked example below, then change one input or assumption. Predict which part of the answer must change before calculating.

Related interactive example

Explore this related example, then return to the prediction task above.

Where is x(x − 5)/(x + 3) negative?

Drag the test value. Each factor has a sign; the product's sign decides the inequality.

x(x−5)x+3<0\frac{x(x-5)}{x+3}<0

Choose an interval to test it. Shading marks the solution intervals.

Intervalxx − 5x + 3product
negativenegativenegativenegative
negativenegativepositivepositive
positivenegativepositivenegative
positivepositivepositivepositive
Test value of xx = 2.00
Try an example

(x)+(x − 5)−(x + 3)+⇒ product negative

Is it < 0?
Yes
x is in the solution set

The shaded strips are where the expression satisfies the inequality; they match the green-tinted columns of the chart.

  • Expression, and the x-values where it is negative
  • Your test value
Key idea

The product changes sign at each simple root. With three simple roots, the sign alternates, and the answer is the negative intervals.

Ideas to try
  1. Test x=−4x=-4, −1-1, 22 and 66. Which are solutions?
  2. Move the test value across x=−3x=-3: what happens to the denominator's sign?
Open the full interactive problem →

Worked example

Solve (x−1)/(x+2)>0(x-1)/(x+2)>0. Critical inputs are −2-2 and 11. The expression is positive when both factors have the same sign: x<−2x<-2 or x>1x>1. The denominator zero is excluded, and the strict inequality excludes the numerator zero.

Multiplying through by a denominator of unknown sign can reverse the answer on only part of the domain.

Check your understanding

Solve ∣2x−1∣≤3|2x-1|\leq3.

Mastery learning objectives

At the end of this chapter, I should be able to:

Solve inequalities using a graphical approach

Sketch a single graph.

Sketch two graphs.

Solve inequalities using an analytical approach

Use the test-point method.

Recognise a hence replacement

Identify the replacement for a hence question.

Choose a practice question

Use the examples to learn a method, then attempt the linked questions before opening their working. The skill routes below retain the source’s part references.

SkillLecture examplesDiscussionReview follow-up
Analytical: rational functions41(a)(c)(d), 4, 8 first part1 first part, 2 first two parts, 3(i), 4 first part
Analytical: completing the square5, 6, 10 first part1(b), 75, 6, 7 first part, 8(a), 9 first part
Analytical: modulus82—
Graphical methods6, 7, 9, 10 first part3 first part10, 11, 12, 13, 14(i)
Hence: modulus replacement10 hence4(ii)1 hence, 7 hence
Hence: logarithmic or exponential replacement11 hence3 hence, 4(i)3(ii), 4 hence, 14(ii)
Hence: trigonometric replacement—8 hence—
Hence: algebraic replacement——2 deduce, 8(b), 9 deduce
Prior topic: graphing techniques—5, 615

The printed logarithm row names Example 10 (hence), but that example uses modulus. Example 11 is the logarithm example, so its link is used here. The graphical row also lists Example 10’s first part: its printed working uses a sign test; you can practise a graph of the same expression as an alternative.

Practice questions

Practice section 1 · Questions 1–6

Read the same interval from a parabola and a sign line · Check a repeated root and include isolated equality solutions · +4 more

Practice section 2 · Questions 7–12

Prove a quadratic is positive before removing it · Use either a difference graph or a denominator sign test · +4 more

Practice section 3 · Questions 13–18

Compare two moduli using a difference or two graphs · Recognise the same rational inequality after a substitution · +4 more

Practice section 4 · Questions 19–24

Rational inequalities with transformed inputs · Find a range using the discriminant · +4 more

Practice section 5 · Questions 25–30

A rational identity and a scaled input · Transfer a rational inequality to logarithmic inputs · +4 more

Practice section 6 · Questions 31–36

Use a nonpositive squared input · Compare squared and reflected inputs · +4 more

Practice section 7 · Questions 37–38

A parameter hyperbola and a logarithmic input · Use two distinct real roots to restrict a parameter

More practice

Ready to try this on your own?

For “Solving inequalities”, try a question without the working and explain your method. This records your confidence, saved in this browser only.

Ready to practise?Chapter practice