Throughout this entire problem, I will not alter the right hand side (RHS). When it comes to proving identities, the method is to pick one side and transform it into the other. Whatever side you havent picked to transform will remain the same the entire time.
Multiply top and bottom of the LHS by so that we transform the denominator into a real number
Original equation
Multiply top and bottom by
Plug in values of A and B.
Numerator is a perfect square. Difference of squares rule in the denominator
Let's take a brief pause from that. We'll come back to it of course. The numerator of the LHS will get a bit ugly when we expand it out, so let's just focus on that for now.
We have something in the form with and
Use the rule that
So,
Plug in the previously mentioned values of A and B
Use i^2 = -1
Expand (1+sin(x))^2
Use sin^2 = 1-cos^2 (variation of the pythagorean trig identity)
Combine like terms (pair of '1's, also pair of -cos^2 terms)
Factor out the GCF 2
Replace the term '1' with sin^2+cos^2, which helps with the canceling on the next step.
Combine like terms. Cos^2 terms cancel.
Pair up terms, then factor by grouping
Complete the factor by grouping process
Rearrange terms. We'll use this later. Call this equation (1).
There is possibly a more efficient method to expanding out this expression, but I can't think of it right now.