Prove:

tan2x+sec2x = cosx+sinx/ cosx-sinx

I am sure you meant :

tan2x+sec2x = (cosx+sinx)/(cosx-sinx)

LS
= sin2x/cos2x + 1/cos2x
= (sin2x +1)/cos2x
= (2sinxcosx + sin^2x + cos^2x)/(cos^2x - sin^2x)
= (sinx + cosx)^2/[(cosx-sinx)(cosx+sinx)]
= (sinx + cosx)/(cosx - sinx)
= RS

Q.E.D.

This time start from the right-hand side by taking advantage of the term cos(x)-sin(x):

(cos(x)+sin(x))/(cos(x)-sin(x))
multiply top and bottom by cos(x)+sin(x)
(cos(x)+sin(x))^sup2;/(cos²(x)-sin²(x)
=(cos²(x)+sin²(x)+2sin(x)cos(x))/(cos²(x)-sin²(x))
=(1+sin(2x))/cos(2x)
=sec(2x)+tan(2x)

To prove the given equation, we need to simplify both sides and show that they are equal. Let's start with the left side:

tan(2x) + sec(2x)

To simplify this expression, we can use the trigonometric identities:

tan(2x) = sin(2x)/cos(2x)
sec(2x) = 1/cos(2x)

Substituting these identities in the left side of the equation, we get:

sin(2x)/cos(2x) + 1/cos(2x)

We need to obtain a common denominator in order to combine the terms. The common denominator is cos(2x), so we can rewrite the expression as:

(sin(2x) + 1) / cos(2x)

Now let's simplify the right side of the equation:

cos(x) + sin(x) / cos(x) - sin(x)

To combine the terms, we'll also obtain a common denominator, which is cos(x):

(cos(x) * cos(x) + sin(x)) / (cos(x) - sin(x))

Using the identity cos^2(x) = 1 - sin^2(x), we can rewrite the numerator as:

(1 - sin^2(x) + sin(x)) / (cos(x) - sin(x))

Now, simplifying this fraction further, we get:

(1 + sin(x) - sin^2(x)) / (cos(x) - sin(x))

To show that the left side is equal to the right side, we need to demonstrate that:

(sin(2x) + 1) / cos(2x) = (1 + sin(x) - sin^2(x)) / (cos(x) - sin(x))

To achieve this, we'll use the double-angle identity for the sine function:

sin(2x) = 2sin(x)cos(x)

Substituting this identity into the left side of the equation:

(2sin(x)cos(x) + 1) / cos(2x)

We'll use the double-angle identity for the cosine function:

cos(2x) = cos^2(x) - sin^2(x)

Substituting this identity into the left side of the equation:

(2sin(x)cos(x) + 1) / (cos^2(x) - sin^2(x))

Now, let's simplify the right side of the equation:

(1 + sin(x) - sin^2(x)) / (cos(x) - sin(x))

Using the identity cos^2(x) = 1 - sin^2(x), we can rewrite the numerator as:

(1 + sin(x) - (1 - cos^2(x))) / (cos(x) - sin(x))

Simplifying further, we get:

(cos^2(x) + sin(x)) / (cos(x) - sin(x))

Now, it is clear that the left side and the right side of the equation are equal:

(2sin(x)cos(x) + 1) / (cos^2(x) - sin^2(x)) = (cos^2(x) + sin(x)) / (cos(x) - sin(x))

Therefore, we have successfully proven that:

tan(2x) + sec(2x) = cos(x) + sin(x) / cos(x) - sin(x)

Thank you so much Reiny and Mathmate. Both of you guys gave me great ways to solving this problem.