Introduction to Applying Differential Equations

Welcome! In this chapter, we are going to explore how we use differentiation to solve real-world problems. Differential equations sound intimidating, but they are simply equations that describe how one thing changes in relation to another. Whether it’s how fast a balloon is inflating or how a population grows, differential equations are the language of change. We will look at how to connect different rates of change, how to estimate small changes, and how to use a clever step-by-step method called Euler’s Method to solve equations that are too tricky to solve normally.

1. Connected Rates of Change

Imagine you are blowing up a spherical balloon. As you blow air in, the volume increases. But as the volume increases, the radius of the balloon also gets bigger. These two "rates of change" (the rate the volume changes and the rate the radius changes) are connected.

The Secret Ingredient: The Chain Rule

To connect two different rates, we use the Chain Rule. If we want to know how something (\(p\)) changes over time (\(t\)), but we only know how it relates to another variable (\(v\)), we write:
\( \frac{dp}{dt} = \frac{dp}{dv} \times \frac{dv}{dt} \)

Step-by-Step: Solving a Rate Problem

1. Identify the variables: What is changing? (e.g., Pressure \(p\), Volume \(v\), and Time \(t\)).
2. Write down what you know: Look for phrases like "rate of change of volume" which means \( \frac{dv}{dt} \).
3. Find the relationship: You need an equation connecting the two main variables, like \( p = kv^{4/3} \).
4. Differentiate: Find the derivative (e.g., \( \frac{dp}{dv} \)).
5. Link them up: Use the Chain Rule formula to find the missing rate.

Example: If \( p = kv^{4/3} \), then \( \frac{dp}{dv} = \frac{4}{3}kv^{1/3} \). To find the rate of change of pressure over time, you would multiply this by \( \frac{dv}{dt} \).

Quick Review: Think of the Chain Rule like a set of gears. If gear A turns gear B, and gear B turns gear C, you can calculate how fast gear C turns based on gear A!

2. Small Changes and Approximations

Sometimes we don't need to know exactly how much a function changes; we just need a very good estimate. If we change \(x\) by a tiny amount (which we call \( \delta x \)), how much will \(y\) change (\( \delta y \))?

The Formula

For a small change in \(x\), the change in \(y\) is approximately:
\( \delta y \approx \frac{dy}{dx} \times \delta x \)

Why does this work?

If you zoom in far enough on any smooth curve, it starts to look like a straight line! We use the gradient (the slope) at that specific point to guess where the next point will be.

Example: If you have a height formula \( h = 20x^{-2} \), and you change \(x\) by a tiny amount \( \delta x \), you first find \( \frac{dh}{dx} = -40x^{-3} \). Then, \( \delta h \approx (-40x^{-3}) \times \delta x \).

Common Mistake: Students often forget that this formula only works for small changes. If \( \delta x \) is a large number, this approximation becomes very inaccurate!

Key Takeaway: Small change in result \( \approx \) Gradient \( \times \) Small change in input.

3. Euler’s Step-by-Step Method

Sometimes, we are given a differential equation like \( \frac{dy}{dx} = f(x, y) \) that is impossible to solve using standard algebra. Euler's Method is a numerical "cheat code" that lets us find the path of the curve one tiny step at a time.

How it Works (The "Walking" Analogy)

Imagine you are walking in a dark forest. You have a compass that tells you the slope of the ground at your current spot.
1. You look at your current position \( (x_n, y_n) \).
2. You check the slope at that point using the equation \( f(x_n, y_n) \).
3. You take a small step forward (width \(h\)) in that direction.
4. You mark your new position and repeat.

The Math Formulas

To find your next \(x\) coordinate:
\( x_{n+1} = x_n + h \)
To find your next \(y\) coordinate:
\( y_{n+1} \approx y_n + h \times f(x_n, y_n) \)

Step-by-Step Guide

1. Start with your initial values \( x_0 \) and \( y_0 \).
2. Choose (or use the given) step size \( h \).
3. Calculate the gradient at your current point by plugging \( x_n \) and \( y_n \) into the differential equation.
4. Multiply that gradient by the step size \( h \).
5. Add that result to your current \( y_n \) to get your new \( y_{n+1} \).
6. Repeat until you reach the target \(x\) value.

Did you know? Euler’s method is the foundation for how computers simulate physics in video games! It calculates where an object should be in the next frame based on its current speed and direction.

Key Takeaway: Euler's method uses (New Value) = (Old Value) + (Step Size \(\times\) Slope). Don't worry if it feels repetitive; it is designed to be a process! Using a table to keep track of your \(x\) and \(y\) values is a great way to avoid mistakes.

Summary Checklist

- Connected Rates: Did I use the Chain Rule? \( \frac{dy}{dt} = \frac{dy}{dx} \cdot \frac{dx}{dt} \)
- Small Changes: Did I use the gradient at the starting point? \( \delta y \approx \frac{dy}{dx} \cdot \delta x \)
- Euler's Method: Did I keep my steps consistent? \( y_{n+1} = y_n + h \cdot f(x_n, y_n) \)

You've got this! Practice these steps with a few problems, and you'll see that "Applications of Differential Equations" is really just about following the map of change.