I have an exam on calculus next week and I'm confused with the usage of simple and double integrals. As far as I know, if you want to calculate the area under the curve of a function $f(x)$ between $a$ and $b$, you have to calculate an integral between those two points: $$\int_{a}^{b}f(x)dx$$
If you want to calculate the integral between those points having as upper and lower boundaries two functions, namely $f(x)$ and $g(x)$, you have to calculate the integral of the subtraction of those functions: $$(1)\int_{a}^{b}(f(x)-g(x))dx$$ where $f(x)$ is the upper function and $g(x)$ the lower one.
However, I'm confused with double integrals because I've been told that by calculating a double integral of a function, you're calculating the volume under the curve of that function. It makes sense to me, but I've seen some examples in which my teacher calculates the area between one or more functions by using a double integral.
Another thing that I don't understand is if I'm calculating the double integral of a function inside a given domain what am I really calculating? For example, if I'm calculating $\iint_{D}\sin (y^{3})\text{dx dy}$ in the following domain:
where $y=\sqrt{x}$ and $x\in [0,1]$. What will that integral give me?
In relation to that, if I just simply calculate $\iint_{D}dxdy$, how will it make a difference? Will I calculate the whole area of D?
And my last question has to do with the formula (1). As I previously said, sometimes my teacher uses double integrals to calculate the area between two functions. Then, don't I need to use formula (1)? Are they perhaps equivalent? For example, given the domain:
$$D=\left \{ (x,y)\in \mathbb{R}^{2}:(y-x^{2}-1)(y-2x^{3})<0,x\in[0,2] \right \}$$
In order to calculate its area, she would split the problem into double integrals, one for $y-x^{2}-1=0$ and another one for $y-2x^{3}=0$, and find the points where they intersect:
Like this:
$$\iint_{D}dxdy = \iint_{D_{1}}dxdy + \iint_{D_{2}}dxdy$$
Can't I use my formula (1) in this case?
Thank you so much in advance.