Step 1:
\The trigonometric expression is 
Consider,
\
in the interval
.
.
From Pythagorean theorem,
\The square of the hypotenuse is equal to sum the squares of the other two sides.
\
.
.
Step 2:
\Consider,
\
in the interval
.
.
From Pythagorean theorem,
\The square of the hypotenuse is equal to sum the squares of the other two sides.
\

Substitute
and
in trigonometric expression.

From difference formula of trigonometric function :
.

Substitute these values
in above expression.

.
Solution :
\
in the intervals
and
.