f(x)=x2e−xFirst, f′(x)=2xe−x−x2e−x
⇒e−x(2x−x2)=0
⇒e−x=0Not possible and x(2−x)=0
x=0 or x=2
Critical points : x=0 and x=2
The function monotone intervals are :-
−∞<x<0,0<x<2,2<x<∞
At −∞<x<0, let x=−1
f′(−1)=−3e<0, therefore decreasing.
At 0<x<2, let x=1
f′(x)=1e>0, therefore incresing
At 2<x<∞, let x=3,
f′(3)=−3e3, therefore decreasing.
Interval of decrease, −∞<x<0 and 2<x<∞
Interval of increase, 0<x<2.