Introduction to Second Order Differential Equations

Welcome to one of the most powerful tools in Further Mathematics! If you’ve already studied first-order differential equations (where you only deal with \(\frac{dy}{dx}\)), you’re ready to level up. Second order differential equations involve the second derivative, \(\frac{d^2y}{dx^2}\).

Why should you care? Because these equations describe how the world accelerates. They are used by engineers to design car suspension systems, by architects to ensure skyscrapers don’t wobble too much in the wind, and by physicists to understand how light and sound waves travel. Don't worry if it looks intimidating at first—once you learn the "recipe" for solving them, it becomes a very logical step-by-step process!


1. The Anatomy of the Equation

In this course, we focus on linear second order differential equations with constant coefficients. They generally look like this:

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

Where \(a\), \(b\), and \(c\) are just normal numbers (constants).

The Two-Part Mission

To find the full "General Solution," we have to solve two smaller puzzles:

  1. The Complementary Function (CF): This is what happens when we pretend the right side is zero (\(f(x) = 0\)).
  2. The Particular Integral (PI): This is a specific solution that accounts for the actual function on the right side (\(f(x)\)).

General Solution = CF + PI

Analogy: Think of the CF as the natural way a guitar string vibrates on its own, and the PI as the way it moves because you are continuously plucking it.


2. Part 1: Finding the Complementary Function (CF)

To find the CF, we solve the Homogeneous Equation: \( a\frac{d^2y}{dx^2} + b\frac{dy}{dx} + cy = 0 \).

The Step-by-Step Process:

Step 1: Write the Auxiliary Equation (AE).
Replace the derivatives with powers of a new variable, \(m\):
\( am^2 + bm + c = 0 \)

Step 2: Solve the Quadratic.
Use the quadratic formula or factorize to find the roots \(m_1\) and \(m_2\). Your CF depends entirely on what kind of numbers these roots are.

The Three Possible "Root Paths":

Case 1: Two distinct real roots (\(m_1 \neq m_2\))
\( \text{CF} = Ae^{m_1x} + Be^{m_2x} \)

Case 2: One repeated real root (\(m_1 = m_2 = m\))
\( \text{CF} = (A + Bx)e^{mx} \)
Memory Trick: If the roots are "boring" and the same, we add an \(x\) to the second term to spice things up!

Case 3: Complex roots (\(m = p \pm iq\))
\( \text{CF} = e^{px}(A \cos qx + B \sin qx) \)
Note: \(p\) is the real part, and \(q\) is the imaginary part.

Quick Review: The CF always has two arbitrary constants, \(A\) and \(B\).


3. Part 2: Finding the Particular Integral (PI)

Now we look at the right-hand side, \(f(x)\). We need to "guess" a form for the PI based on what \(f(x)\) looks like. We use the letter \(y_{\lambda}\) or \(y_p\) for this.

The "Guessing" Table:

- If \(f(x)\) is a Polynomial (e.g., \(4x^2\)): Guess \(y = \lambda x^2 + \mu x + \nu\)
- If \(f(x)\) is an Exponential (e.g., \(3e^{5x}\)): Guess \(y = \lambda e^{5x}\)
- If \(f(x)\) is Sine/Cosine (e.g., \(2\sin 3x\)): Guess \(y = \lambda \sin 3x + \mu \cos 3x\)

Common Mistake to Avoid: If your \(f(x)\) is just \(2 \sin 3x\), your guess must include both \(\sin\) and \(\cos\). They are a package deal!

The "Collision" Rule:

If your guess for the PI is already part of your CF, it won't work. You must multiply your guess by \(x\). If it still "collides," multiply by \(x^2\).

Key Takeaway: The PI is found by substituting your "guess" back into the original differential equation and solving for the Greek letters (\(\lambda, \mu\)).


4. Putting it Together: The General Solution

Once you have your CF and your PI, you simply add them together.

Example:
If your CF is \(Ae^{x} + Be^{2x}\) and your PI is \(3x + 1\),
The General Solution is: \( y = Ae^{x} + Be^{2x} + 3x + 1 \)

Did you know? This is called the Principle of Superposition. It means that complex motions can be broken down into simpler, independent parts that just add up!


5. Finding the Particular Solution

Sometimes the question gives you Boundary Conditions (like "when \(x=0, y=5\)"). This allows you to find the specific values for \(A\) and \(B\).

Step-by-step for constants:

  1. Find the General Solution first (\(y = \text{CF} + \text{PI}\)).
  2. Differentiate it to find an expression for \(\frac{dy}{dx}\).
  3. Plug in the given values for \(x, y,\) and \(\frac{dy}{dx}\).
  4. Solve the resulting simultaneous equations for \(A\) and \(B\).

Important Note: Never try to find \(A\) and \(B\) using only the CF. You must wait until you have the full General Solution (CF + PI) before plugging in your boundary conditions.


Summary Checklist

- [ ] Did I find the Auxiliary Equation roots?
- [ ] Did I choose the correct CF form (Distinct, Repeated, or Complex)?
- [ ] Does my PI guess match the form of \(f(x)\)?
- [ ] Did I check for collisions between the CF and PI?
- [ ] Is my final answer \(y = \text{CF} + \text{PI}\)?
- [ ] (If needed) Did I use boundary conditions to find \(A\) and \(B\)?

Don't worry if this seems like a lot of steps! Like playing a musical instrument or a video game, the "combos" become second nature with a little bit of practice. You've got this!