Welcome to the World of Differential Equations!

In your standard A-Level Maths, you’ve spent a lot of time solving equations to find a number (like \(x = 5\)). In Further Mathematics, we level up. Differential Equations (DEs) are equations where the "unknown" isn't a single number, but an entire function. These equations involve derivatives, which represent how things change.

Why does this matter? Because almost everything in the real world—from how a virus spreads to how a bridge vibrates—is described by how it changes. By the end of this chapter, you’ll be able to predict the future of these systems! Don't worry if it looks like "alphabet soup" at first; we will break it down step-by-step.


1. First-Order Differential Equations: The Integrating Factor

The first type of equation you need to master is the linear first-order DE. It always looks like this:

\(\frac{dy}{dx} + P(x)y = Q(x)\)

The Goal: Find a function for \(y\) that satisfies this relationship.

How to solve it: The "Magic Multiplier"

We use something called an Integrating Factor (IF). Think of this as a "mathematical key" that unlocks the left side of the equation so we can integrate it easily.

Step 1: Ensure the equation is in the standard form (the \(\frac{dy}{dx}\) must be by itself with no coefficient).
Step 2: Find the Integrating Factor, \(I(x)\), using the formula: \(I(x) = e^{\int P(x) dx}\).
Step 3: Multiply every single term in your equation by this \(I(x)\).
Step 4: The left side of your equation now magically becomes \(\frac{d}{dx}(I(x) \cdot y)\).
Step 5: Integrate both sides and solve for \(y\).

Quick Review: General vs. Particular Solutions
- A General Solution includes a constant \(+ C\). It represents a whole "family" of possible curves.
- A Particular Solution is found when you are given a specific point (e.g., "when \(x=0, y=1\)"). You use these numbers to find the exact value of \(C\).

Common Mistake: Forgetting to integrate \(P(x)\) before putting it in the power of \(e\). Always do the side-calculation for \(\int P(x) dx\) first!

Key Takeaway: If you can get the equation into the form \(\frac{dy}{dx} + P(x)y = Q(x)\), the Integrating Factor \(e^{\int P(x) dx}\) will always get you to the answer.


2. Second-Order Homogeneous Equations

Now we move to equations involving the second derivative (\(y''\)). A homogeneous equation is one that equals zero:

\(a\frac{d^2y}{dx^2} + b\frac{dy}{dx} + cy = 0\)

The Auxiliary Equation

To solve this, we guess that the solution looks like \(y = e^{mx}\). This leads us to the Auxiliary Equation:

\(am^2 + bm + c = 0\)

This is just a quadratic equation! You solve it for \(m\) using the quadratic formula or factoring. The discriminant (\(b^2 - 4ac\)) tells you what the solution will look like:

  • Case 1: Two distinct real roots (\(m_1\) and \(m_2\))
    Solution: \(y = Ae^{m_1x} + Be^{m_2x}\)
  • Case 2: One repeated real root (\(m\))
    Solution: \(y = (A + Bx)e^{mx}\)
  • Case 3: Complex roots (\(m = \alpha \pm i\beta\))
    Solution: \(y = e^{\alpha x}(A\cos(\beta x) + B\sin(\beta x))\)

Did you know? Complex roots (Case 3) always lead to oscillations (sines and cosines). This is why complex numbers are so important in physics—they describe things that vibrate or swing!

Key Takeaway: Solving a 2nd order homogeneous DE is basically just solving a quadratic equation and picking the right "template" for the answer.


3. Second-Order Non-Homogeneous Equations

What if the equation doesn't equal zero?
\(a\frac{d^2y}{dx^2} + b\frac{dy}{dx} + cy = f(x)\)

The solution now has two parts: GS = CF + PI.

Part A: The Complementary Function (CF)

Ignore \(f(x)\) for a moment and set the equation to zero. Solve it exactly like the homogeneous equations in the previous section. This result is your CF.

Part B: The Particular Integral (PI)

Now we look at \(f(x)\) and "guess" a form for the PI. Here is a handy guide:

  • If \(f(x)\) is a polynomial (like \(x^2\)), try \(y = px^2 + qx + r\).
  • If \(f(x)\) is an exponential (like \(e^{kx}\)), try \(y = \lambda e^{kx}\).
  • If \(f(x)\) is trigonometric (like \(\sin(kx)\)), try \(y = p\cos(kx) + q\sin(kx)\).

Memory Aid: "CF is the base, PI is the extra." You add them together to get the full General Solution.

Key Takeaway: Always find the CF first! If your "guess" for the PI is already part of the CF, multiply your guess by \(x\) to make it work.


4. Simple Harmonic Motion (SHM) and Damping

Differential equations are the "language" of movement. One of the most famous equations is for Simple Harmonic Motion:

\(\frac{d^2x}{dt^2} = -\omega^2x\)

This describes a perfect, never-ending wiggle (like a pendulum with no air resistance). The solution is always: \(x = A\cos(\omega t) + B\sin(\omega t)\).

Adding Friction: Damped Oscillations

In the real world, things slow down because of resistance. We model this by adding a term proportional to velocity (\(\frac{dx}{dt}\)):

\(a\ddot{x} + b\dot{x} + cx = 0\)

The behavior depends on how much "damping" (friction) there is:

  1. Light Damping: The system oscillates but the "swings" get smaller over time. (Complex roots).
  2. Critical Damping: The system returns to equilibrium as fast as possible without overshooting. (Repeated roots).
  3. Heavy Damping: The system is so "thick" with friction that it slowly creeps back to the start without any oscillation at all. (Distinct real roots).

Analogy: Imagine a swinging door. Light damping makes it swing back and forth several times before closing. Critical damping makes it swing shut perfectly in one movement. Heavy damping is like trying to close a door through thick honey—it takes forever.


5. Modelling and Coupled Equations

Sometimes, two variables depend on each other. For example, in a predator-prey model, the number of rabbits depends on the number of foxes, and vice versa. This gives us coupled first-order equations:

\(\frac{dx}{dt} = ax + by\)
\(\frac{dy}{dt} = cx + dy\)

How to solve them:

The trick is Elimination. You rearrange one equation to make one variable the subject, then substitute it into the other equation. This turns two "simple" equations into one second-order differential equation, which you already know how to solve!

Encouraging Phrase: Modelling is where the math gets "real." If you find the context confusing, focus on the algebra first—the steps to solve the equations are always the same!

Key Takeaway: To solve coupled equations, turn them into one second-order equation. Once you find \(x\), you can easily find \(y\).


Final Summary Review

  • 1st Order: Use the Integrating Factor \(e^{\int P dx}\).
  • 2nd Order Homogeneous: Solve the Auxiliary quadratic equation.
  • 2nd Order Non-Homogeneous: GS = CF + PI.
  • SHM: \(\ddot{x} = -\omega^2x\).
  • Damping: Light (oscillates), Critical (fastest return), Heavy (slow crawl).
  • Coupled: Use elimination to create a 2nd order DE.