Professor Murray

Professor Murray

Review of Power Series

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 (6)

3 answers

Last reply by: Dr. William Murray
Fri Nov 22, 2013 5:46 PM

Post by michael morris on November 19, 2013

Professor. At 32.05 when  you are checking the endpoints and plug in 1, should not that have been -1^n/n, but you left the nth power out, Why? and when you plug in -1 you do leave the nth power n the eqtn. Im confused why.  Thanks.

1 answer

Last reply by: Dr. William Murray
Wed Nov 20, 2013 1:56 PM

Post by Eddy Noboa on November 18, 2013

great teaching professor. I have learned so much from your videos. I cannot thank you enough. I have a question. Starting at 17:30 on this video you saying that you see 2,6,and 4 at the denominator, but all I see is 2,6(3*2=6) and 24(3*8=24)am a little bit confuse as where do you see the 4. Once again thanks.

Review of Power Series

Review of Power Series (PDF)

Review of Power Series

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:36
    • Taylor Series Expansion
    • Maclaurin Series
    • Common Maclaurin Series to Remember From Calculus
    • Radius of Convergence
    • Ratio Test
  • Example 1 15:18
  • Example 2 20:02
  • Example 3 27:32
  • Example 4 39:33
  • Example 5 45:42

Transcription: Review of Power Series

Hi and welcome back to the differential equations lectures here on www.educator.com, my name is Will Murray and we are going to be doing a review of powers series today.0000

The reason is that later on we are going to be learning how to use power series and Taylor series to solve differential equations.0010

Since it might have been a while since you actually studied power series and Taylor series, we are going to work through some of the basic properties today.0018

In the next lecture you will be ready to go to use power series and Taylor series to solve differential equations.0026

Let us jump right in, here were going to start out with the review of the definition of Taylor series.0034

You start with a function f(x)and you take a point x0 and we find the Taylor series expansion around that point which means the sum, remember the capital letter σ means the sum.0043

You are adding these terms up from n=0 infinity of a sub n, x times first times X minus X0 to the end where the a's of n, these coefficients are fn(x0)/n factorial.0058

Just a couple reminders here remember that this fn what that means is the nth derivative of f and derivative of the function f.0077

When n=0 that means the zero derivative which means you're taking the derivative zero times which just means the original function f and when n=0 that is just f0 itself, n factorial means you multiply the numbers 1 x 2 x 3 x 4 up to n, that is what n factorial means.0093

Let me remind you of that 1 x 2 x 3 up to n and by convention we say zero factorial is equal to 1.0116

That is something that throws off a lot of my students at first but it makes all the formulas later on work out nicely so it is worth accepting that convention that zero factorial is equal to 1.0132

Most common type of Taylor series that we study here is when x0 is equal to 0 so the the point here x0 would be equal to 0 and that is called the Maclaurin series.0145

Maclaurin series just means a special case of the Taylor series when the x0 is equal to 0.0158

In that case, the Maclaurin series of s of a function is the sum from n=0 to infinity of a sub n(xn) and the a of n is still the same.0164

It is the sum from n=0 to infinity of the nth derivative of f applied to x0 would be 0 because we are doing the Maclaurin series divided by n factorial x xn.0181

That is the Maclaurin series and that is probably 90% of the examples you study in calculus and differential equations, maybe even more than that or actually involving Maclaurin series which is the special case of the Taylor series.0200

There are certain Maclaurin series that it is really worth memorizing, hopefully you memorize these back in your calculus class and I will just give you a little reminder of them now.0216

But if you did not memorize back then, it is worth memorizing them at least while you are using series to solve differential equations.0228

Just very common functions are ex sin x cosine x and 1/1 - x.0236

The Maclaurin series for ex is 1+ x + x2/ 2 factorial + x3/3 factorial.0243

The general pattern there is that this is the sum from n=0 to infinity of xn/ n factorial.0252

Remember that if n=0 then you get x0, you just get 1 and then you get n factorial.0263

0 factorial is just 1, this is the n=0 term gives this 1 over here the n=1 term gives the x and then it is a little more obvious in the terms after that and how they correspond to the general sum.0270

The next one that you really want to remember and recognize is sin x which is x - x3/3 factorial + x5/5 factorial -x7 factorial.0286

It is a little alternating series and the way we can make it alternate is we put a -1 to the n term.0300

That makes it alternate the positive and the negative and the way we get the odd powers there is we do x2 n +1.0310

As n ranges overall number 01234, 2 n + 1 will range over the odd numbers 1357.0324

That is the way of collecting those odd powers and we want the same odd numbers in the denominator.0332

We put 2n +1 factorial in the denominator, that is a close form expression for the Maclaurin series for sin x.0340

For cos x, it is quite similar except you have the even powers 1 - x2/ 2 factorial plus x4/4 factorial - x6/6 factorial.0353

Again we can now write this summation form for that, the sum from n= 0 to infinity again it is alternating so I'm going to put it somewhere -1n in there0365

And then to get the even powers I'm going to go x2n/(2n factorial).0379

Be a little careful there with the 2n factorial, some people think that (2n factorial) is equal to 2 factorial x n factorial or 2 x n factorial, that is emphatically not true.0387

You have to be very careful with the parentheses there 2n factorial, for example of n=10 and then 2n factorial would be 20 factorial which is not the same as 2×10 factorial, you have to be quite careful with the parentheses there.0404

The last series that we are going to use very frequently when we are studying differential equations is the Geometric Series 1/1-x.0419

That expands into 1+ x + x2 + x3, that is the simplest one to write down a formula for, that is just the sum from n= 0 to infinity of xn.0429

If you plug in the n=0 term you will just get that first one there and that is true for the absolute value of x < 1, in other words x between -1 and 1.0443

That is not valid when x is outside that range, outside interval, that it is valid when x is inside that interval.0459

That brings me to the next topic here which is where did these series converge? What values of x are these series are good for?0471

That is something that we study back in Calculus 2, by the way if all of these is feeling more rusty then you can brush off in a single lesson.0481

You might want to go back and look at the Calculus 2 lectures Here on www.educator.com.0489

We spent several lectures back in Calculus 2 going over Taylor series explicitly so you can get at a more lengthy rundown on all these topics back in Calculus 2.0494

But if you remember those pretty well and you just need to brush off a little rust then keep playing along here.0505

Any power series has a radius of convergence around x0 so what that means, let me draw a number line here0511

The center of the radius of convergence is always that value x0 and then what you do is you go a distance, the same distance in either direction and that is the radius r.0524

That means the top and the interval you have x0 + r and at the bottom of the interval you have x0 - r.0540

The idea is that when you are inside that radius the series converges, in this green region here the series converges.0551

When you are outside that radius this series diverges, what that means is if you plug in values of x that are outside this radius.0566

If you plug those values into the series then the series diverges and this is called the Radius of Convergence.0575

A shorthand algebraic way of keeping track of this is to write this as x - x0 in absolute value is less than r because that will exactly capture this values between x0 - r and x0 + r.0583

By the way, when I say x nought, nought means 0. So that is just x…saying x nought is just a shorthand way of saying x0.0602

The big question here is whether it converges at the end points, x= x0 - r and x=x0 + r and we do not know that just when we find out the radius.0611

The series are quite unpredictable, sometimes it will converge at one end point but not the other one, Sometimes they will converge on both end points, sometimes it will converge at neither one, we do not really know that until we test each one individually.0629

There are some extreme cases to this radius, If r=0 that means that the series converges only at x0 and at nowhere else.0644

That is the case where r=0 and that is really a pretty worthless series because if you think about it if you plug in x=x0, x = x0 that would mean that x - x0 is 0 so you are just getting a series of all 0, 0 to the end and that is really a worthless series.0657

If you add up a bunch of 0 you will certainly get 0, it certainly converges which you do not really learned very much, r=0 can happen but it is essentially a worthless case.0682

The other extreme of that is r=infinity, r = infinity means that the series converges infinitely far in either direction so it converges for all points on either side of x0, that is a very good case.0693

It means you can plug in any value of x you like and the series will converge, that is the best case if the radius is infinite.0714

The way you want to find the radius of convergence of a taylor series or have any power series, it is usually to use the ratio test now back in Calculus 2 we learn a whole lot of different task.0726

We learned the alternating series test, the integral test, the ratio test, and root tests and all these tests in Calculus 2.0739

When you come right down to Taylor Series and Power Series the one you use almost all the time is the ratio test, that is the only one that I'm really going to mention here.0747

But if you want some more details on checking when series converge, you might want to go back and check those lectures for Calculus 2.0758

The way you check if a series converges is you form this ratio where you look at the nth term so that means if you have a generic term then you would plug in for that generic term.0767

Then you would plug in n+1 into that generic term, you go back and replace all the n's by n +1 and you divide them together, that is the ratio.0786

That is why it is called a ratio test, you take its absolute value which is nice because it gets rid of any negatives that might be hanging around.0794

You take the limit as n goes to infinity and what you generally get is some expression in terms of x and you set that less than 1.0802

That will tell you for all those values of x wherever values of x you end up solving for.0815

Those are the values for which these series converges and the values of x that make this limit greater than 1 diverge.0821

The way this looks on a number line is you have x0 and then you will have some region within which that limit will be less than 1.0833

Outside that region I will put this in red here, that limit will be greater than 1 on either end and so it converges when the limit is less than 1.0847

Maybe I will put that in green to emphasise that that is the convergent region, limit here is less than 1 and that is the convergent region.0862

Now the big question here is the end points and the ratio test never tells you what happens at the end points x0 - r and x0 + r.0874

You do not know from the ratio test whether the series converges there and what you have to do is plug both of those values in separately.0886

Each one into the series separately and see whether it converges using some test other than the ratio test.0894

The ratio test is guaranteed to fail at the end points because it will give you 1 and that is the cut off value so instead you use some other ratio, some other test besides the ratio test that we learned back in Calculus 2.0901

Let us see how all this works out, first example here is to identify the following power series as an elementary function.0918

We are given the series 1+ 3x2 9/2x4 9/2 x x6 27/8 x x8 this is a typical kind of thing you will get at the end of the differential equations problem.0926

Where you have a series as your solution and you are trying to recognize that as some function maybe that you have seen before somewhere.0946

Let me show you how to think about this, I see 3x2 is really nothing clever.0953

I can do and that and I see 9x4 and what I noticed is that (3x2)2.0960

I'm going to write it that way and it looks like I'm starting to build up some kind of pattern here, I'm going to write (32)3 for the next term but (3x2)3.0972

That would give me 27 here and all I had was a 9, to balance that out I'm going To divide by 3 in order to balance out the fact that all I had here was 9.0990

I'm going to keep going here, I will put (3x2)4 but 34 is 81 and since I had a 27 here I have to divide by 3 to keep it balanced, that is 3×8 which is 24.1002

This Is 6, I'm noticing that I can write this in terms of powers of 3x2, as long as I modify the denominators accordingly.1027

I'm going to write this as 1+ 3x2 + (3x2)2, I look at these numbers in the denominator and I see 2, 6, and 4, that is pretty clearly a factorial pattern so 6 is 3 factorial and 24 is 4 factorial.1040

What I recognize here is something that looks like the series that I have memorized for ex , let me write that down just quickly up here.1074

Remember the ex is 1+ x + x2/2 factorial, 2 factorial is just 2 + x3/3 factorial + x4/4 factorial and here 2 factorial is the same as 2.1083

I'm going to write that is 2 factorial, I see that I have exactly the same series here except that I got 3x2 wherever there was a and x in the series for ex.1106

What this gives me is e(3X)2.1123

What I did there was to look at the series that I was given and I noticed that the powers of x are going up by 2, I know that there is something about the power of x2.1139

I also noticed just for the first 2 terms I had 3 and 32 and so I thought maybe I have some pattern and powers of 3 there.1149

That is why I started making patterns of 3x2 all the way through here and then I had to put some extra numbers in the denominator just to make that pattern work out.1159

When I looked at the numbers that I ended up with the denominator, I noticed that I got this factorial pattern 2, 6, 24 is 2 factorial, 3 factorial.1174

Once I got it into that form I remembered my series for ex and I noticed That I have the same series where x has been replaced by 3x21185

That is how I know that this whole thing is equal to 3x2.1196

Next example we are going to find the Maclaurin series for the function f(x)=natural log of 1-x.1203

There is a very seductive mistake that can be made here that calculus students often make, they use the generic formula for Maclaurin Series, which is to write down the sum for n=0 to infinity of fn of 0/ n factorial x x - x0n.1214

But x0 is 0, it is just xn, I will start writing down derivatives and I will look for a pattern.1239

That can often be the longest and slowest, most difficult way to find a Maclaurin series and the reason is sometimes writing down the 3rd and 4th derivative of a function gets very messy.1247

You are very liable to make mistakes and it is very hard to spot the power so instead of going from that basic formula and just writing down derivatives,1260

I want to introduce another method which is to try to relate this function to one of the ones from which we already have memorized series.1268

What I know is that natural log of x, if I take the derivative of natural log of x, dy/dx of natural log of 1-x.1279

What I get is 1/1-x and in the chain rule x -1 so the point of that is that 1/1-x, I have a memorized prefabricated known Maclaurin series.1293

I'm going to use that Maclaurin series that I already know for 1/1-x and use it to build a series for natural Log of 1-x.1315

Let us see how that works out, formally natural log of 1-x I know I can get that by starting with 1/1-x and taking its integral of one little issue here which is this -1 right here.1323

I will put in negative outside here and I will throw on a dx, I'm going to take the integral of 1/1-x and that is going to give me natural log of 1-x along with a negative sign.1343

The point here is that I know a series for 1/1-x so my series for 1/1-x that was the geometric series 1+ x + x2 + x3 and so on.1358

When we had that back at the beginning of this lecture that was something we figured out long ago in our calculus lectures the series for natural log of 1-x, this is just like a polynomial and it is very easy to integrate.1374

If I integrate this, I have that negative and the integral of 1 is x and the integral of x is x2/2, the integral of x2 is x3/3 and so on.1389

Whenever you do an integral you have to add an arbitrary constant so I will put in a constant on the outside.1406

I'm going to put it on the left here and so this is c - x, I need to distribute that negative sign so it's minus -x2/2, -x3/3 and so on.1414

That is supposed to be equal to natural log one of 1-x and I do not know what that constant is yet so in order to figure out what that constant is I'm going to plug in a value of x.1431

The easiest value of x for me to plug in is x=0 and I'm going to plug that in to both sides, I will plug in x=0 to both sides and on the left the natural log of n=0 , so that is natural log of 1.1442

On the right, I will get c- a bunch of 0 and natural log of 1 i know that that's equal 0, I will get c=0.1472

I know what my c is and i can go back and fill that in and natural log of 1-x= -x - x 2/2 and I dropped out the c to now because i figured out it was equal to 0- x3/3 and so on.1484

I can write that in σ form as the sum from n= it looks like it has to be 1 to infinity because I'm starting at n=1 here.1506

xn/n and there is still a negative sign in there so that is my series for natural log of 1-x my maclaurin series for natural log of 1-x that might be one the you remember doing in calculus 2.1517

Just to recap there what happened was I had to find the maclaurin series and this is my generic formula for maclaurin series for a function.1539

But even though it is tempting to use that formula and start writing down derivatives it is easier to relate the series and function to one of those known functions that we already have a series for.1550

That is what I try to do over here is I try to remember that the derivative of natural log of 1-x is the same as 1/1-x except for a negative sign.1563

I know the maclaurin series for 1/1-x, I am excluding that fact very heavily so I set up natural log of 1-x is the integral of 1-x and a negative sign convert that 1/1-x.1574

This is using the fact that I already memorized the series for 1/1-x convert that into its series form .1590

That is just a polynomial so it is very easy to integrate I just integrate it term by term and 1 gives me x, the x gives me x2/2, x2 gives me x3/3 and so on.1598

I also have an arbitrary constant so that's my series for natural log of 1-x except that I have not figured out what that constant is.1608

So to find that constant I plug in x= 0 to both side so 0 there and then 0 for all this x's and on the left that gives me natural log of 1which is 0.1617

On the right, that just gives me c, I figure out that c=0.1629

When I plug that back in I get my series natural log of 1-x is -x-x2/2 - x3/3 and so on.1634

I can write that in σ form like this and that is my maclaurin series for natural log of 1-x.1645

In example 3, we are going to find the interval of convergence for that maclaurin series that we just figured out.1653

Let me remind you what that series was, we figured out that natural log of 1-x is equal to the sum from n=1 to infinity of xn/n.1659

Not n factorial just xn/n and it's negative so the way we are going to find the interval of convergence is we are going to look at the ratio test.1677

Remember the ratio test says you look at the n +1 term and divide that by the n term of the n term and the denominator first, because the easier part that is -xn/n.1695

The n+1 term means you replace all the n's by n +1, so -xn +1/n + 1, that is the limit that we had to simplify.1720

Some good things happen right away which is that because we have absolute values all the negative signs go away.1736

I do not have to worry about negative sign, I will write that down that it is killed by the absolute value and now we are dividing a fraction by a fraction so I'm going to flip the bottom fraction up.1745

I have n/xn x xn +1, just flipping that bottom fraction up to the top, it is still an absolute value and I'm going to reorganize things a little bit and I'm going to sort all the x's together.1765

xn +1/xn x n/n + 1 and we are supposed to be taking the limit of that and I'm going to separate these two terms xn +1 /xn.1784

That just simplifies down to x and the limit as n goes to infinity of n/n +1, you can divide top and bottom by the highest power.1804

That is n here so this limit gives me 1 in the numerator and then n/n is 1+1/n and the 1/n goes to 0 so that whole thing goes to 1.1820

This whole thing gives me just the absolute value of x after I take the limit.1840

The idea with the ratio test is that limit is supposed to be less than one for the series to converge, what that tells me is that this is where the series converges.1845

Absolute value of x less than 1 that means x is between -1 and 1 and it diverges outside of that region, do not diverge if x is less than -1, x bigger than 1.1869

The only thing that ratio test does not tell us and it never tells us is whether or not the series converges at the end points.1888

We always have to check the endpoint separately and you can not use the ratio test to check the endpoints ever.1895

We are going to plug x= -1 and x=1 into that series separately and we can not use the ratio test anymore.1906

We plug in x=1 into that series right here then we will get the sum from n= 1 to infinity of xn will just be 1/n, that is the negative of 1+ 1/2 + 1/3 + 1/4 and so on.1915

This is not something we discussed yet in these lectures on differential equations but it is something we talked a lot in the lectures on calculus two and I'm hoping that it something you remember.1941

If not you might want to go back and check at the lectures on calculus two. but this is the harmonic series that we studied in calculus 2.1950

It is an example of a p series if that rings a bell for you and what we learned in calculus 2 is that, that diverges.1965

The harmonic series diverges, that means that x=1 is not at the interval of convergence because it makes the series diverge.1975

Let us check the other endpoint that means we are going to plug in x = -1 in here into the series, -1 or n=1 to the infinity x -1n.1986

For the harmonic series, when n=1 here we get -11 x -1, we get +1 that -1n essentially gives us the same series except it is going to be alternating, that is going to be 1-1/2-1/3-1/4.2004

This is something we have not studied here in differential equations yet but it is something we studied back in calculus 2.2022

We figured out that this is not alternating harmonic series which does converge by what we call at that time the alternating series test.2032

Go back and look at the lecture in calculus 2 on alternating series and you will see this is actually one of the examples we studied back then.2050

We figured out that x= -1 does make it converge, x =1 makes it diverge.2065

Let me summarize this.2073

x does converge 1x= -1 the series does converge and when x=1 it does not converge that is why I'm putting less than equal to, for x = -1 and less than for x =1, that is my interval of convergence and sometimes you write this in interval notation just different notation for the same thing.2086

We are going to write the interval from -1 to 1and we are going to include the end point at -1, we are going to put square brackets there and we are going to exclude the end point at 1, we will put a round brackets there.2110

Such as different notation for the exact same thing square brackets on one side to show that endpoint is included and round brackets on the other side to show that end point is excluded.2123

By the way, we could have possibly predicted this, I will say that this makes sense if you think about the original function that we studied here which is natural log 1-x.2137

Let us see what happens if you plug in natural log of 1-x, if you plug in the x=1.2157

If you plug in x=1, that is natural log of 1-1 so it is natural log of 0 and if you remember the graph of natural log, it looks like this.2168

At 0, it kinds of blows up to negative infinity, it is undefined.2180

It approaches negative infinity so it makes sense that the series would not converge at x=1 because it is trying to approximate a function that is going to negative infinity.2187

We got our interval here, let me recap what we did.2202

This was the series that we derived back in example 2, that is all coming from example 2, you might want go back and check that if you have not just watched it.2205

The way we figured out the interval of convergence was we applied the ratio test, which means you look at the n + first term divided by the nth term.2216

We took our formula and we plug in n +1 for n and then we just left with n + n in place of n and immediately the negative signs disappeared because of the absolute values.2226

We sorted our fractions here and the we separated out the x's on one side and the n's on the other and the xn+1/xnand just cancels down to x the end of n +1.2239

We take the limit of that and it turns into 1, that whole terms since we are multiplying it that just all drops out turns into 1.2253

We are left with just the absolute value of x and remember the ratio test tells us that whatever you get in that limit, it converges when that limit is less than 1.2261

The absolute value of x has to be less than 1 for it to converge.2273

We know it converges from -1 to 1, diverges outside that interval we don't know what happens at the end points remember the ratio test never tells you what happens at the end points.2279

You got to check each one separately, we plug that x =1 into this series right here, plug in x=1 here and we got something that we remember from calculus is the harmonic series.2291

The negative of the harmonic series which diverges, that was something we learned back in calculus 2 and if we plug in x=-1 we get the alternating harmonic series.2305

We also learned in calculus two that converges by the test we learned from calculus two was the alternating series test so what that tells us is that it converges for x =-1 and it diverges for x=1.2319

The series converges from -1 is included up to 1 excluded and you can write that interval notation n by putting square brackets on the [-1] and round brackets on the (1), that is our interval.2334

Of course we checked because natural log 1-x the original function that we started here if you try to plug-in x=1 then you will be trying to take natural log of 0 which does not exist.2350

That is a nice check on the fact that our series did not converge at x =1, let us move on.2364

In example 4, we are going to use power series to solve the integral of e(x)2dx and this is really starting to illustrate the usefulness of power series.2373

Because this is an integral that you would not have been able to solve by the standard integration techniques in calculus 2.2389

The only way you can solve this is by some kind of approximation or by using taylor series techniques so we need to find the power series for e(x)2.2397

Now that is something that if you start to write derivatives it will get very messy, very quickly you will get tangled up in the chain rule, product rule, and the power rule.2409

It will all get very quickly involved and get very messy, instead the way to write down a power series for e(x)2 is to remember what your power series is you put to the x.2420

I hope you got that memorized, if not i recommend that you memorize it at least while you are going to be using series to solve problems.2436

But here it is, it is 1+ x + x2 2 factorial + x3/3 factorial and so on.2443

That was for ex but then you can get the series for e(x)2 just by making a little substitution.2451

Whenever I see an x, I'm going to change it to x2 and I get 1+ x2 + x(2)2, well that is x4.2457

It still over 2 factorial, that does not change, plus x(2)3, that is x6/3 factorial and so on.2468

What I really want to do is integrate both sides here, so I put my integral sign here and squeeze in a little dx where I can, dx.2480

The key point here is that now that I have converted the function into what is essentially a polynomial that goes on forever but we can think of it as a polynomial.2494

I can integrate this term by term very easily the integral of 1 is just x, integral of x is x3/3.2504

Sorry the integral of x2 is x3/3, the integral of x4/2 is x5/5 x 2 factorial.2513

The integral of x6/3 factorial is x7/7 x 3 factorial and it will keep going along that pattern.2525

Whenever I do an indefinite integral I always have to add an arbitrary constant and I'm going to add that at the beginning so that is my integral e(x)2/2, I'm sorry e(x)2dx.2536

You could also use the summation form to write this, an alternate solution would be to say that ex is the sum of xn/n factorial.2562

e(x>)2 is just the sum of x(2)n which is x2n/n factorial.2578

When you integrate that, when you take the integral of both sides, these sums all go from n=0 to infinity.2589

The integral of x2n his x2n+1/ 2n + 1 x n factorial.2602

This is another way to arrive at the same result if you expanded out that series you get that same thing that we got over here except I forgot to include my c, so I will tack that on.2621

We found our integral of e(x)2 in terms of a series which is something you never could have done in calculus 2 using the basic integration techniques there.2643

Let me remind you how we did that, I remembered my series for ex and that is much easier than trying to find the series for e(x)2 directly by writing down derivatives.2653

I just substituted in the x, i changed it to x squared, I made that substitution on both sides.2664

x(2)2 gave me x4, x(2)3gave me x6.2671

We made that substitution on both sides that converted it into essentially a polynomial, certainly in terms of integrating it i can think of it as a polynomial.2679

When I integrate both sides, my 1 turns into x, x2 goes to x2/3, x4/2 factorial goes to x5/5 x 2 factorial and so on, we just integrate it term by term.2689

I tack on the arbitrary constant and the other way to think about that is to remember that ex we have a nice σ formation for the series and e2x, sorry e(x)2.2704

We just substitute in x2 and so we get x2n in this series and the integral of that is just x2n+ 1÷ 2n + 1, that is a way of getting a series of a σ summation form for the same thing.2720

On our last example here we got y(x) is the sum from n=0 of a sub n, xn.2743

We are being given a generic power series and we want to find the power series expressions for y′ of x and y″ of x.2751

We are going to shift the indices of summation so that they start at n=0, this is actually an example that is designed to warm you up for using power series to solve differential equations which is what we are going to be using in the next lecture.2758

I really encourage you focus on how this example works because essentially the start of every problem in the next lecture is going to be exactly what we are doing in this problem.2774

It is really a key problem here but let us see how it works out if y(x) is given to us, this generic power series, that is the guess we will make to solve differential equations in the next lecture the Y′(x).2787

We are going to take the derivative there n=0 to infinity of, now I will put in a sub n because that is a constant but the derivative of xn is n x xn -1.2803

We get this new series but you will notice that the n=0 term is 0 and that is because of this factor of n right here so that n=0 term of that series really doesn't change anything.2821

In fact i can leave that off and just start the series at n=1 so we can omit that n=0 term and I can rewrite this series exact same thing except for n=1.2839

That is because instead of adding up the n=0, 1, 2, 3 terms I noticed that the n=0 term really is not doing anything, I can just add up the n=1, 2, 3, 4 terms.2858

I'm writing the same thing here (an)x < n-1 and it is something that is shifting the indices of summation so that they start at n=0.2871

I want to show you what I mean by that if I expand out this series, I'm going to start out at n=1 and I will get a sub 1, x0 is just 1, I will not put anything there, that was from n=1 term, the n=2 term gives me 2 a sub 2 x x1 , n=3 term gives me 3(a3) x x2 and so on.2886

I'm going to forget the old version of the σ form and just look at these terms and if I want to write it in σ form now and I want to write so that there is an xn there.2917

What I noticed is these numbers on the coefficients are 1 higher than the power of x, here I got 3 a sub 3 x2 so the coefficients are 1 power lower, what I'm going to do is I'm going to put n+1.2936

I think I did leave myself quite enough space here, let me rewrite that, n + 1, a sub n + 1, xn and if I do that that all make sense if i start at n=0.2960

If you think about that if I plug in n=0 here, I will get 1 x a1 x x0 which would give me just exactly the a1 term here.2982

The n=1 term would give me 2 a sub 2x, the n=2 term would give me 3 a sub 32 and I'm going to end up getting the exact same series and I wrote above.2999

I'm just using different index of notation to keep track of that and let us look at what effectively happened here from when I expanded it out and wrote it in a new form.3013

If you look at this n=1 term, the index went down by 1 so we lowered the index by 1, because of 1 down from 1 to 0 and then all the n's in the formula, all these n's got raised by 1.3025

That n turned into an n+1, the n and the subscript term turned into n+1, and the n+1 turned into an n.3058

To fix that you raise the n's in the formula by 1, that is going to be a really useful trick for us to use in the differential equations lecture next time.3067

You really want to keep this in mind if you lower the indices by one then you raise the n's in the formula by 1 and it works the other way too.3097

If you raise the indices by one then you lower the n's in the formula by 1 and it is a way of adjusting the powers so that we can make different series be compatible with each other.3107

Let us practice that by going one more steps here by finding y″(x) so y″(x) , that is the second derivative.3119

Again I will start with n=0 to infinity now I got an xn -1, while I still have an n.3130

nx-1 if i take its derivative will give me n-1, there is still an a sub n, xn-2 , that is by taking the derivative of this expression right here.3141

I noticed that the n=0 term because of this n right here will be 0 and the n=1 term, let me write that down the n=0 term is 0.3155

Because of that n-1, the n=1 term is also 0, I can drop those two terms out and just start at n=2 to infinity of nx n-1 x a sub n/ xn -2.3173

I'm not shifting the indices of summation yet, I'm just dropping off the first couple of terms because I noticed that they are going to be 0.3193

I'm not doing this business over here where I'm shifting indices that is what I'm going to do next.3201

I looked at this and I see that xn -2 right there, I want to raise that up and make it xn.3206

What I'm going to do is I'm going to raise the n's in the formula by two in order to get that n -2 up to an n.3214

To make that work I have to lower the index by 2, by the same principle, I will not bother writing out the series this time, it is the same principle as before, so that n=2 in the index, I'm going to drop that down to n=0 and I'm going to raise all of these n's by 2.3237

I have n turned into n +2, n-1 raise it by 2 and gets it to n+1, a sub n becomes a sub n+2, xn-2 becomes xn.3265

Let me box what I have figured out, your Y′ is n= 0 to infinity of n+ 1, (an) + 1xn and Y″ is n= 0 to infinity and +2 x n +1 x (an) +2 x xn.3281

These are really important formulas, it is worth studying them very carefully and making sure you understand them or at least to remember them.3304

Because we are going to be using them very heavily next time when we use series to solve differential equations.3312

Let me recap how we obtained those formulas, we started with y′ of x I took the derivative of this so the derivative of xn is nxn-1 .3319

I noticed at the first term that n would just be 0 anyways, I dropped it out and I started at n=1, instead at n=0 and dropping off the n=0 term.3333

I did this shifting index trick where I lowered that one down to 0 and then I raised all these n's and the way we can justify that if you want to is to expand out both this series and that series.3344

If you expand out either one you will see that you will get this series either way, those are really the same thing.3359

That was my formula for y″, I took another derivative of xn -1 and I got n-1, xn-2.3367

I noticed that since I have an n and an n-1, the n=0 and the n=1 term are both going to be 0 so I drop those out and I can start my index at n=2.3381

That was not shifting the index yet that was just dropping off a couple of 0 terms and I'm going to use the same principle where I will lower the index by 2, that is why that 2 became a 0.3394

Then I raise each of these n's by 2, so that n became n +2, that n -1 became n +1, that little n became an n + 2, and that n - 2 became an n.3406

If you do not trust that, if that seems like magic, just expand out each one of these series, expand out this one and expand out this one right up the first few terms of each one.3423

You will see that you will get the same series either way and this is going to be absolutely crucial for us when we use differential equations to solve our new series to solve differential equations at the topic of the next lecture.3433

And that concludes our review of power series for this lecture.3448

You have been watching the differential equations lectures on www.educator.com. My name is Will Murray, thanks for watching3452

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.