2nd order differential equation with power series

Join the discussion
Registration is free. Start your own thread to ask a follow-up.
10 replies · 3K views · last reply
yecko
Gold Member
Messages
275
Reaction score
15

Homework Statement


Web form question: use power series to solve y'' - 5xy' - 5y = 0 with y(0) = 1 and y'(0) = 0, answer y = sum from n=0 to infinity of blank times x^(2n) plus sum from n=0 to infinity of blank times x^(2n+1).


Homework Equations


Power series

The Attempt at a Solution


Handwritten power series derivation for y'' - 5xy' - 5y = 0 with y(0)=1, y'(0)=0, reaching the recurrence (n+2)(n+1)c_(n+2) = (5n+1)c_n, so c_(n+2) = (5n+1)c_n / ((n+2)(n+1)).

As I have to write in form of "x^2n" & "x^2n+1", I am totally have no idea with how can I go on to do the question.
Those I have learned in lecture and online are mostly with only one part of summation... or two parts with two distinctive roots and two constants with it...
Can anyone guide me with what I should do next in order to obtain the answer please? Thank you.
 
Attachments
  • Handwritten power series derivation for y'' - 5xy' - 5y = 0 with y(0)=1, y'(0)=0, reaching the recurrence (n+2)(n+1)c_(n+2) = (5n+1)c_n, so c_(n+2) = (5n+1)c_n / ((n+2)(n+1)).
    DC2D8150-E352-48A2-9421-65F4A02F507B.jpeg
    28.7 KB · Views: 992
  • Web form question: use power series to solve y'' - 5xy' - 5y = 0 with y(0) = 1 and y'(0) = 0, answer y = sum from n=0 to infinity of blank times x^(2n) plus sum from n=0 to infinity of blank times x^(2n+1).
    9C13578F-3919-4A8A-BEF9-60BFF176BEFD.jpeg
    11.1 KB · Views: 1,186
Physics news on Phys.org
yecko said:

Homework Statement


View attachment 222977

Homework Equations


Power series

The Attempt at a Solution


View attachment 222976
As I have to write in form of "x^2n" & "x^2n+1", I am totally have no idea with how can I go on to do the question.
Those I have learned in lecture and online are mostly with only one part of summation... or two parts with two distinctive roots and two constants with it...
Can anyone guide me with what I should do next in order to obtain the answer please? Thank you.

Your posted image is perfectly clear and derives the result more-or-less completely. I can see no way to explain it better than what you are already seeing.

However, I will offer a little hint: If ##y = c_0 + c_1 x + c_2 x^2 + c_3 x^3 + \cdots + c_n x^n + \cdots## then you can write down the series for the left-hand-side of the DE---just do the derivatives and add everything together. The result will have the form ##y'' -5 x y'-5y = D_0 + D_1 x + D_2 x^2 + \cdots ,## where ##D_0, D_1, D_2, \ldots## are combinations of ##c_0, c_1, c_2, \ldots##. Just do some algebra to figure out how the ##D_i## and ##c_j## are related.

However, the result should be ##0## (because ##y## is supposed to solve the DE), so you should have ##D_0 = 0, D_1 = 0, D_2 = 0, \cdots .## That will give you a bunch of equations that relate the different ##c_j## to each other. The two initial conditions give you the rest of the needed information, so you can find all the ##c_j##.

If you cannot see right away how to do the general case (that is, ##D_m## for general, symbolic ##m##) start with writing down all the terms for ##D_m## for ##m = 0,1,2, \ldots, 10,## say, and see what these 11 equations give you. There are no shortcuts---you need to sit down and work it all out.
 
Last edited:
Handwritten derivation solving y'' - 5xy' - 5y = 0 with power series, recurrence (n+2)(n+1)c_{n+2} = (5n+1)c_n, initial values a0 = 1, a1 = 0, and closed forms for a_{2n+1} and a_{2n}.

This is the subsequent steps I have done like what you mentioned, and I have found the relationship. However, I don’t know how to write it in terms of summation sign... how can I write my answer in order to fulfill the format of the question?
Thank you
 
Attachments
  • Handwritten derivation solving y'' - 5xy' - 5y = 0 with power series, recurrence (n+2)(n+1)c_{n+2} = (5n+1)c_n, initial values a0 = 1, a1 = 0, and closed forms for a_{2n+1} and a_{2n}.
    3D172E24-EA0E-42EC-8985-5EDDA6F01461.jpeg
    56.2 KB · Views: 585
The recurrence relation you derived for ##c_n## is incorrect. You dropped a factor of 5 on the last term.

Whenever you have something multiplied by 0, you can just set it to 0. There's no sense in deriving a general expression for the odd-powered terms when you know the coefficients are 0 because ##c_1=0## to satisfy the initial conditions.
 
  • Like
Likes   Reactions: yecko
vela said:
The recurrence relation you derived for ##c_n## is incorrect. You dropped a factor of 5 on the last term.

Whenever you have something multiplied by 0, you can just set it to 0. There's no sense in deriving a general expression for the odd-powered terms when you know the coefficients are 0 because ##c_1=0## to satisfy the initial conditions.
Thanks for reminding.
however, I am still stuck with even power terms,
with a(2n)={[5(2n+1)]*[5(2n-1)]*[5(2n-3)]*...*[5(1)]}/(2n)!=(5^n)*{(2n+1)*(2n-1)*(2n-3)*...*1}/(2n)!
how to make it into summation sign?
thank you
 
Try simplifying the recurrence relation before trying to work out what ##a_{2n}## looks like.
 
(5^n)*{(2n+1)*(2n-1)*(2n-3)*...*1}/(2n)!
This is the simpliest form i can think of with a(2n)
Have i made any mistake so that i cannot simplify it?
Can you give me some hints on how to simplify the part {(2n+1)*(2n-1)*(2n-3)*...*1} ?
Thank you
 
yecko said:
(5^n)*{(2n+1)*(2n-1)*(2n-3)*...*1}/(2n)!
This is the simpliest form i can think of with a(2n)
That's not the recurrence relation, is it? If you make the obvious simplification, you'll get a slightly simpler expression for ##a_{2n}##.

Have i made any mistake so that i cannot simplify it?
Can you give me some hints on how to simplify the part {(2n+1)*(2n-1)*(2n-3)*...*1} ?
Thank you
Alternatively, you can use your current expression and write out ##a_2, a_4, a_6, \dots##. There should be a pretty obvious pattern of cancellations.
 
Last edited:
This is what I calculate this time:
Handwritten derivation on lined paper: From previous calculation, c(n+2) = (5n+5)c_n / ((n+2)(n+1)) = 5c_n / (n+2). Below, a0 = 1, then a2 = 5 x 1 / 2 for n=0, a4 = 5/(2+2) x 5/2 for n=2, a6 = 5/(4+2) x 5/(2+2) x 5/2 for n=4, and a_n = 5^(n/2) / (2 x [(n/2)!]).


However, the system regards me wrong about my domain... have I calculated anything wrong with it?
Online homework answer checker screenshot: power series answer for y'' - 5xy' - 5y = 0 with entries 5^(n/2)/[2*(n/2)!] flagged incorrect for domain mismatch, and 0 flagged correct; below, the answer fields for the two power series sums.

Table of answer checker results with columns Entered, Answer Preview and Result: entered (5^n)/[2*(n!)] shows preview 5^n over 2(n!) marked incorrect; entered 0 shows preview 0 marked correct.

Thank you
 
Attachments
  • Handwritten derivation on lined paper: From previous calculation, c(n+2) = (5n+5)c_n / ((n+2)(n+1)) = 5c_n / (n+2). Below, a0 = 1, then a2 = 5 x 1 / 2 for n=0, a4 = 5/(2+2) x 5/2 for n=2, a6 = 5/(4+2) x 5/(2+2) x 5/2 for n=4, and a_n = 5^(n/2) / (2 x [(n/2)!]).
    7BB0F082-105F-4AC4-A010-DD6AABDF3E1C.jpeg
    44.1 KB · Views: 504
  • Online homework answer checker screenshot: power series answer for y'' - 5xy' - 5y = 0 with entries 5^(n/2)/[2*(n/2)!] flagged incorrect for domain mismatch, and 0 flagged correct; below, the answer fields for the two power series sums.
    1AB5D670-CA02-4D76-84E4-28234FC45CDB.jpeg
    21.9 KB · Views: 607
  • Table of answer checker results with columns Entered, Answer Preview and Result: entered (5^n)/[2*(n!)] shows preview 5^n over 2(n!) marked incorrect; entered 0 shows preview 0 marked correct.
    69DB40CE-9E69-4501-B301-DDBFE6A1307F.jpeg
    6.8 KB · Views: 478
Last edited:
Consider the ##n=1## term in the first summation. The coefficient in your sum would be ##a_1 = \frac{5^{1/2}}{2(1/2)!}.##
 
So what should I do in order to avoid that?
I have tried 5^n/(2(n!)) which is also wrong