Let a square with side length ′p′ and making an angle of θ with x− axis, has one vertex at origin. If 0<θ<π2, then the equation of the diagonals of the square is
A
x(1+tanθ)−y(1+tanθ)=py(1+tanθ)=x(1−tanθ)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is Cx(cosθ−sinθ)+y(cosθ+sinθ)=py(cosθ−sinθ)=x(cosθ+sinθ) Equation of the diagonal with vertex at origin - y−0=m(x−0) m=tan(π4+θ) ⇒y(1−tanθ)=x(1+tanθ)⇒y(cosθ−sinθ)=x(cosθ+sinθ)
Since, diagonals of a square are perpendicular to each other therefore, m=−1tan(π4+θ) (y−psinθ)=−1tan(π4+θ)(x−pcosθ)x(cosθ−sinθ)+y(cosθ+sinθ)=p
Alternet:
perpendicular distance is p√2 and angle makes with x− axis is (θ+45°)
so the equation will be xcos(θ+45°)+ysin(θ+45°)=p√2⇒x(cosθ−sinθ)+y(cosθ+sinθ)=p