Photo AI

Last Updated Sep 27, 2025

Solving a Linear Programming Problem Graphically Simplified Revision Notes

Revision notes with simplified explanations to understand Solving a Linear Programming Problem Graphically quickly and effectively.

user avatar
user avatar
user avatar
user avatar
user avatar

491+ students studying

12.2.1 Solving a Linear Programming Problem Graphically

Introduction

Linear programming problems with two variables can be solved graphically by plotting constraints and finding the optimal solution within the feasible region. Two key methods are used:

  1. Objective Line Method: Using a line to represent the objective function and shifting it to find the optimal value.
  2. Vertex Method: Evaluating the objective function at each vertex (corner point) of the feasible region. This note includes solving problems graphically and handling cases requiring integer solutions.

Key Steps in Graphical Solution

  • Define the Problem
  • Plot the Constraints
  • Identify the Feasible Region
  • Solve Using

1. Define the Problem

  • Identify decision variables xx and yy.
  • Write the objective function to maximize or minimize.
  • Write all constraints, including non-negativity conditions (x,y≥0x, y \geq 0).

2. Plot the Constraints

  • Convert inequalities into equalities to plot boundary lines.
  • Determine which side of the line satisfies the inequality by testing a point (e.g., (0,0)(0, 0)).

3. Identify the Feasible Region

  • The feasible region is the area where all constraints overlap. It is bound for most problems.

4. Solve Using:

  • Objective Line Method: Draw a line for the objective function, shift it parallelly within the feasible region, and identify the optimal point.
  • Vertex Method: Evaluate the objective function at each vertex of the feasible region.

Worked Examples

infoNote

Example 1: Maximise Profit


Problem

Maximise:

Z=3x+5yZ = 3x + 5y

Subject to:

  1. x+y≤6x + y \leq 6
  2. 2x+y≤82x + y \leq 8
  3. x,y≥0x, y \geq 0

Step 1: Plot the Constraints

  • x+y=6x + y = 6: A straight line passing through (6,0)(6,0) and (0,6)(0,6)
  • 2x+y=82x + y = 8: A straight line passing through (4,0)(4,0) and (0,8)(0,8)
  • x,y≥0x, y \geq 0: Constraints for the first quadrant.

Step 2: Identify the Feasible Region

The feasible region is bounded by the lines and lies in the first quadrant. It is a polygon defined by:

  • (0,0)(0, 0)
  • (4,0)(4, 0)
  • (2,4)(2, 4)
  • (0,6)(0, 6)

Step 3: Solve Using the Vertex Method

Evaluate Z=3x+5yZ = 3x + 5y at each vertex:

Z(0,0)=3(0)+5(0)=0Z(0, 0) = 3(0) + 5(0) = 0Z(4,0)=3(4)+5(0)=12Z(4, 0) = 3(4) + 5(0) = 12Z(2,4)=3(2)+5(4)=6+20=26Z(2, 4) = 3(2) + 5(4) = 6 + 20 = 26Z(0,6)=3(0)+5(6)=30Z(0, 6) = 3(0) + 5(6) = 30

Step 4: Identify the Optimal Solution

  • The maximum value of Z=30Z = 30 occurs at (0,6)(0, 6)
infoNote

Example 2: Integer Solution Required


Problem

Maximise:

Z=4x+7yZ = 4x + 7y

Subject to:

  1. x+2y≤10x + 2y \leq 10
  2. 3x+y≤123x + y \leq 12
  3. x,y≥0x, y \geq 0

Step 1: Plot the Constraints

  • x+2y=10x + 2y = 10: Line passes through (10,0)(10, 0) and (0,5)(0, 5)
  • 3x+y=123x + y = 12: Line passes through (4,0)(4, 0) and (0,12)(0, 12)

Step 2: Identify the Feasible Region

The feasible region is bounded by the lines and lies in the first quadrant. Vertices are:

  • (0,0)(0, 0)
  • (0,5)(0, 5)
  • (2,4)(2, 4)
  • (4,0)(4, 0)

Step 3: Check Integer Solutions

Vertices:

  • Z(0,0)=4(0)+7(0)=0Z(0, 0) = 4(0) + 7(0) = 0
  • Z(0,5)=4(0)+7(5)=35Z(0, 5) = 4(0) + 7(5) = 35
  • Z(2,4)=4(2)+7(4)=8+28=36Z(2, 4) = 4(2) + 7(4) = 8 + 28 = 36
  • Z(4,0)=4(4)+7(0)=16Z(4, 0) = 4(4) + 7(0) = 16

Step 4: Adjust for Integer Solutions

If only integer solutions are allowed, test lattice points within the feasible region, such as (3,3)(3, 3) or (1,4)(1, 4):

  • Z(3,3)=4(3)+7(3)=12+21=33Z(3, 3) = 4(3) + 7(3) = 12 + 21 = 33
  • Z(1,4)=4(1)+7(4)=4+28=32Z(1, 4) = 4(1) + 7(4) = 4 + 28 = 32 Optimal integer solution: (2,4)(2, 4) with Z=36Z = 36

Note Summary

infoNote

Common Mistakes

  1. Incorrect plotting: Misplacing lines or identifying the wrong feasible region.
  2. Omitting non-negativity: Forgetting x,y≥0x, y \geq 0, leading to incorrect solutions.
  3. Failing to test all vertices: Missing the optimal point by not evaluating all feasible region vertices.
  4. Overlooking integer constraints: When required, failing to check integer solutions.
  5. Objective line misplacement: Drawing the objective line incorrectly during the objective line method.
infoNote

Key Formulas

  1. Objective Function:
Z=ax+byZ = ax + by

where aa and bb are coefficients.

  1. Vertex Method: Evaluate ZZ at each vertex of the feasible region.

  2. Feasible Region: The intersection of all constraints, satisfying x,y≥0x, y \geq 0

  3. Constraint Boundaries: Convert inequalities to equalities for plotting:

ax+by=cax + by = c
Books

Only available for registered users.

Sign up now to view the full note, or log in if you already have an account!

500K+ Students Use These Powerful Tools to Master Solving a Linear Programming Problem Graphically

Enhance your understanding with flashcards, quizzes, and exams—designed to help you grasp key concepts, reinforce learning, and master any topic with confidence!

10 flashcards

Flashcards on Solving a Linear Programming Problem Graphically

Revise key concepts with interactive flashcards.

Try Further Maths Decision Maths 1 Flashcards

1 quizzes

Quizzes on Solving a Linear Programming Problem Graphically

Test your knowledge with fun and engaging quizzes.

Try Further Maths Decision Maths 1 Quizzes

29 questions

Exam questions on Solving a Linear Programming Problem Graphically

Boost your confidence with real exam questions.

Try Further Maths Decision Maths 1 Questions

27 exams created

Exam Builder on Solving a Linear Programming Problem Graphically

Create custom exams across topics for better practice!

Try Further Maths Decision Maths 1 exam builder

50 papers

Past Papers on Solving a Linear Programming Problem Graphically

Practice past papers to reinforce exam experience.

Try Further Maths Decision Maths 1 Past Papers

Other Revision Notes related to Solving a Linear Programming Problem Graphically you should explore

Discover More Revision Notes Related to Solving a Linear Programming Problem Graphically to Deepen Your Understanding and Improve Your Mastery

Load more notes

Join 500,000+ A-Level students using SimpleStudy...

Join Thousands of A-Level Students Using SimpleStudy to Learn Smarter, Stay Organized, and Boost Their Grades with Confidence!

97% of Students

Report Improved Results

98% of Students

Recommend to friends

500,000+

Students Supported

50 Million+

Questions answered