Table of Contents

Solving Separable Differential Equations Examples 2
Recall from the Solving Separable Differential Equations page that if we have a separable differential equation $M(x) + N(y) \frac{dy}{dx} = 0$, then we can rewrite it as:
(1)
Provided that these integrals can be evaluated and that they’re not too difficult to do so, then we can obtain solutions for the separable differential equation.
We will now look at some examples of solving separable differential equations. At this present time, we will not be concerned as to whether these solutions are always valid for all of $\mathbb{R}$. In fact, many of the solutions we present are only defined on a specific interval. We will look more into this later.
Example 1
Find all solutions to the differential equation $\frac{dy}{dx} = \frac{x – e^{x}}{y + e^y}$.
We will first rewrite the differential equation above as $(y + e^y) \frac{dy}{dx} = (x – e^{x})$. Therefore, provided $y + e^y \neq 0$ we have that:
(2)
Example 2
Find all solutions to the differential equation $\frac{dy}{dx} = (\cos ^2 x )(\cos ^2 2y)$.
We will first rewrite the differential equation above as $\frac{1}{\cos ^2 2y} \frac{dy}{dx} = (\cos ^2 x)$. Therefore we have that:
(3)
Note that $\int \sec^2 (2y) \: dy = \frac{\tan 2y}{2}$ and $\int \cos ^2 x \: dx = \frac{\cos x \sin x + x}{2}$ (which can be obtained by integration by parts). Therefore we have that:
(4)
Note that if $k \in \mathbb{Z}$ then $y = \pm \frac{(2k + 1)\pi}{4}$ is also a solution to the differential equation.
Example 3
Find all solutions to the differential equation $\frac{dy}{dx} = \frac{x^2}{y(1+x^3)}$.
We will first rewrite this differential equation as $y \frac{dy}{dx} = \frac{x^2}{(1 + x^3)}$ and thus:
(5)
To evaluate the integral on the righthand side we will have to use substitution. Let $u = 1 + x^3$. Then $du = 3x^2 \: dx$ and hence $\frac{du}{3} = x^2 \: dx$ and so $\int \frac{x^2}{1 + x^3} \: dx = \frac{1}{3} \int \frac{1}{u} \: du = \frac{1}{3} \ln \mid u \mid = \frac{1}{3} \ln \mid 1 + x^3 \mid$, and so for some constant $C$, $x \neq 1$ and $y \neq 0$ we have that:
(6)
Related post:
 New technique developed to detect autism in children – EurekAlert
 Gujarat Board to offer Mathematics to NonScience Students from this year onwards – Jagran Josh
 Institute of Mathematics & Application (IMA) Recruitment 2019 for Professor Posts – Jagran Josh
 Help with primary school mathematics — September is just nine weeks away – Galway Advertiser
 Government Launches Effort to Strengthen Math Skills & Improve Job Prospects – Government of Ontario News
 Chaiwalla to Doctor: 5 Teachers Providing Free JEE/NEET Coaching to Needy Students – The Better India
 A celebration of Science, Technology, Engineering, and Mathematics (STEM) – Daily Trust
 Sum of a life – THE WEEK
 Assistant Professor (Tenure Track) in Mathematics in South Holland, Delft – IamExpat in the Netherlands
 Standing in Galileo’s shadow: Why Thomas Harriot should take his place in the scientific hall of fame – OUPblog