How do you differentiate # f(x)=(x-1)(x-2)(x-3)# using the product rule?

1 Answer

Answer:

Hey there!

Generally, to differentiate a product function, the formula is as follows:

#f(x) = g(x) * h(x)#

Where the derivative is:

#f'(x) = g'(x)*h(x) + h'(x)*g(x)#

Explanation:

In your example, this follows the general formula of product rule however, there is one extra term. To make up for this, we have to alter the general formula slightly. You now have to compensate for the third term.

So if:

#f(x) = g(x)*h(x)*i(x)#

#f'(x) = g'(x)*h(x)*i(x) + h'(x)*g(x)*i(x) + i'(x)*g(x)*h(x)#

In essence, you have to make sure you take the derivative of each term, then multiply by what you're not taking the derivative of!

Then in your example:

# f(x) = (x-1)(x-2)(x-3) #

Following the general formula as "derived" above:

# f'(x) = (1)(x-2)(x-3) + (1)(x-1)(x-3) + (1)(x-2)(x-1) #

Simplifying everything:

#f'(x) = (x^2-5x+6)+(x^2-4x+3)+(x^2-3x+2) #

#f'(x) = 3x^2-12x+11#

Therefore, the derivative (simplified) is: #f'(x) = 3x^2-12x+11#

You could have stopped at the line before "Simplifying everything:", that is perfectly correct. If you can and it's not too difficult, it's probably better to simplify in case you need to do some direct substitution afterwards!

Hopefully this is clear and helpful! :)