Welcome to First Order Differential Equations!
Hello there! Today, we are diving into one of the most powerful tools in Further Mathematics: First Order Differential Equations. If you’ve ever wondered how scientists predict how a population grows, how a cup of tea cools down, or how a skydiver’s speed changes, you are looking at differential equations in action.
In this chapter, we will learn how to deal with equations that involve the rate of change (the gradient) of a function. Don't worry if this seems a bit abstract at first; we will break it down into easy, step-by-step "recipes" that anyone can follow!
What you will learn:
1. What a first-order differential equation actually is.
2. How to estimate solutions using a clever numerical trick called Euler’s Method.
3. How to find exact solutions using the Integrating Factor method.
1. The Basics: What is a First Order Differential Equation?
Normally, in math, we solve for a number (like \(x = 5\)). In differential equations, we are solving for a function.
A First Order Differential Equation is simply an equation that contains a first derivative, \( \frac{dy}{dx} \), but no higher derivatives like \( \frac{d^2y}{dx^2} \).
Real-world Analogy:
Imagine you are driving a car. A standard equation tells you where you are. A differential equation tells you how your position is changing (your speed) based on where you are or what time it is.
Key Terms:
- General Solution: A solution that includes a constant \( (+ C) \). It represents a whole family of curves.
- Particular Solution: A specific solution found using "initial conditions" (like knowing that when \(x=0, y=1\)).
Quick Takeaway:
If you see \( \frac{dy}{dx} \) in an equation, you're looking at a differential equation. If it's just the first derivative, it's "first order"!
2. Numerical Solutions: Euler’s Step-by-Step Method
Sometimes, a differential equation is too messy to solve perfectly. In these cases, we use Euler’s Method to estimate what the graph looks like, one tiny step at a time.
According to your syllabus (FPP1.3), the formula we use is:
\( y_{n+1} \approx y_n + h f(x_n, y_n) \)
Where:
- \( h \) is the step size (how far we move along the x-axis).
- \( f(x, y) \) is just the expression for the gradient, \( \frac{dy}{dx} \).
- \( (x_n, y_n) \) is your current point, and \( y_{n+1} \) is the next y-value you are trying to find.
Step-by-Step Guide to Euler's Method:
Step 1: Start with your initial point \( (x_0, y_0) \) and the given step size \( h \).
Step 2: Calculate the gradient at that point by plugging \( x_0 \) and \( y_0 \) into your equation for \( \frac{dy}{dx} \).
Step 3: Multiply that gradient by the step size \( h \). This tells you roughly how much \( y \) changes.
Step 4: Add that change to your current \( y_0 \) to get \( y_1 \).
Step 5: Move your \( x \) forward by \( h \) (so \( x_1 = x_0 + h \)).
Step 6: Repeat the process!
Common Mistake to Avoid:
Always use the previous y-value to find the new one. If you are finding \( y_2 \), you must use the gradient calculated at \( (x_1, y_1) \).
Did you know? Euler’s method is like walking in a dark room with a tiny flashlight. You can see one step ahead clearly, but the further you go without checking your map, the more likely you are to drift off course! To get more accurate, we use a smaller step size \( h \).
3. Analytical Solutions: The Integrating Factor
When we want an exact answer rather than an estimate, and the variables can't be easily separated, we use the Integrating Factor. This is used for equations in the standard form:
\( \frac{dy}{dx} + P(x)y = Q(x) \)
The Recipe for Success:
1. Rewrite: Make sure your equation looks exactly like the standard form above. (You might need to divide everything by a term to get \( \frac{dy}{dx} \) by itself).
2. Find the Integrating Factor \( I(x) \): Use the formula:
\( I(x) = e^{\int P(x) dx} \)
(Tip: Ignore the \(+ C\) during this integration step!)
3. Multiply: Multiply every single term in your equation by \( I(x) \). The left side of your equation magically becomes the derivative of \( (I(x) \cdot y) \).
4. Integrate: Your equation now looks like this:
\( \frac{d}{dx}(I(x) \cdot y) = I(x) \cdot Q(x) \)
Integrate both sides with respect to \( x \):
\( I(x) \cdot y = \int (I(x) \cdot Q(x)) dx \)
5. Solve for \( y \): Divide by \( I(x) \) to get \( y \) by itself. Don't forget your \( + C \) here!
Example Analogy:
Think of the Integrating Factor as a "Key." The left side of the equation is a locked box. By multiplying by \( I(x) \), you unlock the box, allowing you to easily integrate it.
Quick Review Box:
Standard Form: \( \frac{dy}{dx} + P(x)y = Q(x) \)Factor: \( e^{\int P(x) dx} \)
Final Step: \( y \cdot IF = \int (Q \cdot IF) dx \)
4. Working with Initial Conditions
If the question gives you a point (e.g., "given that \( y=2 \) when \( x=0 \)"), they want the Particular Solution.
1. Find your general solution first (the one with the \( + C \)).
2. Plug in the values for \( x \) and \( y \).
3. Solve for \( C \).
4. Rewrite the final equation with the actual number for \( C \).
Don't worry if this seems tricky at first! The most common error is forgetting to multiply the right-hand side (\( Q(x) \)) by the integrating factor. If you remember to do it to every term, you'll be fine!
Summary Checklist
Before you tackle practice questions, make sure you can:
- [ ] Identify if an equation is First Order.
- [ ] Set up a table for Euler's Method and calculate at least two steps.
- [ ] Identify \( P(x) \) and \( Q(x) \) for the Integrating Factor method.
- [ ] Use initial conditions to find the value of the constant \( C \).
Great job! You've just covered the core mechanics of First Order Differential Equations. Keep practicing the "recipe" steps, and they will become second nature!