9th Class Maths Unit 5 Linear Equations and Inequalities – Exercise 5.1, 5.2 Solved (New Syllabus)

Last updated: 4 December 2026 · Punjab Board 9th Class Mathematics (new syllabus 2025-26) · Unit 5

Easy, exam-focused notes for Unit 5: Linear Equations and Inequalities of the new Punjab Board 9th class Maths book. Every exercise question (Exercise 5.1, 5.2 and Review Exercise 5) is solved step by step, and the answers are checked against the textbook answer key.

In this unit

  1. Linear equation in one variable
  2. Linear inequalities and the real line
  3. Inequalities in two variables (half planes)
  4. System of two inequalities
  5. Feasible region and optimal solution
  6. Exercise 5.1 solved
  7. Exercise 5.2 solved
  8. Review Exercise 5 solved
  9. MCQs for practice

5.1 Linear equation in one variable

An equation of the form ax + b = 0 (a ≠ 0) is a linear equation in one variable. The highest power of x is 1, and it has exactly one solution.

  1. Simplify both sides (remove brackets, combine like terms; multiply by the LCM to clear fractions).
  2. Isolate the variable: move x-terms to one side and numbers to the other.
  3. Solve: divide by the coefficient of x.
  4. Check: put the answer back in the original equation.
Example: 4x + 7 = 19
4x + 7 = 19 → 4x = 12 → x = 3
Check: 4(3) + 7 = 19 ✓
-10123453

5.2 Linear inequalities

Symbols: > (greater than), < (less than), ≥ (greater than or equal to), ≤ (less than or equal to). Examples: ax < b and ax + b ≥ c are in one variable; ax + by > c is in two variables.

Golden rule: adding/subtracting a number, or multiplying/dividing by a positive number keeps the sign the same. Multiplying or dividing by a negative number reverses the sign (< becomes >).
InequalityIntervalOn the real line
x > 1(1, ∞)open circle at 1, arrow right
x < 1(−∞, 1)open circle at 1, arrow left
x ≥ 1[1, ∞)filled circle at 1, arrow right
x ≤ 1(−∞, 1]filled circle at 1, arrow left
Example: 3x − 2 < 7
3x − 2 < 7 → 3x < 9 → x < 3
Solution interval: (−∞, 3)
-2-101234563

5.2.1 Inequalities in two variables

Forms: ax + by < c, ax + by > c, ax + by ≤ c, ax + by ≥ c (a, b not both zero). The line ax + by = c is the associated (corresponding) equation; it is the boundary that splits the plane into two half planes. A vertical line gives left/right half planes; a non-vertical line gives upper/lower half planes.

  1. Draw the boundary line using its x-intercept (put y = 0) and y-intercept (put x = 0). Use a dashed line for < or >, and a solid line for ≤ or ≥.
  2. Take a test point not on the line, usually (0, 0).
  3. If the test point satisfies the inequality, shade the side containing it; otherwise shade the opposite side.
Example: x + y ≤ 4
Boundary x + y = 4 → points (4, 0) and (0, 4), solid line
Test (0, 0): 0 + 0 = 0 ≤ 4 ✓ → shade the origin side (below the line)
xyx + y = 4(4,0)(0,4)

5.2.2 System of two inequalities

Graph each inequality on the same axes. The common (overlapping) region is the solution region of the system. A point where two boundary lines meet is a corner point (vertex).

5.3 Feasible region and optimal solution

  • Each inequality of a real-life problem is a problem constraint; x ≥ 0, y ≥ 0 are non-negative constraints; x and y are decision variables.
  • The solution region restricted to the first quadrant is the feasible region; each point in it is a feasible solution.
  • The function to be maximized or minimized is the objective function; the best feasible solution is the optimal solution.

Procedure: (i) graph the constraints and find the feasible region, (ii) find its corner points, (iii) put each corner point in the objective function; the largest value is the maximum and the smallest is the minimum.

Exercise 5.1 solved

Q1. Solve and represent the solution on a real line

(i) 12x + 30 = −6
12x = −6 − 30 = −36
x = −36 ÷ 12 = −3
-6-5-4-3-2-1012−3
(ii) x/3 + 6 = −12
x/3 = −12 − 6 = −18
x = −18 × 3 = −54
-70-60-50-40-30-20-10010−54
(iii) x/2 − 3x/4 = 1/12
Multiply by 12: 6x − 9x = 1
−3x = 1 → x = −1⁄3
-3-2-10123−1/3
(iv) 2 = 7(2x + 4) + 12x
2 = 14x + 28 + 12x
2 − 28 = 26x → 26x = −26 → x = −1
-4-3-2-101234−1
(v) (2x − 1)/3 − 3x/4 = 5/6
Multiply by 12: 4(2x − 1) − 9x = 10
8x − 4 − 9x = 10 → −x = 14 → x = −14
-20-15-10-50510−14
(vi) −5x/10 = 9 − 10x/5
−x/2 = 9 − 2x
2x − x/2 = 9 → 3x/2 = 9 → x = 6
-2-10123456786

Q2. Solve each inequality and represent on a real line

(i) x − 6 ≤ −2
x ≤ −2 + 6 → x ≤ 4 i.e. (−∞, 4]
-2-10123456784
(ii) −9 > −16 + x
−9 + 16 > x → 7 > x → x < 7 i.e. (−∞, 7)
0123456789107
(iii) 3 + 2x ≥ 3
2x ≥ 0 → x ≥ 0 i.e. [0, ∞)
-4-3-2-101234560
(iv) 6(x + 10) ≤ 0
Divide by 6: x + 10 ≤ 0 → x ≤ −10 i.e. (−∞, −10]
-20-15-10-50510−10
(v) (5/3)x − 3/4 < −1/12
5x/3 < −1/12 + 3/4 = −1/12 + 9/12 = 8/12 = 2/3
x < (2/3) × (3/5) → x < 2⁄5
-2-10122/5
(vi) (1/4)x − 1/2 ≤ −1 + (1/2)x
−1/2 + 1 ≤ x/2 − x/4
1/2 ≤ x/4 → x ≥ 2 i.e. [2, ∞)
-2-101234562

Q3. Shade the solution region

(i) 2x + y ≤ 6
Boundary 2x + y = 6 through (3, 0) and (0, 6), solid
Test point (0, 0): 0 ≤ 6 true → shade origin side
xy2x + y = 6(3,0)(0,6)
(ii) 3x + 7y ≥ 21
Boundary 3x + 7y = 21 through (7, 0) and (0, 3), solid
Test point (0, 0): 0 ≥ 21 false → shade the side away from origin
xy3x + 7y = 21(7,0)(0,3)
(iii) 3x − 2y ≥ 6
Boundary 3x − 2y = 6 through (2, 0) and (0, −3), solid
Test point (0, 0): 0 ≥ 6 false → shade the side away from origin (below the line)
xy3x − 2y = 6(2,0)(0,−3)
(iv) 5x − 4y ≤ 20
Boundary 5x − 4y = 20 through (4, 0) and (0, −5), solid
Test point (0, 0): 0 ≤ 20 true → shade origin side (above the line)
xy5x − 4y = 20(4,0)(0,−5)
(v) 2x + 1 ≥ 0
x ≥ −1/2; boundary is the vertical line x = −1/2, solid
Test point (0, 0): 1 ≥ 0 true → shade right half plane
xyx = −1/2
(vi) 3y − 4 ≤ 0
y ≤ 4/3; boundary is the horizontal line y = 4/3, solid
Test point (0, 0): −4 ≤ 0 true → shade lower half plane
xyy = 4/3

Q4. Solution region of the systems

(i) 2x − 3y ≤ 6, 2x + 3y ≤ 12
2x − 3y = 6: (3, 0), (0, −2); (0, 0) gives 0 ≤ 6 ✓ → origin side
2x + 3y = 12: (6, 0), (0, 4); (0, 0) gives 0 ≤ 12 ✓ → origin side
Lines meet at (4.5, 1). Solution region = common origin-side region.
xy2x − 3y = 62x + 3y = 12(3,0)(0,4)(4.5,1)
(ii) x + y ≥ 5, −y + x ≤ 1
x + y = 5: (5, 0), (0, 5); (0, 0): 0 ≥ 5 false → side away from origin
x − y = 1: (1, 0), (0, −1); (0, 0): 0 ≤ 1 ✓ → origin side
Lines meet at (3, 2).
xyx + y = 5x − y = 1(3,2)(5,0)(0,5)
(iii) 3x + 7y ≥ 21, x − y ≤ 2
3x + 7y = 21: (7, 0), (0, 3); (0, 0) false → away from origin
x − y = 2: (2, 0), (0, −2); (0, 0): 0 ≤ 2 ✓ → origin side
Lines meet at (3.5, 1.5).
xy3x + 7y = 21x − y = 2(3.5,1.5)(0,3)
(iv) 4x − 3y ≤ 12, x ≥ −3/2
4x − 3y = 12: (3, 0), (0, −4); (0, 0) ✓ → origin side
x = −3/2 is vertical; shade right of it
Lines meet at (−1.5, −6).
xy4x − 3y = 12x = −3/2(3,0)(0,−4)
(v) 3x + 7y ≥ 21, y ≤ 4
3x + 7y = 21: (7, 0), (0, 3); away from origin
y = 4 horizontal; shade below it
Lines meet at (−7/3, 4).
xy3x + 7y = 21y = 4(7,0)(0,3)
(vi) 5x + 7y ≤ 35, x − 2y ≤ 2
5x + 7y = 35: (7, 0), (0, 5); (0, 0) ✓ → origin side
x − 2y = 2: (2, 0), (0, −1); (0, 0) ✓ → origin side
Lines meet at (84/17, 25/17) ≈ (4.9, 1.5).
xy5x + 7y = 35x − 2y = 2(7,0)(0,5)(2,0)

Exercise 5.2 solved

Method for every question: draw the constraints with x ≥ 0, y ≥ 0, find the corner points of the feasible region, and evaluate the function at each corner.

Q1. Maximize f = 2x + 5y; 2y − x ≤ 8, x − y ≤ 4, x ≥ 0, y ≥ 0

Lines 2y − x = 8 and x − y = 4 meet at (16, 12).

xy2y − x = 8x − y = 4(0, 0)(4, 0)(16, 12)(0, 4)
Corner pointValue
(0, 0)0
(4, 0)8
(16, 12)32 + 60 = 92
(0, 4)20

Maximum f = 92 at (16, 12)

Q2. Maximize f = x + 3y; 2x + 5y ≤ 30, 5x + 4y ≤ 20, x ≥ 0, y ≥ 0

In the first quadrant 5x + 4y ≤ 20 lies completely inside 2x + 5y ≤ 30 (the lines meet only at x = −20/17), so the feasible region is the triangle (0,0), (4,0), (0,5).

xy2x + 5y = 305x + 4y = 20(0, 0)(4, 0)(0, 5)
Corner pointValue
(0, 0)0
(4, 0)4
(0, 5)15

Maximum f = 15 at (0, 5)

Q3. Maximize z = 2x + 3y; 2x + y ≤ 4, 4x − y ≤ 2, x ≥ 0, y ≥ 0

Adding 2x + y = 4 and 4x − y = 2 gives 6x = 6 → x = 1, y = 2.

xy2x + y = 44x − y = 2(0, 0)(1/2, 0)(1, 2)(0, 4)
Corner pointValue
(0, 0)0
(1/2, 0)1
(1, 2)2 + 6 = 8
(0, 4)12

Maximum z = 12 at (0, 4)

Q4. Minimize z = 2x + y; x + y ≥ 3, 7x + 5y ≤ 35, x ≥ 0, y ≥ 0

Feasible region lies between the two lines in the first quadrant.

xyx + y = 37x + 5y = 35(3, 0)(5, 0)(0, 7)(0, 3)
Corner pointValue
(3, 0)6
(5, 0)10
(0, 7)7
(0, 3)3

Minimum z = 3 at (0, 3)

Q5. Maximize f = 2x + 3y; 2x + y ≤ 10, x + 2y ≤ 14, x ≥ 0, y ≥ 0

y = 10 − 2x in x + 2y = 14 gives x + 20 − 4x = 14 → x = 2, y = 6.

xy2x + y = 10x + 2y = 14(0, 0)(5, 0)(2, 6)(0, 7)
Corner pointValue
(0, 0)0
(5, 0)10
(2, 6)4 + 18 = 22
(0, 7)21

Maximum f = 22 at (2, 6)

Q6. Min and max of z = 3x + y; 3x + 5y ≥ 15, x + 3y ≤ 9, x ≥ 0, y ≥ 0

Both lines pass through (0, 3); the feasible region is the triangle (5,0), (9,0), (0,3).

xy3x + 5y = 15x + 3y = 9(5, 0)(9, 0)(0, 3)
Corner pointValue
(5, 0)15
(9, 0)27
(0, 3)3

Maximum z = 27 at (9, 0); minimum z = 3 at (0, 3)

Review Exercise 5 solved

Q1. MCQs

  1. In the following, linear equation is:
    (a) 5x > 7 (b) 4x − 2 < 1 (c) 2x + 1 = 1 (d) 4 = 1 + 3
    Answer: (c) 2x + 1 = 1 – It has a variable of power 1 and an = sign.
  2. Solution of 5x − 10 = 10 is:
    (a) 0 (b) 50 (c) 4 (d) −4
    Answer: (c) 4 – 5x = 20 → x = 4.
  3. If 7x + 4 < 6x + 6, then x belongs to:
    (a) (2, ∞) (b) [2, ∞) (c) (−∞, 2) (d) (−∞, 2]
    Answer: (c) (−∞, 2) – x < 2.
  4. A vertical line divides the plane into:
    (a) left half plane (b) right half plane (c) full plane (d) two half planes
    Answer: (d) two half planes – Left and right half planes.
  5. The equation formed from the linear inequality is called:
    (a) cubic equation (b) associated equation (c) quadratic equation (d) feasible region
    Answer: (b) associated equation
  6. 3x + 4 < 0 is:
    (a) equation (b) inequality (c) not inequality (d) identity
    Answer: (b) inequality
  7. Corner point is also called:
    (a) code (b) vertex (c) curve (d) region
    Answer: (b) vertex
  8. (0, 0) is a solution of inequality:
    (a) 4x + 5y > 8 (b) 3x + y > 6 (c) −2x + 3y < 0 (d) x + y > 4
    Answer: (c) −2x + 3y < 0 – Answer as per the textbook key. Note: putting (0, 0) gives 0 < 0, which is false, so strictly none of the options is satisfied; (c) would be correct if it were ≤.
  9. The solution region restricted to the first quadrant is called:
    (a) objective region (b) feasible region (c) solution region (d) constraints region
    Answer: (b) feasible region
  10. A function that is to be maximized or minimized is called:
    (a) solution function (b) objective function (c) feasible function (d) none of these
    Answer: (b) objective function

Q2. Solve and represent on a real line

(i) (x + 5)/3 = 1 − x
x + 5 = 3(1 − x) = 3 − 3x
4x = −2 → x = −1⁄2
-3-2-10123−1/2
(ii) (2x + 1)/3 + 1/2 = 1 − (x − 1)/3
Multiply by 6: 2(2x + 1) + 3 = 6 − 2(x − 1)
4x + 5 = 8 − 2x → 6x = 3 → x = 1⁄2
-3-2-101231/2
(iii) 3x + 7 < 16
3x < 9 → x < 3
-2-101234563
(iv) 5(x − 3) ≥ 26x − (10x + 4)
5x − 15 ≥ 26x − 10x − 4 = 16x − 4
−11x ≥ 11 → divide by −11 (sign reverses) → x ≤ −1
-5-4-3-2-10123−1

Q3. Solution region

(i) 3x − 4y ≤ 12, 3x + 2y ≥ 3
3x − 4y = 12: (4, 0), (0, −3); (0, 0): 0 ≤ 12 ✓ → origin side
3x + 2y = 3: (1, 0), (0, 3/2); (0, 0): 0 ≥ 3 false → away from origin
Lines meet at (2, −3/2).
xy3x − 4y = 123x + 2y = 3(4,0)(2,−1.5)
(ii) 2x + y ≤ 4, x + 2y ≤ 6
2x + y = 4: (2, 0), (0, 4); origin side
x + 2y = 6: (6, 0), (0, 3); origin side
Lines meet at (2/3, 8/3).
xy2x + y = 4x + 2y = 6(2,0)(0,3)(2/3,8/3)

Q4. Maximum of g = x + 4y; x + y ≤ 4, x ≥ 0, y ≥ 0

Corner pointg = x + 4y
(0, 0)0
(4, 0)4
(0, 4)16

Maximum g = 16 at (0, 4)

Q5. Minimum of f = 3x + 5y; x + 3y ≥ 3, x + y ≥ 2, x ≥ 0, y ≥ 0

Lines x + 3y = 3 and x + y = 2 meet where 2y = 1 → y = 1/2, x = 3/2. The feasible region is unbounded (away from the origin); its corner points are (0, 2), (3/2, 1/2) and (3, 0).

xyx + 3y = 3x + y = 2(0,2)(3/2,1/2)(3,0)
Corner pointf = 3x + 5y
(0, 2)10
(3/2, 1/2)4.5 + 2.5 = 7
(3, 0)9

Minimum f = 7 at (3/2, 1/2)

More MCQs for practice

  1. The solution of 2x − 8 = 0 is:
    (a) −4 (b) 4 (c) 8 (d) 16
    Answer: (b) 4
  2. Dividing both sides of an inequality by a negative number:
    (a) keeps the sign (b) reverses the sign (c) makes it an equation (d) has no effect
    Answer: (b) reverses the sign
  3. x ≥ 3 in interval form is:
    (a) (3, ∞) (b) [3, ∞) (c) (−∞, 3] (d) (−∞, 3)
    Answer: (b) [3, ∞)
  4. For x + y < 5, the boundary line is drawn:
    (a) solid (b) dashed (c) not drawn (d) curved
    Answer: (b) dashed
  5. The usual test point is:
    (a) (1, 1) (b) (0, 0) (c) (1, 0) (d) (0, 1)
    Answer: (b) (0, 0)
  6. Which point lies in the region x + y ≤ 4?
    (a) (3, 3) (b) (1, 2) (c) (4, 1) (d) (5, 0)
    Answer: (b) (1, 2)
What is a linear equation in one variable?

An equation of the form ax + b = 0 where a ≠ 0; the highest power of the variable is 1 and it has one solution.

When does the inequality sign change?

When both sides are multiplied or divided by a negative number.

What is a feasible region?

The solution region of a system of inequalities restricted to the first quadrant (x ≥ 0, y ≥ 0).

How do you find the maximum or minimum of an objective function?

Find the corner points of the feasible region and evaluate the function at each; the largest value is the maximum and the smallest the minimum.

9th class maths unit 5 review exercise MCQ answers

1-c, 2-c, 3-c, 4-d, 5-b, 6-b, 7-b, 8-c (as per textbook key), 9-b, 10-b.

📄 Download these notes as PDF

Save this chapter to your phone or computer and read it offline, or share it with your friends.

The PDF downloads directly. Long chapters may take a few seconds.

More 9th Class Maths

Need a Maths home tutor?

Male & female Maths tutors in all major cities of Pakistan, home or online. 3-day free demo.

Scroll to Top