For a quadratic equation of the form ax2+bx+c=0 to have two equal roots, its discriminant (D) must be equal to zero:
D=b2−4ac=0
Step 1: Identify the coefficients
From the given equation x2+kx+9=0:
a=1
b=k
c=9
Step 2: Substitute values into the discriminant formula
k2−4(1)(9)=0
k2−36=0
Step 3: Solve for k
k2=36
k=±36
k=±6
Final Answer
The value of k is ±6 (either +6 or −6).