I have the integral from $-\infty$ to $y^2$ of the function $(e^{-|x|})$ and I need to find the derivative of this. That is,
$$\frac{d}{dy} \int_{-\infty}^{y^2} e^{-|x|}\,dx$$
Usually derivative of integral is just the function, but I'm not sure in this case. Should I set up limits or how else should I approach this?
I thought that the derivative of an integral from $-\infty$ to $y^2$ of $(e^{-|x|}dx)$ would be $e^{-|x|}$