# Thread: Derivative of Logarithmic Function

1. ## Derivative of Logarithmic Function

Differentiate $h(x) = \ln{(x + \sqrt{x^2-6})}$

My work:

let $u = x + \sqrt{x^2-6}$ then $y = \ln{u}$

$\displaystyle\frac{dy}{dx} = \frac{dy}{du}\frac{du}{dx}=\frac{1}{u}\frac{du}{dx } = \frac{1}{x + \sqrt{x^2-6}}(1+\frac{1}{2}(x^2-6)^{-1/2}(2x))$

$\displaystyle=\frac{2x}{(x+\sqrt{x^2-6})(2)\sqrt{x^2-6}}$

$\displaystyle=\frac{x}{(x+\sqrt{x^2-6})\sqrt{x^2-6}}$

$\displaystyle=\frac{x}{(x\sqrt{x^2-6} + x^2-6}$

Where did I go wrong??? Thanks.

2. Originally Posted by joatmon
Differentiate $h(x) = \ln{(x + \sqrt{x^2-6})}$

My work:

let $u = x + \sqrt{x^2-6}$ then $y = \ln{u}$

$\displaystyle\frac{dy}{dx} = \frac{dy}{du}\frac{du}{dx}=\frac{1}{u}\frac{du}{dx } = \frac{1}{x + \sqrt{x^2-6}}(\boxed{1}+\frac{1}{2}(x^2-6)^{-1/2}(2x))$

$\displaystyle=\frac{2x}{(x+\sqrt{x^2-6})(2)\sqrt{x^2-6}}$

$\displaystyle=\frac{x}{(x+\sqrt{x^2-6})\sqrt{x^2-6}}$

$\displaystyle=\frac{x}{(x\sqrt{x^2-6} + x^2-6}$

Where did I go wrong??? Thanks.
The final answer should be $\dfrac{1}{x + \sqrt{x^2-6}}+\dfrac{x}{x\sqrt{x^2-6} + x^2-6}=\dfrac{x+\sqrt{x^2-6}}{x\sqrt{x^2-6}+x^2-6}=\dfrac{1}{\sqrt{x^2-6}}$