  Professor Murray

Separable Equations

Slide Duration:

Section 1: First-Order Equations
Linear Equations

1h 7m 21s

Intro
0:00
Lesson Objectives
0:19
How to Solve Linear Equations
2:54
Calculate the Integrating Factor
2:58
Changes the Left Side so We Can Integrate Both Sides
3:27
Solving Linear Equations
5:32
Further Notes
6:10
If P(x) is Negative
6:26
Leave Off the Constant
9:38
The C Is Important When Integrating Both Sides of the Equation
9:55
Example 1
10:29
Example 2
22:56
Example 3
36:12
Example 4
39:24
Example 5
44:10
Example 6
56:42
Separable Equations

35m 11s

Intro
0:00
Lesson Objectives
0:19
Some Equations Are Both Linear and Separable So You Can Use Either Technique to Solve Them
1:33
Important to Add C When You Do the Integration
2:27
Example 1
4:28
Example 2
10:45
Example 3
14:43
Example 4
19:21
Example 5
27:23
Slope & Direction Fields

1h 11m 36s

Intro
0:00
Lesson Objectives
0:20
If You Can Manipulate a Differential Equation Into a Certain Form, You Can Draw a Slope Field Also Known as a Direction Field
0:23
How You Do This
0:45
Solution Trajectories
2:49
Never Cross Each Other
3:44
General Solution to the Differential Equation
4:03
Use an Initial Condition to Find Which Solution Trajectory You Want
4:59
Example 1
6:52
Example 2
14:20
Example 3
26:36
Example 4
34:21
Example 5
46:09
Example 6
59:51
Applications, Modeling, & Word Problems of First-Order Equations

1h 5m 19s

Intro
0:00
Lesson Overview
0:38
Mixing
1:00
Population
2:49
Finance
3:22
Set Variables
4:39
Write Differential Equation
6:29
Solve It
10:54
11:47
Example 1
13:29
Example 2
24:53
Example 3
32:13
Example 4
42:46
Example 5
55:05
Autonomous Equations & Phase Plane Analysis

1h 1m 20s

Intro
0:00
Lesson Overview
0:18
Autonomous Differential Equations Have the Form y' = f(x)
0:21
Phase Plane Analysis
0:48
y' < 0
2:56
y' > 0
3:04
If we Perturb the Equilibrium Solutions
5:51
Equilibrium Solutions
7:44
8:06
Solutions Will Tend Away From Unstable Equilibria
9:32
Semistable Equilibria
10:59
Example 1
11:43
Example 2
15:50
Example 3
28:27
Example 4
31:35
Example 5
43:03
Example 6
49:01
Section 2: Second-Order Equations
Distinct Roots of Second Order Equations

28m 44s

Intro
0:00
Lesson Overview
0:36
Linear Means
0:50
Second-Order
1:15
Homogeneous
1:30
Constant Coefficient
1:55
Solve the Characteristic Equation
2:33
Roots r1 and r2
3:43
To Find c1 and c2, Use Initial Conditions
4:50
Example 1
5:46
Example 2
8:20
Example 3
16:20
Example 4
18:26
Example 5
23:52
Complex Roots of Second Order Equations

31m 49s

Intro
0:00
Lesson Overview
0:15
Sometimes The Characteristic Equation Has Complex Roots
1:12
Example 1
3:21
Example 2
7:42
Example 3
15:25
Example 4
18:59
Example 5
27:52
Repeated Roots & Reduction of Order

43m 2s

Intro
0:00
Lesson Overview
0:23
If the Characteristic Equation Has a Double Root
1:46
Reduction of Order
3:10
Example 1
7:23
Example 2
9:20
Example 3
14:12
Example 4
31:49
Example 5
33:21
Undetermined Coefficients of Inhomogeneous Equations

50m 1s

Intro
0:00
Lesson Overview
0:11
Inhomogeneous Equation Means the Right Hand Side is Not 0 Anymore
0:21
First Solve the Homogeneous Equation
1:04
Find a Particular Solution to the Inhomogeneous Equation Using Undetermined Coefficients
2:03
g(t) vs. Guess for ypar
2:42
If Any Term of Your Guess for ypar Looks Like Any Term of yhom
5:07
Example 1
7:54
Example 2
15:25
Example 3
23:45
Example 4
33:35
Example 5
42:57
Inhomogeneous Equations: Variation of Parameters

49m 22s

Intro
0:00
Lesson Overview
0:31
Inhomogeneous vs. Homogeneous
0:47
First Solve the Homogeneous Equation
1:17
Notice There is No Coefficient in Front of y''
1:27
Find a Particular Solution to the Inhomogeneous Equation Using Variation of Parameters
2:32
How to Solve
4:33
Hint on Solving the System
5:23
Example 1
7:27
Example 2
17:46
Example 3
23:14
Example 4
31:49
Example 5
36:00
Section 3: Series Solutions
Review of Power Series

57m 38s

Intro
0:00
Lesson Overview
0:36
Taylor Series Expansion
0:37
Maclaurin Series
2:36
Common Maclaurin Series to Remember From Calculus
3:35
7:58
Ratio Test
12:05
Example 1
15:18
Example 2
20:02
Example 3
27:32
Example 4
39:33
Example 5
45:42
Series Solutions Near an Ordinary Point

1h 20m 28s

Intro
0:00
Lesson Overview
0:49
Guess a Power Series Solution and Calculate Its Derivatives, Example 1
1:03
Guess a Power Series Solution and Calculate Its Derivatives, Example 2
3:14
Combine the Series
5:00
Match Exponents on x By Shifting Indices
5:11
Match Starting Indices By Pulling Out Initial Terms
5:51
Find a Recurrence Relation on the Coefficients
7:09
Example 1
7:46
Example 2
19:10
Example 3
29:57
Example 4
41:46
Example 5
57:23
Example 6
1:09:12
Euler Equations

24m 42s

Intro
0:00
Lesson Overview
0:11
Euler Equation
0:15
Real, Distinct Roots
2:22
Real, Repeated Roots
2:37
Complex Roots
2:49
Example 1
3:51
Example 2
6:20
Example 3
8:27
Example 4
13:04
Example 5
15:31
Example 6
18:31
Series Solutions

1h 26m 17s

Intro
0:00
Lesson Overview
0:13
Singular Point
1:17
Definition: Pole of Order n
1:58
Pole Of Order n
2:04
Regular Singular Point
3:25
Solving Around Regular Singular Points
7:08
Indical Equation
7:30
If the Difference Between the Roots is An Integer
8:06
If the Difference Between the Roots is Not An Integer
8:29
Example 1
8:47
Example 2
14:57
Example 3
25:40
Example 4
47:23
Example 5
1:09:01
Section 4: Laplace Transform
Laplace Transforms

41m 52s

Intro
0:00
Lesson Overview
0:09
Laplace Transform of a Function f(t)
0:18
Laplace Transform is Linear
1:04
Example 1
1:43
Example 2
18:30
Example 3
22:06
Example 4
28:27
Example 5
33:54
Inverse Laplace Transforms

47m 5s

Intro
0:00
Lesson Overview
0:09
Laplace Transform L{f}
0:13
Run Partial Fractions
0:24
Common Laplace Transforms
1:20
Example 1
3:24
Example 2
9:55
Example 3
14:49
Example 4
22:03
Example 5
33:51
Laplace Transform Initial Value Problems

45m 15s

Intro
0:00
Lesson Overview
0:12
0:14
Take the Laplace Transform of Both Sides of the Differential Equation
0:37
Plug in the Identities
1:20
Take the Inverse Laplace Transform to Find y
2:40
Example 1
4:15
Example 2
11:30
Example 3
17:59
Example 4
24:51
Example 5
36:05
Section 5: Review of Linear Algebra
Review of Linear Algebra

57m 30s

Intro
0:00
Lesson Overview
0:41
Matrix
0:54
Determinants
4:45
3x3 Determinants
5:08
Eigenvalues and Eigenvectors
7:01
Eigenvector
7:48
Eigenvalue
7:54
Lesson Overview
8:17
Characteristic Polynomial
8:47
Find Corresponding Eigenvector
9:03
Example 1
10:19
Example 2
16:49
Example 3
20:52
Example 4
25:34
Example 5
35:05
Section 6: Systems of Equations
Distinct Real Eigenvalues

59m 26s

Intro
0:00
Lesson Overview
1:11
How to Solve Systems
2:48
Find the Eigenvalues and Their Corresponding Eigenvectors
2:50
General Solution
4:30
Use Initial Conditions to Find c1 and c2
4:57
Graphing the Solutions
5:20
Solution Trajectories Tend Towards 0 or ∞ Depending on Whether r1 or r2 are Positive or Negative
6:35
Solution Trajectories Tend Towards the Axis Spanned by the Eigenvector Corresponding to the Larger Eigenvalue
7:27
Example 1
9:05
Example 2
21:06
Example 3
26:38
Example 4
36:40
Example 5
43:26
Example 6
51:33
Complex Eigenvalues

1h 3m 54s

Intro
0:00
Lesson Overview
0:47
Recall That to Solve the System of Linear Differential Equations, We find the Eigenvalues and Eigenvectors
0:52
If the Eigenvalues are Complex, Then They Will Occur in Conjugate Pairs
1:13
Expanding Complex Solutions
2:55
Euler's Formula
2:56
Multiply This Into the Eigenvector, and Separate Into Real and Imaginary Parts
1:18
Graphing Solutions From Complex Eigenvalues
5:34
Example 1
9:03
Example 2
20:48
Example 3
28:34
Example 4
41:28
Example 5
51:21
Repeated Eigenvalues

45m 17s

Intro
0:00
Lesson Overview
0:44
If the Characteristic Equation Has a Repeated Root, Then We First Find the Corresponding Eigenvector
1:14
Find the Generalized Eigenvector
1:25
Solutions from Repeated Eigenvalues
2:22
Form the Two Principal Solutions and the Two General Solution
2:23
Use Initial Conditions to Solve for c1 and c2
3:41
Graphing the Solutions
3:53
Example 1
8:10
Example 2
16:24
Example 3
23:25
Example 4
31:04
Example 5
38:17
Section 7: Inhomogeneous Systems
Undetermined Coefficients for Inhomogeneous Systems

43m 37s

Intro
0:00
Lesson Overview
0:35
First Solve the Corresponding Homogeneous System x'=Ax
0:37
Solving the Inhomogeneous System
2:32
Look for a Single Particular Solution xpar to the Inhomogeneous System
2:36
Plug the Guess Into the System and Solve for the Coefficients
3:27
Add the Homogeneous Solution and the Particular Solution to Get the General Solution
3:52
Example 1
4:49
Example 2
9:30
Example 3
15:54
Example 4
20:39
Example 5
29:43
Example 6
37:41
Variation of Parameters for Inhomogeneous Systems

1h 8m 12s

Intro
0:00
Lesson Overview
0:37
Find Two Solutions to the Homogeneous System
2:04
Look for a Single Particular Solution xpar to the inhomogeneous system as follows
2:59
Solutions by Variation of Parameters
3:35
General Solution and Matrix Inversion
6:35
General Solution
6:41
Hint for Finding Ψ-1
6:58
Example 1
8:13
Example 2
16:23
Example 3
32:23
Example 4
37:34
Example 5
49:00
Section 8: Numerical Techniques
Euler's Method

45m 30s

Intro
0:00
Lesson Overview
0:32
Euler's Method is a Way to Find Numerical Approximations for Initial Value Problems That We Cannot Solve Analytically
0:34
Based on Drawing Lines Along Slopes in a Direction Field
1:18
Formulas for Euler's Method
1:57
Example 1
4:47
Example 2
14:45
Example 3
24:03
Example 4
33:01
Example 5
37:55
Runge-Kutta & The Improved Euler Method

41m 4s

Intro
0:00
Lesson Overview
0:43
Runge-Kutta is Know as the Improved Euler Method
0:46
More Sophisticated Than Euler's Method
1:09
It is the Fundamental Algorithm Used in Most Professional Software to Solve Differential Equations
1:16
Order 2 Runge-Kutta Algorithm
1:45
Runge-Kutta Order 2 Algorithm
2:09
Example 1
4:57
Example 2
10:57
Example 3
19:45
Example 4
24:35
Example 5
31:39
Section 9: Partial Differential Equations
Review of Partial Derivatives

38m 22s

Intro
0:00
Lesson Overview
1:04
Partial Derivative of u with respect to x
1:37
Geometrically, ux Represents the Slope As You Walk in the x-direction on the Surface
2:47
Computing Partial Derivatives
3:46
Algebraically, to Find ux You Treat The Other Variable t as a Constant and Take the Derivative with Respect to x
3:49
Second Partial Derivatives
4:16
Clairaut's Theorem Says that the Two 'Mixed Partials' Are Always Equal
5:21
Example 1
5:34
Example 2
7:40
Example 3
11:17
Example 4
14:23
Example 5
31:55
The Heat Equation

44m 40s

Intro
0:00
Lesson Overview
0:28
Partial Differential Equation
0:33
Most Common Ones
1:17
Boundary Value Problem
1:41
Common Partial Differential Equations
3:41
Heat Equation
4:04
Wave Equation
5:44
Laplace's Equation
7:50
Example 1
8:35
Example 2
14:21
Example 3
21:04
Example 4
25:54
Example 5
35:12
Separation of Variables

57m 44s

Intro
0:00
Lesson Overview
0:26
Separation of Variables is a Technique for Solving Some Partial Differential Equations
0:29
Separation of Variables
2:35
Try to Separate the Variables
2:38
If You Can, Then Both Sides Must Be Constant
2:52
Reorganize These Intro Two Ordinary Differential Equations
3:05
Example 1
4:41
Example 2
11:06
Example 3
18:30
Example 4
25:49
Example 5
32:53
Fourier Series

1h 24m 33s

Intro
0:00
Lesson Overview
0:38
Fourier Series
0:42
Find the Fourier Coefficients by the Formulas
2:05
Notes on Fourier Series
3:34
Formula Simplifies
3:35
Function Must be Periodic
4:23
Even and Odd Functions
5:37
Definition
5:45
Examples
6:03
Even and Odd Functions and Fourier Series
9:47
If f is Even
9:52
If f is Odd
11:29
Extending Functions
12:46
If We Want a Cosine Series
14:13
If We Wants a Sine Series
15:20
Example 1
17:39
Example 2
43:23
Example 3
51:14
Example 4
1:01:52
Example 5
1:11:53
Solution of the Heat Equation

47m 41s

Intro
0:00
Lesson Overview
0:22
Solving the Heat Equation
1:03
Procedure for the Heat Equation
3:29
Extend So That its Fourier Series Will Have Only Sines
3:57
Find the Fourier Series for f(x)
4:19
Example 1
5:21
Example 2
8:08
Example 3
17:42
Example 4
25:13
Example 5
28:53
Example 6
42:22
Bookmark & Share Embed

## Copy & Paste this embed code into your website’s HTML

Please ensure that your website editor is in text mode when you paste the code.
(In Wordpress, the mode button is on the top right corner.)
×
• - Allow users to view the embedded video in full-size.
Since this lesson is not free, only the preview will appear on your website.

• ## Related Books 1 answer Last reply by: Dr. William MurrayMon Apr 4, 2016 11:44 AMPost by Shih-Kuan Chen on March 31, 2016In example 4, why isn't y equal to + or - that whole business? 3 answers Last reply by: Dr. William MurrayMon Jan 4, 2016 12:29 PMPost by Jonathan Snow on December 22, 2015I have a quick question about the plus or minus K in example 1, why is it plus or minus? If k=e^c, k can't be a negative number right? 1 answer Last reply by: Dr. William MurrayFri Oct 30, 2015 4:14 PMPost by Aisha Alkaff on October 29, 2015Hello Dr. Murray, Thank you for your clear explanation. It really helped me a lot.but i have a question in Example 2:why wouldn't we just simplify y^2 byt taking the  square root? 1 answer Last reply by: Dr. William MurraySun May 3, 2015 7:38 PMPost by Tsz Hong Chow on April 29, 2015Hi, have you taught Bernoulli equations? I badly need this lecture 1 answer Last reply by: Dr. William MurrayMon Aug 25, 2014 6:42 PMPost by Joseph Green on August 24, 2014will there be any practice problems added to this lecture? 1 answer Last reply by: Dr. William MurraySat Jul 5, 2014 6:07 PMPost by Josh Winfield on June 30, 2014Hello,Why do you not write y' and y as functions of x, but you clearly do for the "coefficients" P(x) and Q(x), it bugs me a little. Is it because you want to highlight that y and y' are the variables your solving for, or just to make the equation a tad more clean. I can't help but leave y and y' as functions of x when i do all problems, is this incorrect?Regards Josh 1 answer Last reply by: Dr. William MurrayTue Feb 25, 2014 4:49 PMPost by Ahmed Obbad on February 24, 2014Hi professor, could you please explain me why the additive constant does not satisfy the differential equation while the multiplicative constant do? what if we keep it as Y=e^(x/2+ c)is this wrong? 1 answer Last reply by: Dr. William MurrayTue Jan 14, 2014 11:47 AMPost by cigdem drahman ozkan on January 8, 2014Hi professor, Could you kindly explain me; in second example, why we just ignore 2C?  and wrote as new constant K? 1 answer Last reply by: Dr. William MurrayFri Jul 5, 2013 10:19 AMPost by xueping liu on July 2, 2013Hi Dr.MurrayYour videos are awesome.They helped so much. But I also want to find some exercises for the related topic without buying those books. Do you have any suggestions?Thanks 3 answers Last reply by: Dr. William MurrayTue Apr 16, 2013 8:32 PMPost by Mohammed Alhumaidi on April 6, 2013This is an enjoyable experience, at least I do understand something now rather than in class lecturing, why is it the case though Prof, Murray

### Separable Equations

Separable Equations (PDF)

### Separable Equations

Lecture Slides are screen-captured images of important points in the lecture. Students can download and print out these lecture slide images to do practice problems as well as take notes while watching the lecture.

• Intro 0:00
• Lesson Objectives 0:19
• Some Equations Are Both Linear and Separable So You Can Use Either Technique to Solve Them
• Important to Add C When You Do the Integration
• Example 1 4:28
• Example 2 10:45
• Example 3 14:43
• Example 4 19:21
• Example 5 27:23

### Transcription: Separable Equations

Hi and thanks for joining us here on www.educator.com, my name is Will Murray and I’m doing the differential equations lecture series.0000

We have already had a lecture on linear differential equation, this is the second lecture and we are going to be studying separable equations today.0007

The idea of separable differential equations is that you are going to write Y′(x) as (dy)/(dx) and try to separate the variables in the following form.0022

You are going to try get all the y’s on one side of the equation and put (dy) over there and then you try to get all the x’s on the other side of the equation, put the (dx) over there.0032

That will not always work but if you can then it is called a separable differential equation where you can separate it into all the y’s on one side and all the x’s on the other side.0043

If you can do that then what you can do is integrate both sides and you will get some function of y on the left and some function of x on the right.0054

What you can do after that is solve for y(x), generally in to a few steps of algebra to solve for y(x) and you will get that y is equal to some function of x then you will be done.0067

The basic idea of separable differential equation, after we work couple of examples I think it will make a better sense.0083

There is a couple of notes I wanted to mention before we get started, one note is that some equation are both linear and separable.0089

We just had a lecture on linear differential equation and we had a completely different technique for solving that.0098

That was the one linear was the type of equation where you can write it as Y′ + p(y)=q and the we have a different technique for integrating factors for solving linear differential equations.0104

For some differential equations, they are both linear and separable so you can use the technique I just thought you or the linear technique to solve them.0119

If you do have a choice though, you probably want to go with the separation technique.0129

If you do have a choice the separation technique is usually a little bit less work than going through that whole integrating factor business, try to go with separation first, that is your first try.0134

Second very important note is remember that I said you are going to get something in terms of y × (dy)= something in terms of x × dx, and then you are going to integrate both sides.0147

What is important there is that you add the constant when you do the integration and not at any other step, it is very important that you do it exactly at that step of integration.0163

You do not have to add the constant to both sides you can just do it at one side because if you add the constant to both sides then you could just combine the 2 constants on the same side.0179

You only have to add the constant on one side but it is very important that you do it and it is important that you do it when you do the integration.0189

The reason it is so important is because after you do the integration there is usually a couple of steps of algebra for solving for y in terms of x.0197

A lot of times that will end up tangling up the constant into the equation and you have to let that happen.0207

You have to let that constant get tangled up into the solution, this is a real change from what you learned back in calculus 1 and 2.0213

Calculus 1 and 2 which you learned is whenever you do an indefinite integral, you just tack on a (+c) at the end.0226

You can do about 50 problems and then go back at the end and just put (+c) at the end of every single one.0232

Not so in differential equation, you got to be really careful with the constant and be careful when you insert it.0239

The time to add it on there is when you do the integration and every thing you do after that, you have to keep track of the constant as it gets tangled up into the equation.0246

Let us do a few examples and you will see how that constant plays out and how it really becomes part of the solution in a more significant way than it ever did in calculus 1 and 2.0255

For our first example here, we are going to find the general solution to the following differential equation Y′(x)=1/2 y(x).0269

Remember the whole point of separable differential equations is that you write the Y′ as (dy)/(dx) and then you try to separate the x’s on one side and the y’s on the other.0277

Let me write this as (dy)/(dx)=1/2 and that is y(x) that is not y multiply by x.0289

I will just write it as y and let me try to separate the (dy) and y on one side and then I’m going to multiply the (dx) over to the other side.0297

If I pull the y over the left hand side I will get dy/y on the left and move (dx) the other side is equal to ½(dx).0311

I have successfully separated my y’s on one side and my x’s on the other side, I can take the integral of both sides.0323

The integral of (dy)/y is just natural log or technically the absolute value of y.0332

The integral of ½(dx) is just 1/2x, now this is when I’m doing the integration and this is when I’m going to add a (+c).0339

I do not need a (c) on both sides, you do not need a (+c) here because you could just move it over and combine it with the other constant on the other side.0350

It is very important that you have a (+c) on one side or the other and that you incorporate it at this step.0365

Let me emphasize that, must add (c) when you do the integration.0374

Let me really emphasize that you go to do that when you do the integration.0392

The rest of it is just solving for y, in order to undo the natural log I’m going to raise (e) to the both sides, (e)natural log, that is the value of y is equal to,0401

Be careful, this is e (1/2x + c) is not, let me really emphasize this, I will this in red, this is not e 1/2x + c.0413

It is also not equal to e1/2x + ec, it is neither of those things.0429

It is really e(1/2x + c) and the way you resolve that is e1/2x × ec.0438

Ec is a constant so I’m going to call it a new value so I’m going to call it k and on the left hand side we get the absolute value of y is equal to just constant × e1/2x.0448

Y is equal to, technically + or – (ke)1/2x but that is still just a constant, I’m going to call that, what can I use for a new constant?0464

Y is equal to I will use a new constant A(e)1/2x.0483

Let me emphasize here that this is not like calculus 1 or 2 where you can just add on a constant at the end, we would have got in0494

Let me write this in red, we would have got in e1/2x and then we would just tack on a constant at the end.0505

It does not work like that because we really need to keep track of a constant and the fact that it turned into a multiplicative constant and not an additive constant.0514

We are finished with that problem but let me recap the steps here, I wrote Y′ as (dy)/(dx), I wrote y(x) as just y, that is not y multiplied by x.0528

The reason it says y of x here is to remember that y actually is a function of x, I wrote this as ½(y).0537

The whole game for separable differential equations is to get all the y’s on one side and all the x’s on the other side.0547

I moved this y over and I moved this (dx) over this side, so I get dy/y=1/2(dx), integral of dy/y is natural log of the absolute value of y.0555

Integral of 1/2 x is (½ x + c), it is very important that we add the (c) at this step because this is where we are doing the integration.0571

Then we solve for y, so we raise (e) to both sides and you have to be careful with your rules of exponents here e1/2x+c is = e1/2x × ec, not (+) ec.0581

We got the absolute value of y is equal to, ec is another constant and I will call that k.0597

Absolute value of y is = to (ke)1/2x , y just turns into + or – k which I call the new constant A,( Ae)1/2x.0603

I wanted to emphasize here that really the role of the constant, you have to add it as this point and keep track of it.0616

Keeping track of it show you that it is a multiplicative constant and not an additive constant, this would be wrong if you give it as an additive constant.0625

Wrong in the sense that it would not satisfy the differential equation, it would not make the differential equation true anymore.0635

That is why you really have to be careful with that.0641

Let us try another one here, we have to find the general solution to the following initial value problem.0646

We have (yY)′ + x =0, y(0)=3, remember the goal with the separable differential equations is you write your Y′ as dy/dx and we are going to write y × dy/dx + x=0.0655

The idea is to try to separate the variables, get all the x’s on one side and get all the y’s on the other.0677

In this case we get y × dy/dx, I will that x on the other side and get –x and then if I multiply dx by both sides I will get y/dy=-x/dx.0682

Now I have successfully separated my variables x’s on one side, y’s on the other.0700

Take the integral of both of these, the integral of y/dy is = y2/2.0707

The integral of –x/dx is –x2/2, but I just did my integral so I have to put the constant right here.0713

I’m going to try to simplify this a bit, I’m going to multiply both sides by 2 so I get y2 is = -x2 + now 2c is just another constant so I’m going to call it (k).0725

Add the x2 + y2= k and now I’m going to use my initial condition in order to find the value of that constant.0746

I’m going to plug in x=0, y=3, I plug those in y(0)=3, that tells me 02 + 32=k, that tells me k=9.0759

If I plug that back into my general solution there, what I get is x2 + y2=9.0781

That solves my initial value problem, let me remind you of each of the steps that we went through there.0801

We started out with by converting this Y′ into dy/dx and then I was trying to get my x’s on one side and y’s on the other.0806

I got my x on the right, I still have dy/dx on the left so I multiply that dx over to the other side and get x/dx on the right.0816

Now I integrate both sides, integral of y/dy is y2/2, integral of x/dx or –x/dx is –x2/2 + a constant.0827

You do not have to add the constant on both sides but you do have to add it on one side, it is very important that you do it right here when you do the integration.0837

I was going to solve for, try to simplify as best I can, to get rid of those 2 I multiply both sides by 2, get a 2c over here which is 2 × the constant, which is another constant so I called it k.0847

In order to find the value of k, I used my initial condition x=0, y=3, I plug that in right here and I found the value of k is 9.0862

I substitute that back in to the general solution and I get x2 + y2=9.0874

On example 3, I’m given a differential equation Y′(x) + xy=x3, I have to determine if this thing is separable.0885

The way I’m going to do that is I’m going to write my Y′ as dy/dx + xy=x3.0896

I will be wanting to multiply my dx by both side so I’m trying to move and keep my dy/dx on one side and move x3 - xy over the other side.0909

What I would like to the is to factor the right hand side, I want to factor this into something of the form of a function of x × a function of y.0924

I can not factor that into that form and because I can not factor that, this equation is not separable.0948

We can not do this, we can not factor that in that form.0957

This equation is unfortunately is not separable, we can not use our technique of separating the variables to solve this differential equation, it is not separable.0973

That is all really we are asked to find for this example, we are asked to check whether this differential equation is separable.0993

However I will add a note here, in a parenthesis, (However, it is in linear form.)0999

I will remind you what that form is, the linear form for differential equations is Y′ + p(x)/y=q(x).1012

This is in linear form so you could solve this differential equation using the technique we have learned on the previous lecture on linear differential equations.1026

It could be solved using our technique for linear differential equations.1038

That is something that I have a separate lecture here in the differential equation lecture series for linear differential equations.1053

There is another lecture here in the differential equation lecture series for linear differential equations where we learned how to solve this.1073

We used something called the integrating factor to solve the linear differential equation.1081

If you want you can just check that lecture and you can see exactly how to solve this differential equation using that technique even though our separation of variables technique did not work on this one.1086

Let me just remind you what we did here, we started out by writing Y′ as dy/dx, that is a quick first step for all separable differential equation.1099

You put everything over the other side and you try to factor it into something that will easily separate the x’s and y’s.1110

Unfortunately this one, you can not factor it in that form so this differential equation is not separable.1120

However, that is essentially the end of the road as far as separation techniques go but I did notice this original differential equation is in linear form Y′ + p(x)/y=q(x).1126

That was our linear differential equation form so you could use the linear differential equation technique that we learned in the previous lecture to solve this one.1144

You would not give up hope completely on this one, you just have to watch a different lecture to learn how to do it.1154

In our next example, we want to solve the initial value problem 3x – 6y × square root(x2 +1), dy/dx=0 and we also have the initial value of y(0)=4.1161

Again, let us try to separate the variables there, I think I’m going to write 3x= 6y × square root(x2 + 1) dy/dx.1177

I can divide both sides by 3, that will give me 1 here and 2 here, what else I’m going to do?1195

I think I’m going to move the x’s over to the other side, keep the y’s over on the right.1205

I get x/square root(x2 +1) = on the right I’m going to move the dx over to the other side as well, so dx here.1209

On the right I’m going to get 2y/dy, and now I have successfully separated all my x’s to the left and all my y’s to the right, I can integrate both sides.1223

2 separate integrals, one in terms of x and one in terms of y.1237

The y one is definitely going to be very easy that is just y2.1242

The x one looks more difficult, I’m going to do (u) substitution there.1246

I’m going to use u=x2 + 1 and du=2x/dx and if I move that 2 over the other side, I’m going to have 1/2du=x/dx which is what I have in the integral.1251

Let me convert that integral, I see I have 1/2du/square root(u), if I pull that half out to the outside I got ½.1273

The square root of u that is u-1/2du, this is all still equal to y2 and I need to integrate that.1287

Let me remind you the power rule, it says the integral of un/du=un+1/n+1 + the constant.1297

Here my n is -1/2, n + 1 is ½ so I get u1/2/1/2, that is n + 1.1309

I still ½ on the outside so ½ on the outside multiplied by that and I have to add my (+c) right now because now is when I’m doing the integration.1322

This is equal to y2, let us keep going up here, those half cancel each other out and I get u1/2.1337

What was u? u was x2 + 1, so I get the square root of x2 + 1 + a constant is = to y2.1346

Let me just switch my sides here, y2= square root of (x2) + 1 + a constant.1359

I’m ready to use my initial condition to find my constant, now this initial condition is telling me x=0, y=4, I plug those in here.1367

Y2 will be 42=square root of 02 + 1 + (c).1379

I get 16=1 + (c) and so my c =15, I plug that back in here I will get y2=square root of x2 + 1 + 15.1387

If I solve for y, I see that my y is positive here so I’m going to take the +square root, y =square root of all of that.1411

The square root of x2 + 1 + 15 and then the square root of all of that and now I have solved for my y.1421

Let us recap what happened here, I was trying to separate my variables so the first thing was I moved all of this stuff over to the other side.1442

That is how I got 6y root x2 + 1, dy/dx on the other side.1452

I have 3 on one side and 6 on the other, it seems like I should cancel there.1458

If I divide both sides by 3 I get a 2 over on the right, that is where that 2 comes from.1463

I moved the x2 + 1, I divided that over to the denominator and I multiplied that dx over the numerator.1469

That just leaves me with 2y/dy on the right and x2 + 1 on the left.1476

The key point there is I have separated all x’s on the left, all y’s on the right and now I can take the integral of both sides.1484

The integral of 2y is just y2, I’m not worried about the constant there because I know I’m going to add it on the other side as I do my integral for x.1493

That integral turns out to be a little more complicated so I did a substitution u=x + 1, du=2x/dx and so x/dx is ½ du.1502

I know it is that because I have a x/dx there, that turned into ½ du and then I have square root of u in the bottom which is the same as u-1/2.1513

If I integrate that using the power rule back from calculus 1, I raise it by 1, -1/2 + 1 is +1/2.1529

I have to divide by ½ but that cancels out what my ½ out here, that is ½ and that is cancelled out.1540

This is when I do the integration, this is when I add the constant, it is not ok just add the constant at the end in differential equation, you got to add the constant when you do the integral.1549

Add (+c) when you do the integral.1561

The reason you have to do it when you do the integral and not just tack it on the end is because there is several more steps of algebra coming.1575

That (c) gets tangled up in to the equation, in particular it got put under a square root here.1583

You really have to keep track of the (c) as you go through all the algebra afterwards.1590

That is what I was doing here is I was trying to solve for y2 and I was using my initial condition, plugging in y= 4, plugging in x=0 to solve for c.1594

I solved for (c) and I got (c)=15 but then I still have to solve for y.1608

I took the square root of both sides and the (c) goes under the square root, that 15 goes under the square root, I have to keep track of it from now on.1614

I could not just tack it on at the end, I really have to keep track of it and the role it plays in the equation.1623

My final answer there is the square root of x2 + 1 + 15.1630

A little bit complicated there but the basic technique is not too bad.1636

We got one more example here, example 5 is to solve the initial value problem Y′(x) =x2y and y(0)=7.1644

My Y′ there since we are going to treat this as a separable differential equation, I’m going to write that as dy/dx = x2y.1656

I’m not going to worry about that initial condition yet, that will come in at the very end is when you actually use the initial condition to solve for whatever arbitrary constant you find.1667

In the meantime what I’m going to try to do is try to separate all the y’s on one side and all the x’s on the other.1677

That is just a matter of multiplying and dividing, if I divide both sides by y, I will get dy/y on the left, multiply both side by dx I get x2 dx on the right.1684

I have successfully separated the y’s on the left and x’s on the right, I can integrate both sides.1696

The integral of dy/y is the natural log of absolute value of y.1703

The integral of x2 is x3/3.1708

I just did my integration I got to add on a constant right now, that is very important that you add that constant right when you do the integration, not earlier and definitely not later at the end.1713

I’m going to try to solve for y, I’m going to raise e to both sides, e to the natural log of absolute value of y= be very careful here, e to all of the right hand side x3/3 + c.1725

That all gets put in the exponent of e and not just the x3/3 part, I got absolute value of y is equal to1738

My laws of exponents here tell me that this is e to the x3/3 × e to a constant, not added to e to a constant but multiply by e to a constant.1748

Y is equal to (+ or -) e to a constant, think of that as a single constant e to the x3/3.1759

If I think of that as a single constant, I’m going to write that as k × e to the x3/3 because e to a constant is still a constant and (+ or -) a constant is still a constant.1771

I got y = ke to the x3/3.1784

That is the general solution for my differential equation, it is as much as I can derive just using the differential equation.1788

However, I also got the initial condition, I have been given that and so I’m going to use that to go a little bit further and figure out the particular value of that constant.1799

If we have not been given that initial condition we will just stop right now with the general solution but since we have that initial condition y(0)=7.1810

I plug in y=7 and x=0, 7 for y and 0 for x, 03/3, in the 0 that is just 1, that is equal to k.1821

I get 7=k and if I plug that back into my general solution, now that I know what k should be, I get y is equal to 7e to the x3/3.1836

That is my particular solution to the initial value problem, it is a solution to the differential equation and to the initial condition that we are given.1855

Let me emphasize here that it was really a key that I added the (+c) when I did the integration.1866

I could not do it at the end at this step right here at the end like you would in a calculus 1 or 2 problem.1874

In calculus 1, you would just tack on a (+c) at the end and everything is fine.1881

Here you got to add the (+c) right when you do the integration and then what happens is that (c) gets tangled up in the equation after that.1885

Let me go through those steps again just to make sure that they all make sense to you. I wrote Y′ as dy/dx -- that is a very common technique for separable differential equations.1895

That is still equal to x2y, I’m going to cross multiply and cross divide to get all my x’s on the right and my y’s on the left.1907

If I divided that y over to the other side and I multiply dx over the other side, I get this nice separated form with dy/y and x2 × dx.1922

I got all x’s on one side and all y’s on the other I can integrate both sides.1934

Integral of dy/y is natural log of y, the integral of x2 is x3/3 + c.1939

You got to add that (c) when we integrate and then all the steps after that you got to keep track of what is happening to the (c), you can not just tack that (c) on at the end.1947

To undo that natural log I raised e to both sides that gave me just absolute value of y on the left.1958

On the right it gave e to the (x3/3 +c), now you can not write that as e to the x3/3 + c, that is not the same thing, that would be very bad.1968

It is also not equal to e to the x3/3 + ec, that is also bad.1982

We are using the laws of exponents here, xa + b=xa × xb.1988

This is e to the x3/3 × ec, I pull that over to the other side.1998

Because I have an absolute value here, I just made a (+ or -) but that whole thing (+ or -) ec is just on e big constant that I called (k).2005

In order to find the value of K, I used the initial condition, this is telling me right here that x=0, y=7 .2013

I plug those values into this general solution here y=7, x=0 and e0 is just 1 and this just turns in to k =7.2026

I figure out that my k is 7, plug that back into the general solution and I get my specific solution y=7e to the x3/3.2039

That wraps up our lecture on separable differential equations, I hope you have enjoyed it as much as I have.2050

We got a lot of other lectures available on a lot of other topics on differential equations.2058

This is the very first topic, we got all kinds of stuff available on systems of differential equations, on solving differential equations by series.2063

We got stuff on second order differential equations, all the different solution techniques that you are going to learn in any differential equation course.2073

We got some stuff on numerical solutions to differential equations, we got partial differential equations in 4a series.2082

They are all here in the differential equations lecture series on www.educator.com.2089

I hope you will stick around and join me for all those other lectures and enjoy learning differential equations with me.2097

My name is Will Murray and this is the differential equation lecture series here on www.educator.com.2104

Thanks for being with us, bye.2109

OR

### Start Learning Now

Our free lessons will get you started (Adobe Flash® required).