Skip to content
Worked Examples · Example 1

Q.Find the slope of the lines:

(a) Passing through the points (3,−2)(3, -2) and (−1,4)(-1, 4),
(b) Passing through the points (3,−2)(3, -2) and (7,−2)(7, -2),
(c) Passing through the points (3,−2)(3, -2) and (3,4)(3, 4),
(d) Making inclination of 60∘60^\circ with the positive direction of the x-axis.
Punjab PsebTextbookSubjective· 3mImportance★★★★★est
8% · 12/145 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

Slope is the ratio of vertical change to horizontal change. For (a) m=−32m = -\frac{3}{2},

(b) m=0m = 0,

(c) slope is undefined (vertical line),

(d) m=3m = \sqrt{3}.

Concept First: What Slope Really Means

The slope of a line measures its steepness and direction. Think of it as "rise over run" — how many units you go up (or down) for each unit you move to the right. Mathematically, for two points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2):

m=riserun=y2−y1x2−x1m = \frac{\text{rise}}{\text{run}} = \frac{y_2 - y_1}{x_2 - x_1}

This formula works because a straight line has constant slope — the ratio of change in yy to change in xx is the same between any two points on the line.

Watch out

The order matters: subtract in the same direction. If you use y2−y1y_2 - y_1 in the numerator, you must use x2−x1x_2 - x_1 in the denominator. Mixing the order flips the sign.


Step-by-Step Solutions

(a) Points (3,−2)(3, -2) and (−1,4)(-1, 4)

Step 1: Label the points. Let (x1,y1)=(3,−2)(x_1, y_1) = (3, -2) and (x2,y2)=(−1,4)(x_2, y_2) = (-1, 4).

Step 2: Apply the slope formula:

m=y2−y1x2−x1=4−(−2)−1−3m = \frac{y_2 - y_1}{x_2 - x_1} = \frac{4 - (-2)}{-1 - 3}

Step 3: Simplify carefully. The numerator: 4−(−2)=4+2=64 - (-2) = 4 + 2 = 6. The denominator: −1−3=−4-1 - 3 = -4.

m=6−4=−32m = \frac{6}{-4} = -\frac{3}{2}

The negative slope tells us the line goes downhill as we move right.

Tip

You can swap the points and get the same result: using (−1,4)(-1, 4) as (x1,y1)(x_1, y_1) gives m=−2−43−(−1)=−64=−32m = \frac{-2 - 4}{3 - (-1)} = \frac{-6}{4} = -\frac{3}{2}. Always a good sanity check.


(b) Points (3,−2)(3, -2) and (7,−2)(7, -2)

Step 1: Here (x1,y1)=(3,−2)(x_1, y_1) = (3, -2) and (x2,y2)=(7,−2)(x_2, y_2) = (7, -2).

Step 2: Compute:

m=−2−(−2)7−3=04=0m = \frac{-2 - (-2)}{7 - 3} = \frac{0}{4} = 0

The yy-coordinates are identical, so the line is horizontal. A horizontal line has zero slope — no rise, only run.

Note

Any horizontal line has slope 00, and its equation is of the form y=constanty = \text{constant}.


(c) Points (3,−2)(3, -2) and (3,4)(3, 4)

Step 1: With (x1,y1)=(3,−2)(x_1, y_1) = (3, -2) and (x2,y2)=(3,4)(x_2, y_2) = (3, 4):

m=4−(−2)3−3=60m = \frac{4 - (-2)}{3 - 3} = \frac{6}{0} …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.