DGS Studio

Calculus

Double Integrals

Evaluate an iterated double integral and view the region in 3D.

The first iterated integral is ∫ from x = 0 to 2 of ∫ from y = 0 to 3 of (x + y) dy dx. The inner integral is 3x + 9/2, and the outer integral equals 15.

The other cards change the integrand or the region. A region 0 ≤ y ≤ x is a triangle, not a rectangle, so the inner limit depends on x. The 3D view shows the integrand over that domain when a mesh can be built.

Equation

integrate(integrate(x+y,(y,0,3)),(x,0,2))

How the calculus steps are organized

Calculus in the equation workflow returns the symbolic result and the steps. A derivative applies the relevant rule. An integral looks for an antiderivative, and a definite integral evaluates it on the bounds. A limit simplifies before it substitutes the point when substitution would divide by zero.

Multivariable operations stay symbolic and, when the expression has two variables, DGS can also show the surface. A partial derivative treats the other variables as constants. A tangent plane uses both partials at the chosen point. The page states the command that produces each of those results.

Reading the input

Other versions of this example

These stay on this page so each version keeps the same explanation. Choose Try example to run a version in its Studio workflow, or copy it into the editable field below.

Rectangle: x + y

Expected value 15 over 0 ≤ x ≤ 2 and 0 ≤ y ≤ 3.

integrate(integrate(x+y,(y,0,3)),(x,0,2))

Rectangle: x·y

Expected value 9 over 0 ≤ x ≤ 2 and 0 ≤ y ≤ 3.

integrate(integrate(x*y,(y,0,3)),(x,0,2))

Square: x² + y²

Expected value 32/3 over the square [0, 2] × [0, 2].

integrate(integrate(x^2+y^2,(y,0,2)),(x,0,2))

Triangle: x + y

Expected value 1/2. The region is 0 ≤ x ≤ 1 and 0 ≤ y ≤ x.

integrate(integrate(x+y,(y,0,x)),(x,0,1))

Constant over a rectangle

Expected value 6.

integrate(integrate(1,(y,0,3)),(x,0,2))

Sine over a square

Expected value 4.

integrate(integrate(sin(x)*sin(y),(y,0,pi)),(x,0,pi))

Negative constant

Expected value -4.

integrate(integrate(-1,(y,0,2)),(x,0,2))

Try a change

Solve Equation opens the original input in the equation workspace and displays its symbolic results, conditions, and solution steps.

Edit and generate

Solve Equation opens the studio homepage and runs this field. Open in DGS Studio loads the same text and waits for you to generate it. The equation is sent once, as a query parameter.

Related examples