Year 1 Sem 2/LC Mathematics for Physicists 1B/Lecture 15
← Previous lecture · Module · Next lecture →
Summary of last lecture:
-
“Homogeneous” Equations $$\frac{dy}{dx} = f \left(\frac{x}{y}\right) \to x \frac{dv}{dx} = f(v) - v \text{ where } y(x) = xv(x)$$
-
Linear Equations $$\sum_{k=0}^{n} a_k(x) \frac{d^k y}{dx^k} = f(x) \to y(x) = \sum_{k=1}^{n} \alpha_k y_k(x) + y_{PI}(x)$$The solution is a sum of the complementary function (the general solution of the homogenous equation) and the particular integral (one solution of the inhomogeneous equation).
-
First Order Linear Equations $$\frac{dy}{dx} = P(x)y = Q(x) \to \frac{d}{dx} \left[y(x) e^{\int P(x) dx}\right] = Q(x) e^{\int P(x) dx}$$
Examples
Example I
Rewriting in the standard form:
Hence:
Multiplying through by the integrating factor:
The L.H.S is now the derivative of a product:
And integrating both sides:
Example II
Linear ODEs with Constant Coefficients
In the most general form, we have:
Firstly, we solve the homogenous equation:
Let $y(x) = e^{\lambda x}$:
This reduces to finding the zeroes of the corresponding nth order polynomial. If this polynomial has $n$ distinct zeroes, then the complimentary function is given by:
If these roots contain a repeated root, this will reduce the number of unique solutions by one. If we have any complex solutions, they wil come in complex conjugate pairs:
This therefore has independent real solutions:
Equidimensional Equations
These have coefficients which do depend on $x$, but where the coefficients are functions of $x$ such that the $n$th derivative has a coefficient of $a_n x^n$
The general form of a homogeneous equidimensional equation is:
This has a solution in the general form $y(x) = x^\lambda$. When we differentiate $k$ times with respect to $x$ we lose $k$ powers of $x$, as each differentiation decreases the power. We need to restore this therefore with a $x^k$ prefactor.
Mass on a Spring (SHM)
A mass, $m$ on a spring is displaced from its equilibrium position by some distance $x$. There is a restoring force given by $F = -kx$.
We have:
Hence: