Frobenius Method for Solving Second-Order Ordinary Differential Equations

Abstract

As we know that the power series method is a very effective method for solving the Ordinary differential equations (ODEs) which have variable coefficient, so in this paper we have studied how to solve second-order ordinary differential equation with variable coefficient at a singular point t = 0 and determined the form of second linearly independent solution. Based on the roots of initial equation there are real and complex cases. When the roots of initial equation are real then there are three kinds of second linearly independent solutions. If the roots of the initial equation are distinct complex numbers, then the solution is complex-valued.

Share and Cite:

Torabi, A. and Rohani, M. (2020) Frobenius Method for Solving Second-Order Ordinary Differential Equations. Journal of Applied Mathematics and Physics, 8, 1269-1277. doi: 10.4236/jamp.2020.87097.

1. Introduction

We know the linear ODEs with constant coefficients can be solved by functions known from calculus.

If a linear ordinary differential equation has variable coefficients, like Legendre’s and Bessel’s ODEs, it must be solved by other methods.

The power series method is a very effective method for solving the ODEs which have coefficient variable. It gives solution in the form of power series.

A power series is an infinite series of the form

r = 0 a r ( t t 0 ) r = a 0 + a 1 ( t t 0 ) + a 2 ( t t 0 ) 2 + (1)

in which t is a variable. a 0 , a 1 , a 2 , are constants, which are the coefficients of the series. t 0 is the center of the series. In particular, if t 0 = 0 , we get a power series in power of t

r = 0 a r t r = a 0 + a 1 t + a 2 t 2 + (2)

If a differential equation is given in the form

t 2 y + t b ( t ) y + c ( t ) y = 0 (3)

Here b ( t ) and b ( t ) are analytic functions at t = 0 .

This equation can be written in standard form below

y + b ( t ) t y + c ( t ) t 2 y = 0 (4)

If b ( t ) t and c ( t ) t 2 are analytic at t = 0 , then the solution of the equation will be analytic at t = 0 , which can be represented in the form

y ( t ) = r = 0 a r t r (5)

However if either b ( t ) t or c ( t ) t 2 are not analytic at t = 0 , in other words we have a singular point at t = 0 . Then solution cannot be represented in the series, so we must go to power series expanded method which is called Frobenius method.

The Frobenius method enables us to solve such types of differential equations for example, Bessel’s equation

y + 1 t y + ( t 2 v 2 t 2 ) y = 0 , ( v is parameter )

of the form of “Equation (4)”. Here b ( t ) = 1 and c ( t ) = t 2 v 2 are analytic at t = 0 . This ODE could not be solved by power series method, and it requires the Frobenius method.

P. Haarsa and S. Pothat have considered such types of ODEs, but they acquired exclusively the first solution besides general solution. Similarly, Anil Hakim Syofra, Rika Permatasari and Lily Adriani Nazara attained the form of the second solution in real case of the mentioned equations in their research paper.

1) We will study how we can solve second order ODEs at a singular point.

2) Discuss the real and complex cases of the solution with examples.

2. Regular and Singular Point

A regular point of

y + p ( t ) y + q ( t ) y = 0

is a point t 0 in which the coefficients p ( t ) and p ( t ) are analytic functions. Likewise, a regular point of the ordinary differential equation

h ˜ ( t ) y + p ˜ ( t ) y + q ˜ ( t ) y = 0

is t 0 in which h ˜ , p ˜ and q ˜ are analytic and h ˜ ( t 0 ) 0 (divide by h ˜ we get the standard form). So the power series method can be applied. If t 0 is not a regular point, it is called a singular point [1] [2].

3. Frobenius Method

If t = 0 is a singular point of the ordinary differential “Equation (4)”, then it has at least one solution of the form

y ( t ) = t k r = 0 a r t r = t k ( a 0 + a 1 t + a 2 t 2 + ) , a 0 0 (6)

in which k may be any (real or complex) number [3].

The second-order differential “Equation (4)” also has a second solution which may be similar to solution one with a different k and different coefficients, or may have a logarithmic term. Solutions one and two are linearly independent [2] [4].

4. Indicial Equation

Now we shall discuss the method of Frobenius for solving “Equation (4)” at a singular point t = 0 . Multiply “Equation (4)” by t 2 , we get

t 2 y + t b ( t ) y + c ( t ) y = 0 (7)

Now b ( t ) and c ( t ) are expanding in power series,

b ( t ) = b 0 + b 1 t + b 2 t 2 + and c ( t ) = c 0 + c 1 t + c 2 t 2

Differentiating “Equation (6)” term by term, finding

y ( t ) = r = 0 ( r + k ) a r t r + k 1 = t k 1 [ k a 0 + ( k + 1 ) a 1 t ] y ( t ) = r = 0 ( r + k ) ( r + k 1 ) a r t r + k 2 = t k 2 [ k ( k 1 ) a 0 + ( k + 1 ) k a 1 t + ] } (8)

By putting the valves of y ( t ) , y ( t ) and y ( t ) into “Equation (7)”, we readily obtain

t k [ k ( k 1 ) a 0 + ] + ( b 0 + b 1 t + ) t k ( k a 0 + ) + ( c 0 + c 1 t + ) t k ( a 0 + a 1 t + ) = 0 (9)

equating the sum of the coefficients of each power of t k , t k + 1 , t k + 2 , to zero.

This gives a structure of equations with the unknown coefficients a r .

The corresponding equation to the power t k is

[ k ( k 1 ) + b 0 k + c 0 ] a 0 = 0

Since by assumption that a 0 0 the above expression must be zero. This gives

k ( k 1 ) + b 0 k + c 0 = 0 (10)

This equation is important and is known as indicial equation of the ordinary differential “Equation (4)”. It plays the role as follows:

Method of Frobenius gives a basis of solution. One solution of the given ODE will be of the form of “Equation (6)”, where k is a root of “Equation (10)”. The second one will be of the form specified by the indicial equation [1] [2].

Let the roots of indicial equation be k 1 and k 2 . Then we have:

The Real Case: suppose k 1 and k 2 are real and k 1 > k 2 . There are three cases as follows:

Case 1: Distinct roots not different by an integer

If k 1 and k 2 are such that ( k 1 k 2 ) is not an integer. Then we have

y 1 ( t ) = t k 1 ( a 0 + a 1 t + a 2 t 2 + ) (11)

and

y 2 ( t ) = t k 2 ( A 0 + A 1 t + A 2 t 2 + ) (12)

with coefficients obtained successively from “Equation (9)” in which k = k 1 and k = k 2 respectively [1] [2] [4].

Example 1:

We solve the ODE

t 2 y + 1.5 t y 0.5 y = 0

Its standard form is

y + 1.5 1 t y + 0.5 1 t 2 y = 0

Substitute y = t k and its derivatives y = k t k 1 and y = k ( k 1 ) t k 2 into the above equation, we get

k ( k 1 ) t k 2 + 1.5 1 t k t k 1 0.5 1 t 2 y = 0

We have the axillary equation

k ( k 1 ) + 1.5 1 t k 0.5 = 0

or

k 2 + 0.5 k 0.5 = 0

0.5 and −1 are the roots. Hence tow solutions for all positive t is y 1 = t 1 2 and y 2 = 1 t [2] [5].

Case 2: Double roots ( k 1 = k 2 = k )

A basis is

y 1 ( t ) = t k ( a 0 + a 1 t + a 2 t 2 + ) (13)

In case tow we must have algorithm, where in case three we may or may not. Therefore the second solution is

y 2 ( t ) = y 1 ( t ) ln t + t k ( A 0 + A 1 t + A 2 t 2 + ) , t > 0 (14)

Example 2:

We solve the ODE

t ( t 1 ) y + ( 3 t 1 ) y + y = 0 (15)

Writing “Equation (15)” in standard form of “Equation (4)”

y + 3 t 1 t ( t 1 ) y + 1 t ( t 1 ) y = 0

We see that it satisfies the mentioned condition, by putting “Equation (6)” and its derivatives into “Equation (15)”, we get

r = 0 ( r + k ) ( r + k 1 ) a r t r + k r = 0 ( r + k ) ( r + k 1 ) a r t r + k 1 + 3 m = 0 ( r + k ) a r t r + k m = 0 ( r + k ) a r t r + k 1 + r = 0 a r t r + k = 0 (16)

The slightest power is t k 1 , occurring in the second and the fourth series; by associating the sum of its factors to zero, we have

[ k ( k 1 ) k ] a 0 = 0

Thus k 2 = 0 .

Therefore this indicial equation has the paired roots k = 0 [2] [4].

First solution

By addition the value of k = 0 in (16) and compare the sum of the power t s to zero, we attain

s ( s 1 ) a s ( s + 1 ) s a s + 1 + 3 s a s ( s + 1 ) a s + 1 + a s = 0

a s + 1 = a s . Hence a 0 = a 1 = a 2 = = 0 . And by selecting a 0 = 1 , we get the answer

y 1 ( t ) = r = 0 t r = 1 1 t ( | t | < 1 )

Second solution

For second independent solution, we apply the method of decrease of order, replacing y 2 = u y 1 and its derivatives into equation. We have p = 3 t 1 t ( t 1 ) , the factor of y in (15) in standard form.

By partial fractions,

p d t = 3 t 1 t ( t 1 ) d t = ( 2 t 1 + 1 t ) d t = 2 ln ( t 1 ) ln t

Hence

u = U = y 1 2 e p d t = ( t 1 ) 2 ( t 1 ) 2 t = 1 t , u = ln t

y 2 = u y 1 = ln t 1 t

These functions are linearly independent and thus form a basis on the interval 0 < x < 1 (as well as on 1 < x < ) [2] [5] [6].

Case 3: k 1 k 2 is a positive integer

The tow solutions are

y 1 ( t ) = t k 1 ( a 0 + a 1 t + a 2 t 2 + ) (17)

y 2 ( t ) = k y 1 ( t ) ln t + t k 2 ( A 0 + A 1 t + A 2 t 2 + ) (18)

Example 3:

We solve the following ODE

( t 2 t ) y t y + y = 0 (19)

Replacing “Equation (6)” and “Equation (8)”, in “Equation (19)”, we get

( t 2 t ) r = 0 ( r + k ) ( r + k 1 ) a r t r + k 2 t r = 0 ( r + k ) a r t r + k 1 + r = 0 a r t r + k = 0

By taking t 2 , t and t exclusive the summations and bring together all terms with power t r + k and simplify algebraically,

r = 0 ( r + k 1 ) 2 a r t r + k r = 0 ( r + k ) ( r + k 1 ) a r t r + k 1 = 0

We set r = s in the first series and r = s + 1 in the second series, thus s = r 1 . Then

s = 0 ( s + k 1 ) 2 a s t s + k s = 0 ( s + k + 1 ) ( s + k ) a s + 1 t s + k = 0 (20)

Here the lowest power is t k 1 and provides the indicial equation

k ( k 1 ) = 0

k 1 = 1 and k 2 = 0 are the roots, they are different by an integer.

First solution

From (20) with k = k 1 = 1 , we have

s = 0 [ s 2 a s ( s + 2 ) ( s + 1 ) a s + 1 ] t s + 1 = 0

From this we get the recurrence relation

a s + 1 = s 2 ( s + 2 ) ( s + 1 ) a s ( s = 0 , 1 , )

Therefore a 1 = 0 , a 2 = 0 , consecutively.

For a 0 = 1 , we get first solution as y 1 = t k 1 a 0 = t .

Second solution

Applying the method of reduction of order, we replace y 2 = y 1 u = t u , y 2 = t u + u and y 2 = t u + 2 u into the ODE (19), we have

( t 2 t ) ( t u + 2 u ) t ( t u + u ) + t u = 0

Drops out tu. Division by t and simplification gives

( t 2 t ) u + ( t 2 ) u = 0

From partial fractions and integrating, we obtain

u u = t 2 t 2 t = 2 t + 1 t 1 , ln u = ln | t 1 t 2 |

By taking exponents and integrating again, we get

u = t 1 t 2 = 1 t 1 t 2 , u = ln t + 1 t y 2 = t u = t ln t + 1

These two solutions are linearly independent, and y 2 has logarithmic term [2] [6].

The Complex Case: If the roots of the indicial equation are distinct complex

Numbers, k and k ¯ say, then the solution is a complex-valued and is of the form

y ( t ) = t k r = 0 a r t r (21)

in which the coefficients a r may be complex. y 1 ( t ) and y 2 ( t ) are the real and imaginary parts of y ( t ) , respectively and are linearly independent [1].

Example 4:

t 2 ( t + 1 ) y + t y + ( t + 1 ) 3 y = 0 (22)

Replacing “Equation (6)” and “Equation (8)”, in “Equation (22)”, we obtain

t 2 ( t + 1 ) r = 0 ( r + k ) ( r + k 1 ) a r t r + k 2 + t r = 0 ( r + k ) a r t r + k 1 + ( t + 1 ) 3 r = 0 a r t r + k = 0

or

r = 1 ( r + k 1 ) ( r + k 2 ) a r 1 t r + k + r = 0 ( r + k ) ( r + k 1 ) a r t r + k + r = 0 ( r + k ) a r t r + k + r = 3 a r 3 t r + k + r = 2 3 a r 2 t r + k + r = 1 3 a r 1 t r + k + r = 0 a r t r + k = 0 (23)

We know the initial equation is

k ( k 1 ) + k + 1 = 0

or

k 2 + 1 = 0

Its roots k = ± i . Thus, there is a complex-valued solution.

Since the index of the sums has unlike starting points, we separate the cases r = 0 , r = 1 , r = 2 and r 3 for getting the following:

r = 0 ( k 2 + 1 ) a 0 = 0 ,

r = 1 [ ( k + 1 ) 2 + 1 ] a 1 + [ k ( k 1 ) + 3 ] a 0 = 0 ,

r = 2 [ ( k + 2 ) 2 + 1 ] a 2 + [ ( k + 1 ) k + 3 ] a 1 + 3 a 0 = 0 ,

r 3 [ ( k + r ) 2 + 1 ] a r + [ ( k + r 1 ) ( k + r 2 ) + 3 ] a r 1 + 3 a r 2 + a r 3 = 0.

Then r = 0 case implies that k = ± i , as standard, a 0 is arbitrary but nonzero.

Substituting k = i (the k = i case will give same result) and a 0 = 1 into

the cases r = 1 and r = 2 above, gives a 1 = i and a 2 = 1 2 . The general recurrence relation is

[ ( i + r ) 2 + 1 ] a r + [ ( i + r 1 ) ( i + r 2 ) + 3 ] a r 1 + 3 a r 2 + a r 3 = 0 (24)

From which a r = i r r ! .

It follows that

y ( t ) = t i r = 0 i r r ! t r = t i e i t

Suppose t > 0 , Therefore, we can write t i = e i ln t and y ( t ) = e i ( t + ln t ) .

By using Euler’s formula, the real and imaginary parts are

y 1 ( t ) = cos ( t + ln t ) y 2 ( t ) = sin ( t + ln t ) [1]

5. Result

There is at least one Frobenius solution, in each case. When the roots of initial equation are real, there is a Frobenius solution for the larger of the two roots. If y 1 is a Frobenius solution and there is not a second solution, then a second independent solution is the sum of a logarithmic expression y 1 ( t ) ln t and a Frobenius series. If there are complex roots, the first and second solutions will be of the real and imaginary parts of y ( t ) .

6. Conclusions

When t = 0 is a singular point of the second-order ordinary differential equation

y + b ( t ) t y + c ( t ) t 2 y = 0

in which b ( t ) and c ( t ) are not analytic in t = 0 , the Frobenius method will apply and it has at least one solution which can be represented in the form

y ( t ) = t k r = 0 a r t r = t k ( a 0 + a 1 t + a 2 t 2 + )

The above ordinary differential equation also has a second solution such that they are linearly independent.

Its form will be specified by “Equation (6)” in the following cases.

The real case: If the roots of the initial equation are real, then there are the following cases:

Case 1: k 1 k 2 is not an integer

y 2 ( t ) = t k 2 ( A 0 + A 1 t + A 2 t 2 + )

Case 2: double roots k 1 = k 2 = k

y 2 ( t ) = y 1 ( t ) ln t + t k ( A 1 t + A 2 t 2 + )

Case 3: roots differing by an integer

y 2 ( t ) = k y 1 ( t ) ln t + t k 2 ( A 0 + A 1 t + A 2 t 2 + )

The complex case: When the roots of initial equation are distinctly complex, solution is of the form

y ( t ) = t k r = 0 a r t r

in which the coefficients a r may be complex. y 1 ( t ) and y 2 ( t ) are the real and imaginary parts of y ( t ) , respectively.

Conflicts of Interest

The author declares no conflicts of interest regarding the publication of this paper.

References

[1] Adkins, W. and Davidson, M.G. (2010) Ordinary Differential Equation. Springer, New York.
[2] Kreyszig, E. (2006) Advance Engineering Mathematics. 9th Edition, Willy Ltd., India.
[3] Haarsa, P. and Pothat, S. (2014) The Frobenius Method on a Second Order Homogeneous Linear ODEs. Advance Studies in Theoretical Physics, 8, 1145-1148.
https://doi.org/10.12988/astp.2014.4798
[4] Syofra, A.H., Permatasari, R. and Nazara, A. (2016) The Frobenius Method for Solving Ordinary Differential Equation with Coefficient Variable. IJSR, 5, 2233-2235.
https://www.ijsr.net/search_index_results_paperid.php?id=ART2016719
https://doi.org/10.21275/v5i7.art2016719
[5] Hartman, P. (2002) Ordinary Deferential Equation. 2nd Edition, SIAM, Philadelphia.
[6] Birkhoff, G. and Rota, G.-C. (1989) Ordinary Differential Equation. 4th Edition, Wily, New York.

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.