When do you use the chain rule instead of the product rule?
2 Answers
Explanation:
# d/dx (uv) = u(dv)/dx + (du)/dxv#
The Product Rule is used when the function being differentiated is the product of two functions:
Eg if
#y =xe^x# where
Let#u(x)=x, v(x)=e^x => y=u(x) xx v(x)#
# dy/dx = dy/(du) * (du)/dx #
The Chain Rule is used when the function being differentiated is the composition of two functions:
Eg if
#y=e^(2x+2)#
Let#u(x)=e^x, v(x)=2x+2 => y = u(v(x)) = (u@v)(x) #
Determining the appropriate differentiation rule is related to the order of operations.
Explanation:
Look at the expression and ask yourself, "If I plugged in a number for the variable, what is the last operation I would do?"
I'll use
Keep in mind that expressions that are added (or subtracted) can be handled separately. (We differentiate term by term. Things that are added are called "terms".)
If the last operation is to multiply (or divide) by a constant, the back up to the penultimate operation.
("Penultimate" means "next to last".)
If the last operation on variable quantities is multiplication, use the product rule.
If the last operation on variable quantities is division, use the quotient rule.
If the last operation on variable quantities is applying a function, use the chain rule.
Keep in mind that we can rewrite the expression and that doing so may change the appropriate differentiation rule.
#y = (x+3)^2/x# -- quotient
# = (x+3)^2x^-1# -- product
# = (x^2+6x+9)/x# -- quotient
# = x+6+9x^-1# -- power rule going term-by-term.