The correct option is D 6
We know that, the distance between the points (x1,y1) and (x2,y2)
=√(x2−x1)2+(y2−y1)2
Given, distance between the points (2,3) and (a,4)=√17
⇒√(a−2)2+(4−3)2=√17
Squaring both the sides, we get
(a−2)2+(4−3)2=(√17)2
(∵ The square root and the square cancel out each other)
⇒(a−2)2+12=17
Using the formula (x−y)2=x2+y2−2xy
⇒(a2+22−2×a×2)+1=17
⇒a2+4−4a+1=17⇒a2+(4+1)−4a=17
⇒a2+5−4a=17
Subtract 5 from both the sides
a2+5−4a−5=17−5
⇒a2−4a=12
Subtract 12 from both the sides
a2−4a−12=12−12
⇒a2−4a−12=0
⇒a2−4a−2a+2a−12=0 (adding and subtracting 2a)
⇒a2−6a+2a−12=0
Taking a as a common term from the first two terms and also 2 as a common term from the next two terms
⇒a(a−6)+2(a−6)=0
∵Here (a - 6) is a common term, so taking out the term (a-6) we get
⇒(a−6)(a+2)=0
Now, each term can be equated to 0
⇒a−6=0→a=6⇒a+2=0→a=2
Hence, options (c.) and (d.) are correct choices.