← Back to learning objective

Absolute extrema on a half-open interval

Consider the function f(x)=ln⁡(x)−xf(x) = \ln(x) - x defined on the half-open interval (0,5](0, 5].

Determine the absolute maximum and absolute minimum values of f(x)=ln⁡(x)−xf(x) = \ln(x) - x on the interval (0,5](0, 5], if they exist. Justify your conclusion by finding all critical numbers in (0,5](0,5], checking the endpoint x=5x=5, and analyzing the behavior of ff as x→0+x \to 0^+. State the absolute maximum value and the absolute minimum value (or explain why one does not exist).

Hint

Since the interval is not closed at x=0x=0, the Closed Interval Method does not directly apply — first find critical numbers by setting f′(x)=0f'(x)=0, then separately investigate what happens to f(x)f(x) as x→0+x \to 0^+ to see whether a minimum is actually attained.

Step-by-step solution

Compute f′(x)=1x−1f'(x) = \frac{1}{x} - 1. Setting f′(x)=0f'(x) = 0 gives 1x=1\frac{1}{x} = 1, so x=1x = 1, which lies in (0,5](0,5] and is the only critical number (note f′f' is undefined at x=0x=0, but that point is not in the domain interval). Since f′(x)>0f'(x) > 0 for 0<x<10 < x < 1 and f′(x)<0f'(x) < 0 for x>1x > 1, the First Derivative Test shows ff has a local maximum at x=1x=1, with f(1)=ln⁡(1)−1=−1f(1) = \ln(1) - 1 = -1.

Now check the behavior at the endpoints of consideration: at x=5x = 5, f(5)=ln⁡(5)−5≈−3.39f(5) = \ln(5) - 5 \approx -3.39, which is less than f(1)=−1f(1) = -1, so the maximum on the interval is at x=1x=1. As x→0+x \to 0^+, ln⁡(x)→−∞\ln(x) \to -\infty while −x→0-x \to 0, so f(x)→−∞f(x) \to -\infty. This means ff decreases without bound near x=0x=0, so no absolute minimum exists on (0,5](0,5]. Therefore the absolute maximum value is −1-1 at x=1x=1, and there is no absolute minimum.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap