The minimum value of the function f(x)=∫02e|x-t| dt is [2023]
(2)
Case 1: When x<0
f(x)=∫02et-xdt=e-x(et)02=e-x(e2-1)
Case 2: When 0<x<2
f(x)=∫0xex-tdt+∫x2et-xdt ⇒f(x)=ex(-e-t)0x+e-x(et)x2
=-ex(e-x-1)+e-x(e2-ex)=-1+ex+e2e-x-1=ex+e-xe2-2
Case 3: When x≥2
f(x)=∫02e(x-t)dt=ex(-e-t)02=-ex(e-2-1)
Hence,
f(x)={e-x(e2-1),x<0 ex+e-xe2-2,0≤x<2(1-e-2)ex,x≥2
f(x) is decreasing for x<0 and increasing for x≥2.
f(x) is also continuous.
For 0≤x≤2, f(x) is minimum at x=1.
(Using A.M.–G.M. inequality)
Hence, the minimum value f(x)=f(1)=2(e-1)