Analyzing the Setup
The problem asks us to find the minimum value of the function defined by the integral:
At first glance, this appears to be a standard calculus problem. However, it is a beautiful exercise in visualization and piecewise analysis.
The Geometry of the Integral
Imagine you are standing on the number line at a point x. You are looking at the interval [0,2]. The integrand is e∣x−t∣, where t is the variable of integration.
As t travels from 0 to 2, it passes through your position x. This is the crucial moment. When t<x, the term x−t is positive, so ∣x−t∣=x−t.
When t>x, the term x−t is negative, so ∣x−t∣=−(x−t)=t−x. The modulus acts as a switch that flips the sign of the exponent.
The Three Worlds of x
Before we dive into the calculus, let us consider the boundaries. If x≤0, then for all t∈[0,2], we have t≥x, meaning ∣x−t∣=t−x.
The function becomes:
f(x)=∫02et−xdt=e−x(e2−1)
This is a strictly decreasing function. Similarly, if x≥2, the function is strictly increasing. Therefore, the minimum must be located in the region where 0<x<2.
The Calculus of Splitting
In the region 0<x<2, we split the integral at the point t=x. Our function becomes:
f(x)=∫0xex−tdt+∫x2et−xdt
For the first part, I1=∫0xex−tdt, we treat x as a constant. We pull ex out, leaving ∫0xe−tdt.
Evaluating this from 0 to x, we get:
I1=ex[−e−t]0x=ex(1−e−x)=ex−1
For the second part, I2=∫x2et−xdt, we pull e−x out, leaving ∫x2etdt. Evaluating from x to 2, we get:
I2=e−x[et]x2=e−x(e2−ex)=e2−x−1
The Search for the Minimum
Combining these, our function in the interval (0,2) is:
f(x)=(ex−1)+(e2−x−1)=ex+e2−x−2
To find the minimum, we differentiate with respect to x:
f′(x)=dxd(ex+e2−x−2)=ex−e2−x
Setting f′(x)=0 to find the critical point:
Since the exponential function is one-to-one, we equate the exponents: x=2−x, which yields x=1. This is the point of symmetry where the two parts of the integral are perfectly balanced.
Final Calculation
Finally, we substitute x=1 back into our expression for f(x):
f(1)=e1+e2−1−2=e+e−2=2e−2
The minimum value of the function is 2(e−1).