# Simplify (1+cos(x))/(sin(x))+(sin(x))/(1+cos(x)) To write as a fraction with a common denominator, multiply by .
To write as a fraction with a common denominator, multiply by .
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Combine.
Combine.
Reorder the factors of .
Combine the numerators over the common denominator.
Simplify the numerator.
Expand using the FOIL Method.
Apply the distributive property.
Apply the distributive property.
Apply the distributive property.
Simplify and combine like terms.
Simplify each term.
Multiply by .
Multiply by .
Multiply by .
Multiply .
Raise to the power of .
Raise to the power of .
Use the power rule to combine exponents.
Multiply .
Raise to the power of .
Raise to the power of .
Use the power rule to combine exponents.
Rewrite in a factored form.
Apply pythagorean identity.
Factor out of .
Factor out of .
Factor out of .
Cancel the common factor of .
Cancel the common factor.
Rewrite the expression.
Separate fractions.
Convert from to .
Divide by .
Simplify (1+cos(x))/(sin(x))+(sin(x))/(1+cos(x))     