Studify

Inequalities and Linear Programming

Compound linear inequalities, quadratic inequalities solved with a sketch, and linear programming: finding the greatest or least value over a shaded region.

Test yourself on this topic6 exam-style questions · marked as you go · free, no account

Linear inequalities

Solve like an equation, with one rule: multiplying or dividing by a negative number reverses the sign.

3−2x>7⇒−2x>4⇒x<−23 - 2x > 7 \Rightarrow -2x > 4 \Rightarrow x < -2

Compound inequalities:

  • "and": both must hold, so take the overlap.
  • "or": either may hold, so take everything covered by either.

Quadratic inequalities

  1. Move everything to one side and factorise.
  2. Sketch y=(x−p)(x−q)y = (x - p)(x - q), a U-shape cutting the xx-axis at pp and qq (p<qp < q).
  3. Read off:
InequalitySolution
(x−p)(x−q)<0(x - p)(x - q) < 0p<x<qp < x < q (between the roots)
(x−p)(x−q)>0(x - p)(x - q) > 0x<px < p or x>qx > q (outside the roots)

Common mistake: x2≥9x^2 \geq 9 is not x≥±3x \geq \pm 3. It is x≤−3x \leq -3 or x≥3x \geq 3.

Linear programming

  1. Define the variables, e.g. xx trays of cookies and yy trays of cakes.
  2. Write each constraint as an inequality, including x≥0x \geq 0 and y≥0y \geq 0.
  3. Shade the region that satisfies all of them. DSE calls it "the shaded region (including the boundary)".
  4. The greatest or least value of P=ax+byP = ax + by occurs at a vertex of the region. Evaluate PP at each vertex and compare.

If the variables must be whole numbers (people, trays, buses), check that the best vertex has integer coordinates; otherwise test the nearby integer points inside the region.

Exam tip: to find a vertex where two boundary lines meet, solve their equations simultaneously. Show the values of PP at all vertices in a table.

In the DSE exam

Syllabus scope

You need: compound linear inequalities ("and", "or"), quadratic inequalities solved algebraically or graphically, and linear programming: finding the greatest or least value of an expression ax+by+cax + by + c over a region.

How it is tested

  • Paper 1 Section A(1): "Find the range of values of xx which satisfy both ... and .... Hence, write down the number of integers satisfying both inequalities."
  • Paper 2 MC: "The figure shows a shaded region (including the boundary). If (x,y)(x, y) is a point in the shaded region, find the greatest value of 4x+3y+k4x + 3y + k." HKEAA uses the words shaded region (including the boundary), not "feasible region".

How to answer

  • For "both ... and", give the overlap; for "or", give the union.
  • In linear programming, list the vertices and the value of the expression at each; the greatest or least value occurs at a vertex.
Test yourself on this topic6 exam-style questions · marked as you go · free, no account