##### Related Content

# Double Integral Calculator

_{2}

_{1}

_{2}

_{1}

*dxdy*

*1.) First solve the inner ...*

**Voovers+ Full Solution Steps Preview:**

## Double Integral Lesson

#### Lesson Contents

### What is a Double Integral?

**A double integral is a multiple integral of a function of two variables.** It is called a double integral because we must perform a definite integral two times (one for each of the two variables).

To further our understanding, let’s compare single integrals and double integrals:

- The single integral of a function of one variable such as
*y = f(x)*solves for the*area*under the function’s 2-dimensional curve. **A double integral of a function of two variables such as***z = f(x, y)*solves for the*volume*under the function’s 3-dimensional surface.

*z = f(x, y)*is the volume that extends from the surface to the x-y plane. The rectangular cross-section of the volume (seen from the top) is defined by the limits of integration x

_{1}, x

_{2}, y

_{1}, and y

_{2}.

A double integral for a function f(x, y) may be notated as:

$$\begin{align} & \int \limits_{y_{1}}^{y_{2}} \int \limits_{x_{1}}^{x_{2}} f(x, y) \; dx\hspace{1pt} dy \end{align}$$

Where *x _{1}* is the lower

*x*limit of integration,

*x*is the upper

_{2}*x*limit of integration,

*y*is the lower

_{1}*y*limit of integration,

*y*is the upper

_{2}*y*limit of integration,

*f(x, y)*is a function of

*x*and

*y*,

*dx*indicates integration of the variable

*x*, and

*dy*indicates integration of the variable

*y*.

### Why do we Learn How to do Double Integrals?

Double integrals have many, many applications in the world of engineering, science, and statistics. But, let’s hone in on just one of these applications: **we can use a double integral to optimize the efficiency of a production car’s engine so it can use less fuel during operation**.

Most modern cars use computers to run their engines. This computer, often called an ECU (engine control unit), controls the airflow into the engine, injection of fuel into the engine, and the ignition of the air-fuel mixture inside the combustion chamber.

The exact timing of igniting the air-fuel mixture is *extremely* critical to combustion efficiency. If ignited too early in an engine cycle, the air-fuel mixture won’t be compressed enough to fully burn. If ignited too late, the air-fuel mixture won’t have enough time to fully burn.

We can run tests on an engine and collect data for combustion efficiency being a function of engine RPM (revolutions per minute) and ignition timing. If we plot the data, we will see a two-variable function’s surface plot like the one below:

Since we have modeled the engine’s efficiency as a function of two variables (engine RPM and ignition timing), we can easily calculate a double integral over a rectangular region on the engine RPM – ignition timing plane.

By calculating this double integral, we find the total volume between the surface and the engine RPM – ignition timing plane bound by the rectangular region we chose.

We can divide this volume by the area of our rectangular region. By doing so, we will end up with the average value of the combustion efficiency function over that rectangular region.

**By knowing the average combustion efficiency of the engine over various engine operation parameters via our double integral, we can program the ECU to maximize power while minimizing fuel consumption!**

### Example Problem

## How the Calculator Works

The Double Integral Calculator is coded in HTML (HyperText Markup Language), CSS (Cascading Style Sheets), and JS (JavaScript).

The HTML constructs the calculator’s architecture. The calculator’s frame, buttons, text, and other entities are all defined by the HTML code.

The CSS provides the graphical element of the calculator. The specific colors, shapes, and animations of the calculator’s components are created and defined with the CSS code.

JS is what makes the calculator tick. When we click any of the buttons, the JS code handles the response to that click. Also, the mathematic procedure and solution steps creation are all performed by the JS code.