Let Image of Point P(a,b) wrt y=-x be point Q (h,k)
Then, h=-b and k=-a
i.e. Q(h,k)= Q(-b, -a)
Now, let Image of Point Q(h,k) wrt y=x be point R (m,n)
Then, m=k=-a and n=h=-b
i.e. R(m,n)= R( -a,-b)
Now we have three points, P(a,b) ; Q(-b,-a) ; R(-a, -b)
midpoint of PQ = {(a-b)/2 , -(a-b)/2 } ............which lies on the line y=-x
midpoint of QR = {(-a-b)/2 , (-a-b)/2 } ............which lies on the line y=x
and
midpoint of PR = (0,0) ...which will always be the origin, irrespective of the value of a and b
And one can crosscheck it using geometry also :)
............................................................
Challenges are High, Dreams r New..
The World out thr is waiting for U !!
Dare to dream, Dare to Try..
No Goal is distant, no Star is too high !!!