7 Ordinary Differential Equations

Mathematics I · Unit 7 · 6 hrs

Ordinary Differential Equations

Exam-focused notes for Ordinary Differential Equations (Mathematics I, MTH117): what the TU syllabus asks and how it has actually been tested, with 9 solved past questions from this unit.

What this unit covers

  • Introduction
  • Introduction to first order equations Separable equations
  • Linear equations
  • Second order linear differential equations
  • Non homogeneous linear equations
  • Method of undetermined coefficients

Linear equations

208110 marks

Find the solution of the initial value problem $x^2 y' + x y = 1$, $y(1) = 2$, $x > 0$.

Find the area enclosed by the line $y = x - 1$ and the parabola $y^2 = 2x + 6$. [5+5]

--- Given data: $x^2 y' + xy = 1$, $\; y(1) = 2$, $\; x 0$ Divide by $x^2$: $$\frac{dy}{dx} + \frac{1}{x}y = \frac{1}{x^2}$$ So $P = \dfrac{1}{x}$, $Q = \dfrac{1}{x^2}$. $$\text{I.F.} = e^{\int \frac{1}{x}\,dx} = e^{\ln x} = x$$ $$y\cdot x = \int \frac{1}{x...

Full solved answer →
20785 marks

Solve y′+2xy−1=0y' + 2xy - 1 = 0y′+2xy−1=0. [5]

Given: - Differential equation: $y' + 2xy - 1 = 0$ No initial condition given, so we seek the general solution. --- $$\frac{dy}{dx} + 2xy = 1$$ This is a first-order linear ODE: $$\frac{dy}{dx} + P(x)\,y = Q(x), \qquad P(x) = 2x, \quad Q(x) = 1$$ $$\text{I....

Full solved answer →

Introduction to first order equations Separable equations

20815 marks

Show that every member of the family of function $y = \frac{1 + ce^t}{1 - ce^t}$ is a solution of the differential equation $y' = \frac{1}{2}(y^2 - 1)$. [5]

- Family of functions: $y = \dfrac{1 + ce^t}{1 - ce^t}$ - Differential equation: $y' = \dfrac{1}{2}(y^2 - 1)$ Using the quotient rule with $u = 1 + ce^t$, $v = 1 - ce^t$: $$u' = ce^t, \qquad v' = -ce^t$$ $$y' = \frac{u'v - uv'}{v^2} = \frac{ce^t(1 - ce^t) -...

Full solved answer →
20805 marks

Show that $y = x - \frac{1}{x}$ is a solution of the differential equation $xy' + y = 2x$. [5]

- Proposed solution: $y = x - \dfrac{1}{x}$ - Differential equation: $xy' + y = 2x$ --- $$y = x - \frac{1}{x} = x - x^{-1}$$ $$y' = \frac{d}{dx}(x) - \frac{d}{dx}(x^{-1}) = 1 - (-1)x^{-2} = 1 + \frac{1}{x^2}$$ --- $$xy' = x\left(1 + \frac{1}{x^2}\right) = x...

Full solved answer →
207810 marks

Solve: $y' = \frac{x^2}{y^2}$, $y(0) = 2$.

Solve the initial value problem: $y'' + y' - 6y = 0$, $y(0) = 0$, $y'(0) = 1$. [5+5]

Part 1: ODE $y' = \dfrac{x^2}{y^2}$, initial condition $y(0)=2$. Part 2: ODE $y'' + y' - 6y = 0$, initial conditions $y(0)=0$, $y'(0)=1$. --- $$\frac{dy}{dx} = \frac{x^2}{y^2} \implies y^2 \, dy = x^2 \, dx$$ $$\int y^2 \, dy = \int x^2 \, dx$$ $$\frac{y^3}...

Full solved answer →

Second order linear differential equations

207910 marks

Define initial value problem. Solve: $y'' + 4y' - 6y = 0$, $y(0) = 1$, $y'(0) = 0$. Find the Taylor's series expansion for $\cos x$ at $x = 0$. [10+0]

- ODE: $y'' + 4y' - 6y = 0$ - Initial conditions: $y(0) = 1$, $y'(0) = 0$ - Second task: Taylor (Maclaurin) series of $\cos x$ at $x = 0$ --- An initial value problem (IVP) is a differential equation together with the values of the unknown function and its ...

Full solved answer →
20775 marks

Solve: $y'' + y = 0$, $y(0) = 5$, $y(\pi/4) = 3$. [5]

- ODE: $y'' + y = 0$ - Condition 1: $y(0) = 5$ - Condition 2: $y(\pi/4) = 3$ $$m^2 + 1 = 0 \implies m = \pm i$$ Complex roots with $\alpha = 0$, $\beta = 1$. $$y = e^{\alpha x}(A\cos\beta x + B\sin\beta x) = A\cos x + B\sin x$$ $$y(0) = A\cos 0 + B\sin 0 = ...

Full solved answer →
20755 marks

Find the solution of y′′+4y′+4=0y'' + 4y' + 4 = 0y′′+4y′+4=0. [5]

- Differential equation: $y'' + 4y' + 4 = 0$ - Coefficients (interpreting as homogeneous constant-coefficient ODE): coefficient of $y''$ is $1$, of $y'$ is $4$, of $y$ is $4$. Note on interpretation: As literally written, $y'' + 4y' + 4 = 0$ has a constant ...

Full solved answer →
20745 marks

Find the solution of $y'' + 6y' + 9 = 0$, $y(0) = 2$, $y'(0) = 1$. [5]

- ODE: $y'' + 6y' + 9 = 0$ - Initial conditions: $y(0) = 2$, $y'(0) = 1$ Note: As written, the equation contains a constant term "$+9$" rather than "$+9y$". Read literally, $y'' + 6y' = -9$ is a non-homogeneous equation. However, the standard textbook probl...

Full solved answer →