Wow, are you sure you have this right? Looks like something your professor made up while drunk. Assuming it is correct, rewrite it as:

Multiplying both sides by gives:

Now substitute and

Note: I took the posive square root in the half-angle identity Convince yourself that this is justified.