Subject: Class 12 Mathematics Chapter: Graphical Representation Topic: 13.5 Graphical Representation – Represent linear constraints graphically
Graphical representation is the method by which the abstract inequalities of a linear programming problem are turned into a picture. Every linear inequality divides the coordinate plane into two half planes, and the boundary between them is a straight line. When several constraints are drawn on the same graph, the region where all their feasible half planes overlap is immediately visible, and it is this visual picture that makes the whole method of linear programming so powerful and so easy to understand.
The graphical method is possible only because the problems in the Class 12 syllabus are limited to two decision variables. With two variables, the constraints become lines in the xy plane, and the feasible region becomes a polygon whose corners can be read directly from the graph. With three or more variables the picture would be a solid or a hyperplane, and graphs become impractical, but for the two variable case a clean graph is the fastest route to the answer.
In this chapter we learn the three skills of graphical representation: drawing the boundary line of each constraint accurately, deciding and shading the correct half plane of each inequality, and combining all the shaded half planes to obtain the feasible region of the complete problem.
The first step in representing an inequality ax + by ≤ c graphically is to draw its boundary line ax + by = c. The boundary line is drawn as a solid line when the inequality contains the sign ≤ or ≥, because the points on the line are themselves part of the feasible region. It is drawn as a dashed line when the inequality is strict, with the sign < or >, because the line itself is excluded.
Solved Example 1: Draw the boundary line of the constraint 4x + 3y ≤ 24.
Solution: - Step 1: Write the boundary as 4x + 3y = 24. - Step 2: Put y = 0, which gives 4x = 24, so x = 6. The x intercept is (6, 0). - Step 3: Put x = 0, which gives 3y = 24, so y = 8. The y intercept is (0, 8). - Step 4: Join (6, 0) and (0, 8) with a solid straight line.
Solved Example 2: Draw the boundary line of the constraint 2x + 5y = 20 for x ≥ 0, y ≥ 0.
Solution: - Step 1: Put y = 0 to get x = 10, giving the point (10, 0). - Step 2: Put x = 0 to get y = 4, giving the point (0, 4). - Step 3: Join (10, 0) and (0, 4) with a solid line. - Step 4: The line cuts only the first quadrant portion that matters, between the two intercepts.
The two intercepts (a, 0) and (0, b) are the easiest points to compute, but a line whose intercepts lie far outside the graph can be drawn instead from two points chosen near the centre of the plotting area.
Once the boundary line is drawn, the next task is to decide which side of the line satisfies the inequality. The reliable procedure is the test point method.
Solved Example 3: Shade the half plane that satisfies x + 3y ≤ 12.
Solution: - Step 1: Draw the line x + 3y = 12 through (12, 0) and (0, 4). - Step 2: Test the origin (0, 0): 0 + 0 ≤ 12 is true. - Step 3: Therefore the origin lies on the feasible side. - Step 4: Shade the half plane containing the origin, that is the region below the line.
Solved Example 4: Shade the half plane that satisfies 2x + 3y ≥ 18.
Solution: - Step 1: Draw the line 2x + 3y = 18 through (9, 0) and (0, 6). - Step 2: Test the origin (0, 0): 0 ≥ 18 is false. - Step 3: Therefore the origin is not on the feasible side. - Step 4: Shade the half plane away from the origin, that is the region above the line.
For inequalities of the form x ≥ a the boundary is the vertical line x = a, and the feasible side is to the right. For y ≥ b the boundary is the horizontal line y = b and the feasible side is above. These simple cases appear frequently and should be recognised immediately.
A linear programming problem has several constraints, and its graph must show all of them on the same axes. The feasible region of the problem is the common region that lies on the feasible side of every single constraint simultaneously.
Solved Example 5: Represent graphically the feasible region of the problem with constraints x + y ≤ 8, 2x + y ≤ 12, x ≥ 0 and y ≥ 0.
Solution: - Step 1: Draw x + y = 8 through (8, 0) and (0, 8); the feasible side contains the origin. - Step 2: Draw 2x + y = 12 through (6, 0) and (0, 12); the feasible side contains the origin. - Step 3: The restrictions x ≥ 0 and y ≥ 0 keep the region in the first quadrant. - Step 4: Solve x + y = 8 and 2x + y = 12 together. Subtracting gives x = 4 and then y = 4, so the lines meet at (4, 4). - Step 5: The feasible region is the polygon with vertices (0, 0), (6, 0), (4, 4) and (0, 8).
Solved Example 6: Represent graphically the region defined by x + 2y ≥ 6, x ≤ 6, y ≤ 4, x ≥ 0 and y ≥ 0.
Solution: - Step 1: Draw the line x + 2y = 6 through (6, 0) and (0, 3); the inequality x + 2y ≥ 6 shades away from the origin. - Step 2: Draw the vertical line x = 6 and shade to the left. - Step 3: Draw the horizontal line y = 4 and shade below. - Step 4: The feasible region is the quadrilateral with corners (6, 0), (6, 2), (2, 4) and (0, 3) inside the first quadrant. - Step 5: Every point in this common overlap satisfies all five constraints at once.
The accuracy of the graph decides the accuracy of the answer, because the corner points are read from the graph and confirmed by solving the line equations. A neatly drawn graph with labelled lines, arrow directions, and a clearly shaded common region is worth full marks even before the optimization begins.
| Constraint | Boundary equation | x intercept | y intercept |
|---|---|---|---|
| 4x + 3y ≤ 24 | 4x + 3y = 24 | (6, 0) | (0, 8) |
| x + 3y ≤ 12 | x + 3y = 12 | (12, 0) | (0, 4) |
| 2x + 5y = 20 | 2x + 5y = 20 | (10, 0) | (0, 4) |
| x ≥ 6 | x = 6 | (6, 0) | vertical |
| Inequality | Test origin (0, 0) | Result | Shade |
|---|---|---|---|
| x + 3y ≤ 12 | 0 ≤ 12 | True | Side of origin |
| 2x + 3y ≥ 18 | 0 ≥ 18 | False | Away from origin |
| x ≥ 6 | 0 ≥ 6 | False | Right of x = 6 |
| y ≥ 4 | 0 ≥ 4 | False | Above y = 4 |
flowchart TD
A[Graphical Representation] --> B[Boundary Lines]
A --> C[Test Point Method]
A --> D[Feasible Half Planes]
A --> E[Complete Feasible Region]
B --> F[Solid line for <= and >=]
B --> G[Dashed line for < and >]
C --> H[Test the origin]
C --> I[Test (1, 0) if origin on line]
D --> J[Shade the true side]
D --> K[Shade lightly per inequality]
E --> L[Overlap of all half planes]
E --> M[Corner points from line intersections]
Graphical representation turns the inequalities of a linear programming problem into a single picture in which the feasible region and its corner points are visible at a glance. The method rests on three skills: drawing each boundary line accurately through its intercepts, choosing the correct half plane with the test point method, and combining all the half planes to find their common overlap. Once these skills are mastered, the graph becomes not merely a diagram but a precise tool, because the corner points read from it are exactly the candidates among which the optimal solution of the problem is found.