Separation of Variables // Differential Equations

Dr. Trefor Bazett
27 Jan 202110:09

Summary

TLDRThis video introduces the method of separation of variables, a fundamental technique for solving differential equations. It demonstrates how to isolate variables to simplify equations, such as exponential growth models, which are applicable in various real-life scenarios like pandemic growth or bank account interest. The process involves dividing by the function of y, integrating both sides with respect to t, and solving for y. The video also addresses the complexity of finding solutions, including singular solutions like y=0, which are not always evident through the chosen method, highlighting the importance of exploring various approaches in differential equations.

Takeaways

  • ๐Ÿ“š The video covers the method of separation of variables, a major method for solving differential equations.
  • ๐Ÿ”— A free and open-source textbook and an entire course on differential equations are available in the video description.
  • ๐Ÿ“ˆ The exponential growth equation is used as an example to introduce differential equations, showing how the rate of change is proportional to the value of y.
  • ๐Ÿ” The solution to the exponential growth equation, y = C * e^(kt), is verified by the method of separation of variables.
  • โž— By dividing the differential equation and integrating both sides with respect to t, the solution can be derived.
  • ๐Ÿ”„ A change of variables is introduced, defining dy as (dy/dt) * dt, allowing the integration to be carried out separately in terms of y and t.
  • ๐Ÿ“ The method of separation of variables is applied to a more complex example, demonstrating the process of integrating both sides after separating variables.
  • ๐Ÿงฉ The video emphasizes that some solutions to differential equations may be implicit and difficult to express explicitly.
  • ๐Ÿ’ก Singular solutions, such as y = 0 in the example, can exist and need to be considered separately from the implicit solutions derived from the method.
  • ๐ŸŒ The video highlights the importance of initial conditions in determining the specific solution curve for a given differential equation.

Q & A

  • What is the method of separation of variables in the context of differential equations?

    -The method of separation of variables is a technique used to solve differential equations by rearranging the equation so that all terms involving the dependent variable (y) are on one side and all terms involving the independent variable (t or x) are on the other. This allows for the integration of both sides with respect to their respective variables.

  • Why is the exponential growth equation a good example for demonstrating the method of separation of variables?

    -The exponential growth equation is a good example because it has a simple form where the rate of change of y is proportional to the value of y itself. This makes it easy to illustrate how the method of separation of variables can be applied to derive the solution y = Ce^(kt), where C is a constant.

  • What does the 'C' in the exponential growth solution represent?

    -The 'C' in the exponential growth solution represents the constant of integration, which accounts for the initial conditions of the problem and ensures that the solution is general enough to fit any specific case.

  • How does the method of separation of variables help in solving real-life phenomena such as pandemic growth or bank account interest?

    -The method of separation of variables helps in solving these phenomena by providing a mathematical model that describes how quantities change over time when the rate of change is proportional to the current amount, such as the number of infected individuals in a pandemic or the balance in a bank account with compounding interest.

  • What is the significance of the term 'separable differential equation'?

    -A separable differential equation is one where the dependent and independent variables can be separated on either side of the equation, allowing for the application of the method of separation of variables to find a solution.

  • What is the process of integrating both sides of a separable differential equation with respect to time?

    -The process involves moving all terms involving the dependent variable to one side and all terms involving the independent variable to the other side. Then, integrate both sides with respect to time, which may involve recognizing the differential dy as dy/dt and integrating with respect to t.

  • What is the difference between an implicit solution and an explicit solution in differential equations?

    -An implicit solution is an equation that defines the relationship between the variables but does not explicitly solve for one variable in terms of the other. An explicit solution, on the other hand, provides a direct formula for one variable as a function of the other.

  • Why might a differential equation have more than one solution?

    -A differential equation might have more than one solution because different methods of solving or initial conditions can lead to different forms of solutions. Additionally, singular solutions, like y = 0, can exist independently of the general solution found through separation of variables.

  • What is the role of the constant 'k' in the exponential growth solution?

    -The constant 'k' in the exponential growth solution represents the growth rate of the function y over time. It determines how quickly or slowly y increases as time progresses.

  • How does the method of separation of variables handle the integration of terms that are not easily integrable?

    -If the terms are not easily integrable, the method may still proceed by separating the variables and integrating what can be integrated, leaving the rest in its integral form. The resulting equation, even if not fully integrable, can still provide valuable insights into the relationship between the variables.

  • What is the significance of the singular solution y = 0 in the context of the given script?

    -The singular solution y = 0 is significant because it represents a special case where the derivative of y is zero, satisfying the differential equation independently of the general solution found through separation of variables. It highlights the importance of considering all possible solutions when solving differential equations.

Outlines

00:00

๐Ÿ“š Introduction to Separation of Variables

This video introduces the method of separation of variables, which is used to solve differential equations. The video is part of a course on differential equations, with links to the playlist and a free textbook in the description. The exponential growth equation is revisited, which models real-life phenomena where the rate of change is proportional to the current amount, such as in pandemics or continuously compounding interest.

05:01

๐Ÿงฎ Applying Separation of Variables

The method of separation of variables is demonstrated. By dividing both sides by \(y\), integrating with respect to \(t\), and using a change of variables, the video shows how to derive the solution \(y = C e^{kt}\). This involves manipulating the equation to isolate \(y\) and then performing integration.

10:01

๐Ÿ” General Methodology

A more general approach to separation of variables is discussed, where a first-order differential equation can be separated into a function of \(y\) and a function of \(t\). By integrating both sides with respect to \(t\) and using the change of variables technique, the solution can be found.

๐Ÿ“Š Example: More Complex Differential Equation

A more complex example of a differential equation, \(y' = \frac{xy}{y^2 + 1}\), is solved using separation of variables. The equation is separated, integrated, and results in an implicit solution, \( \frac{y^2}{2} + \ln|y| = \frac{x^2}{2} + C \). The concept of a singular solution, \( y = 0 \), is introduced and its implications are discussed.

๐Ÿงฉ Singular Solutions and Implicit Equations

The video explores the idea of implicit equations and singular solutions in differential equations. Using the example \( y' = \frac{xy}{y^2 + 1} \), it is shown how the implicit solution varies with different values of \( C \) and how the singular solution \( y = 0 \) fits into the overall solution set.

๐ŸŽฅ Conclusion and Next Steps

The video concludes by encouraging viewers to leave questions in the comments and to check out the differential equations playlist linked in the description. The instructor teases more math topics to be covered in the next video.

Mindmap

Keywords

๐Ÿ’กSeparation of Variables

Separation of Variables is a method used to solve differential equations. In the video, it is introduced as the first major method for solving differential equations by separating variables to opposite sides of the equation. This method allows for integration of each side with respect to its own variable, simplifying the process of finding the solution.

๐Ÿ’กDifferential Equation

A differential equation is an equation involving derivatives that represents how a quantity changes over time. The video focuses on solving differential equations, specifically those where the rate of change is proportional to the amount present, such as in exponential growth scenarios.

๐Ÿ’กExponential Growth

Exponential growth refers to the increase in quantity where the rate of growth is proportional to the current amount. In the video, this concept is exemplified by the exponential growth equation, which models real-life phenomena like population growth or continuously compounding interest in a bank account.

๐Ÿ’กIntegral

An integral is a mathematical operation used to find areas under curves, among other applications. The video demonstrates how integrals are used in the method of separation of variables to solve differential equations by integrating both sides of the equation with respect to time.

๐Ÿ’กConstant of Integration

The constant of integration (denoted as C) is an arbitrary constant added to the result of an indefinite integral. The video explains its importance when integrating both sides of a differential equation and how it can be manipulated to solve for the general solution.

๐Ÿ’กImplicit Solution

An implicit solution is a solution to a differential equation that defines the relationship between variables without explicitly solving for one variable in terms of another. The video provides an example where the solution to a separable differential equation results in an implicit equation, indicating the relationship between y and t.

๐Ÿ’กSingular Solution

A singular solution is a specific solution to a differential equation that may not be represented by the general solution obtained through standard methods. In the video, y = 0 is identified as a singular solution to a particular differential equation, highlighting the complexities in finding all possible solutions.

๐Ÿ’กLogarithm

A logarithm is the inverse operation of exponentiation, used to solve equations involving exponentials. The video illustrates how taking the logarithm of both sides of an equation helps in solving the differential equation by converting multiplicative relationships into additive ones.

๐Ÿ’กChange of Variables

Change of variables is a method used to simplify an equation by redefining the variables involved. In the video, this technique is employed during the integration process to facilitate the separation of variables and the subsequent integration of each side.

๐Ÿ’กInitial Condition

An initial condition specifies the value of the solution at a particular point, used to determine the specific constant of integration for a differential equation. The video discusses how initial conditions affect the value of the constant C, which in turn determines the specific solution plot.

Highlights

Introduction to the method of separation of variables as a major method to solve differential equations.

Application of the exponential growth equation to real-life phenomena such as pandemics and continuously compounding interest.

Explanation of the method of separation of variables by dividing the equation to separate y and t terms.

Integration of both sides of the equation with respect to t to solve for y.

Introduction of a convenient fiction to simplify the integration process by defining dy and dt.

Derivation of the general solution y = Ce^(kt) through exponential manipulation.

Generalization of the separation of variables method for any first-order differential equation.

Process of integrating both sides of the equation after separating variables.

Example of a more complex differential equation to illustrate the method.

Identification and handling of implicit solutions in the context of separation of variables.

Recognition of singular solutions that may not be captured by the separation of variables method.

Discussion on how singular solutions like y = 0 fit into the broader solution set.

Graphical representation of solutions for different values of the integration constant.

Insight into how initial conditions determine specific solution curves.

Acknowledgment of the complexities and challenges in solving differential equations, and an invitation to further explore these topics in the course.

Transcripts

play00:00

in this video we're going to learn about

play00:01

the method of separation of

play00:03

variables which is going to be our first

play00:05

major method to be able to actually

play00:07

solve a differential equation this video

play00:10

is part of an entire course on

play00:11

differential equations and the link to

play00:13

that playlist

play00:14

as well as the free and open source

play00:15

textbook that accompanies it

play00:17

is down in the description now when i

play00:18

first introduced differential equations

play00:20

we talked about the

play00:21

exponential growth equation an equation

play00:24

where

play00:24

on the left hand side there was a rate

play00:27

of change of y a derivative and on the

play00:29

right hand side

play00:30

it was proportional to the value of y

play00:33

and

play00:34

this exponential growth equation models

play00:36

a whole lot of real life phenomena

play00:38

any time where the rate of change is

play00:40

proportional to the amount that you

play00:42

actually have for example in a pandemic

play00:44

when we're in the early days

play00:46

and the growth rate is just proportional

play00:49

to the number of people who are infected

play00:51

or in a bank account where the growth

play00:54

rate if it's

play00:54

compounding continuously is proportional

play00:57

to the amount that you have perhaps

play00:58

five percent interest as time goes on

play01:00

and so this differential equation comes

play01:02

up in all sorts of places

play01:04

but when we previously talked about it i

play01:06

just gave you the solution i said the

play01:08

solution

play01:08

is y is some constant times e to the kt

play01:12

and you could verify that yes it was a

play01:15

solution by plugging it into the

play01:16

left-hand side by taking the derivative

play01:18

studying that equal to the right-hand

play01:19

side

play01:20

but where did this come from that's what

play01:22

i'm going to answer in this video

play01:23

so what we're going to do is this method

play01:25

of separation of variables and the first

play01:27

thing i'm going to do is i'm going to

play01:28

take the y on the right hand side and

play01:29

i'm just going to divide it out and put

play01:30

on the other side

play01:31

and the reason i'm doing this is that

play01:33

now on the left hand side there's

play01:34

everything in terms of y and the

play01:36

derivative with respect to y

play01:38

on the right hand side there's nothing

play01:40

to do with y at all

play01:42

now i'm going to take an integral of

play01:43

both sides with respect to t

play01:45

i'm allowed to do that i'm allowed to

play01:48

add the same thing to both sides i'm

play01:49

allowed to

play01:50

multiply both sides by something that's

play01:52

non-zero i'm

play01:53

allowed to integrate both sides with

play01:55

respect to t i can do the same thing to

play01:56

both sides of an equation so

play01:58

i can integrate both sides of an

play01:59

equation with respect to t

play02:01

and then i notice that i have on the

play02:04

left this d

play02:04

y d t d t and it's tempting to just

play02:08

say that i can cancel the dt divided by

play02:10

dt which is sort of a convenient fiction

play02:13

because what we're actually going to do

play02:14

is define something new called d y

play02:17

d y will be defined to be d y d t

play02:20

d t this is just a change of variables

play02:23

so now on the left i have an integral

play02:25

entirely in terms of y

play02:26

and on the right and integral entirely

play02:28

terms of t let's do those integrals on

play02:30

the left

play02:30

the integral of one over y is the

play02:32

logarithm of absolute value y on the

play02:34

right the integral of k

play02:35

becomes kt and then i always have to

play02:36

remember to add the plus c

play02:38

my additive constant of integration

play02:42

okay so we have a solution here and we

play02:44

actually can solve it a little bit

play02:45

better i'm going to take e to the power

play02:47

of both sides

play02:48

to get rid of the logarithm so on the

play02:51

left

play02:51

e to the logarithm of absolute value of

play02:54

y that's just going to cancel to become

play02:55

absolute value of y and then the same

play02:57

thing on the right

play02:59

we're pretty close to being down here

play03:00

but one more manipulation

play03:02

e to the kt plus c when you add up in

play03:06

the exponents

play03:07

that's just the same thing as

play03:09

multiplying by another copy e to the c

play03:12

so

play03:13

e to the kt plus c is the same thing as

play03:15

e to the kt

play03:16

times e to the c and then i'm just going

play03:19

to

play03:19

re-label e to the c is something called

play03:22

c tilde

play03:23

basically my additive constant up in the

play03:26

exponent has now become a multiplicative

play03:28

constant so c

play03:29

and c tilde are slightly different but

play03:31

either way it's just some constant

play03:33

i also have dropped the absolute value

play03:35

signs this was just because

play03:36

exponential is always positive and so

play03:38

don't have to worry about when y is

play03:40

negative

play03:41

and so now we've gotten the same

play03:43

solution that i've asserted to you

play03:45

previously by this method of separation

play03:47

of variables okay

play03:48

now let's step back and do this a little

play03:50

bit more generally because this example

play03:51

was actually so simplistic it might miss

play03:53

some of the complexities of this method

play03:55

so generically what i want to talk about

play03:57

is when you have a

play03:58

first order differential equation so a

play04:00

single derivative y prime

play04:02

and that that can be written as the

play04:05

product of some stuff entirely in terms

play04:07

of t

play04:07

some function of t and some stuff

play04:09

entirely in terms of y

play04:11

some function g of y if it can be

play04:14

expressed as a portion that's a function

play04:15

of t and a portion that's a function of

play04:17

y those are

play04:17

multiplied together then you can use

play04:20

separation of variables and here's how

play04:21

the method works we'll do exactly what

play04:23

we did before

play04:24

everything with respect to y has been

play04:26

moved to the left now so on the left i

play04:28

have

play04:28

y and derivatives of y that's what's

play04:31

appearing on the left

play04:32

on the right i have things in terms of t

play04:34

only

play04:35

for now i've got a d y dt and i'm going

play04:37

to leave that as one

play04:38

object one derivative i'm not going to

play04:40

try to separate it just yet i'll talk

play04:42

about that a bit more in a moment

play04:43

so on the left it's like y and the

play04:44

derivative of y

play04:47

okay now i have an equation i'm going to

play04:49

integrate both sides

play04:50

of that equation with respect to t so

play04:53

the integral of

play04:54

1 over g of y d y dt dt is equal to the

play04:57

integral of

play04:58

f of t dt i integrated respect to t on

play05:00

both sides

play05:01

i'll do the same trick as before i will

play05:03

define

play05:04

the differential d y to just be d y d d

play05:08

d t

play05:08

and so i get to replace that and now i

play05:10

have an integer with respect to y

play05:11

and then it goes back to t as a matter

play05:14

of

play05:14

preference what a lot of people actually

play05:16

do is just separate out the dy and the

play05:18

dt and move them to the opposite sides

play05:20

of the equations at the beginning

play05:22

and then just integrate respect to those

play05:23

two variables that's fine that's a

play05:25

really good shorthand to do

play05:26

in fact that's what i do as a shorthand

play05:28

but it is still good to know that what

play05:30

we're sort of

play05:30

properly doing is integrating both sides

play05:32

respect to t and then doing a change of

play05:34

variables

play05:34

you want to separate out the dy and the

play05:36

dt early on that's okay with me

play05:39

either way i have an equation of two

play05:41

intervals

play05:42

i might be able to do these intervals i

play05:44

might not be integration can sometimes

play05:45

be hard but

play05:46

if i can do those integrals i'm gonna

play05:48

get some equation in terms of y

play05:50

and t but no longer in terms of y prime

play05:53

it's an equation of y and t

play05:55

and that will be my solution to the

play05:57

separable differential equation

play05:59

okay so let's look at a slightly more

play06:01

interesting example here

play06:02

this is now y prime is equal to xy

play06:05

divided

play06:06

by y squared plus one our first question

play06:08

is is it separable and yes it is

play06:10

we have a portion which is just the x

play06:13

and that is multiplied

play06:14

by a portion which is some function just

play06:16

of y the y divided by y squared plus one

play06:19

it's a multiplication of these two

play06:21

separated components

play06:23

so let's apply the methodology first of

play06:24

all i'm going to divide through so

play06:26

dividing through by the

play06:27

function of y gives me y squared plus 1

play06:30

on the top divided by y

play06:31

times d y and then on the right hand

play06:33

side x dx here i have now gone and taken

play06:36

the d y d x and sort of as a

play06:38

convenient fiction just separated it

play06:40

from both sides so it's all y's on the

play06:41

left and all x is on the right

play06:43

okay so now i integrate both sides which

play06:45

is great

play06:46

and now it's just a matter of doing

play06:48

those integrals so on the left hand side

play06:49

okay y squared

play06:51

divided by y is just y it integrates out

play06:53

to y squared divided by two

play06:55

one over y integrates to logarithm of

play06:56

the y x integrates to

play06:58

x squared divided by two and then of

play07:00

course i always have to do this i have

play07:01

to add that plus c

play07:03

now this solution to the differential

play07:06

equation

play07:07

is maybe not the nicest thing you've

play07:09

ever seen because what it is

play07:11

is an implicit solution i don't know how

play07:14

to solve this

play07:14

and make it y equal to a function of x

play07:18

i haven't nicely solved it the same way

play07:20

i did with exponential growth we said

play07:22

y equals constant times e to the kt

play07:26

here it's some equation that governs the

play07:28

relationship between y

play07:30

and x here by the way i changed all of

play07:32

this to be an integral respect to x

play07:34

sometimes our

play07:35

independent variable is x or t we should

play07:37

be able to do both

play07:38

but either way i have this implicit

play07:41

equation that defines them and sometimes

play07:43

it's just

play07:43

all you get then that's okay however

play07:46

there's even

play07:47

one more complication which is that

play07:49

there is another solution

play07:51

to this differential equation one that

play07:52

is not written

play07:54

in this format it's pretty simple it's

play07:56

just called y equal to zero

play07:58

we sometimes call this the singular

play08:00

solution i mean the derivative of y

play08:02

equal to zero is just zero that's the

play08:03

left-hand side would be zero and

play08:04

if i plug in y equal to zero on the

play08:06

right i'd get zero equal to zero so this

play08:07

is a solution but y equal to zero

play08:10

is not in the form of this implicit

play08:13

equation that i have

play08:15

this is a big challenge with

play08:16

differential equations sometimes you get

play08:18

solutions

play08:19

but then there are even more that are

play08:21

not discovered by the methodology that

play08:23

you've chosen and

play08:24

this is going to be a big theme that we

play08:26

have to think about and resolve and

play08:28

come up with some theory to discuss as

play08:30

we go on in our course

play08:32

to get a little bit of a sense of what's

play08:34

going on with this implicit equation

play08:35

i've come in here and i've typed it in

play08:37

and graphed it for the specific value of

play08:40

c

play08:40

equal to zero and what you can see if i

play08:42

come here and change the value of c

play08:44

is that it all looks like the same basic

play08:47

type of shape

play08:48

but depending on where you start

play08:50

depending on an

play08:51

initial condition it would tell you

play08:53

which specific value of c

play08:54

you're in unless what specific plot are

play08:57

you going to be on

play08:58

and then it's also sort of worth noting

play09:00

what's going on with the singular

play09:01

solution y equal to zero which has not

play09:03

been plotted here but if i wanted to i

play09:04

could come along and

play09:05

add an extra equation for y equal to

play09:07

zero

play09:08

well if i was to make c be very very

play09:12

negative as you can see the more

play09:14

negative c gets

play09:15

the closer to that singular solution it

play09:17

becomes

play09:18

this sort of makes sense if the c value

play09:20

is a very large negative

play09:22

how would you get a negative on the

play09:24

left-hand side well you'd have to be

play09:25

taking

play09:26

the logarithm of a number that was very

play09:28

very close to zero and then that's why

play09:30

as you have c going very very far to the

play09:33

negative

play09:34

y is going to be approaching 0 in some

play09:36

sort of limiting sense

play09:37

but this y equal to 0 the singular

play09:40

solution

play09:40

nevertheless looks substantially

play09:43

different

play09:44

than the solution to this implicit

play09:46

equation at any given point

play09:48

and these types of relationships between

play09:50

the solutions that you find in so-called

play09:52

singular solutions are quite common

play09:54

in differential equations all right i

play09:57

hope you enjoyed this video if you have

play09:58

any questions please leave them down in

play10:00

the comments below

play10:01

because they have an entire playlist in

play10:03

differential equations the link to that

play10:04

is in the description

play10:05

and with that let's do some more math in

play10:07

the next video

Rate This
โ˜…
โ˜…
โ˜…
โ˜…
โ˜…

5.0 / 5 (0 votes)

Related Tags
Differential EquationsSeparation MethodMath TutorialExponential GrowthImplicit SolutionsIntegral CalculusMathematical ModelingSeparable EquationsMath CourseMath Concepts