Given curves are y=xex and y=xe−x
Line x=1 meets the curves at A(1,e) and B(1,e1).
Both the curves pass through origin. ∴ Required area =0∫1(xex−xe−x)dx =0∫1x(ex−e−x)dx
=x(ex−e−x)∣01−0∫1(ex−e−x)dx =(e+e1)−ex∣∣01+e−x∣∣01 =e+e1−e+1+e1−1=e2