Solution:
Concept: A root satisfies the equation. Substitute it, collect the real and imaginary parts, and set each to zero (a and k are real numbers).
Step 1 — Find 2x2 for x=2a+5i:
x2=4(a+5i)2=4a2+10ai+25i2=4a2−25+10ai
So 2x2=2a2−25+10ai.
Step 2 — Find 6x.
6x=3(a+5i)=3a+15i
Step 3 — Write the equation.
2a2−25+5ai−3a−15i+k=0
Real part: 2a2−25−3a+k=0 ...(1)
Imaginary part: 5a−15=0 ...(2)
Step 4 — Solve. From (2), a=3. Put this into (1):
29−25−9+k=0
−8−9+k=0
k=17
Step 5 — Check. With k=17, the roots of 2x2−6x+17=0 are
x=46±36−136=46±10i=23±5i
and 23+5i is indeed 21(a+5i) with a=3.
Answer: a=3, k=17