Welcome to Unit P4: Mastering Integration!

Hello future mathematician! This chapter, Integration, is one of the most powerful tools in Pure Mathematics. If Differentiation was about finding the rate of change (like speed from distance), Integration is the reverse process: finding the original quantity from its rate of change (like distance from speed).

Don't worry if this topic seemed intimidating in previous units. In P4, we tackle the more advanced techniques, but we’ll break them down step-by-step. By the end of this unit, you will be a master of integrating complex functions!


Review: The Foundations of Integration

Before diving into the advanced methods, let’s quickly refresh the basic rules of Indefinite Integrals.

Key Concept: The Constant of Integration

When you differentiate a constant, the result is zero. Therefore, when you integrate, you must always add the Constant of Integration, \(+C\). This represents the unknown starting point.

Example: If the gradient function is \(3x^2\), the original function could be \(x^3\), \(x^3 + 5\), or \(x^3 - 100\). They all differentiate to \(3x^2\). Hence, \(\int 3x^2 dx = x^3 + C\).

Standard Integrals You Must Know (P3 Review)
  • Power Rule: \(\int x^n dx = \frac{x^{n+1}}{n+1} + C\) (where \(n \neq -1\))
  • The Exception: \(\int \frac{1}{x} dx = \ln|x| + C\)
  • Exponential: \(\int e^{kx} dx = \frac{1}{k} e^{kx} + C\)
  • Trigonometric:
    \(\int \sin(kx) dx = -\frac{1}{k} \cos(kx) + C\)
    \(\int \cos(kx) dx = \frac{1}{k} \sin(kx) + C\)
    \(\int \sec^2(kx) dx = \frac{1}{k} \tan(kx) + C\)

Quick Review Box: The Linear Function Rule

If you have a linear function inside an integral, \(f(ax+b)\), you integrate \(f\) normally and then divide by \(a\) (the coefficient of \(x\)).
Example: \(\int (2x+3)^5 dx = \frac{(2x+3)^6}{6 \times 2} + C = \frac{1}{12}(2x+3)^6 + C\)


1. Integration by Substitution

When do we use it? When the function looks like the result of the Chain Rule in differentiation—meaning one part of the function is the derivative of another part.

Analogy: Substitution is like exchanging a complicated foreign currency for your familiar home currency before shopping. You simplify the function until you can use standard rules.

Step-by-Step Process for Substitution
  1. Identify \(u\): Choose a part of the integrand to define as \(u\). Typically, pick the most complicated part, especially the expression inside brackets, under a root, or as the exponent.
  2. Differentiate \(u\): Find \(\frac{du}{dx}\).
  3. Isolate \(dx\): Rearrange the differential equation to find an expression for \(dx\) in terms of \(du\) and \(dx\). (Often written as \(dx = \frac{1}{du/dx} du\)).
  4. Substitute: Replace all instances of \(x\) and \(dx\) in the original integral with \(u\) and \(du\).
  5. Integrate: Integrate the new (and hopefully much simpler!) expression with respect to \(u\).
  6. Substitute Back: Replace \(u\) with the original expression in terms of \(x\). Don't forget the \(+C\).

Crucial Point for Definite Integrals: Changing Limits

If you are calculating a definite integral \(\int_a^b f(x) dx\), you must change the limits \(a\) and \(b\) into corresponding \(u\) limits (using your relationship \(u = g(x)\)). If you change the limits, you do not need to substitute back to \(x\) at the end.

Did you know? Substitution is often used with trigonometric identities, such as using \(u = \sin x\) or \(u = \cos x\) when dealing with powers of sin and cos.

Key Takeaway: Substitution turns a hard integral into an easy integral by recognizing a function-derivative pair inside the expression.


2. Integration by Parts (IBP)

When do we use it? When integrating a product of two different functions (e.g., \(x^2 \ln x\), \(x e^{3x}\), or \(x \sin x\)). It is the reverse of the Product Rule for differentiation.

The formula for Integration by Parts is:

\[ \int u \frac{dv}{dx} dx = uv - \int v \frac{du}{dx} dx \]

Step-by-Step: Choosing \(u\) and \(\frac{dv}{dx}\)

The success of IBP depends entirely on which function you choose as \(u\) and which you choose as \(\frac{dv}{dx}\).

  • The goal is to make the new integral, \(\int v \frac{du}{dx} dx\), easier than the original integral.
  • We need to be able to differentiate \(u\) and integrate \(\frac{dv}{dx}\).

Memory Aid: The LIATE Rule

Use this rule to decide which term should be \(u\). Choose the function that appears earliest in this list to be \(u\):

L: Logarithmic functions (e.g., \(\ln x\))

I: (Inverse Trig Functions, often not strictly P4, but useful)

A: Algebraic functions (Polynomials, e.g., \(x^2\), \(3x\))

T: Trigonometric functions (e.g., \(\sin x\), \(\cos x\))

E: Exponential functions (e.g., \(e^{4x}\))

Whatever is left becomes \(\frac{dv}{dx}\).

Example: Integrating \(\int x \sin x dx\).
\(x\) is Algebraic (A), \(\sin x\) is Trigonometric (T). Since A comes before T in LIATE, we set:
\(u = x \implies \frac{du}{dx} = 1\)
\(\frac{dv}{dx} = \sin x \implies v = -\cos x\)

Special Case: Integrating Logarithmic Functions

How do you integrate \(\int \ln x dx\)? It looks like only one function! You use IBP by treating it as a product of \(\ln x\) and 1.

Set \(u = \ln x\) (L comes first) and \(\frac{dv}{dx} = 1\).

  • \(u = \ln x \implies \frac{du}{dx} = \frac{1}{x}\)
  • \(\frac{dv}{dx} = 1 \implies v = x\)

Common Mistake: Forgetting to integrate the last term, \(\int v \frac{du}{dx} dx\), after applying the first part of the formula, \(uv\).

Key Takeaway: Integration by Parts requires clever selection of \(u\) using LIATE to simplify the subsequent integral.


3. Integration Using Partial Fractions

When do we use it? When integrating a rational function (a fraction where the numerator and denominator are polynomials) where the degree of the numerator is less than the degree of the denominator, and the denominator can be factorised.

Prerequisite: You need to be comfortable with the three main types of partial fraction decomposition (distinct linear factors, repeated linear factors, and irreducible quadratic factors).

The Integration Benefit

The beauty of partial fractions is that they break a complicated fraction into simpler fractions that can be integrated using the standard \(\ln|x|\) rule or the Power Rule.

General form of result:

If you decompose \(\frac{P(x)}{(ax+b)(cx+d)}\) into \(\frac{A}{ax+b} + \frac{B}{cx+d}\), the integration becomes:

\[ \int \left( \frac{A}{ax+b} + \frac{B}{cx+d} \right) dx = \frac{A}{a} \ln|ax+b| + \frac{B}{c} \ln|cx+d| + C \]

Crucial Steps:

  1. Check Degree: If the numerator degree is greater than or equal to the denominator degree, perform algebraic long division first (or synthetic division) to get a polynomial part plus a proper fraction.
  2. Decompose: Find the constants \(A, B, C\dots\) using the covering up method or simultaneous equations.
  3. Integrate Term by Term: Apply the standard integration rules, remembering to divide by the coefficient of \(x\) inside the bracket.

Don't Panic! Dealing with partial fractions is algebraic skill applied before integration. If you get the constants right, the integration part is straightforward logarithmic integration.

Key Takeaway: Partial fractions simplify rational functions into terms that integrate directly to logarithmic or simple power functions.


4. Applications of Integration

Integration is not just a theoretical exercise; it is used extensively to solve real-world problems involving accumulation, area, and change.

A) Solving Separable Differential Equations

A Differential Equation (DE) is an equation involving derivatives (like \(\frac{dy}{dx}\)). In P4, we focus on First-Order Separable DEs.

Separable means you can rearrange the equation so that all terms involving \(y\) are on one side with \(dy\), and all terms involving \(x\) are on the other side with \(dx\).

Step-by-Step Solving Separable DEs
  1. Separate the Variables: Given \(\frac{dy}{dx} = f(x)g(y)\), rearrange to:
    \[ \int \frac{1}{g(y)} dy = \int f(x) dx \]
  2. Integrate Both Sides: Calculate the indefinite integral of both sides. Crucially, only add ONE constant of integration (\(C\)), usually to the \(x\) side.
  3. Find the Particular Solution (if required): If given initial conditions (e.g., \(y=5\) when \(x=0\)), substitute these values into your solution to find the value of \(C\).
  4. Express \(y\) (if required): Try to make \(y\) the subject of the final equation.

Warning about Logarithms: When integrating terms like \(\frac{1}{y}\), you get \(\ln|y|\). If solving for \(y\), remember that \(e^{\ln|y|} = |y|\) and \(e^{A+C} = e^A e^C\). We often replace \(e^C\) with a single constant \(A\) (where \(A > 0\)).

B) Area and Volume of Revolution

1. Finding the Area under a Curve

The area \(A\) between a curve \(y=f(x)\) and the \(x\)-axis between limits \(x=a\) and \(x=b\) is given by the definite integral:

\[ A = \int_a^b y dx \]

2. Volume of Revolution (Around the x-axis)

When the area under a curve is rotated \(360^\circ\) around the \(x\)-axis, it generates a solid of revolution. The volume \(V\) is calculated using:

\[ V = \pi \int_a^b y^2 dx \]

Tip: Make sure you square the entire function \(y\) before you integrate.

3. Volume of Revolution (Around the y-axis)

If the area is rotated around the \(y\)-axis, the formula changes. You must express \(x\) in terms of \(y\) (i.e., \(x = g(y)\)) and use \(y\) limits \(c\) and \(d\):

\[ V = \pi \int_c^d x^2 dy \]

Key Takeaway: Applications use definite integration to sum up small quantities (like tiny slices of volume or tiny changes in a rate) over a specific range.



Final Encouragement

You have now covered all the essential techniques for P4 Integration: Substitution, Partial Fractions, and Integration by Parts, along with their key applications. Integration is a skill that improves with practice. Keep revisiting the LIATE rule and the substitution steps, and you will find these complex problems becoming routine!