The derivative of with respect to is .

Since is constant with respect to , the derivative of with respect to is .

Differentiate using the chain rule, which states that is where and .

To apply the Chain Rule, set as .

Differentiate using the Power Rule which states that is where .

Replace all occurrences of with .

Multiply by .

The derivative of with respect to is .

Multiply by .

Raise to the power of .

Raise to the power of .

Use the power rule to combine exponents.

Add and .

Find the Second Derivative y=cot(x)