Study Vault
All PostsFlashcardsResourcesAI ChatBlog
  1. Home
  2. /↳All Posts
  3. /↳Math
  4. /↳Linear Inequalities & Programming
Study VaultStudy Vault

Free, comprehensive study notes for CSEC students.

matthewlloydw@gmail.com

Navigate

  • Home
  • All Posts
  • Flashcards
  • Resources
  • AI Chat

Community

  • Contributors
  • Changelog
  • Suggest a Feature
  • My Suggestions
  • Bookmarks

Mathematics and Science

  • Mathematics
  • Additional Mathematics
  • Biology
  • Chemistry
  • Physics

Arts and Humanities

  • Caribbean History
  • Geography

Business and Human Development Studies

  • Principles of Accounts
  • Principles of Business
  • Economics

Modern Languages

  • English A (Language)
  • English B (Literature)
  • French
  • Spanish

Technical Studies and Creative Arts

  • Electrical & Electronic Technology
  • Information Technology

© 2026 Matthew Williams. Made with other contributors for all.

Mathematics

Linear Inequalities & Programming

PDF
Matthew Williams
|May 6, 2026|5 min read
InequalitiesLinear ProgrammingPaper 01Paper 02

Graphing linear inequalities, shading feasible regions, and linear programming problems.

Linear programming uses inequalities to describe limits, then finds the best possible outcome inside those limits. The shaded region is not decoration; it represents all values that satisfy every condition at the same time.

For CSEC, these problems usually involve resources such as time, money, materials, or production limits. Define the variables, write the inequalities from the wording, shade the feasible region, and test corner points when maximising or minimising. Each step explains the model.

Inequalities in One Variable

An inequality shows a relationship where something is greater than, less than, greater than or equal to, or less than or equal to something else.

Symbols:

  • >>> : greater than
  • <<< : less than
  • ≥\geq≥ : greater than or equal to
  • ≤\leq≤ : less than or equal to

Solving One-Variable Linear Inequalities

Solve like equations, BUT flip the inequality sign when multiplying or dividing by a negative number.

Example

Solve 3x−2>73x - 2 > 73x−2>7:

Step 1: Add 2 to both sides 3x>93x > 93x>9

Step 2: Divide by 3 (positive, so don't flip) x>3x > 3x>3

Answer: All numbers greater than 3. Set notation: {x:x>3}\{x : x > 3\}{x:x>3}

Number line representation:

x > 3
Example

Solve −2x+5≤1-2x + 5 \leq 1−2x+5≤1:

Step 1: Subtract 5 from both sides −2x≤−4-2x \leq -4−2x≤−4

Step 2: Divide by -2 (negative, so FLIP the sign!) x≥2x \geq 2x≥2

Answer: All numbers greater than or equal to 2. Set notation: {x:x≥2}\{x : x \geq 2\}{x:x≥2}

Number line representation:

x ≥ 2

Inequalities in Two Variables

An inequality like y>2x+1y > 2x + 1y>2x+1 represents a region (not just a line).

Graphing Two-Variable Inequalities

Step 1: Graph the boundary line y=2x+1y = 2x + 1y=2x+1

  • Use dashed line if inequality is <<< or >>> (not included)
  • Use solid line if inequality is ≤\leq≤ or ≥\geq≥ (included)

Step 2: Shade the appropriate region

  • For y>2x+1y > 2x + 1y>2x+1: shade ABOVE the line
  • For y<2x+1y < 2x + 1y<2x+1: shade BELOW the line
  • Test a point if unsure: pick (0,0)(0, 0)(0,0) and check if it satisfies the inequality
Example

Graph y≤−x+4y \leq -x + 4y≤−x+4:

Step 1: Graph boundary line y=−x+4y = -x + 4y=−x+4

  • Y-intercept: (0,4)(0, 4)(0,4)
  • Slope: −1-1−1
  • Use SOLID line (inequality includes ===)

Step 2: Shade region

  • Test point (0,0)(0, 0)(0,0): 0≤−(0)+4=40 \leq -(0) + 4 = 40≤−(0)+4=4 ✓ TRUE
  • Since (0,0)(0, 0)(0,0) makes it true and it's below the line, shade BELOW
Region y ≤ -x + 4 (shaded below the line)

What Is Linear Programming?

Linear programming is a method to find the best solution (maximum or minimum) when you have:

  • An objective function (what you want to maximize or minimize)
  • Constraints (limitations or restrictions, usually linear inequalities)

Real-world applications:

  • Maximize profit subject to resource limits
  • Minimize cost subject to production requirements
  • Optimize resource allocation

The Feasible Region

The feasible region is the area that satisfies all constraints simultaneously.

To find it:

  1. Graph each constraint as a linear inequality
  2. Shade the region that satisfies ALL constraints
  3. The overlapping region is the feasible region
Example

Graph the constraints: x+y≤8x + y \leq 8x+y≤8 2x+y≤122x + y \leq 122x+y≤12 x≥0,y≥0x \geq 0, y \geq 0x≥0,y≥0

Step 1: Graph each line

  • Line 1: x+y=8x + y = 8x+y=8 (intercepts at (0,8)(0,8)(0,8) and (8,0)(8,0)(8,0))
  • Line 2: 2x+y=122x + y = 122x+y=12 (intercepts at (0,12)(0,12)(0,12) and (6,0)(6,0)(6,0))
  • Lines 3 & 4: axes (since x≥0x \geq 0x≥0 and y≥0y \geq 0y≥0)

Step 2: Shade regions below/right of lines for ≤\leq≤ and ≥\geq≥

Step 3: Overlapping region = feasible region (usually a polygon)

Feasible region (intersection of x+y≤6, x≥0, y≥0, y≤4)

Optimization

The optimal solution occurs at a vertex (corner point) of the feasible region.

Method:

  1. Find all corner points of the feasible region
  2. Evaluate the objective function at each corner point
  3. Choose the point that gives the maximum or minimum value
Example

Maximize profit: P=3x+2yP = 3x + 2yP=3x+2y subject to: x+y≤8x + y \leq 8x+y≤8 2x+y≤122x + y \leq 122x+y≤12 x≥0,y≥0x \geq 0, y \geq 0x≥0,y≥0

Step 1: Find corner points of feasible region

  • (0,0)(0, 0)(0,0) (origin)
  • (6,0)(6, 0)(6,0) (where line 2 meets x-axis)
  • (4,4)(4, 4)(4,4) (where lines 1 and 2 intersect)
  • (0,8)(0, 8)(0,8) (where line 1 meets y-axis)

Step 2: Evaluate P=3x+2yP = 3x + 2yP=3x+2y at each corner

  • At (0,0)(0, 0)(0,0): P=3(0)+2(0)=0P = 3(0) + 2(0) = 0P=3(0)+2(0)=0
  • At (6,0)(6, 0)(6,0): P=3(6)+2(0)=18P = 3(6) + 2(0) = 18P=3(6)+2(0)=18
  • At (4,4)(4, 4)(4,4): P=3(4)+2(4)=12+8=20P = 3(4) + 2(4) = 12 + 8 = 20P=3(4)+2(4)=12+8=20 ← MAXIMUM
  • At (0,8)(0, 8)(0,8): P=3(0)+2(8)=16P = 3(0) + 2(8) = 16P=3(0)+2(8)=16

Optimal solution: (4,4)(4, 4)(4,4) gives maximum profit of 20

This means: produce 4 of product xxx and 4 of product yyy for maximum profit.

Previous
Linear Functions & Graphs
Next
Matrices & Basic Operations