# Hard Q to take a derivative of

y=(x)/((x+2)(x+3)(x+4)).
how to do u take the derivative??? HELP!!!!!!

arildno
Homework Helper
Gold Member
Dearly Missed
1) DON'T PANIC!!

2) Define $$u(x)=(x+2)(x+3)(x+4)$$

3) Use this so that we have: $$y(x)=\frac{x}{u(x)}$$
By the rule for differentiating a ratio between 2 functions, we have:
$$\frac{dy}{dx}=\frac{1*u(x)-x\frac{du}{dx}}{u^{2}}=\frac{1}{u}-\frac{x}{u^{2}}\frac{du}{dx}$$

4) Evaluate $$\frac{du}{dx}$$ by use of the product rule.

good work arildno

Curious3141
Homework Helper
I'd personally prefer to use a partial fractions method.

Let $$y = \frac{a}{x+2} + \frac{b}{x+3} + \frac{c}{x+4}$$

Multiply throughout by $(x+2)(x+3)(x+4)$, you get

$$x = a(x+3)(x+4) + b(x+2)(x+4) + c(x+2)(x+3)$$

Substitute in turn $x = -2, -3, -4$ and almost immediately you get

$$a = -1, b = 3, c = -2$$

giving $$y = \frac{-1}{x+2} + \frac{3}{x+3} + \frac{-2}{x+4}$$

then

$$y' = \frac{1}{(x+2)^2} - \frac{3}{(x+3)^2} + \frac{2}{(x+4)^2}$$

and I would be happy to leave it in that form.

EDIT : Doing it this way is optional for the derivative (arildno's method is fine here), but partial fractions are essential for integrating the function.

Last edited:
arildno
Homework Helper
Gold Member
Dearly Missed
I recommend OP to pay close attention to Curious' excellent procedure.
While it may seem very cumbersome and unnecessary to do the partial fractions decomposition, learning that technique through following Curious' example is only to your later benefit.
Also, it brings to light that there are always more than one single correct way of doing maths.
Good work, Curious.

Curious3141
Homework Helper
arildno said:
I recommend OP to pay close attention to Curious' excellent procedure.
While it may seem very cumbersome and unnecessary to do the partial fractions decomposition, learning that technique through following Curious' example is only to your later benefit.
Also, it brings to light that there are always more than one single correct way of doing maths.
Good work, Curious.
Thank you, arildno, for your very kind words. It's completely true, you can never learn too many techniques in Math. Each new technique you learn is another invaluable tool you have in tackling a new problem.

Galileo
Homework Helper
In spirit of aildno's wise words, here's another method that gives you the derivative quickly, but doesn't look quite as beautiful as Curious' method.

It's logarithmic differentiation, take the logarithm of both sides:

$$\ln y = \ln x - \ln (x+2) -\ln (x+3) -\ln (x+4)$$
then differentiate and use the chain rule:

$$\frac{dy}{dx}=y\left(\frac{1}{x}-\frac{1}{x+2}-\frac{1}{x+3}-\frac{1}{x+4}\right)=\frac{x}{(x+2)(x+3)(x+4)}\left(\frac{1}{x}-\frac{1}{x+2}-\frac{1}{x+3}-\frac{1}{x+4}\right)$$

I`m not very fond of this method, but it serves its purpose. Points of worry might be the points where y is nonpositive, so you cannot take the logarithm. The method works just as well with the logarithm of the absolute value, so you can ignore that 'detail' when working out the problem. the only point remaining is where y=0, but that works out ok as well.

Last edited:
Shouldn't that be an (x + 4) in there? Bottom line, on the left side of the last = sign. It's probably just a typo.

Galileo
Homework Helper
Yes it was.

uart
It's interesting to see all the different methods and different (but equivalent) solutions that such a simple question can receive.

If I had received this question I'd probably have used the following simple (though none too elegant) method.

y=x / ( (x+2)(x+3)(x+4) )

Since the denominator is very easy to expand I'd write,

y= x / (x^3 + 9x^2 + 26x + 24) or y = x (x^3 + 9x^2 + 26x + 24)^(-1)

And then use either the quotient rule or the product and chain rule as per personal preference to eventually yield,

dy/dx = (-2x^3 - 9x^2 + 24) / ( (x+2)^2 (x+3)^2 (x+4)^2 )

Last edited: