Skip to content

Inequalities: solving, number lines and graph regions

An inequality compares quantities that need not be equal. Its solution is usually a set of values rather than one value.

x<4,qquady2,qquad1<3x+410x<4,qquad y\geq -2,qquad 1<3x+4\leq 10

occur throughout A-level Mathematics in domains, ranges, optimisation, calculus, probability and hypothesis tests. The algebra often resembles solving an equation, but order must be preserved. In particular, multiplying or dividing by a negative number reverses the inequality sign.

You should be able to:

  • order positive and negative numbers;
  • simplify algebraic expressions;
  • solve linear and quadratic equations;
  • plot straight lines and quadratic graphs;
  • substitute a test value into an expression.

Review algebraic manipulation and factorisation, linear equations, quadratic equations or straight-line graphs if needed.

SymbolMeaningExample
<<less thanx<3x<3 excludes 33
>>greater thanx>3x>3 excludes 33
\leqless than or equal tox3x\leq3 includes 33
\geqgreater than or equal tox3x\geq3 includes 33
\nenot equal tox3x\ne3 excludes only 33

The pointed end faces the smaller quantity. Thus 5<2-5<-2, even though 5>25>2, because 5-5 lies further left on the number line.

The statements x<7x<7 and 7>x7>x mean exactly the same thing. If the sides are exchanged, the sign must turn around.

Use an open circle for an excluded endpoint and a filled circle for an included endpoint. Shade every permitted value:

  • x<2x<2: open circle at 22, shade left;
  • x1x\geq-1: filled circle at 1-1, shade right;
  • 3<x4-3<x\leq4: open at 3-3, filled at 44, shade between them.

An arrow means the set continues without bound. Infinity is not an endpoint that can be included.

You may add or subtract the same expression on both sides without changing the sign. You may also multiply or divide both sides by the same positive number.

Solve 5x7<185x-7<18.

5x7<185x<25x<5.\begin{aligned} 5x-7&<18\\ 5x&<25\\ x&<5. \end{aligned}

The answer contains every real number below 55, not merely the integers 4,3,2,4,3,2,\ldots.

Why a negative multiplier reverses the sign

Section titled “Why a negative multiplier reverses the sign”

Start with a true statement:

2<5.2<5.

Multiplying by 1-1 gives 2-2 and 5-5. Their order is

2>5.-2>-5.

Reflection in zero swaps left and right on the number line. Therefore

a<ba>b.a<b\quad\Longrightarrow\quad -a>-b.

Worked example 2: divide by a negative number

Section titled “Worked example 2: divide by a negative number”

Solve 73x197-3x\geq19.

73x193x12x4.\begin{aligned} 7-3x&\geq19\\ -3x&\geq12\\ x&\leq-4. \end{aligned}

The final sign reverses because both sides are divided by 3-3.

Check one value from each side. For x=5x=-5,

73(5)=2219,7-3(-5)=22\geq19,

so an included value works. For x=0x=0, 7≱197\not\geq19, so a value outside the solution does not work.

Solve 4(2x1)>5x+114(2x-1)>5x+11.

8x4>5x+113x>15x>5.\begin{aligned} 8x-4&>5x+11\\ 3x&>15\\ x&>5. \end{aligned}

Expanding and collecting first makes the final operation clear.

Misconception: turn the sign whenever a term moves

Section titled “Misconception: turn the sign whenever a term moves”

In

3x+4<103x<6,-3x+4<10\quad\Longrightarrow\quad -3x<6,

the sign does not reverse when 44 is subtracted from both sides. It reverses only at the next step, when division by 3-3 gives x>2x>-2.

Solve:

  1. 3x+8203x+8\leq20;
  2. 52x<115-2x<11;
  3. 7x34x+127x-3\geq4x+12.
Answers
  1. 3x123x\leq12, so x4x\leq4.
  2. 2x<6-2x<6, so x>3x>-3.
  3. 3x153x\geq15, so x5x\geq5.

A compound inequality such as

2<x6-2<x\leq6

means both x>2x>-2 and x6x\leq6. It describes their overlap.

Perform the same operation on all three parts. If multiplying or dividing by a negative number, reverse both signs and then write the values in increasing order.

Solve 5<2x+19-5<2x+1\leq9.

Subtract 11 throughout:

6<2x8.-6<2x\leq8.

Divide throughout by 22:

3<x4.\boxed{-3<x\leq4}.

Solve 825x<17-8\leq2-5x<17.

Subtract 22 throughout:

105x<15.-10\leq-5x<15.

Divide by 5-5 and reverse both signs:

2x>3.2\geq x>-3.

Writing the interval from smaller to larger gives

3<x2.\boxed{-3<x\leq2}.

Suppose x>4x>-4 and x3x\leq3. Both must hold, so

4<x3.-4<x\leq3.

By contrast, x<2x<-2 or x5x\geq5 describes two separate rays. Do not join these into one interval, because values between 2-2 and 55 are excluded.

If a question asks for integer solutions, solve over the real numbers first and then select integers.

Find the integer values satisfying 4<3x+211-4<3x+2\leq11.

4<3x+2116<3x92<x3.\begin{aligned} -4&<3x+2\leq11\\ -6&<3x\leq9\\ -2&<x\leq3. \end{aligned}

The integers in this interval are

x{1,0,1,2,3}.\boxed{x\in\{-1,0,1,2,3\}}.

Notice that 2-2 is excluded and 33 is included.

Solving f(x)>0f(x)>0 means finding where the graph y=f(x)y=f(x) is above the xx-axis. Solving f(x)<0f(x)<0 means finding where it is below. The roots divide the number line into intervals on which the sign cannot change.

A reliable method is:

  1. move everything to one side;
  2. factorise or find the roots;
  3. mark the roots in order;
  4. determine the sign in each interval;
  5. include roots only for \leq or \geq.

Solve x2x6<0x^2-x-6<0.

Factorise:

x2x6=(x3)(x+2).x^2-x-6=(x-3)(x+2).

The critical values are x=2x=-2 and x=3x=3. Test one value in each interval:

IntervalTest valueSign of (x3)(x+2)(x-3)(x+2)
x<2x<-2x=3x=-3positive
2<x<3-2<x<3x=0x=0negative
x>3x>3x=4x=4positive

We need the negative interval, so

2<x<3.\boxed{-2<x<3}.

The roots are excluded because the inequality is strict.

Solve 2x2+x62x^2+x\geq6.

Move all terms to the left and factorise:

2x2+x60(2x3)(x+2)0.\begin{aligned} 2x^2+x-6&\geq0\\ (2x-3)(x+2)&\geq0. \end{aligned}

The roots are x=2x=-2 and x=32x=\frac32. The product is non-negative outside the roots, including the roots:

x2orx32.\boxed{x\leq-2\quad\text{or}\quad x\geq\frac32}.

Do not write 2x32-2\leq x\geq\frac32. That notation does not express two separate intervals.

Solve x2+5x+6>0-x^2+5x+6>0.

Factorise:

x2+5x+6=(x6)(x+1).-x^2+5x+6=-(x-6)(x+1).

Its roots are 1-1 and 66. Testing x=0x=0 gives 6>06>0, so the required interval is between the roots:

1<x<6.\boxed{-1<x<6}.

Do not memorise that positive always means outside or inside. That depends on the sign of the x2x^2 coefficient. A sign table or sketch settles it.

Solve:

  1. x2+3x100x^2+3x-10\leq0;
  2. x29>0x^2-9>0;
  3. x2+4x+5<0x^2+4x+5<0.
Answers
  1. (x+5)(x2)0(x+5)(x-2)\leq0, so 5x2-5\leq x\leq2.
  2. (x3)(x+3)>0(x-3)(x+3)>0, so x<3x<-3 or x>3x>3.
  3. x2+4x+5=(x+2)2+1x^2+4x+5=(x+2)^2+1, which is always positive. There are no real solutions.

An inequality such as

y<2x+1y<2x+1

describes a region of the coordinate plane. The line y=2x+1y=2x+1 is its boundary.

  • Draw a solid boundary for \leq or \geq, because points on the line are included.
  • Draw a dashed boundary for << or >>, because points on the line are excluded.
  • Test a point not on the boundary to decide which side satisfies the inequality.

Worked example 10: choose the correct half-plane

Section titled “Worked example 10: choose the correct half-plane”

Represent y2x3y\geq2x-3 graphically.

First draw the solid line y=2x3y=2x-3. Test (0,0)(0,0):

02(0)3,0\geq2(0)-3,

which is true. Therefore shade the side containing the origin. Equivalently, shade on or above the line.

The phrase “above the line” is safe when yy has been isolated. For an inequality such as 2x+3y<62x+3y<6, testing a point is less error-prone than relying on appearance.

Represent x<2x<-2.

The boundary is the dashed vertical line x=2x=-2. Shade to its left, where all points have xx-coordinate below 2-2. The yy-coordinate is unrestricted.

For simultaneous inequalities, draw every boundary and retain only the overlap of all the required half-planes.

Worked example 12: describe a finite feasible region

Section titled “Worked example 12: describe a finite feasible region”

Consider

x0,qquady0,qquadx+y6,qquady2x.x\geq0,qquad y\geq0,qquad x+y\leq6,qquad y\leq2x.

All boundaries are solid. The first two inequalities restrict the region to the first quadrant. The condition x+y6x+y\leq6 selects the side of x+y=6x+y=6 containing (0,0)(0,0). The condition y2xy\leq2x selects points on or below y=2xy=2x.

Find vertices by intersecting boundary lines:

  • y=0y=0 and y=2xy=2x meet at (0,0)(0,0);
  • y=0y=0 and x+y=6x+y=6 meet at (6,0)(6,0);
  • y=2xy=2x and x+y=6x+y=6 give 3x=63x=6, so (x,y)=(2,4)(x,y)=(2,4).

The feasible region is the triangle with vertices

(0,0), (6,0), (2,4).\boxed{(0,0),\ (6,0),\ (2,4)}.

At A-level, objective functions in linear programming attain extrema at vertices of such regions, so accurate boundaries matter.

Misconception: shade the labelled side without testing

Section titled “Misconception: shade the labelled side without testing”

For x+y>4x+y>4, the origin gives 0>40>4, which is false. The solution is therefore the side not containing the origin. If the origin lies on a boundary, choose another simple point such as (1,0)(1,0).

  1. Should the boundary for 3xy<73x-y<7 be solid or dashed?
  2. Does (2,1)(2,1) satisfy x+2y5x+2y\leq5?
  3. Which side of x+y=3x+y=3 represents x+y3x+y\geq3: the side containing (0,0)(0,0) or the opposite side?
Answers
  1. Dashed, because equality is excluded.
  2. Yes, because 2+2(1)=452+2(1)=4\leq5.
  3. The opposite side, because 0+030+0\geq3 is false. The boundary itself is included.

Before accepting an answer, ask:

  • Did I reverse the sign only when multiplying or dividing by a negative number?
  • Did I preserve both signs in a compound inequality?
  • Are strict endpoints excluded and non-strict endpoints included?
  • For a quadratic, did I select intervals rather than just finding roots?
  • For a graph region, is the boundary solid or dashed as required?
  • Have I tested a value or point to confirm the chosen interval or side?

Next, connect these skills to graphs of common functions, function notation and coordinate geometry. Inequalities also become essential when determining domains and ranges and when interpreting solutions in calculus.