The minimum value of the function f(x)=∫02e∣x−t∣dt is:
Solutions · 1
Official solution
For x≤0: f(x)=∫02et−xdt=e−x(e2−1) --- decreasing.
For x≥2: f(x)=∫02ex−tdt=ex−2(e2−1) --- increasing.
For 0<x<2: f(x)=∫0xex−tdt+∫x2et−xdt=ex+e2−x−2.
Since f decreases on (−∞,0] and increases on [2,∞), the minimum lies in (0,2). By AM--GM, ex+e2−x≥2ex⋅e2−x=2e, with equality at x=1:
f(1)=2e−2=2(e−1)