Integral
List of Rules of Integration
Fundamental theorem of calculus | \(\int_a^b f(x)\,dx = F(b) - F(a)\) |
Rules for bounds | \(\int_a^b f(x)\,dx = - \int_b^a f(x)\,dx\) |
\(\int_a^a f(x)\,dx = 0\) | |
\(\int_a^b f(x)\,dx = \int_a^c f(x)\,dx + \int_c^b f(x)\,dx\) for \(c \in [a, b]\) | |
Linear rule | \(\int (a f(x) + b g(x))\,dx = a \int f(x)\,dx + b \int g(x)\,dx\) |
Integration by substitution | \(\int_a^b f(g(u))g'(u)\ du = \int_{g(a)}^{g(b)} f(x)\,dx\) |
Integration by parts | \(\int f(x)g'(x)\,dx = f(x)g(x) - \int f'(x)g(x)\,dx\) |
Power rule 1 | \(\int x^n \,dx = \frac{x^{n+1}}{n+1} + C\) if \(n \neq -1\) |
Power rule 2 | \(\int x^{-1}\,dx = \ln |x| + C\) |
Exponential rule 1 | \(\int e^x\,dx = e^x + C\) |
Exponential rule 2 | \(\int a^x\,dx = \frac{a^x}{\ln(a)} + C\) |
Logarithm rule 1 | \(\int \ln(x)\,dx = x \ln(x) - x + C\) |
Logarithm rule 2 | \(\int \log_a(x)\,dx = \frac{x \ln(x) - x}{\ln(a)} + C\) |
Trigonometric rules | \(\int \sin(x)\,dx = -\cos(x) + C\) |
\(\int \cos(x)\,dx = \sin(x) + C\) | |
\(\int \tan(x)\,dx = -\ln |\cos(x)| + C\) | |
Piecewise rules | Split definite integral into corresponding pieces |
Use of integration
Definition
The integral symbol \(\int\) looks like an \(S\) and is meant to, to remind you that it is in essence a sum.
The \(dx\) in the integral tells you the variable of integration.
It is exactly analogous to the \(dx\) in the derivative. The f(x), or more generally, the expression multiplying the \(dx\), is known as the integrand. The \(a\) and \(b\) are the bounds (or limits) of integration.
They tell you the value of \(x\) at which to start and the value at which to stop.
Unlike the derivative, which can be represented using a variety of notation, this is the single, common, agreed-upon notation for the integral.
Well see that the derivative and the antiderivative (aka indefinite integral) are similarly related.
\[ \int_a^b f(x)dx=F(b)-F(a) \]
Example:
The integral \(\int x^5dx = \frac{x^6}{6} + C\),
so \(4\int x^5dx = \frac{2x^6}{3} + C\).
The integral \(\int x^2dx = \frac{x^3}{3} + C\),
so \(2\int x^2dx = \frac{2x^3}{3} + C\).
If \(x = g(u)\), then \(f(x) = f(g(u))\), which is a composite function. Integration by substitution says that
\[\int_{a}^{b} f(g(u))g'(u)du = \int_{g(a)}^{g(b)} f(x)dx\]
First consider the function \(f(x) = \frac{1}{2\pi}xe^{-\frac{x^2}{2}}\). This function is the probability distribution function of a standard normal distribution, multiplied by \(x\).
Its integral is \(\int \left(\frac{1}{2\pi}xe^{-\frac{x^2}{2}}\right)dx\), which happens to be the expected value of \(x\) in a standard normal distribution. We’ll see this more in Chapter 11.
This integral looks complicated, but it turns out that it reduces quite easily via substitution.
The composite function here is \(e^{-\frac{x^2}{2}}\), which we don’t know how to integrate.
But we do know how to integrate \(e^u\), so let’s set \(u = g(x) = -\frac{x^2}{2}\) and see what happens.
We can use the power rule to see that \(g'(x) = -x\), which means we can rewrite the integral as \(\int \left(\frac{-1}{2\pi}g'(x)e^{g(x)}\right)dx\).
Integration by substitution implies that this integral is the same as \(\int \left(\frac{-1}{2\pi}e^u\right)du\), which just equals \(\frac{-1}{2\pi}e^u + C = \frac{-1}{2\pi}e^{-\frac{x^2}{2}} + C\). So we’ve completed our integral.
we set \(u = g(x) = x^5\),
so \(dx = (g'(x))^{-1}du = \frac{1}{5x^4}dx\),
and thus \(\int x^4e^{x^5}dx = \int x^4e^{x^5} \frac{1}{5x^4}du = \frac{1}{5}\int e^udu\).
This is just \(\frac{1}{5}e^u + C = \frac{1}{5}e^{x^5} + C\).
With \(u = g(x) = x^3\), the integral becomes \(\int_{g(1)}^{g(3)} e^udu = \int_{1}^{27} e^udu = e^{27} - e^1\).
Integration by parts states that \[ \int f(x) g'(x) \, dx = f(x) g(x) - \int f'(x) g(x) \, dx. \]
Now for why we’d use it. Let’s start with \(\int x e^x dx\).
We set \(f(x) = x\), \(g'(x) = e^x\), and the rule gives us \(\int x e^x \, dx = x e^x - \int e^x \, dx = x e^x - e^x + C\).
For example, \(\int x^2 e^x \, dx = x^2 e^x - \int 2x e^x \, dx + C\). We can then use our previous example of integration by parts to complete the problem: \(\int x^2 e^x \, dx = x^2 e^x - 2(x e^x - e^x) + C\).
Another example: \(\int x(x+1) \frac{3}{2} \, dx\)