Given,
f(x)=∫02e∣x−t∣dt
Now For x≤0
f(x)=∫02et−xdt=e−x(e2−1)
And for 0<x<2
f(x)=∫0xex−tdt+∫x2et−xdt=ex+e2−x−2
For x≥2
f(x)=∫02ex−tdt=ex−2(e2−1)
Now for x≤0,f(x) is decreasing as e−x is decreasing function and x≥2,f(x) is increasing as ex−2 is increasing function,
So, minimum value of f(x) lies in x∈(0,2)
Applying A.M ≥ G.M in ex+e2−xwe get,
2ex+e2−x≥ex×e2−x
⇒ex+e2−x≥2e
Hence, the minimum value of f(x) is 2e−2=2(e−1)