← Back to learning objective

Derivative of a sum involving ln(cos x) and arctan x

Let f(x)=ln⁡(cos⁡(x))+arctan⁡(x).f(x) = \ln(\cos(x)) + \arctan(x). Find f′(x)f'(x).

Hint

Differentiate term by term. For ln⁡(cos⁡(x))\ln(\cos(x)), use the chain rule with d/dx[ln⁡u]=u′/ud/dx[\ln u] = u'/u where u=cos⁡(x)u = \cos(x). For arctan⁡(x)\arctan(x), recall d/dx[arctan⁡x]=1/(1+x2)d/dx[\arctan x] = 1/(1+x^2).

Step-by-step solution

For the first term, apply the chain rule to ln⁡(cos⁡(x))\ln(\cos(x)): with outer function ln⁡(u)\ln(u) and inner function u=cos⁡(x)u = \cos(x), we get ddx[ln⁡(cos⁡(x))]=−sin⁡(x)cos⁡(x)\frac{d}{dx}[\ln(\cos(x))] = \frac{-\sin(x)}{\cos(x)}, which simplifies to −tan⁡(x)-\tan(x).

For the second term, use the known derivative formula ddx[arctan⁡(x)]=11+x2\frac{d}{dx}[\arctan(x)] = \frac{1}{1+x^2}. Adding the two results gives f′(x)=−tan⁡(x)+11+x2f'(x) = -\tan(x) + \dfrac{1}{1+x^2}.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap