B5 - Linear and quadratic inequalities

B5 - Linear and quadratic inequalities

Learn to solve inequalities with brackets and fractions, use a quadratic graph to choose whole intervals, and describe single or combined solution sets precisely. You will see why finding boundary values is only the beginning of solving an inequality.

Rearranging linear inequalities

The equation x2−x−6=0x^2-x-6=0 has two solutions. Can the inequality x2−x−6≤0x^2-x-6\le0 have infinitely many? At x=0x=0, the expression equals −6-6, so this value satisfies the inequality even though it is not a root. To find every allowed value, first make sure your rearrangements preserve a comparison.

For instance, −2x+3>7-2x+3>7 becomes −2x>4-2x>4, then x<−2x<-2. The last sign reverses: on a number line, multiplying by a negative number reverses left and right. The true comparison 2<52<5 becomes −4>−10-4>-10 when multiplied by −2-2.

You already know

Expand a bracket by multiplying every term inside it. To solve an equation, perform the same operation on both sides; for an inequality, also check the sign of any multiplier or divisor.

An inequality states that one expression is smaller or larger than another. The signs << and >> are strict and exclude equality; ≤\le and ≥\ge allow equality. Thus x<2x<2 excludes 22, while x≤2x\le2 includes it. A solution must make the original comparison true.

Order-preserving operations

Adding or subtracting the same real quantity on both sides preserves an inequality. Multiplying or dividing both sides by a positive number preserves its direction; multiplying or dividing by a negative number reverses it. Division by zero is not allowed.

Not in the formula booklet: learn it.

When denominators are positive constants, their positive common multiple clears the fractions without reversing the inequality. Keep each complete numerator in brackets until you expand.

Worked example 1: clearing positive denominators

Question. Solve 3x−12≤x+53\dfrac{3x-1}{2}\le\dfrac{x+5}{3}.

Plan. Multiply by 66, expand the brackets and collect the terms in xx.

3(3x−1)≤2(x+5)multiply by positive 69x−3≤2x+10expand both brackets7x≤13collect termsx≤137divide by positive 7\begin{aligned} 3(3x-1)&\le2(x+5) && \text{multiply by positive }6 \\ 9x-3&\le2x+10 && \text{expand both brackets} \\ 7x&\le13 && \text{collect terms} \\ x&\le\frac{13}{7} && \text{divide by positive }7 \end{aligned}

Why this step? A positive common multiple clears both denominators and leaves the direction unchanged.

Answer. x≤137x\le\dfrac{13}{7}.

Check. At x=0x=0, −12≤53-\dfrac12\le\dfrac53 is true. At x=2x=2, 52≤73\dfrac52\le\dfrac73 is false. Equality holds at x=137x=\dfrac{13}{7}.

Worked example 2 changes only the coefficient of xx in the right numerator, from 11 to 55. Collecting now gives a negative coefficient, so the final division changes the direction.

Worked example 2: reversing the comparison

Question. Solve 3x−12≤5x+53\dfrac{3x-1}{2}\le\dfrac{5x+5}{3}.

Plan. Clear the same positive denominators, then reverse the sign when dividing by the negative coefficient.

3(3x−1)≤2(5x+5)multiply by 69x−3≤10x+10expand−x≤13collect termsx≥−13divide by −1\begin{aligned} 3(3x-1)&\le2(5x+5) && \text{multiply by }6 \\ 9x-3&\le10x+10 && \text{expand} \\ -x&\le13 && \text{collect terms} \\ x&\ge-13 && \text{divide by }-1 \end{aligned}

Why this step? Dividing by −1-1 reflects the comparison on the number line. Keeping ≤\le would select the wrong side of −13-13.

Answer. x≥−13x\ge-13.

Check. At x=−13x=-13, both fractions equal −20-20. At x=−14x=-14, the comparison is −432≤−653-\dfrac{43}{2}\le-\dfrac{65}{3}, which is false; at x=0x=0, it is true.

These examples use constant denominators. Multiplying an inequality by an expression such as x−2x-2 is unsafe unless you know its sign: it is negative on one side of 22, positive on the other and zero at 22.

Watch out

Wrong: −3x≤12-3x\le12 gives x≤−4x\le-4. Right: dividing by −3-3 gives x≥−4x\ge-4. The boundary value is unchanged; which side is allowed changes.

The next question changes the same numerator coefficient once more. Check the direction as carefully as the arithmetic.

Quadratic signs and critical values

A quadratic's roots locate where its graph meets the horizontal axis; the graph or the signs of its factors then show which intervals satisfy an inequality.

For (x+2)(x−3)(x+2)(x-3), try x=−3x=-3, x=0x=0 and x=4x=4. The products are 66, −6-6 and 66. These test values lie in the three intervals separated by −2-2 and 33. A factor cannot change sign inside one of these intervals without passing through zero, so one test value determines each interval's sign.

Critical values

For a polynomial inequality, the critical values are the real zeros of the expression after one side has been made zero. They divide the number line into intervals to test. They are boundaries to investigate, rather than the full solution set.

Always collect the inequality onto one side before choosing intervals. The leading coefficient matters: an upward-opening quadratic is positive outside two distinct roots, while a downward-opening quadratic has the opposite sign pattern. These sign rules are not in the formula booklet: learn how to recover them from a sketch or factors.

Worked example 3: on or below the axis

Question. Solve x2−x−6≤0x^2-x-6\le0.

Plan. Factorise, find the critical values, then select where the upward-opening graph is on or below the axis.

x2−x−6=(x+2)(x−3)factorise(x+2)(x−3)=0 ⇒ x=−2, 3find critical values\begin{aligned} x^2-x-6&=(x+2)(x-3) && \text{factorise} \\ (x+2)(x-3)&=0\ \Rightarrow\ x=-2,\ 3 && \text{find critical values} \end{aligned}
IntervalSign of x+2x+2Sign of x−3x-3Product
x<−2x<-2negativenegativepositive
−2<x<3-2<x<3positivenegativenegative
x>3x>3positivepositivepositive

Why this step? Solving the equation identifies only the boundaries. The sign test selects the whole interval between them, and ≤\le includes the zeros.

Answer. −2≤x≤3-2\le x\le3.

Check. The interior value x=0x=0 gives −6≤0-6\le0. The exterior value x=4x=4 gives 6>06>0, so it must be excluded.

The graph gives the same argument visually. Its shaded portion is on or below the horizontal axis, and the closed number-line endpoints include equality.

The upward quadratic is on or below the axis from minus two to three, including both endpoints

Worked example 4 changes only the sign of the entire quadratic. Its roots stay fixed, but every nonzero height changes sign.

Worked example 4: a negative leading coefficient

Question. Solve −x2+x+6≤0-x^2+x+6\le0.

Plan. Factor out −1-1, retain the same critical values and reverse the previous interval signs.

−x2+x+6=−(x+2)(x−3)factorise−(x+2)(x−3)≤0required comparison(x+2)(x−3)≥0multiply by −1\begin{aligned} -x^2+x+6&=-(x+2)(x-3) && \text{factorise} \\ -(x+2)(x-3)&\le0 && \text{required comparison} \\ (x+2)(x-3)&\ge0 && \text{multiply by }-1 \end{aligned}

The product is positive outside −2-2 and 33, and zero at those boundaries.

Why this step? The negative sign makes the parabola open downward. “Between the roots” cannot be used without checking which sign is wanted.

Answer. x≤−2x\le-2 or x≥3x\ge3.

Check. At x=0x=0, the original expression is 66, so the middle interval is excluded. At x=4x=4, it is −6-6, so the right interval is included.

For a strict comparison, omit the roots: for instance, −x2+4x−3>0-x^2+4x-3>0 becomes −(x−1)(x−3)>0-(x-1)(x-3)>0, giving 1<x<31<x<3. Equality at either root does not meet >0>0.

A quadratic inequality can also allow every real number, or none. Since a real square is non-negative, (x−1)2≥0(x-1)^2\ge0 holds for all real xx, whereas (x−1)2<0(x-1)^2<0 has no solution. A repeated root does not cause a sign change. With no real roots, the sign is constant too: x2+1>0x^2+1>0 always, while x2+1≤0x^2+1\le0 never. These conclusions come from the expressions themselves; they are not supplied in the formula booklet.

Watch out

Wrong: “The roots are −2-2 and 33, so those are the only solutions.” Right: roots locate boundaries; signs choose intervals. Include a boundary only when equality is allowed.

Now change the constant and linear terms of a downward-opening quadratic. Establish its new critical values before selecting the outside intervals.

Writing solution sets

Set notation records which values are included, so an interval cannot be mistaken for a list of its endpoints or a list of integers.

The answer −2≤x≤3-2\le x\le3 includes 12\dfrac12, 2\sqrt2 and every other real number between the bounds. By contrast, {−2,−1,0,1,2,3}\{-2,-1,0,1,2,3\} lists exactly six numbers. Braces mean a set, and the commas in a listed set separate its individual elements.

Solution set

The solution set contains all values satisfying the stated condition. For example,

S={x:−2≤x≤3}=[−2,3]S=\{x:-2\le x\le3\}=[-2,3]

The colon means “such that”. Real values are assumed here; writing x∈Rx\in\mathbb R explicitly is also correct.

An interval contains every real number between its bounds. A square bracket includes a finite endpoint and a round bracket excludes it. The following notation is not supplied in the formula booklet: learn its meaning.

IntervalMeaning
[a,b][a,b]a≤x≤ba\le x\le b
[a,b)[a,b)a≤x<ba\le x<b
(a,b](a,b]a<x≤ba<x\le b
(a,b)(a,b)a<x<ba<x<b

Infinity is not a real endpoint that can be included. Thus x<2x<2 is (−∞,2)(-\infty,2), and x≥2x\ge2 is [2,∞)[2,\infty). The empty set, ∅\varnothing, records no solutions; all real numbers are R\mathbb R.

The symbol ∈\in means “is an element of”, so 0∈S0\in S and 4∉S4\notin S. If T={−2,−1,0,1,2,3}T=\{-2,-1,0,1,2,3\}, then every element of TT belongs to SS, so T⊆ST\subseteq S. It is a proper subset, written T⊂ST\subset S, because SS also has elements outside TT, such as 12\dfrac12. The notation ⊆\subseteq allows equality; ⊂\subset here does not.

For a finite set, n(A)n(A) counts its elements. Here n(T)=6n(T)=6, while n(∅)=0n(\varnothing)=0; the real interval SS has infinitely many elements.

The domain matters when deciding what “all” means. The standard number sets are:

SetElements
N\mathbb Npositive integers 1,2,3,…1,2,3,\ldots; zero is excluded in this specification
Z\mathbb Zintegers …,−2,−1,0,1,2,…\ldots,-2,-1,0,1,2,\ldots
Z+\mathbb Z^+, Z0+\mathbb Z_0^+positive integers, and non-negative integers 0,1,2,…0,1,2,\ldots, respectively
Q\mathbb Qrational numbers ab\dfrac ab, where a,b∈Za,b\in\mathbb Z and b≠0b\ne0
R\mathbb Rall real numbers, including rational numbers and irrationals such as 2\sqrt2

For instance, 12∈Q\dfrac12\in\mathbb Q but 12∉Z\dfrac12\notin\mathbb Z. Restricting −2≤x≤3-2\le x\le3 to integers gives the six-element set TT; keeping a real domain gives the whole interval SS.

The universal set UU contains all the values under discussion. If U={0,1,2,3,4}U=\{0,1,2,3,4\} and A={1,3}A=\{1,3\}, the values of UU outside AA form its complement, A′={0,2,4}A'=\{0,2,4\}. In general, A′={x∈U:x∉A}A'=\{x\in U:x\notin A\}; the complement depends on UU. For real inequality solutions, UU is usually R\mathbb R, unless the question restricts it. These number-set, membership, subset and complement conventions are not supplied in the formula booklet.

Key idea

The brackets carry mathematical information: {a,b}\{a,b\} lists two elements, while [a,b][a,b] includes a whole real interval when a<ba<b.

Read each option below as a claim about every real value, including the endpoints and non-integers.

Combining conditions with and and or

Several inequalities can describe one solution set: “and” keeps their overlap, while “or” keeps values allowed by either condition.

If x≤3x\le3 and x>1x>1, a value must pass both tests, giving 1<x≤31<x\le3. If the conditions use “or”, the value need pass only one. A value passing both is still included: mathematical “or” is inclusive.

Intersection and union

The intersection A∩BA\cap B contains elements belonging to both AA and BB. The union A∪BA\cup B contains elements belonging to at least one of them. Intersection represents “and”; union represents inclusive “or”. This notation is not supplied in the formula booklet: learn it.

Solve each condition separately first. Then compare their number-line intervals; do not try to join the unsolved algebra by a new inequality sign.

Worked example 5: both conditions must hold

Question. Find the values satisfying x2−x−6≤0x^2-x-6\le0 and x>1x>1. Give your answer using set notation.

Plan. Solve the quadratic inequality, then intersect its interval with the linear condition.

(x+2)(x−3)≤0 ⇒ −2≤x≤3quadratic condition[−2,3]∩(1,∞)=(1,3]keep the overlap\begin{aligned} (x+2)(x-3)&\le0\ \Rightarrow\ -2\le x\le3 && \text{quadratic condition} \\ [-2,3]\cap(1,\infty)&=(1,3] && \text{keep the overlap} \end{aligned}

Why this step? “And” demands both conditions. The value 11 passes the quadratic test but fails x>1x>1.

Answer. {x:1<x≤3}\{x:1<x\le3\}, or (1,3](1,3].

Check. x=2x=2 passes both tests. The boundary 33 is included, while 11 is excluded by the strict second condition.

Worked example 6 changes only the joining word to “or”. The two individual sets are unchanged, but now you keep their union.

Worked example 6: either condition can hold

Question. Find the values satisfying x2−x−6≤0x^2-x-6\le0 or x>1x>1. Give your answer using set notation.

Plan. Take the union of the same intervals and combine the portions that meet or overlap.

x2−x−6≤0 ⇒ x∈[−2,3]first conditionx>1 ⇒ x∈(1,∞)second condition[−2,3]∪(1,∞)=[−2,∞)no gap remains\begin{aligned} x^2-x-6\le0&\ \Rightarrow\ x\in[-2,3] && \text{first condition} \\ x>1&\ \Rightarrow\ x\in(1,\infty) && \text{second condition} \\ [-2,3]\cup(1,\infty)&=[-2,\infty) && \text{no gap remains} \end{aligned}

Why this step? Values greater than 33 fail the quadratic condition but pass x>1x>1, so they must be included.

Answer. {x:x≥−2}\{x:x\ge-2\}, or [−2,∞)[-2,\infty).

Check. x=−2x=-2 passes the first test, x=1x=1 also passes the first test, and x=4x=4 passes the second. Values below −2-2 pass neither.

A union need not be one continuous interval. For example, x2−x−6≤0x^2-x-6\le0 or x<−4x<-4 gives (−∞,−4)∪[−2,3](-\infty,-4)\cup[-2,3]; the gap stays. Conversely, x<−2x<-2 and x>3x>3 has no solution, since a number cannot meet both demands.

Watch out

Wrong: write an outside solution as x<−2x<-2 and x>3x>3. Right: use “or”, or (−∞,−2)∪(3,∞)(-\infty,-2)\cup(3,\infty). “And” would give ∅\varnothing.

For the next question, the second condition moves to the other side of the quadratic interval. Decide whether any gap remains in the union.

Quick Recap

  • Reverse an inequality when multiplying or dividing by a negative number.
  • For a quadratic, find the critical values and use signs or a graph to select whole intervals.
  • Strict comparisons exclude equality; square interval brackets include finite endpoints.
  • “And” takes an intersection; inclusive “or” takes a union.

The opening inequality has infinitely many solutions: every real number in [−2,3][-2,3] satisfies x2−x−6≤0x^2-x-6\le0, while only the two endpoints solve the corresponding equation.