Differentiating y=xne−x with the product rule lets you factor out e−x.
(xne−x)′=(nxn−1−xn)e−x=xn−1(n−x)e−x
Since e−x>0, the sign of y′ is decided by xn−1(n−x) alone. For y=xe−x, y′=(1−x)e−x changes from positive to negative at x=1, so there is a local maximum e1 at x=1.
For a function with logx, first check the domain x>0. For y=xlogx, y′=x21−logx, and the local maximum is e1 at x=e.
Examples
-
01For which x is y'=0? (other than 0)y=x2e−x,y′=x1(2−x)e−xAnswerHide
-
02Differentiate:y=x3e−xAnswerHide
Answer(3x2−x3)e−x
-
03What is the domain?y=xlogexAnswerHide
Answerx>0
-
04For which x is y'=0?y=xe−x,y′=(1−x)e−xAnswerHide
-
05Differentiate:y=x2e−xAnswerHide
Answer(2x−x2)e−x
-
06Differentiate:y=xlogexAnswerHide
Answerx21−logex
FAQ
QHow do I find the sign of y′=(1−x)e−x?
Ae−x is always positive, so the sign depends only on
1−x: positive for
x<1 and negative for
x>1.
QDoes the sign table for y=xlogx include x<0?
ANo.
logx is defined only for
x>0, so the table covers
x>0 only.