The correct option is
D y(cosα+sinα)+x(cosα−sinα)=aWe know that diagonal of a square makes an angle of
450 with its sides.
Hence ∠DCA=450.
Therefore by linear pair ∠DCE=1350
It is given that the square has a side 'a'.
Thus the co-ordinates of the vertex C will be (acosα,asinα).
Applying angle sum property to triangle DCE, gives us
∠CED=450−α.
Hence slope of the diagonal is
−tan(450−α)
=−1−tanα1+tanα
=−(cosα−sinαcosα+sinα)
Since it passes through C, we get the equation as
y−asinαx−acosα=−(cosα−sinαcosα+sinα)
y(cosα+sinα)−acosαsinα−asin2α=−x(cosα−sinα)+acos2α−asinαcosα
y(sinα+cosα)+x(cosα−sinα)=a(cos2α+sin2α)
y(sinα+cosα)+x(cosα−sinα)=a