(reposted due to too many typos and errors) I'm now learning about double integrals and I saw in two different places a thing that contradicted each other and I'd like to know which one is correct.
If I have the following integral:
$\int^a_b\int^g_d cf(x)dxdy$
where $c$ is a constant, which one of the following is the correct one?
1: $\int^a_bc\int^g_d f(x)dxdy$
or
2: $c\int^a_b\int^g_d f(x)dxdy$
If the latter is the correct one and I have:
$\int^a_b\int^g_d cf(x)+g(x)dxdy$
which one of the following is the correct one?
3: $c\int^a_b\int^g_d f(x)dxdy+\int^a_b\int^g_dg(x)dxdy$
or
4: $c\int^a_b\int^g_d f(x)dxdy+c\int^a_b\int^g_dg(x)dxdy$