# Nakafa Learning Content

> For AI agents: use [llms.txt](https://nakafa.com/llms.txt) for the site index. Markdown versions are available by appending `.md` to content URLs or sending `Accept: text/markdown`.

URL: https://nakafa.com/en/subjects/mathematics/integral/definite-integral
Source: https://raw.githubusercontent.com/nakafaai/nakafa.com/refs/heads/main/packages/contents/material/lesson/mathematics/integral/definite-integral/en.mdx

Transform Riemann sums into exact area calculations using definite integrals. Learn limit processes and notation with detailed worked examples.

---

## From Approximation to Exact Area

In the [Riemann Sums](/en/subjects/mathematics/integral/riemann-sum) material, we learned how to approximate the area under a curve by dividing it into many rectangles. We also know that the more rectangles we use (the larger the value of $$n$$), the more accurate our area approximation becomes.

Visible text: In the [Riemann Sums](/en/subjects/mathematics/integral/riemann-sum) material, we learned how to approximate the area under a curve by dividing it into many rectangles. We also know that the more rectangles we use (the larger the value of ), the more accurate our area approximation becomes.

Now, imagine if we could divide the area into an **infinite number of rectangles**. The width of each rectangle ($$\Delta x$$) would become infinitesimally small, approaching zero. This process of taking the limit as the number of partitions $$n$$ approaches infinity is what transforms the Riemann Sum from a mere approximation into an exact calculation. This very concept gives rise to the **Definite Integral**.

Visible text: Now, imagine if we could divide the area into an **infinite number of rectangles**. The width of each rectangle () would become infinitesimally small, approaching zero. This process of taking the limit as the number of partitions approaches infinity is what transforms the Riemann Sum from a mere approximation into an exact calculation. This very concept gives rise to the **Definite Integral**.

## Notation and Meaning of the Definite Integral

The definite integral is the formal way of writing this "infinite sum" of the areas of infinitesimally small rectangles. Mathematically, the definite integral is defined as the limit of a Riemann Sum.

```math
\int_{a}^{b} f(x) \, dx = \lim_{n \to \infty} \sum_{i=1}^{n} f(x_i) \Delta x
```

This notation has a specific meaning:

- **$$\int_{a}^{b}$$**: This is the integral symbol with a **lower** limit $$a$$ and an **upper** limit $$b$$. These numbers define the interval over which we are calculating the area.
- **$$f(x)$$**: This is the **integrand**, which is the function whose curve we are finding the area under.
- **$$dx$$**: Just as with indefinite integrals, this indicates that we are integrating with respect to the variable $$x$$.

Visible text: - ****: This is the integral symbol with a **lower** limit and an **upper** limit . These numbers define the interval over which we are calculating the area.
- ****: This is the **integrand**, which is the function whose curve we are finding the area under.
- ****: Just as with indefinite integrals, this indicates that we are integrating with respect to the variable .

Unlike an indefinite integral, which results in a function ($$F(x) + C$$), the result of a definite integral is a **single number** that represents the net area under the curve from $$x=a$$ to $$x=b$$.

Visible text: Unlike an indefinite integral, which results in a function (), the result of a definite integral is a **single number** that represents the net area under the curve from to .

## Calculating the Definite Integral with Limits

Let's try to calculate the exact value of a definite integral using its limit definition, as in the reference example.

**Problem:** Determine the value of $$\int_{0}^{7} x \, dx$$.

Visible text: **Problem:** Determine the value of .

**Solution:**

To solve this, we will convert it back to the limit form of a Riemann Sum.

**Step** $$1$$: Determine the Riemann Sum components

Visible text: **Step** : Determine the Riemann Sum components

From the problem $$\int_{0}^{7} x \, dx$$, we know:

Visible text: From the problem , we know:

- Function: $$f(x) = x$$
- Interval: $$[a, b] = [0, 7]$$

Visible text: - Function: 
- Interval:

Thus, the width of each subinterval is:

```math
\Delta x = \frac{b-a}{n} = \frac{7-0}{n} = \frac{7}{n}
```

We will use the right endpoint ($$x_i$$) as the sample point for each partition:

Visible text: We will use the right endpoint () as the sample point for each partition:

```math
x_i = a + i \Delta x = 0 + i \left(\frac{7}{n}\right) = \frac{7i}{n}
```

**Step** $$2$$: Set up the Riemann Sum

Visible text: **Step** : Set up the Riemann Sum

The height of each rectangle is $$f(x_i)$$, so:

Visible text: The height of each rectangle is , so:

```math
f(x_i) = x_i = \frac{7i}{n}
```

Now, we plug this into the Riemann Sum formula:

```math
\sum_{i=1}^{n} f(x_i) \Delta x = \sum_{i=1}^{n} \left(\frac{7i}{n}\right) \left(\frac{7}{n}\right) = \sum_{i=1}^{n} \frac{49i}{n^2}
```

**Step** $$3$$: Simplify and use summation properties

Visible text: **Step** : Simplify and use summation properties

We can factor constants out of the sigma notation, as $$n$$ is treated as a constant in the sum from $$i=1$$ to $$n$$.

Visible text: We can factor constants out of the sigma notation, as is treated as a constant in the sum from to .

```math
\frac{49}{n^2} \sum_{i=1}^{n} i
```

Next, we replace $$\sum_{i=1}^{n} i$$ with its series summation formula, $$\frac{n(n+1)}{2}$$, and then simplify the expression to make it easier to evaluate the limit.

Visible text: Next, we replace with its series summation formula, , and then simplify the expression to make it easier to evaluate the limit.

Component: MathContainer
Children:

```math
\frac{49}{n^2} \cdot \frac{n(n+1)}{2}
```

```math
= \frac{49n(n+1)}{2n^2}
```

```math
= \frac{49(n+1)}{2n}
```

```math
= \frac{49}{2} \left( \frac{n+1}{n} \right) = \frac{49}{2} \left( 1 + \frac{1}{n} \right)
```

The simplification steps above ensure we get the easiest form to evaluate the limit. First, we cancel $$n$$ from the numerator and denominator, then we split the fraction.

Visible text: The simplification steps above ensure we get the easiest form to evaluate the limit. First, we cancel from the numerator and denominator, then we split the fraction.

> To solve the limit of a Riemann Sum, we often need some common series summation formulas:
> - $$\sum_{i=1}^{n} i = \frac{n(n+1)}{2}$$
> - $$\sum_{i=1}^{n} i^2 = \frac{n(n+1)(2n+1)}{6}$$
> - $$\sum_{i=1}^{n} i^3 = \left( \frac{n(n+1)}{2} \right)^2$$

Visible text: > To solve the limit of a Riemann Sum, we often need some common series summation formulas:
> - 
> - 
> -

**Step** $$4$$: Take the Limit

Visible text: **Step** : Take the Limit

Finally, we take the limit as $$n \to \infty$$ to find the exact area.

Visible text: Finally, we take the limit as to find the exact area.

Component: MathContainer
Children:

```math
\int_{0}^{7} x \, dx = \lim_{n \to \infty} \frac{49}{2} \left( 1 + \frac{1}{n} \right)
```

```math
= \frac{49}{2} \left( 1 + 0 \right)
```

```math
= \frac{49}{2}
```

So, the exact area of the region under the curve $$f(x) = x$$ from $$x=0$$ to $$x=7$$ is $$\frac{49}{2}$$ or $$24.5$$. This is an example of how the definite integral provides an exact answer, no longer an approximation.

Visible text: So, the exact area of the region under the curve from to is or . This is an example of how the definite integral provides an exact answer, no longer an approximation.