Integration

How to integrate

In this topic, you will see more complex methods of calculating integrals which are far more complex, but at the most basic level integrals are calculated by:

xn,,dx=xn+1n+1+c\displaystyle\int x^n \\, \\, dx = \dfrac{x^{n+1}}{n+1} + c

The cc added at the end is further explained in the indefinite integrals section below.

By substitution

For more complex integrals, it can often be helpful to substitute another easier value to integrate and then sub back at the end. This process has a few steps:

For the purposes of explanation, let’s use the example:

x,,dx\displaystyle\int x \\, \\, dx

  1. Pick a function of xx in your integral to substitute, and make it equal to uu.

u=xu = x

  1. Differentiate uu with respect to xx.

dudx=1\dfrac{du}{dx} = 1

  1. Isolate dudu so that both it and your chosen function of uu can be substituted in.

du=dxdu = dx

u,,du\displaystyle\int u \\, \\, du

By parts

It has been said that calculating integrals can become a lot like reading, with practice. In this case, you need to look out for cases where you need to find the integral of the product of a function of xx with it’s derivative.

This can then be drawn to the following equivalency:

uv=uvuv\displaystyle\int uv' = uv - \displaystyle\int u'v

Indefinite integrals

When calculating integrals you may notice they fall into two distinct types. Often in isolation, integration is indefinite by default. This simply means that you are looking at the function as a whole, without bounds.

x2,,dx=2x+c\displaystyle\int x^2 \\, \\, dx = 2x + c

As you are raising the degree of the function, you will be adding a new constant onto the end. However, since you do not have enough information to be able to calculate this exact value, this is why the answer always ends in ‘+,c+ \\, c’.

Definite integrals

As the similar name suggests, definite integrals are merely the opposite of indefinite ones. You are given bounds to the function and are only integrating it within those limits. The first step of this is carried out in the exact same way, by finding the integral of the function. However, instead of adding ‘+,c+ \\, c’ to the end and being done with it, you have to use the bounds to calculate an exact value.

abx2,,dx=[,2x,]ab=[,2(b),][,2(a),]=2b2a\begin{aligned} \displaystyle\int_{a}^{b} x^2 \\, \\, dx &= \Big[ \\, 2x \\, \Big]_{a}^{b} \\\\ &= \Big[ \\, 2(b) \\, \Big] - \Big[ \\, 2(a) \\, \Big] \\\\ &= 2b - 2a \end{aligned}

Area under a graph

Throughout your mathematical journey, you will have determined the area of many different types of shapes. However, there are no easy formulas when you have a shape with curves. Instead, we must model the edges as equations and then find the area under that graph. Using definite integrals, you can find the area between the graph and the x-axis within those bounds.

Area under graph

This works with both positive and negative yy values, just be aware that if the curve crosses the x-axis then the positive and negative area will begin to cancel each other.

Riemann sums

Another way to work out the area under a graph is to approximate it with rectangles. With this method, the area is split into nn vertical segments which meet the curve at either left, center or right endpoints.

Rectangles estimation

The area of the region under the graph of a continuous function is the limit of the sum of the areas of approximating rectangles:

A=limnk=1nf(xk)ΔxA = \displaystyle\lim_{n \to \infty} \displaystyle\sum\limits_{k=1}^{n} f(x_k)\Delta x

Where each f(x)f(x) is the point at which each rectangle meets each rectangle and Δx\Delta x is the width of each rectangle which can be calculated by:

Δx=ban\Delta x = \dfrac{b - a}{n}

The chosen value of nn determines the accuracy of the approximation, the higher the value the more accurate it will be.