Find the derivative of the function.
I followed an example in the book (the only one that covers this) and ended up with this
what am i doing wrong?
Basically, all. Now, you have here the product of three functions and derivating that using the product formula is very boring, so you better use logarithms to turn multiplication into sum and derivate implicitly (noting, btw, that the function is always non-negative and in fact positive for non-zero x):
Tonio