Differential Equations
Hi students! š Welcome to one of the most powerful and fascinating areas of A-level Further Mathematics. In this lesson, we'll explore differential equations - mathematical equations that describe how things change over time and space. You'll learn to solve both linear and non-linear ordinary differential equations (ODEs), master first and second-order methods, understand the difference between homogeneous and non-homogeneous solutions, and tackle boundary value problems. By the end of this lesson, you'll have the tools to model real-world phenomena like population growth, radioactive decay, and oscillating springs! š
Understanding Differential Equations
A differential equation is simply an equation that contains derivatives. Think of it as a mathematical way to describe how one quantity changes in relation to another. For example, if you're driving a car and your speedometer shows how your position changes over time, a differential equation could describe how your acceleration (the rate of change of speed) affects your velocity.
The order of a differential equation is determined by the highest derivative it contains. A first-order differential equation contains only first derivatives like $\frac{dy}{dx}$, while a second-order equation contains second derivatives like $\frac{d^2y}{dx^2}$.
Let's look at some real examples! The equation $\frac{dy}{dx} = ky$ describes exponential growth or decay, where $k$ is a constant. If $k > 0$, we get exponential growth (like bacterial populations), and if $k < 0$, we get exponential decay (like radioactive materials). The half-life of Carbon-14 is approximately 5,730 years, and this decay follows exactly this type of differential equation! š
Linear vs Non-linear: A differential equation is linear if the dependent variable and all its derivatives appear to the first power only, and there are no products of the dependent variable with its derivatives. For example, $\frac{dy}{dx} + 2y = x$ is linear, but $\frac{dy}{dx} + y^2 = x$ is non-linear because of the $y^2$ term.
First-Order Differential Equations
First-order differential equations have the general form $\frac{dy}{dx} = f(x,y)$. There are several methods to solve these, and choosing the right method depends on the specific form of your equation.
Separable Equations: These are the easiest type to solve! If you can write your equation as $\frac{dy}{dx} = g(x)h(y)$, then you can separate variables by writing $\frac{dy}{h(y)} = g(x)dx$ and integrate both sides.
For example, let's solve $\frac{dy}{dx} = 3xy$. We separate: $\frac{dy}{y} = 3x dx$. Integrating both sides: $\ln|y| = \frac{3x^2}{2} + C$. Therefore, $y = Ae^{\frac{3x^2}{2}}$ where $A = e^C$.
Linear First-Order Equations: These have the form $\frac{dy}{dx} + P(x)y = Q(x)$. We use an integrating factor method! The integrating factor is $\mu(x) = e^{\int P(x)dx}$. Multiply the entire equation by this factor, and the left side becomes the derivative of $\mu(x)y$.
Consider the equation $\frac{dy}{dx} + 2y = e^{-x}$. Here, $P(x) = 2$, so our integrating factor is $\mu(x) = e^{2x}$. Multiplying through: $e^{2x}\frac{dy}{dx} + 2e^{2x}y = e^x$. The left side is $\frac{d}{dx}(e^{2x}y)$, so we get $e^{2x}y = \int e^x dx = e^x + C$. Therefore, $y = e^{-x} + Ce^{-2x}$.
Second-Order Differential Equations
Second-order differential equations contain second derivatives and have the general form $\frac{d^2y}{dx^2} = f(x, y, \frac{dy}{dx})$. These equations are crucial for modeling physical systems like springs, pendulums, and electrical circuits! š§
Homogeneous Linear Equations: These have the form $ay'' + by' + cy = 0$ where $a$, $b$, and $c$ are constants. The key insight is that solutions have the form $y = e^{rx}$ for some value of $r$.
Substituting $y = e^{rx}$ into our equation gives us the characteristic equation: $ar^2 + br + c = 0$. The nature of the roots determines our solution:
- Two distinct real roots $r_1$ and $r_2$: $y = Ae^{r_1x} + Be^{r_2x}$
- Repeated real root $r$: $y = (A + Bx)e^{rx}$
- Complex roots $r = \alpha \pm \beta i$: $y = e^{\alpha x}(A\cos(\beta x) + B\sin(\beta x))$
Let's solve $y'' - 5y' + 6y = 0$. The characteristic equation is $r^2 - 5r + 6 = 0$, which factors as $(r-2)(r-3) = 0$. So $r_1 = 2$ and $r_2 = 3$, giving us $y = Ae^{2x} + Be^{3x}$.
Non-homogeneous Linear Equations: These have the form $ay'' + by' + cy = f(x)$ where $f(x) \neq 0$. The general solution is the sum of the homogeneous solution (called the complementary function) and a particular solution.
Finding particular solutions requires educated guessing based on the form of $f(x)$:
- If $f(x) = polynomial$, try a polynomial of the same degree
- If $f(x) = e^{ax}$, try $Ae^{ax}$ (unless $e^{ax}$ is already in the homogeneous solution)
- If $f(x) = \sin(ax)$ or $\cos(ax)$, try $A\sin(ax) + B\cos(ax)$
Boundary Value Problems
Unlike initial value problems where we're given the value of the function and its derivatives at a single point, boundary value problems specify conditions at different points. These are extremely important in engineering and physics! šļø
Consider a vibrating string fixed at both ends. If the string has length $L$, we might have boundary conditions $y(0) = 0$ and $y(L) = 0$, meaning the string is fixed at both endpoints.
For the equation $y'' + \lambda y = 0$ with boundary conditions $y(0) = 0$ and $y(\pi) = 0$, we need to find values of $\lambda$ (called eigenvalues) that allow non-trivial solutions.
The general solution is:
- If $\lambda < 0$: $y = Ae^{\sqrt{-\lambda}x} + Be^{-\sqrt{-\lambda}x}$
- If $\lambda = 0$: $y = Ax + B$
- If $\lambda > 0$: $y = A\cos(\sqrt{\lambda}x) + B\sin(\sqrt{\lambda}x)$
Applying our boundary conditions, only the case $\lambda > 0$ gives non-trivial solutions, specifically when $\sqrt{\lambda} = n$ for positive integers $n$. This gives us eigenvalues $\lambda_n = n^2$ and corresponding solutions $y_n = \sin(nx)$.
Applications and Real-World Examples
Differential equations appear everywhere in science and engineering! The famous SIR model used to predict the spread of diseases like COVID-19 uses a system of differential equations. During the 2020 pandemic, epidemiologists used variations of these models to predict infection rates and plan public health responses.
In physics, Newton's second law $F = ma$ is actually the differential equation $m\frac{d^2x}{dt^2} = F(x,t)$. This describes everything from falling objects to planetary motion! š
The RC circuit in electronics follows the differential equation $RC\frac{dV}{dt} + V = V_0$, where $V$ is voltage, $R$ is resistance, and $C$ is capacitance. This explains how capacitors charge and discharge in electronic devices.
Conclusion
students, you've now mastered the fundamental techniques for solving differential equations! You can handle first-order equations using separation of variables and integrating factors, tackle second-order homogeneous and non-homogeneous linear equations using characteristic equations and particular solutions, and solve boundary value problems that model real physical systems. These powerful mathematical tools will serve you well in advanced mathematics, physics, and engineering applications.
Study Notes
⢠Order: Determined by highest derivative present (first-order has $\frac{dy}{dx}$, second-order has $\frac{d^2y}{dx^2}$)
⢠Linear: Dependent variable and derivatives appear to first power only, no products
⢠Separable equations: Form $\frac{dy}{dx} = g(x)h(y)$, solve by separating variables and integrating
⢠First-order linear: $\frac{dy}{dx} + P(x)y = Q(x)$, use integrating factor $\mu(x) = e^{\int P(x)dx}$
⢠Characteristic equation: For $ay'' + by' + cy = 0$, substitute $y = e^{rx}$ to get $ar^2 + br + c = 0$
⢠Homogeneous solution types:
- Two distinct real roots: $y = Ae^{r_1x} + Be^{r_2x}$
- Repeated root: $y = (A + Bx)e^{rx}$
- Complex roots $\alpha \pm \beta i$: $y = e^{\alpha x}(A\cos(\beta x) + B\sin(\beta x))$
⢠Non-homogeneous: General solution = homogeneous solution + particular solution
⢠Boundary value problems: Conditions specified at different points, often lead to eigenvalue problems
⢠Applications: Population growth ($\frac{dy}{dt} = ky$), radioactive decay, oscillations, electrical circuits
