Differential Equation: Frobenius

In summary, the conversation discusses finding the first and second solutions for the differential equation x^2*y"-x*y'+(x^2+1)y=0. The first solution is found using the reduction formula and is expressed as a summation. The second solution is found using logarithmic differentiation and also expressed as a summation. The general solution is then determined by adding arbitrary constants. The conversation also mentions using numerical analysis to solve for specific initial conditions.
  • #1
jason17349
22
0
My problem: find the first solution and use it to find the second solution for

x^2*y"-x*y'+(x^2+1)y=0

assuming y=summation from n=0 to infinity for An*x^n+r

substituting and solving gives me r=1 and a general equation: An=A(n-2)/((n+r)*(n+r-2)+1) for n >= 2

plugging r into my general equation gives An=A(n-2)/((n+1)*(n-1)+1) for n >= 2

plugging n into this I get y=A0*x+(1/4)A0*x^3+(1/64)A0*x^5+(1/2304)A0*x^7... this is y1

now y2=y1*v

I'm not entirely sure what to do after this because I'm unable to reduce y1 to a simple summation which is the only way I've seen this problem done before. Or am I going about this the wrong way?
 
Last edited:
Physics news on Phys.org
  • #2
Using the reduction formula I came up with this solution:

y2=y1*integral(x*(y1)^(-2)*dx)

I don't know how to write math symbols in here so I attached a picture that is easier to understand.

does this seem like the correct solution? I'm also concerned about my answer for y1. The index value and power particularly.
 

Attachments

  • solutions.gif
    solutions.gif
    1.2 KB · Views: 436
  • #4
Get a copy of Schaum's Outline of Differential Equations - it has an excellent chapter on Frobenius methods.
 
  • #5
You know, I think I'm makin' progress with this one. For starters, I get a different recurrence relation. First though, the indicial equation is:

[tex]c^2-2c+1[/tex]

The double roots (1,1), indicate a logarithm solution. However, when I do the arithemetic, I get (for the first solution):

[tex]a_n=-\frac{a_{n-2}}{(n+c)(n+c-2)+1}\quad\text{for}\quad n\geq 2[/tex]


Now, [itex]a_0[/tex] should not be zero but [itex]a_1 [/itex] can. Thus, I get for the first solution:

[tex]y_1(x)=x^c+\sum_{n=2}^{\infty} a_n(c)x^{n+c} \quad\text{with}\quad a_0=1 \quad\text{and}\quad a_1=0[/tex]

The second one, well, we'll take some partials, express it in terms of a harmonic series, you know, what that have in the book. Anyway, that's where I'm goin' with it. I tell you what though, when I check the first solution against both numerical estimates and back substitution, the results seems to indicate it is correct (as a particular solution that is), we'll add some constants later.

Really, I'd like it in the differential equation section but . . . nevermind.
 
  • #6
Jason, you still with me? Or have you finished the semester and never want to see another differential equation ever again? Anyway, I got both solutions via the logarithm method and if you guys don't mind, I'd like to complete this problem. I've simplified the first solution:

[tex]y_1(x)=x+\sum_{n=1}^{\infty} \frac{(-1)^n}{2^{2n}(n!)^2}x^{2n+1}[/tex]

I've attached a plot. Keep in mind it's a "particular solution". Once we have both solutions, we'll add some arbitrary constants to make up the general solution.

The second one is more interesting . . .
 

Attachments

  • y1(x).JPG
    y1(x).JPG
    7.4 KB · Views: 378
  • #7
In order to find the second solution, leave [itex]a_n[/itex] in its general form:

[tex]a_n(c)=\frac{(-1)^n}{[c(2+c)+1][(4+c)(2+c)+1][(6+c)(4+c)+1]...[(2n+c)(2n+c-2)+1]}[/tex]

The first solution is then:

[tex]y_1(x)=x^1+\sum_{n=2}^{\infty}a_n(1)x^{2n+1}[/tex]

And the second:

[tex]y_2(x)=[\frac{\partial y(x,c)}{\partial c}]_{c=1}[/tex]

[tex]=y(x,1)ln(x)+\sum_{n=1}^{\infty}a_n^{'}(1)x^{2n+1}[/tex]

The difficult part is finding the derivative of [itex]a_n(c)[/itex] with respect to c.

This is accomplished by logarithmic differentiation. Anyway, it turns out that:

[tex]a_n^{'}(1)=\frac{(-1)^{n+1}}{2^{2n}(n!)^2}\sum_{k=1}^{n}\frac{1}{k}[/tex]

With:

[tex]H(n)=\sum_{k=1}^{n}\frac{1}{k}[/tex]

Then:

[tex]y_2(x)=y_1(x)ln(x)+\sum_{n=1}^{\infty}\frac{(-1)^{n+1}}{2^{2n}(n!)^2}H(n)x^{2n+1}[/tex]


Thus finally we have the general solution:

[tex]y(x)=Ay_1(x)+By_2(x) \quad\text{with}\quad x>0[/tex]

With A and B arbitrary constants.

So, what do I do if I have an initial problem with this mess? You know, the differential equation with:

[tex]y(a)=h \quad\text{and}\quad y^{'}(a)=k[/tex]

Well, calculate the derivative of y(x). That's doable. Then we're left with:

[tex]h=Av+Br[/tex]

[tex]k=As+Bp[/tex]

And then solve for A and B. I did that for:

[tex]y(0.1)=2.4[/tex]

[tex]y^{'}(0.1)=-1.6[/tex]

This yields:

[tex]y(x)=-34.3991y_1(x)-25.4162y_2(x)[/tex]

The first plot is this particular solution.
The second plot is a numerical analysis of the differential equation with these conditions.
The third plot is a superposition of both.

Edit: I used the first 125 terms of the series.
 

Attachments

  • yfinal.JPG
    yfinal.JPG
    7 KB · Views: 375
  • yrungekutta.JPG
    yrungekutta.JPG
    6.7 KB · Views: 394
  • superposition.JPG
    superposition.JPG
    7.1 KB · Views: 375
Last edited:
  • #8
Haha, yeah I have finished the semester and while I never want to see one of these again this question is nagging me. I just came back from class so I'll go ahead and show you what I turned in.

After going back and cleaning my notation up I got the same initial answer for y:

[tex]y_1=a_0x+\sum_{n=2}^{\infty} a_nx^{n+1}[/tex]

From here I used a method I have copied down in my notes, I believe it was related to the reduction method. Don't know if this was correct or not but it's too late now.

Using this method I began with

[tex]y_2=y_1v[/tex] all of which are functions of x I just don't feel like writing it over and over

which leads to

[tex]y'_2=y_1v'+y'_1v[/tex]

[tex]y''_2=y_1v''+2y'_1v'+y''_1v[/tex]

These were subbed back into the original formula replacing the y's giving:

[tex]v''x^2y_1+2v'x^2y'_1+vx^2y''_1-v'xy_1+vxy'_1+v(x^2+1)y_1=0[/tex]

Then combining like terms of v:

[tex]v(x^2y''_1+xy'_1+(x^2+1)y_1)+v''x^2y_1+v'(2x^2y'_1-xy_1)=0[/tex]

the term [tex]v(x^2y''_1+xy'_1+(x^2+1)y_1)[/tex] then goes away for reasons I don't fully understand. leaving:

[tex]v''x^2y_1+v'(2x^2y'_1-xy_1)=0[/tex]

now set

[tex]u=v'[/tex]
[tex]u'=v''[/tex]

and substituting

[tex]u'x^2y_1+u(2x^2y'_1-xy_1)=0[/tex]

rearranging gives:

[tex]\frac{u'}{u}=-2\frac{y'_1}{y_1}+\frac{1}{x}[/tex]

Recalling that these are all functions of x I can integrate them easily

[tex]\ln(u)=-2\ln(y_1)+\ln(x)[/tex]

[tex]u=y_1^{-2}x[/tex]

[tex]v'=y_1^{-2}x[/tex]

[tex]v=\int{y_1^{-2}xdx}[/tex]

[tex]y_2=y_1v[/tex]

[tex]y_2=y_1\int{y_1^{-2}x}dx[/tex]

[tex]y_2(x)=(a_0x+\sum_{n=2}^{\infty} a_nx^{n+1})\int{(y_1(x))^{-2}x}dx[/tex]

So there it is. A bit long winded but I wanted you to see my whole though process. Is it garbage? Let me know.
 
Last edited:
  • #9
jason17349 said:
the term [tex]v(x^2y''_1+xy'_1+(x^2+1)y_1)[/tex] then goes away for reasons I don't fully understand. leaving:

Very nice Jason. The term goes away simply because [itex]y_1(x)[/itex] is a solution to the homogeneous equation. That is, when you operate on it with that Differential operator, you get zero. Thanks for taking the time to show me that method. As far as the solution, don't know if your teacher will be picky and ask what is [itex]a_1[/itex]? Note in my solution, I set it to zero which means all even powers of x drop out. But it's summer time now anyway. Enjoy the break. :smile:
 
  • #10
Yeah, I also set [tex]a_1[/tex] to 0 I noted this on the work I turned in. Thank you for helping me.
 
  • #11
You know,Salty,that H(x) that u used,it's actually linked to the [itex]\psi [/itex] function.:wink:You may want to check it out.

Daniel.
 
  • #12
jason17349 said:
These were subbed back into the original formula replacing the y's giving:

[tex]v''x^2y_1+2v'x^2y'_1+vx^2y''_1-v'xy_1+vxy'_1+v(x^2+1)y_1=0[/tex]

Then combining like terms of v:

[tex]v(x^2y''_1+xy'_1+(x^2+1)y_1)+v''x^2y_1+v'(2x^2y'_1-xy_1)=0[/tex]

the term [tex]v(x^2y''_1+xy'_1+(x^2+1)y_1)[/tex] then goes away for reasons I don't fully understand. leaving:

I wish to correct something for both Jason and I: When substitutiting back into the ODE, the first term should be:

[tex]v(x^2y''_1-xy'_1+(x^2+1)y_1)[/tex]

And that's why it's zero since the term in parenthesis is 0 (a homogeneous ODE, i.e., the original equation). I tell you what though, the expression:

[tex]\int(y_1(x))^{-2}xdx[/tex]

is a problem but Volterra left solutions in much worst shape and his rational was to get the problem to a "solution expression".
 
  • #13
saltydog said:
The difficult part is finding the derivative of [itex]a_n(c)[/itex] with respect to c.
This is accomplished by logarithmic differentiation. Anyway, it turns out that:
[tex]a_n^{'}(1)=\frac{(-1)^{n+1}}{2^{2n}(n!)^2}\sum_{k=1}^{n}\frac{1}{k}[/tex]

With:
[tex]H(n)=\sum_{k=1}^{n}\frac{1}{k}[/tex]

Could someone, please, explain in details how this part is done? I understand how logarithmic differentiation works but I never do it right when searching for the second solution in cases like this. I guess the factorials trouble me. Any help?
 
Last edited:

1. What is the Frobenius method for solving differential equations?

The Frobenius method is a technique for finding solutions to differential equations that cannot be solved using standard methods. It involves assuming a power series solution and then finding the coefficients that satisfy the differential equation.

2. When is the Frobenius method used?

The Frobenius method is typically used for solving second-order linear differential equations with variable coefficients. It is also used for finding solutions to differential equations with singular points, such as ordinary points or irregular singular points.

3. What are the steps involved in using the Frobenius method?

The steps for using the Frobenius method are as follows:

  • Assume a power series solution, typically in the form of a sum of terms with increasing powers of the independent variable.
  • Substitute the power series into the differential equation and equate coefficients of like powers.
  • Determine the recurrence relation that relates the coefficients of different powers.
  • Solve the recurrence relation to find the coefficients.
  • Use the found coefficients to construct the general solution.

4. What are the advantages of using the Frobenius method?

The Frobenius method can be used to find solutions to a wide range of differential equations, including those that cannot be solved using standard methods. It also allows for the inclusion of singular points in the solution, making it a powerful tool for solving differential equations.

5. Are there any limitations to the Frobenius method?

The Frobenius method is limited to solving second-order linear differential equations with variable coefficients. It also requires the existence of a power series solution, which may not always be possible. Additionally, the calculations involved in solving the recurrence relation can be tedious and time-consuming.

Similar threads

  • Introductory Physics Homework Help
Replies
2
Views
249
  • Introductory Physics Homework Help
Replies
8
Views
398
  • Introductory Physics Homework Help
Replies
32
Views
1K
  • Introductory Physics Homework Help
Replies
4
Views
818
  • Introductory Physics Homework Help
Replies
2
Views
1K
  • Introductory Physics Homework Help
Replies
6
Views
888
  • Introductory Physics Homework Help
Replies
8
Views
1K
  • Introductory Physics Homework Help
Replies
16
Views
395
  • Introductory Physics Homework Help
Replies
2
Views
991
  • Introductory Physics Homework Help
Replies
15
Views
287
Back
Top