I need to solve an integral: $\int_{0}^{\infty}|x-c|e^{-2x}dx$ I got solution for this which is right ,(by splitting the integral) .I got solution for $c$ if negative as $\frac{1}{4}-\frac{c}{2}$ and for $c$ if positive $\frac{e^{-2c}}{2} - \frac{1}{4} + \frac{c}{2}$ and now i need to solve for $c \in$ $\R$ for which integral is minimum. I don't understand the question :( can someone give a hint?
.