$\frac{\cos \frac{ x}{2} + \sin\frac{x}{2}}{\cos\frac{x}{2} - \sin\frac{x}{2}} = \sec + \tan x$
Using the half angle identity.
$\frac{\sqrt{\frac{1 + \cos x}{2}} + \sqrt{\frac{1 - cos x}{2}}}{\sqrt{\frac{1 + cos x}{2}} - \sqrt{\frac{1 - cos x}{2}}} = \sec x + \tan x$
The denomintaor of the fraction has two radicals in it. I'll rationalize the denominator.
$\frac{\sqrt{\frac{1 + cos x}{2}} + \sqrt{\frac{1 - cos x}{2}}}{\sqrt{\frac{1 + cos x}{2}} - \sqrt{\frac{ 1 - cos x}{2}}} \cdot \frac{\sqrt{\frac{1 + cos x}{2}} + \sqrt{\frac{1 - cos x}{2}}}{\sqrt{\frac{1 + cos x}{2}} + \sqrt{\frac{ 1 - cos x}{2}}}$ Q. Why are the left and right side different? Could someone break-down the numerator's multiplication, step-by-step? I'm having trouble understanding the steps; for example, where the $2$ and the $\cos^2$ and the $4$ in the numerator, from? Why does the $-$ sign make such a change in the denominator, between the two square-rooted fractions on the left side? $\frac{\frac{1 + cos x}{2} + {2}\sqrt{\frac{1 - \cos^2 x}{4}} + \frac{1 - cos x}{2}}{\frac{1 + cos x}{2} - \frac{1 - cos x}{2}}$
$\frac{\frac{1 + cos x + 1 - cos x}{2} + {2}\sqrt{\frac{1 - cos^2 x}{2}}}{\frac{1 + cos x - 1 + cos x}{2}}$
$\frac{1 + \sqrt{1 - \cos^2 x}}{\cos x}$ Q. How does the $2$ dissappear before the square-root symbol?