Multivariable calculus
Double Integral of e^(x + y) Over the Unit Square
The double integral of e to the x plus y over the unit square equals (e minus 1) squared, about 2.95249. Because e to the x plus y equals e to the x times e to the y, the integrand factors, and the answer is the square of the integral of e to the x from 0 to 1, which is e minus 1.
Numerically 2.952492, confirmed by quadrature on every build.
The exponent law does the factoring for you
A sum in the exponent is a product of exponentials, which is exactly the shape the separable shortcut wants.
Numerically , so the answer is about . Both factors are the same integral because the square is symmetric in and .
The direct route, for when the law is not obvious
You do not need the exponent law. Integrate in with frozen and the constant appears on its own.
The constant pulls out of the outer integral because it holds no . Recognising which pieces are constants at each stage is the whole skill in iterated integration.
The mistake: dividing by the exponent
Writing is wrong. You divide by the derivative of the exponent with respect to the integration variable, not by the exponent itself, and here that derivative is 1.
- , since .
- , since the derivative is 3.
- for , since the derivative is .
Compare this with , which does not factor at all. Exponentials turn sums into products and sines do not, so the same looking argument gets very different treatment.
Frequently asked questions
Why does e^(x + y) factor when sin(x + y) does not?
The exponent law splits the exponential into one factor per variable. Sine has no such law: expands to , a sum of two products rather than one product.
What is the value over the rectangle 0 to 2 by 0 to 3?
The same factoring gives . The integrand grows fast, so most of that total comes from the corner near .