JAMB 2021 Mathematics · Question 31

find the value of p if the line which passes through (-1, -p) and (-2,2) is parallel to the line 2y+8x-17=0?

Options

  1. A.−27\frac{-2}{7}
  2. B.76\frac{7}{6}
  3. C.−67\frac{-6}{7}
  4. D.2

Answer: D. 2

Explanation written with AI and checked against the answer key

Analysis

To solve this problem, we need to use the property of parallel lines. Two lines are parallel if and only if their slopes (mm) are equal. We will find the slope of the line passing through the two given points and equate it to the slope of the given equation.

Concept: Slope of a Line
  1. Slope from two points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2): $m=y2−y1x2−x1m = \frac{y_2 - y_1}{x_2 - x_1}$
  2. Slope from a linear equation (Ax+By+C=0Ax + By + C = 0): Rewrite the equation in the form y=mx+cy = mx + c, where mm is the slope. Alternatively, m=−ABm = -\frac{A}{B}.
Step-by-Step Solution

Step 1: Find the slope of the given line 2y+8x−17=02y + 8x - 17 = 0. Rearrange the equation to make yy the subject: 2y=−8x+172y = -8x + 17 Divide by 2: y=−4x+172y = -4x + \frac{17}{2} Comparing this to y=mx+cy = mx + c, the slope (m1m_1) is -4.

Step 2: Find the slope of the line passing through (−1,−p)(-1, -p) and (−2,2)(-2, 2). Using the formula m=y2−y1x2−x1m = \frac{y_2 - y_1}{x_2 - x_1}: m2=2−(−p)−2−(−1)m_2 = \frac{2 - (-p)}{-2 - (-1)} m2=2+p−2+1m_2 = \frac{2 + p}{-2 + 1} m2=2+p−1m_2 = \frac{2 + p}{-1} m2=−(2+p)=−2−pm_2 = -(2 + p) = -2 - p

Step 3: Equate the slopes. Since the lines are parallel, m1=m2m_1 = m_2: −4=−2−p-4 = -2 - p

Step 4: Solve for pp. −4+2=−p-4 + 2 = -p −2=−p-2 = -p p=2p = 2

Conclusion

The value of pp is 2, which corresponds to option D.

Exam Tip

When dealing with parallel lines, always remember: Parallel = Same Slope. If the question had said the lines were perpendicular, you would have used the rule m1×m2=−1m_1 \times m_2 = -1. Also, always be careful with the signs when subtracting negative coordinates—it is the most common place students make mistakes in coordinate geometry!

AI can make mistakes. Report anything that looks wrong.

Past questions © the examination body (JAMB/WAEC/NECO). DeeepSolve is not affiliated with them. Rights holders: see /copyright.