Q.
Let PQRS be a square inscribed in the triangle with vertices A(0,0),B(3,0) and C(2,1). Given that P,Q are on the side AB,R on side BC and S on side AC.
The centre of square PQRS is
Let PQRS be the square inscribed in △ABC with length of each side equal to a. Let the coordinates of P be (p,0). So, the coordinates of Q,R,S are respectively (p+a,0),(p+a,a) and (p, a).
Now, equation of AC is y=21x and S(p,a) lies on it. ⇒a=2p or p=2a
Also equation of BC is (x+y)=3 and R(p+a,a) lies on it. ∴(p+a)+a=3⇒4a=3⇒a=43 and p=23
So, P(23,0),Q(49,0),R(49,43) and S(23,43).
Centre of square PQRS =(223+49,20+43)=(815,83)