Let's make a graph of each side of our equation:
From the given graph, we can note that both graph are intersect each other when
x is multiple of Pi, that is,

which can be written as

with n denoting an integer number.
Therefore, the equation is an identity when
