This section contains worked examples of the type of differential equation which can be solved by integration
You're viewing an older version of this page (#5808). View the current version.
View versions (3)
Separable Differential Equations
This section contains worked examples of the type of differential equation which can be solved by direct Integration.
Definition
Separable Differential Equations are differential equations which respect one of the following forms :
- $\displaystyle \frac{dy}{dx} = F(x,y)$ where $F$ is a two variable function, also continuous.
- $\displaystyle f(y)dy=g(x)dx$, where $f$ and $g$ are two real continuous functions.
Rational Functions
A rational function on $\mathbb{R}$ is a function $f:\mathbb{R}\to\mathbb{R}$ which can be expressed as $\displaystyle f(x)=\frac{P(x)}{Q(x)}$ where $P,Q$ are two polynomials.
Example 1
ProblemSolve: $\frac{d^2y}{dx^2} = 2 + \frac{1}{x}$
WorkingsAs the equation is of first order, integrate the function twice, i.e. $\frac{dy}{dx} = 2x + ln\,x + C$ and $y = x^2 + x\,ln\,x + Cx + K$
Solution$y = x^2 + x\,ln\,x + Cx + K$
Example 2
Problem$\mathbf{\frac{dx}{dy} = 1 - y}$
Workings$dx = (1 - y)\,dy$
Solution$\therefore\;\;\;\;\;\;x = y - \frac{y^2}{2} + C$
Example 3
Problem$\mathbf{\frac{dy}{dx}\;=\;a^2\;+\;y^2}$
Workings$dx\;=\;\frac{dy}{a^2\;+\;y^2}$
Solution$x\;=\;\frac{1}{a}\;arctan\,(\frac{y}{a})\;+\;c$
Example 4
Problem$\mathbf{\frac{dy}{dx}\;=\;\frac{x^2\;-\;1}{y}}$
Workings$y\,dy\;=\;(x^2\;-\;1)\,dx$
Solution$\therefore\;\;\;\;\;\frac{y^2}{2}\;=\;\frac{x^3}{3}\;-\;x\;+\;C$
Example 5
Problem$\mathbf{\frac{dy}{dx}\;=\;\frac{y}{x^2\;-\;1}}$
Workings$\frac{dy}{y}\;=\;\frac{dx}{x^2\;-\;1}$
$\therefore\;\;\;\;\;ln\,y\;=\;\frac{1}{2}\;ln\;\;\left(\frac{x\;+\;1}{x\;-\;1} \right)}$
Solution$\therefore\;\;\;\;\;y\;=\;C\;\sqrt{\;\left(\frac{x\;+\;1}{x\;-\;1} \right)}$
This worked example is only visible to registered users.
Sign in to see it.
This worked example is only visible to registered users.
Sign in to see it.
This worked example is only visible to registered users.
Sign in to see it.
This worked example is only visible to registered users.
Sign in to see it.
This worked example is only visible to registered users.
Sign in to see it.
Example 11
WorkingsSeparate the Variables
Example 12
Trigonometric Functions
A trigonometric function on $\mathbb{R}$ is a function $f:\mathbb{R}\to\mathbb{R}$ which can be expressed as a combination of trigonometric functions ($sinx,cosx,tanx,cotanx$).
Example 1
Problem$\frac{dy}{dx}=\frac{1}{cos^2 \tfrac{1}{2}x}$
WorkingsThis is the same as $y=\int \frac{1}{\cos^2 \tfrac{1}{2}x}dx$
which we integrate in the normal way to yield $y=2\tan \tfrac{1}{2} x + C$
Solution$y=2\tan \tfrac{1}{2} x + C$
Example 2
ProblemSolve the following equation given that y=0 at x=0 $\frac{dy}{dx}=\sec y$
Workings$\sec y \equiv \frac{1}{\cos y}$ so $\frac{dy}{dx}=\sec y$ becomes $\int \cos y\;dy=\int dx$ $\therefore\;\;\;\;\;\;\;\sin y=x+A$
But when x=0, y=0 and so A=0
Example 3
ProblemSolve the following equation: $\frac{r \tan \theta }{a^2-r^2} = d \theta$ when r=0 at $theta=\frac{\pi }{4}$
WorkingsRearrange and integrate $\int {\frac{r}{a^2 - r^2}\dr = \int \frac{1}{\tan \theta} d \theta$
$-\tfrac{1}{2}\ln(a^2-r^2)=\ln \sin \theta +\ln C$ or $\ln \left (\frac{1}{\sqrt{a^2-r^2}} \right )=\ln \left | \sin \theta \cdot C \right |$
$\therefore\;\;\;\;\;\;\frac{1}{\sqrt{a^2 - r^2}} = C \sin \theta$ but r=0 when $theta=\frac{\pi }{4}$ $\therefore\;\;\;\;\;\frac{1}{a}=\frac{C}{\sqrt{2}}$ thus $C=\frac{\sqrt{2}}{a}$
Therefore $\frac{1}{(a^2 - r^2)} = \frac{2}{a^2} \sin^2\theta$
Solution$(a^2-r^2)=\frac{a^2}{2} \textup{cosec}^2 \theta$
This worked example is only visible to registered users.
Sign in to see it.
Physics Examples
Example 1
ProblemIf a and b are the radii of concentric spherical conductors at potentials of $V_1$ respectively, then V is the potential at a distance r from the centre. Find the value of V if: $\frac{d}{dr}\left(r^2 \frac{dV}{dr} \right)=0}$ and $V=V_1$ at r=a and $V=0$ at r=b
Workings$\frac{d}{dr}\left(r^2\frac{dV}{dr} \right)=0$
$\therefore\;\;\;\;\;\;r^2\frac{dV}{dr} \right)=A$
$\frac{dV}{A}=\frac{dr}{r^2}$
$\therefore\;\;\;\;\;\;\frac{V}{A}=-\frac{1}{r}\;+\;B$
Substituting in the given values for V and r $\frac{V_1}{A}=-\frac{1}{a}+B$ and $\frac{0}{A}=-\frac{1}{b}+B$ $\therefore\;\;\;\;\;\;B=\frac{1}{b}$ $\therefore\;\;\;\;\;\;\frac{V_1}{A}=-\frac{1}{a}+\frac{1}{b}=-\frac{b-a}{ab}$ Thus $A=-\frac{abV_1}{b-a}$
Solution$V=\left(\frac{1}{r}-\frac{1}{b} \right)\left(\frac{abV_1}{b-a} \right)$
This worked example is only visible to registered users.
Sign in to see it.
This worked example is only visible to registered users.
Sign in to see it.
This worked example is only visible to registered users.
Sign in to see it.
This worked example is only visible to registered users.
Sign in to see it.
This worked example is only visible to registered users.
Sign in to see it.
Example 7