The problem involves finding the value of \( k \) given that the distance between the points \( (2, -1) \) and \( (k, 3) \) is 5. We use the distance formula which is given by:
\( d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2} \)
Substituting the given coordinates, the formula becomes:
\( 5 = \sqrt{(k - 2)^2 + (3 + 1)^2} \)
Simplify inside the square root:
\( 5 = \sqrt{(k - 2)^2 + 16} \)
Square both sides to get rid of the square root:
\( 25 = (k - 2)^2 + 16 \)
Subtract 16 from both sides:
\( 9 = (k - 2)^2 \)
Take the square root of both sides:
\( k - 2 = \pm 3 \)
This gives us two equations:
\( k - 2 = 3 \) or \( k - 2 = -3 \)
Solve for \( k \) in each case:
Therefore, the possible values of \( k \) are \( -1 \) and \( 5 \).
Step 1: Use the distance formula.
Distance \( d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2} \) Given: \[ \sqrt{(k - 2)^2 + (3 + 1)^2} = 5 \]
Step 2: Simplify the equation.
\[ \sqrt{(k - 2)^2 + 16} = 5 \Rightarrow (k - 2)^2 + 16 = 25 \Rightarrow (k - 2)^2 = 9 \]
Step 3: Solve the quadratic.
\[ k - 2 = \pm 3 \Rightarrow k = 5 \text{ or } -1 \] \[ (k - 2)^2 = 9 \Rightarrow k - 2 = \pm 3 \Rightarrow k = 2 + 3 = 5 \text{ or } 2 - 3 = -1 \] So correct values are \( k = 5 \) and \( k = -1 \)