By the Sum Rule, the derivative of with respect to is .

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 .

The derivative of with respect to is .

Replace all occurrences of with .

Rewrite as .

Differentiate using the Power Rule which states that is where .

Combine and .

Move to the denominator using the negative exponent rule .

Apply the product rule to .

Apply the distributive property.

Combine terms.

Multiply by .

One to any power is one.

Combine and .

Cancel the common factor of .

Cancel the common factor.

Divide by .

Reorder terms.

Combine the numerators over the common denominator.

Subtract from .

Find the Derivative f(x)=arctan(x)+arctan(1/x)