Basic Mathematics · Unit 10
Differential Equations
Exam-focused notes for Differential Equations (Basic Mathematics, MTH104): what the TU syllabus asks and how it has actually been tested, with 8 solved past questions from this unit.
Differential Equations in short
A differential equation connects a function with its derivatives. Such equations describe growth, cooling, motion and many other changes, so solving them is a core skill.
What this unit covers
- First order differential equations
- Separable differential equations
- Linear differential equations
- Initial value problems
- Second order linear differential equations
- Homogeneous differential equations
- Phase lines and qualitative analysis
- Newton's method for root finding
Initial value problems
2081 · 10 marks
Question
What is initial value problem? Find the solution of the initial value problem $x\frac{dy}{dx} - y = x^2$, $y(2) = 5$. Evaluate: $\lim_{x \to \infty} \frac{3x^2 - 5x + 2}{5x^2 + 8x + 7}$. [1+4+5]
Show solved answerHide answer
Model Answer
1. Initial Value Problem (1 mark)
An Initial Value Problem (IVP) is a differential equation together with the value of the unknown function (and possibly its derivatives) specified at a single point, called the initial condition.
General form: $$\frac{dy}{dx} = f(x,y), \qquad y(x_0) = y_0$$
The initial condition pins down the arbitrary constant in the general solution, giving a unique particular solution.
2. Solution of the IVP (4 marks)
Given: $x\dfrac{dy}{dx} - y = x^2$, with $y(2) = 5$.
Step 1: Standard form. Divide by $x$: $$\frac{dy}{dx} - \frac{1}{x},y = x$$ This is linear with $P(x) = -\dfrac{1}{x}$, $Q(x) = x$.
Step 2: Integrating factor. $$\mu(x) = e^{\int -\frac{1}{x},dx} = e^{-\ln x} = \frac{1}{x}$$
Step 3: Multiply through by $\mu$. $$\frac{1}{x}\frac{dy}{dx} - \frac{y}{x^2} = 1 \quad\Longrightarrow\quad \frac{d}{dx}!\left(\frac{y}{x}\right) = 1$$
Step 4: Integrate. $$\frac{y}{x} = x + C \quad\Longrightarrow\quad y = x^2 + Cx$$
Step 5: Apply $y(2) = 5$. $$5 = (2)^2 + C(2) = 4 + 2C \implies 2C = 1 \implies C = \frac{1}{2}$$
Particular solution: $$\boxed{,y = x^2 + \frac{x}{2},}$$
Check: $y(2) = 4 + 1 = 5$ ✓
3. Evaluate the Limit (5 marks)
Given: $$\lim_{x\to\infty} \frac{3x^2 - 5x + 2}{5x^2 + 8x + 7}$$
Divide numerator and denominator by the highest power $x^2$: $$= \lim_{x\to\infty} \frac{3 - \dfrac{5}{x} + \dfrac{2}{x^2}}{5 + \dfrac{8}{x} + \dfrac{7}{x^2}}$$
As $x \to \infty$, all terms $\dfrac{5}{x}, \dfrac{2}{x^2}, \dfrac{8}{x}, \dfrac{7}{x^2} \to 0$: $$= \frac{3 - 0 + 0}{5 + 0 + 0} = \frac{3}{5}$$
$$\boxed{,\lim_{x\to\infty} \frac{3x^2 - 5x + 2}{5x^2 + 8x + 7} = \frac{3}{5},}$$
2077 · 5 marks
Find the initial value problem in $\frac{dy}{dx} + 2y = 3$, $y(0) = 1$. [5]
Newton's method for root finding
2081 · 5 marks
Use Newton's method to find $\sqrt[4]{10}$ correct to four decimal places. [5]
First order differential equations
2079 · 5 marks
What is a first order linear differential equation? Solve the initial value problem: $t\frac{dy}{dt} + 2y = t^3$, $t > 0$, $y(2) = 1$. [1+4]
Show solved answerHide answer
Model Answer: First Order Linear Differential Equations
Part 1: Definition [1 mark]
A first order linear differential equation is one that can be written in the standard form:
$$\frac{dy}{dt} + P(t)y = Q(t)$$
where $P(t)$ and $Q(t)$ are functions of the independent variable $t$ alone. It is called first order because it involves only the first derivative $\frac{dy}{dt}$, and linear because $y$ and $\frac{dy}{dt}$ appear only to the first power (no products, powers, or nonlinear functions of $y$).
Part 2: Solve the IVP [4 marks]
Given data:
- ODE: $t\dfrac{dy}{dt} + 2y = t^3$, $t > 0$
- Initial condition: $y(2) = 1$
Step 1: Standard form
Divide through by $t$ (valid since $t>0$):
$$\frac{dy}{dt} + \frac{2}{t}y = t^2$$
So $P(t) = \dfrac{2}{t}$, $Q(t) = t^2$.
Step 2: Integrating factor
$$\mu(t) = e^{\int \frac{2}{t},dt} = e^{2\ln t} = t^2$$
Step 3: Multiply through
$$t^2\frac{dy}{dt} + 2ty = t^4 \quad\Longrightarrow\quad \frac{d}{dt}\big(t^2 y\big) = t^4$$
Step 4: Integrate
$$t^2 y = \frac{t^5}{5} + C$$ $$y = \frac{t^3}{5} + \frac{C}{t^2}$$
Step 5: Apply $y(2) = 1$
$$1 = \frac{2^3}{5} + \frac{C}{2^2} = \frac{8}{5} + \frac{C}{4}$$ $$\frac{C}{4} = 1 - \frac{8}{5} = -\frac{3}{5} \quad\Longrightarrow\quad C = -\frac{12}{5}$$
Step 6: Particular solution
$$\boxed{y = \frac{t^3}{5} - \frac{12}{5t^2} = \frac{t^5 - 12}{5t^2}}$$
Check: At $t=2$: $y = \dfrac{32 - 12}{5\cdot 4} = \dfrac{20}{20} = 1.$ ✓
Linear differential equations
2078 · 5 marks
Solve the following differential equation: $x\frac{dy}{dx} = x^2 + 3y$, $x > 0$. [5]
Separable differential equations
Second order linear differential equations
Phase lines and qualitative analysis
0 · 5 marks
Draw a phase line for the equation $\frac{dy}{dx} = (y + 1)(y - 2)$ and use it to sketch solutions to the equation. [5]
Make Unit 10 stick
Practice MTH104 with flashcards & quizzes