## differentiation help

Help please on these. I'm extremely rusty with differentiation and want to know if I've got the right answers here
1. The problem statement, all variables and given/known data
differentiate the following functions (you do not have to simplify):
a. f(x)=$$(x-2)^{3}e^{-2x}$$
b. f(x) = cos x / ln ($$x^{2}$$ + x)
c. g(t) = $$cos^{4}$$($$t^{2} + e^{2t}$$)
d. f(x) = ln (h(x))
e. $$y = (sin x)^{ln x}$$ x>0

3. The attempt at a solution
First three I think I've got:
a. I used the product rule and came out with the following:
$$-6(x-2)^{2}e^{-2x}$$

b. -($$x^{2}$$ + x) sin x / (2x + 1)

c. $$-8(t + e^{2t})cos^{3}(t^{2} + e^{2t})sin(t^{2} + e^{2t})$$
d and e I'm stuck on! Should I use the Chain rule for d and e?

If a, b and/or c are wrong, any pointers would be awesome. cheers.
 PhysOrg.com science news on PhysOrg.com >> New language discovery reveals linguistic insights>> US official: Solar plane to help ground energy use (Update)>> Four microphones, computer algorithm enough to produce 3-D model of simple, convex room
 Well, all of your answers are wrong. This is because while applying the product/quotient rule, you also need to apply the chain rule. Not sure what you did for c). Try rechecking.

## differentiation help

Well I did say I was very rusty!
okay, looking at them again I think where I'm going wrong is that I just differentiating parts seperately, so not using the Product rule correctly. Is that fair to say?

For a), Is this closer to the answer:
$$(x-2)^{3}.-2e^{-2x} + 3(x-2)^{2}.e^{-2x}$$
and then combine like terms from there?

 Quote by Dr Zoidburg Well I did say I was very rusty! okay, looking at them again I think where I'm going wrong is that I just differentiating parts seperately, so not using the Product rule correctly. Is that fair to say? For a), Is this closer to the answer: $$(x-2)^{3}.-2e^{-2x} + 3(x-2)^{2}.e^{-2x}$$ and then combine like terms from there?
Correct, now simplify as you said!
 Recognitions: Gold Member Science Advisor Staff Emeritus (d) is probably the easiest of the problems. Since you don't know what "h(x)" is, you will need to leave the answer in terms of h'(x). for (e), and generally when you have the variable in both exponent and base, use "logarithmic differentiation". That is, let y= (sin(x))ln(x) and take the logarithm of both sides: ln(y)= ln(x) ln(sin(x)). Now differentiate both sides (using the chain rule extensively) and solve for y'.
 Right, I think I'm getting on okay with these. Thanks for all the help. I'm still having issues with c though. I tried doing it a different way: Now correct me if I'm wrong but: $$cos^{4}(t^{2} + e^{2t})$$ can be written as $$(cos(t^{2} + e^{2t}))^{4}$$ right? (please say it is!) And then using the chain rule we can do the following: $$4cos^{3}(t^{2} + e^{2t}).-sin(t^{2} + e^{2t}).(2t + 2e^{2t})$$ simplifying from there, I end up with the same answer as per my OP, which Snazzy said was wrong. I'm more inclined to believe Snazzy at the mo than my own (very limited) calc abilities. So any pointers as to where I'm going wrong? For (d), for the answer do I make the outside function is the logarithm and the inside is h(x)? So the answer is: f'(x) = h'(x)/h(x)