The function declaration varies according to , but the input function only contains the variable . Assume .

Differentiate using the Product Rule which states that is where and .

The derivative of with respect to is .

Multiply by .

Raise to the power of .

Use the power rule to combine exponents.

Add and .

The derivative of with respect to is .

Raise to the power of .

Raise to the power of .

Use the power rule to combine exponents.

Add and .

Reorder terms.

Find the Derivative f(x)=sec(theta)tan(theta)