Solving a Linear ODE using a power series

14 replies · 2K views · last reply
yecko
Gold Member
Messages
275
Reaction score
15

Homework Statement


Printed problem statement: find the solution of x^2 y'' + 5xy' + (4 - 4x)y = 0, x > 0, of the form y1 = x^r sum from n=0 to infinity of c_n x^n, with fields for r, c_0 = 1, and c_n for n = 1, 2, 3, ...


Homework Equations


Power series
ODE

The Attempt at a Solution


Handwritten power series derivation on lined paper: y1 = x^r sum Cn x^n, with y', y'' series, then combined sums, a recurrence with 9C1 = 0, C0 = 1, C1 = 0, and Cn = 4Cn-1 over n(n-1)+5n+4, with n=1 and n=2 steps.
[/B]

Sorry for not typing all those things out from my phone..
How can I get C1?
And how can I put the solution in the required format? (I don't know how to put it in summation sign... and i cannot even solve out for r in the question...)
Thank you so much for any help!
 
Attachments
  • Printed problem statement: find the solution of x^2 y'' + 5xy' + (4 - 4x)y = 0, x > 0, of the form y1 = x^r sum from n=0 to infinity of c_n x^n, with fields for r, c_0 = 1, and c_n for n = 1, 2, 3, ...
    45F8F685-B056-4297-9F96-5679CA7A39EC.jpeg
    9.1 KB · Views: 952
  • Handwritten power series derivation on lined paper: y1 = x^r sum Cn x^n, with y', y'' series, then combined sums, a recurrence with 9C1 = 0, C0 = 1, C1 = 0, and Cn = 4Cn-1 over n(n-1)+5n+4, with n=1 and n=2 steps.
    1B4BB3F1-8717-4BB3-9B73-9668905861F9.jpeg
    44.8 KB · Views: 947
Last edited:
yecko said:
cannot even solve out for r in the question
Small wonder: you leave out ##r## from the derivatives of ##y##. Except in ##C_n##, you want to replace ##n## by ##n+r##
 
Thank you.
However even i used r+n, i still cannot make it into the required form... did i have something wrong with it? Or what should I do next to obtain the answer in the required format? Thank you.
Handwritten power series derivation on lined paper: series for y'', y' and y with r+n exponents, substitution into x^2y''+5xy'+(4-4x)y=0, collected coefficient terms, indicial equation r^2-6r+4=0 with roots 3 plus or minus sqrt5, and recurrence a_n = 4a_(n-1)/[(r+n)(r+n-1)+5(r+n)+4].
 
Attachments
  • Handwritten power series derivation on lined paper: series for y'', y' and y with r+n exponents, substitution into x^2y''+5xy'+(4-4x)y=0, collected coefficient terms, indicial equation r^2-6r+4=0 with roots 3 plus or minus sqrt5, and recurrence a_n = 4a_(n-1)/[(r+n)(r+n-1)+5(r+n)+4].
    7AD2046A-E29F-40D7-A423-DE4EDFF2A2D2.jpeg
    57.8 KB · Views: 586
You have a mistake in the equation for r. It should be r2+4r+4=0
 
  • Like
Likes   Reactions: BvU
Thanks for pointing this out...
Handwritten power series derivation solving a second-order ODE: recurrence relation a_n = 4a_{n-1}/((r+n)(r+n-1)+5(r+n)+4), indicial equation r^2+4r+4=0 giving r=-2, and terms a_1 through a_4 written as products of fractions leading to a_n = 4^n n! over a question-marked denominator.

r=-2 which is now correct,
However, i cannot solve out the denominator of the summation part... how can I write it in form of summation?
Thank you very much!
 
Attachments
  • Handwritten power series derivation solving a second-order ODE: recurrence relation a_n = 4a_{n-1}/((r+n)(r+n-1)+5(r+n)+4), indicial equation r^2+4r+4=0 giving r=-2, and terms a_1 through a_4 written as products of fractions leading to a_n = 4^n n! over a question-marked denominator.
    5A68D7FB-3FFF-40CB-859B-1E6F9B9DCE44.jpeg
    38.9 KB · Views: 499
Substitute r = -2 and simplify the denominator of an.
 
I have already substituted r=-2, but i don't know the recurrance relation of that denominator... do you mind to give me some hints or relationship related?
Thank you
 
Type in the recurrence relation of an, please. Your handwriting is blurred,
yecko said:
I have already substituted r=-2, but i don't know the recurrance relation of that denominator... do you mind to give me some hints or relationship related?
Thank you
You got the recurrence relation for an:
$$a_n=\frac{4 a_{n-1}}{(n+r)(n+r-1)+5(r+n)+4}$$
Substitute r=-2 and simplify. What do you get?
 
Sorry for blur image... let me post a clearer image here:
Handwritten working on lined paper: a recurrence a_n = 4(a_{n-1}) / ((n+r)(n+r-1) + 5(r+n) + 4) with a_0 = 1, then a_1 = 4×1/1², a_2 = (4×4×2)/(2²×1²), a_3 = (4×3)/3² × (4×4×2×1)/(2²×1²), and a_n = 4^n × n! / (n²×(n-1)²×...×1²).

I have got my answer as 4^n/(n!), yet it is wrong as by the submission system... what's wrong with my answer? Thank you
 
Attachments
  • Handwritten working on lined paper: a recurrence a_n = 4(a_{n-1}) / ((n+r)(n+r-1) + 5(r+n) + 4) with a_0 = 1, then a_1 = 4×1/1², a_2 = (4×4×2)/(2²×1²), a_3 = (4×3)/3² × (4×4×2×1)/(2²×1²), and a_n = 4^n × n! / (n²×(n-1)²×...×1²).
    B63C09BC-82B5-41CB-8B36-0376F400634F.jpeg
    42.1 KB · Views: 933
Last edited:
Online homework screenshot: a results table shows entered -2 as correct and (4^n)/(n!) as incorrect, then a Frobenius series problem asking for r and c_n with c_0 = 1, where r is entered as -2 and c_n as 4^n/(n!).
 
Attachments
  • Online homework screenshot: a results table shows entered -2 as correct and (4^n)/(n!) as incorrect, then a Frobenius series problem asking for r and c_n with c_0 = 1, where r is entered as -2 and c_n as 4^n/(n!).
    8BC9FE35-EDFB-4F08-8F77-64432801FEB9.jpeg
    17.8 KB · Views: 513
yecko said:
Sorry for blur image...
View attachment 223115
I have got my answer as 4^n/(n!), yet it is wrong as by the submission system... what's wrong with my answer? Thank you
The recurrence relation for an is

##a_n=\frac {4 a_{n-1}}{n^2}##, with a0=1.
How did you get n! in the numerator?
 
As I have to write the answer in terms of n only as a summation form (refer to the question image I have posted in #1), only writting it in recurrance relationship is not enough...
As the image I posted in #9 post explained how i got “n!”, when n tends larger, the relationship a(n) tends to be n! in denominator

4^n*(n!)/(n!)^2 =4^n/(n!)
 
Last edited:
I have already tried my best in obtaining the answer, do you mind to lead me what should I write in the blank as of the question image posted in post #10 please?
Thank you so much for your help!
 
yecko said:
I have already tried my best in obtaining the answer, do you mind to lead me what should I write in the blank as of the question image posted in post #10 please?
Thank you so much for your help!
I do not understand what you mean on "summation form"
You need to find the coefficients cn in the power series solution.
You derived the recurrence relation $$c_n=\frac{4}{n^2}c_{n-1}$$, but you wrote wrong results for c1, c2, c3, c4...
c0=1
$$c_1=\frac{4}{1^2}c_{0}= \frac{4}{1^2}$$
$$c_2=\frac{4}{2^2}c_{1}=\frac{4^2}{2^2\cdot1^2}=\frac{4^2}{(2!)^2}$$
$$c_3=\frac{4}{3^2}c_{2}=??$$
and so on. So what is cn?
 
  • Like
Likes   Reactions: yecko