Q.
A square of side a lies above the x -axis and has one vertex at the origin. The side passing through the origin makes an angle α(0<α<4π) with the positive direction of
x -axis. The equation of its diagonal not passing through the origin is :
Line OA makes an angle α with x -axis and OA=a, then co-ordinates of A are (acosαasinα ).
Also OB⊥OA, then OB makes an angle (90∘+α) with x -axis, then co-ordinates of B are (acos(90∘+α),asin(90∘+α)) =(−asinα,acosα)
Equation of the diagonal not passing through the origin is (y−asinα)=−asinα−acosαacosα−asinα(x−acosα) ⇒(y−asinα)=sinα+cosαsinα−cosα(x−acosα) ⇒(sinα+cosα)(y−asinα) =(sinα−cosα)(x−acosα) ⇒(sinα+cosα)y−asinα(sinα+cosα) =(sinα−cosα)x−acosα(sinα−cosα) ⇒y(sinα+cosα)+x(cosα−sinα) =asinα(sinα+cosα) −acosα(sinα−cosα) =a[sin2α+sinαcosα −cosαsinα+cos2α] ∴y(sinα+cosα)+x(cosα−sinα)=a