How do you differentiate # f(x)=(x-1)(x-2)(x-3)# using the product rule?
Generally, to differentiate a product function, the formula is as follows:
Where the derivative is:
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.
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:
Following the general formula as "derived" above:
Therefore, the derivative (simplified) is:
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! :)