The area is bounded by $$f(x)=e^{-x^2}$$ and two lines $$x=k$$ and $$x=3k$$ Find an expression for the area including $k$, and determine the value for $k$ which will maximize the area.
I general, you find the area between curves by finding their point(s) on intersection, taking the difference between them and taking the definite integral at the said point(s) - which gives us the integral.
Should I use that the same procedure here?
The area is simply $$\int_k^{3k}e^{-x^2}\,dx$$ But the primitive of the integrand isn't elementary. See https://en.wikipedia.org/wiki/Error_function. In any case, calculating explicitly the area, isn't required. Only the derivative is required.