Find y′ if y=(1+x2)ex.
Solution The function y is the product of two functions: a polynomial, f(x)=1+x2, and the exponential function g(x)=ex. By the Product Rule, y′=ddx[(1+x2)ex]=(1+x2)[ddxex]+[ddx(1+x2)]ex=(1+x2)ex+2xex↑Product Rule
At this point, we have found the derivative, but it is customary to simplify the answer. Then y′=(1+x2+2x)ex=(x+1)2ex↑Factor out ex.↑Factor.