Given that \(x^{2} + 4x + k = (x + r)^{2} + 1\), find the value of k and r.
The correct answer is: B
Explanation
\(x^{2} + 4x + k = (x + r)^{2} + 1\)
\(x^{2} + 4x + k = x^{2} + 2rx + r^{2} + 1\)
Comparing the LHS and RHS equations, we have
\(2r = 4 \implies r = 2\)
\(k = r^{2} + 1 = 2^{2} + 1 = 5\)