Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to compute the derivate of

$g(x) = \ln\left(\frac{1}{x \sqrt{x+1}}\right)$

Simplifying this I get

$g(x) = \ln(1) - (\ln x + \frac{1}{2}\ln(x+1))$

Evaluating the derivate I get

$g'(x) = 0-(\frac{1}{x} + \frac{1}{2x+2})$

I have compared my result to WolframAlphas answer and while my denominator is the same my numerator is different. My result is $-3x+2$ WA result is $-x+2$.

I assume my mistake is in the multiplication of the negative sign, but why is this wrong?

Thank you

share|cite|improve this question
Looks OK. Presumably you fed the simplifed version of $g(x)$ into Wolfram Alpha, without parentheses. Wrong input, wrong output. – André Nicolas Aug 12 '12 at 7:16
I input the following into WA. "derivative of ln(1/x*sqrt(x+1))" And so yes, it seems I input the wrong equation into WA. Thank you – Michael Frey Aug 12 '12 at 7:23
up vote 1 down vote accepted

Wolfram Alpha says the same thing. Take a common denominator and check for yourself, your derivative is fine. I just checked and got -(3x+2) from WA.

share|cite|improve this answer
I see. My error was that i forgot the additional parenthesis when inputting the equation in WA. – Michael Frey Aug 12 '12 at 7:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.