The correct option is B x=5,y=12
Given, x+y=17 .....(i)
x2+y2=169 .....(ii)
We write the equation (i) as
x=17−y ....(iii)
On substituting x=17−y in equation (ii). we get,
(17−y)2+y2=169
⇒172+y2−34y+y2=169
⇒289+y2−34y+y2=169
⇒2y2−34y+289−169=0
⇒2y2−34y+120=0
⇒y2−17y+60=0
⇒(y−12)(y−5)=0
∴y=12 and y=5
On substituting y=12 and y=5 in equation (iii). we get,
x=17−12=5 and x=17−5=12
∴x=12,y=4 or x=5,y=12