To solve the problem, we need to determine the value of \( k \) such that the quadratic equation \( x^2 + kx + 1 = 0 \) has a root \( x = 1 \).
1. Substituting the Root into the Equation:
If \( x = 1 \) is a root of the equation, then substituting \( x = 1 \) into the equation should satisfy it. The given equation is:
Substitute \( x = 1 \):
\[ (1)^2 + k(1) + 1 = 0 \]This simplifies to:
\[ 1 + k + 1 = 0 \]2. Solving for \( k \):
Combine like terms:
Solve for \( k \):
\[ k = -2 \]3. Verifying the Solution:
To ensure correctness, substitute \( k = -2 \) back into the original equation and check if \( x = 1 \) is indeed a root:
Factorize the quadratic equation:
\[ (x - 1)^2 = 0 \]This confirms that \( x = 1 \) is a root.
Final Answer:
The value of \( k \) is \( {-2} \).
If the roots of the quadratic equation \( ax^2 + bx + c = 0 \) are real and equal, then: