MathCalculus

Derivative of Trigonometric Functions: Differentiate csc x + x tan x

The sum and product rules give f′(x) = −csc x cot x + tan x + x sec²x on the original function's domain.

Question

Find the derivative of

f(x)=cscx+xtanx.f(x)=\csc x+x\tan x.

Answer

Differentiate the two terms separately:

ddx(cscx)=cscxcotx.\frac{d}{dx}(\csc x)=-\csc x\cot x.

For xtanxx\tan x, use the product rule:

ddx(xtanx)=(1)(tanx)+x(sec2x)=tanx+xsec2x.\frac{d}{dx}(x\tan x) =(1)(\tan x)+x(\sec^2x) =\tan x+x\sec^2x.

Therefore,

f(x)=cscxcotx+tanx+xsec2x.\boxed{f'(x)=-\csc x\cot x+\tan x+x\sec^2x}.

Evidence boundary

The derivative is valid only where the original function is defined, so both sin x and cos x must be nonzero. The result uses radian-based trigonometric derivative formulas.

Sources

These references support the concepts and methods used in the explanation above.

Derivative of Trigonometric Functions: Worked Answer | Verla