Question:easy

If the distance between the points (4, p) and (1, 0) is 5, what is the value of p ?

Show Hint

Always remember to consider both the positive and negative square roots when solving equations of the form \( x^2 = k \).
In coordinate geometry, a point can lie either above or below the \( x \)-axis at the same horizontal distance, resulting in two valid symmetric solutions.
Updated On: Jul 7, 2026
Show Solution

Solution and Explanation

Step 1: Picture the distance as the hypotenuse of a right triangle.
The two points are $A(4,p)$ and $B(1,0)$. The horizontal gap between them is $|4-1|=3$ units, and the vertical gap is $|p-0|=|p|$ units. Since these gaps are perpendicular, distance $AB$ is the hypotenuse of a right triangle with legs 3 and $|p|$.

Step 2: Apply the Pythagorean theorem.
\[ AB^2 = 3^2+|p|^2 \]
Given $AB=5$:
\[ 25 = 9+p^2 \]

Step 3: Recognise the 3-4-5 Pythagorean triple.
Since one leg is 3 and the hypotenuse is 5, and $3,4,5$ is a well known Pythagorean triple satisfying $3^2+4^2=5^2$, the missing leg must be 4. This can also be checked algebraically:
\[ p^2 = 25-9 = 16 \implies p = \pm4 \]

Final Answer:
The value of $p$ is $4$ or $-4$.
\[ \boxed{p = \pm4} \]
Was this answer helpful?
0