# Thread: extrema, inflection pts help!

1. ## extrema, inflection pts help!

the problem is asking to find the local maxima and minima of the function. and determine whether the function has aboslute maxima and minima.
the equation is: y=ln(x^2+1)-x, x is all real numbers

also: y=tanx-x, x=(-pie/2, pie/2)

i know the steps of graphing. but i don't know how to take out the first and second derivatives of this equation with natural log.

can anyone help me with this problem and explain how to solve this differentiate this type of problem with natural log?

2. To differentiate that log use the chain rule, put $x^2 + 1 = u$

Then $\frac{d}{dx} ln(u) - \sqrt{u-1}$

$=\frac{d}{du}\left[ln(u) - \sqrt{u-1} \right]. \frac{du}{dx}$

$= \left[ \frac{1}{u} - \frac{1}{2\sqrt{u-1}} \right] 2x$

$=\frac{2x}{x^2+1} - 1$