Norbert W. answered 07/27/16
Tutor
4.4
(5)
Math and Computer Language Tutor
Hello Fareem,
I am putting parentheses around certain terms. This helps clarify the problem. In this case it seems to have helped.
y= (1+cos(x))/sin(x) = (1 + cos(x)) * (sin(x))-1
Using the multiplication rule for derivatives:
dy/dx = -sin(x)/sin(x) - (1+cos(x))/sin2(x) * cos(x)
= -1 - (cos(x) + cos2(x))/(1 - cos2(X))
= -(1 - cos2(x) + cos(x) + cos2(X))/((1 + cos(x))(1 - cos(x)))
= -(1 + cos(x))/((1 + cos(x))(1 - cos(x)))
= -1/(1 - cos(x)) = 1/(cos(x) - 1)