After watching this video to calculate the length of diagonal of square , a question arises to me is :

Why is length of diagonal of square $$\frac{\text{side}}{cos45^0}$$?

Why $cos45^0$ ?If i write $sin45^0$ instead of $cos45^0$ , will it be wrong?

  • 3
    $\begingroup$ cos(45)=sin(45) so both are valid in this case $\endgroup$
    – Mufasa
    Commented Dec 25, 2014 at 12:00

1 Answer 1


In a square, diagonal (let's say $d$) and any two sides (let's call them $a$) form a right angled isosceles triangle. In that triangle $\dfrac{a}{d}=\sin45^{\circ}=\cos45^\circ.$

Because, $\sin{\theta}=\dfrac{opposite}{hypotenuse}=\dfrac{adjacent}{hypotenuse}=\cos{\theta}$, where $\theta$ is the acute angle and in this case it is $45^{\circ}$,$45^{\circ}$ and also $opposite= adjacent=a$.

So, $d=a\sqrt{2}$

So, $\sin45^{\circ}$ is also right.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .