← Back to learning objective

Intervals of increase/decrease for f(x) = xe^{-x}

Consider the function f(x)=xe−xf(x) = x e^{-x}, defined for all real numbers xx.

Find f′(x)f'(x) and determine the interval(s) on which f(x)=xe−xf(x) = xe^{-x} is increasing and the interval(s) on which it is decreasing.

Hint

Use the product rule to compute f′(x)f'(x), then factor out e−xe^{-x} (which is always positive) to determine where f′(x)f'(x) is positive or negative.

Step-by-step solution

Applying the product rule, f′(x)=e−x+x(−e−x)=e−x(1−x)f'(x) = e^{-x} + x(-e^{-x}) = e^{-x}(1-x). Since e−x>0e^{-x} > 0 for all xx, the sign of f′(x)f'(x) matches the sign of (1−x)(1-x).

When x<1x < 1, (1−x)>0(1-x) > 0 so f′(x)>0f'(x) > 0, meaning ff is increasing on (−∞,1)(-\infty, 1). When x>1x > 1, (1−x)<0(1-x) < 0 so f′(x)<0f'(x) < 0, meaning ff is decreasing on (1,∞)(1, \infty).

Local extremum via First Derivative Test

Using the sign change of f′(x)f'(x) found above, determine whether f(x)=xe−xf(x) = xe^{-x} has a local maximum, a local minimum, or neither at x=1x=1, and state the value of f(1)f(1).

Hint

Recall the First Derivative Test: check whether f′f' changes from positive to negative or negative to positive as xx passes through the critical number.

Step-by-step solution

The critical number is x=1x=1, since f′(1)=0f'(1) = 0. From part (a), f′(x)>0f'(x) > 0 for x<1x<1 and f′(x)<0f'(x) < 0 for x>1x>1, so f′f' changes from positive to negative at x=1x=1.

By the First Derivative Test, this sign change (positive to negative) indicates a local maximum at x=1x=1. Evaluating, f(1)=1⋅e−1=e−1=1/ef(1) = 1\cdot e^{-1} = e^{-1} = 1/e.

Long-run behavior of f(x) as x increases

Based on the fact that ff is decreasing for all x>1x>1, describe what happens to the values of f(x)=xe−xf(x) = xe^{-x} as x→∞x \to \infty.

Hint

Think about how the decaying exponential e−xe^{-x} compares in growth rate to the linear factor xx as xx gets large.

Step-by-step solution

Since ff is decreasing on (1,∞)(1,\infty) and f(x)=x/exf(x) = x/e^x, the exponential exe^x in the denominator grows much faster than the numerator xx as x→∞x\to\infty.

Therefore the function values continue to decrease toward zero without becoming negative, so lim⁡x→∞f(x)=0\lim_{x\to\infty} f(x) = 0, and y=0y=0 acts as a horizontal asymptote.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap