Video Transcript
In this video, weβll learn the
definition of a separable differential equation and how we can rewrite these to
obtain equality between two integrals that we can then evaluate. To this end, itβs important youβre
confident in evaluating integrals of a variety of functions β such as polynomials,
trigonometric, and exponential functions β before accessing this video.
A separable equation is a first
order differential equation in which the expression for dπ¦ by dπ₯ can be factored
as a function of π₯ times a function of π¦. In other words, it can be written
in the form dπ¦ by dπ₯ equals π of π₯ times π of π¦. The name separable comes from the
fact that the expression on the right-hand side can be separated into a function of
π₯ and a function of π¦. Equivalently, if π of π¦ is not
equal to zero, we can write our equation as dπ¦ by dπ₯ equals π of π₯ over β of π¦,
where β of π¦ is one over π of π¦.
To solve this equation, we write it
in the differential form β of π¦ dπ¦ equals π of π₯ dπ₯ Essentially, we needed to
get all π¦s on one side of the equation and all π₯s on the other. And then we can integrate both
sides of the equation. Now, itβs important to realize that
dπ¦ by dπ₯ isnβt a fraction. But for the purposes of solving
separable differential equations, we do treat it a little like one. And what weβve done here is defined
π¦ implicitly as a function in π₯. And in many cases, weβll be able to
solve for π¦ in terms of π₯. Letβs have a look at an example of
how this might work.
Solve the differential equation dπ¦
by dπ₯ plus π¦ equals one.
A separable equation is a first
order differential equation in which the expression for dπ¦ by dπ₯ can be factored
as a function of π₯ times a function of π¦. In other words, it can be written
in the form π of π₯ times π of π¦. So letβs rearrange our equation dπ¦
by dπ₯ plus π¦ equals one so that itβs in this form. To achieve this, weβre going to
subtract π¦ from both sides of the equation. And we obtain dπ¦ by dπ₯ to be
equal to one minus π¦. Now, it may not look like it, but
we have achieved our aim. Our function in π¦ is one minus π¦,
and our function in π₯ is simply one.
Then, to solve this equation, weβre
going to rewrite it using differentials. Now, remember, dπ¦ by dπ₯
absolutely isnβt a fraction. But we do treat it a little like
one for the purposes of this process. We begin by dividing both sides of
our equation by one minus π¦. And we see that this is equivalent
to saying one over one minus π¦ dπ¦ equals one dπ₯. And now, weβre ready to integrate
both sides of this equation. So how do we integrate one over one
minus π¦ with respect to π¦? Well, we begin by quoting the
general result for the integral of one over π₯ with respect to π₯. Itβs the natural log of the
absolute value of π₯ plus some constant of integration, π.
What weβre going to do is perform a
substitution for our integral. Weβre going to let π’ be equal to
one minus π¦ so that dπ’ by dπ¦ is equal to negative one. We could write this equivalently as
negative dπ’ equals dπ¦. And then weβre going to replace dπ¦
with negative dπ’ and one minus π¦ with π’. And we see that we now need to
integrate negative one over π’ with respect to π’. Well, thatβs negative the natural
log of the absolute value of π’ plus that constant of integration π. By replacing π’ with one minus π¦,
we find the integral of one over one minus π¦ to be the negative natural log of the
absolute value of one minus π¦ plus a constant of integration which Iβm going to
call π.
When we integrate one with respect
to π₯, itβs a little more straightforward. We get π₯ plus a second constant of
integration. Letβs call that π. Letβs subtract π from both sides
of our equation and multiply through by negative one. That gives us the natural log of
the absolute value of one minus π¦ equals negative π₯ plus π one. π one is a new constant, and itβs
achieved by subtracting π from π and multiplying by negative one. And then, we notice that we can
raise both sides of this equation as a power of π. So we obtain the absolute value of
one minus π¦ to be equal to π to the power of negative π₯ plus π one.
By using the laws of exponents,
though, we see that we can rewrite π to the power of negative π₯ plus π one as π
to the power of negative π₯ times π to the power of π one. But, of course, π to the power of
π one is itself a constant. Letβs call that π two. And we see we can rewrite the
right-hand side as π two times π to the power of negative π₯. Well, of course, weβre dealing with
the absolute value of one minus π¦. And we can say that this means that
one minus π¦ could be equal to positive π two times π to the power of negative π₯
or negative π two times π to the power of negative π₯. But π two is a constant, so we
donβt actually need to write that.
In our final step, weβre going to
add π¦ to both sides of the equation and then subtract π two π to the power of
negative π₯. That gives us π¦ equals one minus
π two times π to the power of negative π₯. But of course, once again, since π
two is a constant, we can change this to plus π. And we see that π¦ equals one plus
π times π to the power of negative π₯ is the solution to our separable
differential equation.
Weβll now have a look at an example
which requires some further techniques for integration.
Find a relation between π¦ and π₯
given that π₯π¦ times π¦ prime is equal to π₯ squared minus five.
Now, this first step isnβt entirely
necessary. But it can make it a little easier
to see what to do next. We write π¦ prime using Leibniz
notation. And we see that π₯π¦ dπ¦ by dπ₯ is
equal to π₯ squared minus five. And then we recall that a separable
differential equation is one in which the expression for dπ¦ by dπ₯ can be written
as some function of π₯ times some function of π¦. Now, in fact, if we divide both
sides of our equation by π₯π¦, we see that we can achieve this. We get dπ¦ by dπ₯ equals π₯ squared
minus five over π₯π¦ or π₯ squared minus five over π₯ times one over π¦. And thatβs great because π of π₯
is, therefore, π₯ squared minus five over π₯. And our function of π¦ is one over
π¦.
Now, in fact, we just performed
this to demonstrate that we did indeed have a separable differential equation. We couldβve kept π¦ on the
left-hand side as shown. And then, we perform this rather
strange step. dπ¦ by dπ₯ isnβt a fraction, but we do treat it a little like one. And we say that π¦ dπ¦ equals π₯
squared minus five over π₯ dπ₯. Our next step is to integrate both
sides of this equation. Remember, to integrate a polynomial
term whose exponent is not equal to negative one, we add one to the exponent and
divide by that new number. So the integral of π¦ is π¦ squared
over two plus some constant of integration π.
Then, it might look like we need to
perform some sort of substitution to evaluate this integral. But actually, if we separate our
fraction into π₯ squared over π₯ minus five over π₯, we find that we need to
integrate π₯ minus five over π₯ with respect to π₯. Then, we recall the general result
for the integral of one over π₯. Itβs the natural log of the
absolute value of π₯ plus π. And so, when we integrate the
right-hand side of our equation, we get π₯ squared over two minus five times the
natural log of the absolute value of π₯ plus some second constant of integration
which Iβve called π.
Our last step is to subtract π
from π and then multiply the entire equation by two. When we do, we find that π¦ squared
equals π₯ squared minus 10 times the natural log of the absolute value of π₯ plus
π. This π is a different constant
achieved by subtracting π from π and then multiplying by two. And so, given our differential
equation, weβve found a relation between π¦ and π₯. π¦ squared equals π₯ squared minus
10 times the natural log of the absolute value of π₯ plus π.
In this next example, weβll see how
some clever factoring can create a much simpler expression to separate.
Find a relation between π’ and π‘
given that dπ’ by dπ‘ equals one plus π‘ to the fourth power over π’π‘ squared plus
π’ to the fourth power times π‘ squared.
Now, this differential equation
might look really nasty. But it is, in fact, a separable
differential equation. In this case, thatβs one where an
expression for dπ’ by dπ‘ can be written as some function of π’ times some function
of π‘. So how are we going to achieve
that? Well, we begin by factoring the
denominator by π‘ squared. And we find that dπ’ by dπ‘ is
equal to one plus π‘ to the fourth power over π‘ squared times π’ plus π’ to the
fourth power. We can now write this as some
function of π‘ times some function of π’. Itβs one plus π‘ to the fourth
power over π‘ squared times one over π’ plus π’ to the fourth power.
Letβs begin by multiplying both
sides of this equation by π’ plus π’ to the fourth power. Then, we recall that whilst dπ’ by
dπ‘ is not a fraction, we treat it a little like one. And we can say that π’ plus π’ to
the fourth power dπ’ is equal to one plus π‘ to the fourth power over π‘ squared
dπ‘. And thatβs great because weβre now
ready to integrate both sides of our equation. The left-hand side is quite
straightforward to integrate. The integral of π’ is π’ squared
over two. And the integral of π’ to the
fourth power is π’ to the fifth power over five. Donβt forget, since this is an
indefinite integral, we need that constant of integration π.
On the right-hand side, weβre going
to rewrite our integrand as one over π‘ squared plus π‘ to the fourth power over π‘
squared. And that simplifies to one over π‘
squared plus π‘ squared. But, of course, one over π‘ squared
is the same as π‘ to the power of negative two. And we can now integrate as
normal. When we integrate π‘ to the power
of negative two, we add one to the exponent to get negative one and then we divide
by that number. π‘ squared becomes π‘ cubed over
three. And we have a second constant of
integration; Iβve called that π. Now, of course, we can rewrite π‘
to the power of negative one over negative one as negative one over π‘.
Our final step is to subtract our
constant π from both sides of the equation. That gives us a new constant
π. Thatβs just the difference between
π and π. So weβve found a relation between
π’ and π‘. Itβs π’ to the fifth power over
five plus π’ squared over two equals negative one over π‘ plus two cubed over three
plus π.
In our final example, weβll see how
this process works for exponential functions.
Solve the differential equation dπ§
by dπ‘ plus π to the power of two π‘ plus two π§ equals zero.
Remember, a separable differential
equation is one for which the expression for dπ§ by dπ‘ can be expressed as some
function of π§ times some function of π‘. So how exactly are we going to
achieve that for our equation? Well, weβre going to begin by
subtracting π the power of two π‘ plus two π§ from both sides of our equation. We then recall that the laws of
exponents tell us that π₯ to the power of π plus π can be written as π₯ to the
power of π times π₯ to the power of π. So we can write negative π to the
power of two π‘ plus two π§ as negative π to the power of two π‘ times π to the
power of two π§.
Now, of course, dπ§ by dπ‘ isnβt a
fraction, but we treat it a little like one. And we can say that this is
equivalent to one over π to the power of two π§ dπ§ equals negative π to the two
π‘ dπ‘. And this is great because weβre now
ready to integrate both sides. It can be simpler to express one
over π to the power of two π§ as π to the power of negative two π§. And then, we quote the general
result for the integral of π to the power of ππ₯ for some constant π. Itβs π to the power of ππ₯ over
π plus π. So this means the integral of π to
the power of negative two π§ is negative π to the power of negative two π§ over
two. And the integral of negative π to
the two π‘ is negative π to the two π‘ over two.
Our next step is to subtract π one
from both sides of the equation and then multiply through by negative two. Remember, in solving our
differential equation, ideally, we want an equation for π§ in terms of π‘, So we
find that π to the power of negative two π§ is equal to π to the power of two π‘
plus π three. π three is a new constant obtained
by subtracting π one from π two and then multiplying by negative two. To solve for π§, we find the
natural log of both sides of this equation. But the natural log of π to the
power of negative two π§ is just negative two π§. So our final step is to divide
through by negative two. And weβve solved our differential
equation. π§ is equal to negative one-half
times the natural log of π to the power of two π‘ plus some constant; letβs call
that π.
In this video, weβve seen that a
separable equation is a first order differential equation of the form dπ¦ by dπ₯
equals some function of π₯ times some function of π¦. We saw that to solve these kinds of
equations, we separate all our π₯s onto one side and all our π¦s onto the other, and
then we integrate. Finally, we emphasized that whilst
we do treat dπ¦ by dπ₯ a little like a fraction in this method, dπ¦ by dπ₯ is
absolutely not a fraction.