MTH2004 Differential Equations - Cheat Sheet
Made by William Fayers :)
Make sure to read this before the exam - I recommend completing a practice test with it so you learn where everything is and can ask if you don’t understand something. I might’ve made mistakes! There’s a sudoku at the end in case you finish early, and the cheat sheet is generated based on analysis of past exams and given material.
Small warning: the following makes the most sense if you read it all first. It also assumes you have knowledge from the linear algebra module (namely solving simultaneous equations and finding a determinant) - make sure you know this!
Possible Question Topics and their Explanations
0. Useful “Known” Facts
1. Classification of Differential Equations
Given that it’s fully simplified…
- Order: The highest derivative present in the equation.
- Example: is a second-order DE.
- Linearity:
- Linear: Can be expressed in the form .
- Non-linear: Contains products (or powers) of the function, or its derivatives.
- Constant vs. Non-Constant Coefficients:
- Constant: Coefficients of the DE are constants, e.g. .
- Cauchy-Euler: Coefficients of the DE aren’t constant and are in the form .
- Ordinary vs. Partial:
- Ordinary Differential Equations (ODEs): Involves functions of a single variable and their derivatives.
- Partial Differential Equations (PDEs): Involves functions of multiple variables and their partial derivatives - see section 4.
- Homogeneous vs. Non-Homogeneous:
- Homogeneous: .
- Non-Homogeneous: .
- Autonomous vs. Non-Autonomous:
- Autonomous: Slope function, e.g. , does not rely on the independent variable, i.e. .
- Non-Autonomous: Slope function, e.g. , relies on the independent variable, i.e. , for example relying on time.
2. Critical Points
- Finding Critical Points:
- Set the first derivative and solve for .
- Stability:
- Stable: If changes from positive to negative, or , or two trajectories on a phase portrait go towards the critical point.
- Unstable: If changes from negative to positive, or , or two trajectories on a phase portrait go away from the critical point.
- Phase Portrait:
- Definition: Graphical representation of trajectories to help find stability of critical points.
- Method:
- Divide the -plane into regions separated by the critical points, e.g. for then three regions: , , and .
- Declare each region as increasing or decreasing, i.e. is decreasing and is increasing.
- The phase diagram then represents this graphically: arbitrary curves going up or down in each region. These are asymptotic towards the critical points (since the critical points are neither increasing or decreasing by definition).
3. Solving Differential Equations
- Representing Solutions:
- Can use a direction graph to represent a family of solutions, e.g. .
- Plot trivial solution, , then plot other values of as arrows.
- Exact Solutions:
- Use boundary values (conditions) at specific points, i.e. .
- Substitute in each variable and solve for parameters, e.g. .
- First-Order Solutions:
- If in the form (standard form)…
- Find integrating factor .
- Multiply equation by integrating factor, then simplify to using the concept of reverse derivatives.
- Integrate both sides, then solve for .
- If separable (in the form )…
- Rearrange to isolate each variable, i.e. which is equivalent to .
- If in the form (standard form)…
- Second-Order Solutions:
- Given the form , then the solution (the sum of the complementary function and particular function).
- The complimentary function, , focuses on the left side of the equation (ignoring constants of integration until the end)…
- By assuming a solution for and substituting into the original equation, we find the characteristic equation (normally in the form of a quadratic, like ).
- For , , and , assume .
- For , , and , assume .
- After simplifying, given that and cannot be , solve the resulting quadratic for or .
- If there’s a repeated solution, we can use reduction of order to find . In short, , i.e…
- … if , then .
- … if , then .
- If there are complex conjugate solutions, we can use Euler’s formula to get straightaway (skip superposition step): \begin{align*}e^{kx}&= e^{(\alpha\pm i\beta)x}\\&= e^{\alpha x}e^{i\beta x}:e^{i\beta x}=\cos (\beta x)+i\sin (\beta x)\quad\text{(Euler's formula)}\\&= e^{\alpha x}(\cos (\beta x)+i\sin (\beta x))\\&=e^{\alpha x}(C_{1}\cos(\beta x)+C_{2}\sin(\beta x))\quad\text{(adding in constants)}\end{align*}
- If there’s a repeated solution, we can use reduction of order to find . In short, , i.e…
- Using the principle of superposition (the sum of solutions is another solution), find , where are the constants of integration previously ignored.
- This general solution can contain transient terms - those that will eventually decay to zero as time progresses.
- By assuming a solution for and substituting into the original equation, we find the characteristic equation (normally in the form of a quadratic, like ).
- The particular solution, , focuses on the right side of the equation, such that has a coefficient of (standard form)…
- Trivial: If , .
- Simple: If is in the form of a polynomial (), exponential (), sine/cosine (), or a combination of these, use undetermined coefficients…
- Assume to have the same generic form. Multiply terms by if they’re multiples of terms in the original equation, to ensure linear independence.
- Differentiate the assumed to give and to substitute into .
- Compare against the assumed , equating coefficients to make a system of equations.
- Solve the system using Gauss-Jordan elimination, or another method.
- Non-Periodic: If is in a more complicated form and non-periodic, use variation of parameters…
- Find the Wronskian , where are from the complementary function.
- Find the variable parameters, and , given that .
- Find the linear combination of variable parameters and complementary solutions, .
- Periodic: If is in a more complicated form and periodic, use a Fourier series:
- For defined on , can be transformed into periodic functions depending on its symmetry:
- Even function: , where .
- Odd function: , where .
- Neither: Sum as if it is even and odd, modifying the integrals to evaluate , rather than doubling , since there’s no symmetry.
- Find the solution as with a “simple sine/cosine” with undetermined coefficients.
- For defined on , can be transformed into periodic functions depending on its symmetry:
- Infinite Non-Periodic Functions:
- Fourier Integrals: Defined as , where is the Fourier transform of .
- Fourier Transform: The Fourier transform of a function is given by: , where the inverse Fourier transform is: . Useful for transforming things into the frequency domain and back to the spatial domain - sometimes used when solving PDEs since they convert into ODEs.
- Properties:
- Linearity: allows for the superposition of solutions.
- Time Shifting: helps in analyzing shifted functions.
- Frequency Shifting: is useful for modulation in signal processing.
- Scaling: aids in understanding how scaling affects frequency components.
- Properties:
- Fourier Convolution: The convolution of two functions and is defined as: .
- Convolution Theorem: The Fourier transform of the convolution of two functions is the product of their Fourier transforms: .
- Properties:
- Commutative: indicates that the order of convolution does not matter.
- Associative: shows that convolution can be grouped in any way.
- Distributive: allows for the distribution of convolution over addition.
- The complimentary function, , focuses on the left side of the equation (ignoring constants of integration until the end)…
- Given the form , then the solution (the sum of the complementary function and particular function).
4. Partial Differential Equations (PDEs)
- Classification:
- Linearity: Can be expressed in the form , and hence doesn’t contain products/powers of the function or its derivatives.
- Order: The highest order of derivative in the equation, e.g. is a second-order PDE.
- Type:
- Given the standard linear form, calculate the discriminant , where .
- If the discriminant is…
- less than zero, it’s elliptic.
- equal to zero, it’s parabolic.
- greater than zero, it’s hyperbolic.
- Solving:
- Assume the solution ( could also be , or something else depending on context), then substitute into the PDE.
- Re-arrange to get terms involving on one side and terms involving on the other.
- Set each side equal to a constant (often denoted as , a separation constant) to get two ODEs, which can then be solved.
- These two solutions are and , which can then be substituted back into the assumed solution .
Sudoku