Professor Murray

Professor Murray

Inhomogeneous Equations: Variation of Parameters

Slide Duration:

Table of Contents

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
Answer Questions
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
Solutions Will Return to Stable Equilibria
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
Radius of Convergence
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
Start With Initial Value Problem
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
Loading...
This is a quick preview of the lesson. For full access, please Log In or Sign up.
For more information, please see full course syllabus of Differential Equations
Bookmark & Share Embed

Share this knowledge with your friends!

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.
  • Discussion

  • Answer Engine

  • Study Guides

  • Download Lecture Slides

  • Table of Contents

  • Transcription

  • Related Books

Lecture Comments (21)

1 answer

Last reply by: Dr. William Murray
Fri Mar 31, 2017 9:43 AM

Post by Mert Gündüç on March 30, 2017

God bless you !!
10:02

1 answer

Last reply by: Dr. William Murray
Thu Dec 22, 2016 11:19 AM

Post by waifong kao on December 19, 2016

Hi Professor Murray,
When you solve for the homogeneous equation, what would happen if you end up with imaginary roots, double roots, or none?

Thanks!

1 answer

Last reply by: Dr. William Murray
Fri Jul 10, 2015 12:39 PM

Post by matt kruk on July 8, 2015

hi professor what method would you use to solve for the homogeneous solutions in example 1 just curious

1 answer

Last reply by: Dr. William Murray
Thu May 21, 2015 9:06 PM

Post by Ji Yun Hwang on May 19, 2015

Hi Dr.Murray, First of all, thank you so much for the clear explanation on the video.
I have a quick question about Wronskian equation.
If the Wronskian gives zero value, then is it impossible to find y particular equation?
If then, why is that?

1 answer

Last reply by: Dr. William Murray
Wed Mar 18, 2015 8:06 PM

Post by Edward Gutierrez on March 15, 2015

Don't know where else to ask this.
I'm watching the lectures for Differential Equations and the titles in my book are different than some in the course curriculum. I don't know if educator.com just doesn't have these lessons, or if they are just somewhere in other lectures. I used the search feature, but am unable to find any of the keywords. Please help.
I'm looking for

CHAPTER:LINEAR SECOND-ORDER EQUATIONS
SECTION:The super-position principle
SECTION: Variable-Coefficient Equations

CHAPTER: INTRODUCTION TO SYSTEMS AND PHASE PLAN ANALYSIS
SECTION:Differential Operators and the elimination method for systems

CHAPTER: THEORY OF HIGHER ORDER-LINEAR DIFFERENTIAL EQUATIONS
SECTION: Basic theory of Linear Differential Equations
SECTION: Homogeneous linear equations with constant coefficients
SECTION: Undetermined coefficients and the Annihilator Method

3 answers

Last reply by: Dr. William Murray
Wed Dec 3, 2014 6:28 PM

Post by Josh Winfield on November 29, 2014

You said that this method is used to solve linear, second-order, inhomogeneous, constant coefficient DE. However in example 1 it does not seem to be constant coefficient, why is this?

1 answer

Last reply by: Dr. William Murray
Thu Mar 27, 2014 6:18 PM

Post by Mohamed Badawy on March 25, 2014

Hey Dr. Murray,

Same the same thing Hee Jong Kim, can be said for example 4. I had my y_hom=c1e^(-2t)+c2e^(-t)

But at min 32:39 you were going to say r+2, and then changed your mind, is there a reason for that? is my general solution of y_hom=c1e^(-2t)+c2e^(-t) incorrect?

2 answers

Last reply by: Dr. William Murray
Thu Jul 18, 2013 8:34 AM

Post by mateusz marciniak on July 9, 2013

hi professor in example 5 when you were solving for u1 by taking the integral of u1 prime you did a u substitution, i found it strange since the u and du (in your example s & ds) were the same thing leaving just the sine to be integrated, are you allowed to do that because by instinct i would have done integration by parts

Thanks

1 answer

Last reply by: Dr. William Murray
Wed May 22, 2013 3:53 PM

Post by Hee Jong Kim on May 22, 2013

Hello, ProfessorMurray

I think example 2's Wronskian of the solutions can be vary. Depending on the arbitrary y_nom, W can be 1 as well if I put y_nom = c1cos(t)+c2sin(t).
Am I missing something or correct?

Thank you for your great lecture! I wish there's second order DE application lectures as well.

Inhomogeneous Equations: Variation of Parameters

Inhomogeneous Equations Variation of Parameters (PDF)

Inhomogeneous Equations: Variation of Parameters

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 Overview 0:31
    • Inhomogeneous vs. Homogeneous
    • First Solve the Homogeneous Equation
    • Notice There is No Coefficient in Front of y''
    • Find a Particular Solution to the Inhomogeneous Equation Using Variation of Parameters
    • How to Solve
    • Hint on Solving the System
  • Example 1 7:27
  • Example 2 17:46
  • Example 3 23:14
  • Example 4 31:49
  • Example 5 36:00

Transcription: Inhomogeneous Equations: Variation of Parameters

Hi welcome back to www.educator.com, I’m Will Murray doing the differential equations lectures.0000

Today we are going to talk about inhomogeneous equations and the method of variation of parameters.0005

There are 2 ways to solve inhomogeneous equations in the last lecture we learned the method of undetermined coefficients and we worked through that very carefully.0011

Today we are going to learn a totally different method which is called variation of parameters, let us see how that works out.0022

To solve the linear second order inhomogeneous, that is really the key word here, inhomogeneous constant coefficient differential equation, Y″ + bY′ + cy=g(t).0032

The key part here is that inhomogeneous, remember homogeneous means you have a 0 on the right hand side, inhomogeneous means that you have a function here that is not 0, a g(t).0046

We are going to solve the homogeneous equation first by the methods of earlier lectures, remember we had several lectures on how to solve homogeneous equations.0058

If you do not remember how to do that, maybe go back and check the earlier lectures in the differential equation series and what you will get is a homogeneous solution c1 y1 + c2 y2.0070

Before we go on I want to emphasize one point here, you will notice here that there is no coefficient in front of the Y″.0083

That is going to be a key point to make some of the equations later on work out.0092

If you are trying to solve one of these equations and you do have a coefficient in front of the Y″, what you want to do is divide that away any coefficient here.0097

Let us see some examples of that and that really does matter and it is something that can really easily lead you into mistakes when you are solving these things, we will be careful with that.0116

First you solve the homogeneous equation, it means you set the right hand side equal to 0, that is what homogeneous means.0127

Using what we learned about the characteristic equation and complex roots from repeated roots, all that business took us several lectures to unfold to get a homogeneous solution c1 y1 + c2 y2.0136

Let me show you where you go from there, you want to find a particular solution to the inhomogeneous using what is called variation of parameters.0151

What that means is where we had c1 before and c2, we are going to replace those by generic functions u1(t) and u2(t).0161

We do not know what the u1 and u2 are but we are going to replace those by functions and that is going to form our particular solution.0174

Here is how you figure out what u1 and u2 are, you solve this system y1 u1′ + y2 u2′=g.0185

Let me stress here what is known and what is unknown, the known is the y1 and y2.0204

You know that because you got those from your homogeneous solution which you already solved.0215

You also know (g), because that came from the g(t), that is how get this g.0224

What you do not know and what you are trying to solve for are the u1 and u2, remember the u stands for unknown here.0232

Since you do not know what u1 and u2 are, you do not know what their derivatives are either and you want to think of the 2 variables here as being u1′ and u2′.0243

We have 2 equations and unknown here, it is like an algebraic system that you solved in high school algebra but it is actually trickier than that,0254

Because all of these things are functions instead of just constants and numbers.0264

Let me walk you through how you would solve these things, you solve the system for u1 and u2′.0270

That just tells you the derivatives of u1 and u2, then you have to integrate u1′ and u2′ to get u1 and u2.0278

Once you figure out those, you plug those in to your original guess for the particular solution and you make those the coefficients of y1 and y2.0289

Remember those will be functions of (t), it is not c1 y1 + c2 y2, they are not constants anymore, they are functions of (t).0298

I want to expand a little bit on this business of solving the system for u1′ and u2′ because that can be a little unpleasant, it is not as easy as solving systems in high school algebra.0309

I will be gave a short hand way of solving that, you got find what is called the Wronskian of the 2 homogeneous solutions.0321

Wronski was a Polish mathematician so the Wronskian is named after him.0331

It means that you set up this little matrix of y1 and y2 and then on the second line you put their derivatives y1′ and y2′.0336

Then you take the determinant of this matrix which means you cross multiply y1 × y2′ and y2 × y1′ and you subtract those.0347

You get this determinant y1 y2′ – y2 y1′.0360

The way you can find u1′ and u2′ is you plug in that determinant that you just figured out in the denominator and the numerator you have y2 and that (g).0368

Remember that was from the right hand side of the original differential equation Y″ + bY′ +cy=g(t) that is where the (g) comes from.0383

And the y1 and y2 come from your homogeneous solutions.0396

That is kind of a formulaic way you can find u1′ and u2′ but you still have to integrate them to get u1 and u2.0402

And then you take those u1 and u2 and plug in to your guess for the particular solution u1 y1 + u2 y2.0423

There are several steps here we will go through some examples so you will get a chance to get more comfortable with this.0440

Let us go ahead and jump in to the examples.0446

We are starting with the homogeneous differential equation (t2 Y″ – t) × (t + 2Y′) + (t + 2y)=0.0448

We are given the general solution there, the homogeneous solution is c1 t + c2 tet and then we are asked to find the general solution to the inhomogeneous differential equation.0460

It is the same stuff on the left hand side but inhomogeneous means the right hand side is not 0.0477

We replaced it with 2tq, let us go ahead and see how that one works out.0483

I wanted to give myself a new clean slate here.0498

Remember a key part of solving these things using variation of parameters is that you can not have a coefficient on the Y″.0501

Here we do have this coefficient so right away I’m just going to divide the whole equation by t2.0510

I get Y″ -, now t/t2 is 1/t, I will just write t + 2/t Y′ + t + 2/t2y = t3/t2 is just t.0518

What I did there was I divided away that t2 so I will have a nice clean Y″ with no coefficient there and that means my g(t) is 2t, that is the g(t).0541

The homogeneous solution is where you get your y1 and y2, so that is y1 and that is y2.0560

I’m going to follow the solution hint that I gave you in the lesson overview where we find the Wronskian of y1 and y2.0569

That means you write the original equations on the first line, y1 is t and y2 is tet.0579

On the second line you take their derivatives, the derivative of t is 1, derivative of tee we got to use the product rule on that.0591

It is t × the derivative of et, so that is tet + et × the derivative of t, that is just et × 1.0600

That is our Wronskian and we need to take the determinant of that, which is t2 et + tet- the back diagonal tet.0621

Those 2 terms cancel out and we get t2 et, that is our Wronskian determinant.0646

Remember our formula for u1′ is –g × y2/ the Wronskian, so that is negative.0655

My g was 2t, 2t × y2 is tet, I divide that by the Wronskian determinant which is t2et.0669

It looks like I have a t2 cancelling and an et cancelling, I will just get -2 there and that was my u1′.0688

I integrate that to get u1, integrate that would respect to t will get 2t.0698

You do not need to add constants when you are doing these integrals, ultimately our particular solution is going to be u1 y1 + u2 y2.0706

If I added a constant to u1, I would end up just getting more constant multiples of y1 in my particular solution which would just replicate terms from my homogeneous solution.0722

There is no point in adding constant to u1 here.0737

U2′, remember our formula back from the lesson overview is (gy) 1/ the Wronskian determinant.0741

Our g is 2t, our y1 comes from here, is t, divided by t2et and I get 2.0754

The t’s are all cancelled but I still have this et in the denominator, that is the same as multiplying by e-t.0771

The integral of u2′, the integral of 2e-tdt which is negative to e-t, not dt anymore because I have done the integral.0783

I do not need to add a constant when I do that integration, my particular solution is u1 y1 + u2 y2 which is -2t, that is u1 × y1 is t + u2 is -2 e-t and y2 is tet.0801

This actually simplifies down a bit, we get -2t2, the e-t and et cancel each other out (-2t).0838

Let me point something out, this -2t part is actually this replicates a term of the Y homogeneous there.0850

It means that it is really not contributing anything to the particular solution.0874

If you ran it through the differential equation you just get 0 because it is a homogeneous solution.0877

We can omit, we can leave that part off.0886

Which means when we go for the general solution I can leave that part off, it is the homogeneous solution + the particular solution just like before.0896

It is c1 t + c2 tet , and now my particular solution I can leave off the -2t because it is already built in to this part -2t2.0908

We have solved our very first problem using variation of parameters.0931

Let me just recap how that worked out here, first thing we have to do is get rid of this t2.0942

We did not want any coefficient in front of the Y″ so I divided it out and that meant that the term on the right hand side became 2t, so that was the g(t) that I used there.0947

Then I wanted to use my formulas for variations of parameters, first thing I have to do for that was to build this Wronskian matrix.0960

Which means I take the 2 functions from the homogeneous solution t and tet, write down their derivatives and get a 2 by 2 matrix, take its determinant by cross multiplying.0968

That simplify down to t2 et and then I used my 2 formulas for u1′ and u2′ which reduced down to -2 and 2e-t.0982

Integrate then to get u1 and u2, then I plugged it back into our guess for the particular solution which means that you take u1 and u2 and you multiply them by y1 and y2.0995

That is what I’m doing here, I noticed that one term of the particular solution was actually a copy of this term of the homogeneous solution.1011

I decided to leave it out because it is already built in to the homogeneous solution, I leave that part out and I added my particular solution back to the homogeneous solution to get my general solution.1021

At this point, if I have initial conditions I would use them to find the values of c1 and c2.1040

In this case I was not given an initial condition, I’m not going to find c1 and c2.1054

I’m just going to stop with my general solution.1060

Let us move on, for the inhomogeneous differential equation Y″ + y= tan t, we want to solve the corresponding homogeneous equation and find the Wronskian of the solutions.1067

The homogenous equation means you take the right hand side and you set it equal to 0, that is Y″ + y is equal to 0.1084

The characteristic equation, this is actually one that sometimes trips students up because they will say r2 + r=0.1095

That is not correct, remember the r term corresponds to the Y′ term not the y term, that is incorrect.1104

Let me show you, the correct one would be r2 + 1 =0, you will get r2=-1, r= i or -i.1115

Remember we have a formula back when we got complex roots to the characteristic equation, you can look that up a few lectures back when we have homogeneous equations.1131

There was a lecture called complex roots, it is said that when you have a + bi then you r solution is c1 eat cos.1142

I think we might have listed cos first, we might have listed sin first, it does not matter you can list either one first, + c2 eat cos(bt).1161

In this case our a is 0 and our b is 1, because we got 0 + 1i and 0-1i, these ea t terms that just gives you e0.1176

Those terms just turn into 1 and our homogeneous solution is c1 sin(1)t, just c1 sin(t) + c2 cos(t).1192

We got a nice homogeneous solution, it is not the solution to the inhomogeneous equation yet but it is a nice homogeneous solution.1214

We are also asked to find the Wronskian of the solutions, remember we set up this little matrix sin(t) cos(t) and then we take the derivative.1228

The derivative of sin is –cos and the derivative of cos is sin.1246

Reverse those, the derivative of sin(t) is +cos(t) and the derivative of cos is –sin(t).1259

To take the determinant we cross multiply there.1269

We get –sin2 and this one is positive but there was a negative in there so we get –sin2.1274

The back direction you always subtract so –cos2 and we get -1 for the Wronskian.1286

Let me mention here that this is a slightly unusual situation.1300

Normally the Wronskian will be a function of t not just a simple number, this was a nice one and it just simplify down to a number.1307

Normally the Wronskian will be a function of t, it will be et or cos (t) or something like that.1324

We have the Wronskian and we have our homogeneous solution.1331

That is all was have to do for this example but you want to make sure you really understand this example because we are going to use this one to solve the next one as well.1336

Let me recap quickly how this worked out, we wrote down the characteristic equation.1345

This is the correct form of the characteristic equation and that one I was just trying to highlight a common mistake that student make.1350

We found the roots, looked back at our old form for complex roots to find the generic form of the homogeneous solution.1358

This is plugging in a=0, b=1, and we get our homogeneous solution and that was the y1, that was the y2.1368

We set up our little matrix, found the derivatives and cross multiplied, simplified down to -1 as our Wronskian.1380

We are going to use all these to solve the inhomogeneous equation in the next example.1388

In example 3, we are going to keep going from example 2 where we have the inhomogeneous differential equation Y″ + y= tan(t).1395

Let me just remind you that we already solved the homogeneous equation in the previous example.1408

Here is what we figured out in example 2, the homogenous solution is c1 sin(t) + c2 cos(t).1416

That means our y1 is sin(t) and y2 is cos(t).1432

We also figured out the Wronskian of those 2 solutions, the Wronskian matrix turn out the derivative, the determinant turned out to be -11437

We are going to use all that to build our inhomogeneous solution using variation of parameters.1446

Let me show you how that one goes, u1′, here is our generic formula that we had at the very beginning of the lecture its –y2g/the Wronskian.1453

In this case, our y2 we got up above is cos(t) and our g, that is the right hand side of the original differential equation, that is g(t) right there.1469

This is tan(t) and our Wronskian is -1 so the negative is cancel we got cos(t) and tan(t) I’m going to write that as sin(t)/cos(t).1484

The cos is cancel and we just get sin(t), that was just u1′.1502

To get u1, we have to integrate that, the integral of sin(t)dt is –cos(t).1508

Remember, when we do this integration you do not need to add the arbitrary constant, if you did then you would end up just like replicating copies of your homogeneous solution.1518

That is why you do not have to worry about the arbitrary constant.1529

U2′, again using our formula from the beginning of the lecture is y1 g/the Wronskian.1532

Our y1 was sin(t) and our g was tan(t), Wronskian is -1.1543

Now, I put the negative outside, sin(t) and tan(t) is sin(t)/cos(t) and this is –sin2t/cos(t), that is a little uglier.1555

I’m going to write that as –sin2 as the same as 1 – cos 2(t)/cos(t).1577

I will distribute the negative signs so I get cos2t – 1/cos(t).1588

That is the same as cos(t), if I break up the fraction, -1/cos(t) is sec(t).1597

That was all, remember u2′, we still have not actually found u2.1613

To get u2 we take the integral of that, so let me keep going up here.1618

U2 is the integral of cos(t) – sec(t)dt, so we got to integrate that.1622

The integral of cos is sin(t), the integral of sec(t) is really not something you want to figure out on the spot.1635

That is just something that you have to remember from either calculus 1 or calculus 2.1644

If you do not remember that, you might want to check back at the www.educator.com lectures for calculus 2 in particular, we figured out what the integral of sec(t) is.1650

It was the natural log of sec(t) + tan(t).1659

Now we are going to take u1 and u2 and we are going to plug in our generic formula for the particular solution.1676

That is u1 y1 + u2 y2 and u1 is –cos(t) that is from here, y1 from here is sin(t).1685

Now u2 is this long expression sin(t), I will multiply it through by y2 which is cos(t) as I go along, + sin(t) cos(t) – cos(t) natural log of sec(t) + tan(t).1706

That is our particular solution but it works out pretty nicely because you can see we got a –cos(t) sin(t) here and then a +sin(t) cos(t)so those cancel out.1732

It simplifies down to –cos(y) × the natural log of sec(t) + tan(t).1744

That was our particular solution and to get the general solution, remember it is the homogeneous solution + the particular solution.1757

I go back to, my homogeneous solution is c1 sin(t) + c2 cos(t) + -cos(t) × natural log of sec(t) + tan(t).1770

You do not put an arbitrary constant on that particular part.1791

You just have arbitrary constants on the homogeneous part, the particular part was very carefully designed to work exactly right for the inhomogeneous equation.1798

It does not get an arbitrary constant.1808

To summarize what we did here, we started out with our homogeneous solution which we found back in example 2 and the previous examples.1813

You can check back there if you do not remember where that comes from, c1 × sin(t), c2 cos(t), sin(t) is y1 and cos(t) is y2.1823

We had these generic formulas for variation of parameters, u1′ is –y2g/the Wronskian and u2′ is y1g/the Wronskian.1834

For each of those we get our g(t) over here from the right hand side of the equation.1845

We plug in what y1 and y2 are I here and here and work them out.1850

That was u1′ so we had to take its integral to get u1, that was our u1.1856

This was u2′, a little bit of trigonometric cleverness and then we had to take the integral of that to get u2.1866

We plug those back into our generic form for the particular solution u1 y1 + u2 y2.1875

It turned out after we plugged in what u1 y1, u2 y2 where and got a nice cancellation here.1882

That simplified down and gave us a slightly simpler form for the particular solution.1889

We added that back on to the homogeneous solution c1 sin(t) + c2 cos(t).1894

That plus our particular solution gave us the general solution to the differential equation.1901

On our next example, we are going to start with the inhomogeneous differential equation Y″ + 3y′ + 2y=sin(et).1909

We are going to solve the corresponding homogeneous equation and we are going to find the Wronskian of the solutions.1919

The homogeneous equation means that you take the right hand side and you just set it equal to 0, you throw away whatever you see over there.1926

We are going to throw away the sin(et) and we are joust going to get Y″ + 3Y′ + 2y =0.1935

We learned in a few lectures back how to solve this kind of thing, you just set up the characteristic equation r2 + 3r + 2=0.1945

That factors nicely, that is r + 1 × r + 2=0.1957

I get r=-1 or -2, if you did not want to factor it, you could also do this by the quadratic equation.1971

My own personal feeling is that the quadratic equation is slight more susceptible to mistakes than the factoring method, but if you are more comfortable it is certainly ok to do it that way.1979

We get the homogeneous equation is c1 e-t that is from the -1 + c2 e-2t that is from the -2.1991

We got our homogeneous equation and that is a good step toward what we want.2005

What we are asked to do now is to find the Wronskian of the solution.2014

That means that you make a little matrix, e-t and e-2t and then find their derivatives.2019

Well, derivative of e-t is – e-t, derivative of e-2t is -2e-2t.2030

We are going to find the determinant of that matrix and that means we cross multiply here.2039

Positive direction there gives us -2e-t × e-2t, remember you add the exponents so that is e-3t.2047

In the negative direction we cross multiply and we get -e -2t, e-t, so that is e-3t.2062

But then we are subtracting it, so -e-3t, that turns into a plus and we get -2 +1, -e-3t as our Wronskian.2073

That is what we got by solving the inhomogeneous equation and finding the Wronskian of the solutions.2092

You want to hang on to this because the next example is to solve,2098

Sorry that was for solving the homogeneous equation.2102

We are going to use this same equation for the example and we will solve the inhomogeneous equation.2105

Let me recap quickly how we did this, we started with the homogeneous equation which means you just throw away the right hand side, set it equal to 0.2112

Solve that using the characteristic equation, factor it down, get a couple of roots, the roots become the exponents, the coefficients and the exponents, we get our homogeneous equation.2122

That is going to be the y1, that is going to be the y2, and then we set up our little matrix here with y1 and y2 and the derivatives of each one.2134

We multiply the positive forward direction, we multiply the negative backwards direction, add them up and we get our Wronskian there.2147

Hang on to these solutions, we are going to use them in the next example.2157

For example 5, we are going to solve the inhomogeneous differential equation Y″ + 3Y′ + 2y= sin et.2162

Let me remind you that we have solved the homogeneous equation for this one in the previous example.2173

Let me bring you up to date with what we have learned from example 4 here.2180

If you have not looked at example 4 recently, just go back and read that over so this would not be a complete mystery.2188

Example 4 told us that the homogeneous solution to this equation was c1 et + c2 e-2t.2194

That was our y1 and that was our y2 and we already found the Wronskian of those which turned out to be –e-3t.2213

We are in pretty good shape to get started on the inhomogeneous equation here which means we are going to use variation of parameters.2226

Using our formulas for variation of parameters u1′ is –y2 × g/the Wronskian, so –y2 is e-2t.2234

G is sin(et), remember g is whatever you see on the right hand side there, so sin(et), got that over here from g(t).2253

Our Wronskian determinant is –e-3t, this does simplify a bit.2270

First of course the 2 negative cancel each other, this e-3t, if you bring it up into the numerator it becomes e3t.2279

We have e3t, e-2t, just gives you e1t × sin(et), that simplifies a bit.2292

To get u1 itself, that was just the derivative we found there, we need to integrate e1t × sin(et) dt and we got to do a little substitution there.2303

We are going to do a little s substitution, I can not use u, normally I like to use u for u substitutions but we are already using the u’s for something else here.2317

I’m going to use another variable and I picked s, s = et and ds is going to be derivative of e and t is just eedt.2328

Here I have sin(s) and this ee dt just give me a ds and the integral of sin(s) is –cos(s), which is –cos(et),.2340

That was a little substitution, it might be worth reviewing the calculus 1 lectures for substitution here on www.educator.com if you are a little rusty on how to make substitutions in integration.2363

Let me show you, the next step is to figure u2′.2376

Again, using the formulas from the beginning, we have this is y1g/the Wronskian determinant.2380

Our y1 was e-t, g is still sin(et) and we are dividing that by –e-3t, that is the Wronskian determinant.2389

If I simplify that a bit, I will pull the negative outside and I will get e-3t when it comes up to the numerator turns into e3t.2407

We got e3t and et that gives us e2t × sin(et) and that is just u2′.2419

To get u2 I have to integrate that so u2 is the integral of that, couple of negative outside so e2t × sin(etdt).2431

We can solve this one using the same substitution, I will get my s is et, ds is etdt.2447

This part will give me a sin(s) and now this e2t, I’m going to write that as et × et.2462

The reason I’m doing that is I need one et for my (ds), if I take on et to be (ds).2472

Those were the collectively give me my (ds), I still have one et left so there is still an (s) left over there.2482

I’m integrating s sin(s)/(ds) and that is still a little ugly, I’m going to use integration by parts here.2491

That was something we covered in the calculus 2 lectures here on www.educator.com, you can check back and look up your material on integration by parts if you are a little bit rusty on that.2499

I’m going to the quick version, the integral of s sin(s), let me use tabular integration here.2510

I’m going to write derivatives on the left, t he derivative of s is 1, the derivative of 1 is 0.2520

The integral of sin(s) is –cos(s), and the integral of cos(s) is sin, so the integral of –cos(s) is -sin(s)2525

Then I make little diagonal lines, put a + and – and what I get here, I still have this one negative from the outside.2539

I’m going to read along the diagonal lines there, -s cos(s) + because we have couple of minus there that cancel each other sin(s).2550

If I distribute my negative back in, and by the way remember we do not have to include the (c) when we are integrating to get this u’s.2567

That is one nice thing you do not have to worry about, if I distribute my negative back in I will get +s cos(s) and let us remember that s was et.2575

Et × cos(et) –sin (s) because there was a negative on the outside, - sin (et), that was my u2 there.2587

Now I found u1 and I found u2, I’m ready to just plug them in to the generic form for my particular solution which is u1 y1 + u2 y2.2606

U1 is –cos(et and that gets multiplied by y1 which is e-t + u2 is et cos(et) – sin(et).2628

All of that gets multiplied by y2 which is e-2t, what happens here if I distribute that e-2t here.2663

E-2t × et is e-t × cos(et).2675

I have got e-tcos(et) here, I’m not forgetting that other term, we will get to that in a second.2687

But over here we got -cos(et) × e-t.2694

Those 2 terms cancel each other out, this is pretty common in variation of parameters.2699

You will get 2 terms that cancel each other out in some funny way, it is not always obvious when it happen but it is nice when it does.2704

The only term I have left here is coming from these 2 factors, -(e2t) × sin(et), it is the way it simplifies down there.2713

That is my particular solution, my general solution remember is the homogeneous solution + the particular solution.2730

That is the homogeneous solution we already figured out back in example 4 was e-t + c2 e-2t.2746

I’m going to add on the particular solution that we just worked out that is negative, -e-2t sin(et).2756

That is my general solution since I do not have initial conditions, I do not need to figure out what c1 and c2 are.2772

You do not put a constant on a particular solution, just on a homogeneous solution.2781

That is my general solution and I’m done with that one.2787

Let me recap what we did there, we started out with the homogeneous solution which we found from example 4.2792

If that was a mystery where that came from, go back and watch the video for example 4 and you will see where that comes from.2799

Read off y1 and y2 there and we had also figured out the Wronskian matrix in the previous example.2808

That is still coming from example 4, we have our Wronskian there and then we used our formulas for u1′ and u2′ in terms of y1 and their Wronskian matrix and y2.2818

There is a (g) in there, and we get the (g) from the right hand side of the original differential equation, that is where that (g) comes from, here and here.2832

We simplify those down that gives us u1′ and u2′ and to get u1 and u2 themselves you have to integrate those.2842

That is what we are doing here is we are integrating with a little substitution.2853

First one is not a bad integral to get u1 by itself, remember you do not have to add a constant when you are doing these integrals to find u1 and u2.2857

U2 is a little messier, we had to integrate this and we did a substitution first and then even after substituting we had an integral that we needed to solve by integration by parts.2868

That is what I was doing up here, this little table is doing the integration by parts to integrate s sin(s).2880

If that is fussy for you, you might want to go back and check the lectures for calculus 2 here on www.educator.com.2887

There is a whole lecture on integration by parts where you get some practice with that.2894

After we did that integration by parts we got to substitute back and distribute the negative sign (s is et) and we got our u2.2900

We took u1 and u2 and plug them into our generic form for the particular solution, so there is our u1 and u2.2910

Multiply them by y1 and y2, it was nice because some terms cancel, that term cancel with that term here.2919

It simplify down to a single term here, that was our particular solution.2928

To find the general solution remember you add the particular solution back to your homogeneous solution.2934

There is our homogeneous solution again and there is our particular solution being added on to it.2940

That is how variation of parameters works and that is the end of this lecture in the differential equation series.2949

I’m very happy that you are watching, my name is Will Murray and you are watching www.educator.com.2955

Thanks for joining us, bye.2961

Educator®

Please sign in to participate in this lecture discussion.

Resetting Your Password?
OR

Start Learning Now

Our free lessons will get you started (Adobe Flash® required).
Get immediate access to our entire library.

Membership Overview

  • Available 24/7. Unlimited Access to Our Entire Library.
  • Search and jump to exactly what you want to learn.
  • *Ask questions and get answers from the community and our teachers!
  • Practice questions with step-by-step solutions.
  • Download lecture slides for taking notes.
  • Track your course viewing progress.
  • Accessible anytime, anywhere with our Android and iOS apps.