A function is increasing on an interval when the derivative is positive: f′(x)>0
Given f(x)=x2e−x, apply the Product Rule with u=x2 and v=e−x:
u′=2x
v′=−e−x
f′(x)=2x⋅e−x+x2⋅(−e−x)
f′(x)=2xe−x−x2e−x
f′(x)=e−x(2x−x2)
f′(x)=e−x⋅x(2−x)
For f′(x)>0:
e−x⋅x(2−x)>0
Since e−x>0 for all x, the inequality reduces to:
x(2−x)>0
The critical points occur when x=0 or 2−x=0, giving x=0 and x=2.
Testing the sign of x(2−x) in each interval:
For x<0: x is negative, (2−x) is positive, so x(2−x)<0
For 0<x<2: x is positive, (2−x) is positive, so x(2−x)>0
For x>2: x is positive, (2−x) is negative, so x(2−x)<0
Therefore f′(x)>0 when 0<x<2.
The function f(x)=x2e−x is increasing on the interval (0,2).