Galoitica: Journal of Mathematical Structures and Applications

On Finding Legendre Polynomials by Algebraic Methods Based on Matrix Theory

Lee Xu
Volume 7, Issue 2, pp. 47-50 (2023)
DOI: https://doi.org/10.54216/GJMSA.070205
Online: https://www.americaspg.com/journal/33/article/2057

Abstract

This paper is dedicated to find Legendre polynomials by using novel linear algebraic methods based on matrices based on Liouville-Sturm theorem, where we find the matrix of the differential operator for Legendre polynomials, with their eigenvalues and their eigenvectors. Also, we illustrate many examples to clarify the validity of our work.

Keywords: Legendre polynomials; differential operator; eigenvalue; eigenvector.

1. Introduction

As we know that the Legendre polynomial is known to many who work in the field of mathematics due to its multiple uses, and it can be found by well-known linear algebraic methods based on the Liouville-Sturm theorem [7,8], and we will try to find the matrix of the differential exponent of these polynomials and the corresponding eigenvalues, and this method differs from other standard methods that depend on solving the Legendre differential equation using power sequences, and the generating function.

Legendre polynomials are solutions of an ordinary differential equation, such as the hyper-geometric equation that appears when solving LaPlace's equation in spherical coordinates and solving the Schrodinger equation in three dimensions [1].

The hyper-geometric equation can be written in the form:

๐‘ (๐‘ฅ)๐นโ€ณ(๐‘ฅ) + ๐‘ก(๐‘ฅ)๐นโ€ฒ(๐‘ฅ) + ๐œ†F(๐‘ฅ), = 0 โ€ฆ โ€ฆ โ€ฆ โ€ฆ โ€ฆ โ€ฆ โ€ฆ . . (1). Where F is a real function ๐น: ๐‘ˆโ†’โ„›, and ๐‘ˆโŠ‚โ„›, โ„›โˆˆ๐œ† is an eigenvalue. Also, s(x), t(x) are real polynomials with degree one or two. Many special cases can be obtained according to s(x), for example if s(x) is constant, then (1) becomes ๐นโ€ณ(๐‘ฅ) โˆ’2๐›ผ๐‘ฅ๐นโ€ฒ(๐‘ฅ) + ๐œ†F(๐‘ฅ) = 0. If s(x) is of degree one, then (1) becomes ๐‘ฅ๐นโ€ณ(๐‘ฅ) + (โˆ’๐›ผ๐‘ฅ+ ๐›ฝ+ 1)๐นโ€ฒ(๐‘ฅ) + ๐œ†F(๐‘ฅ) = 0. There is a close correlation between Liouville-sturm theorem and other linear algebraic concepts, for example, functions take the role of vectors while effects take the role of Matrices and diagonalization of a real symmetric matrix corresponding to the solution of an ordinary differential equation, this matrix is known through the effect of the self-adjoint where its eigenfunctions are continuous and corresponding to eigenvectors [2,3]. Legendre functions are studied in most Sciences as we have already mentioned, which focus on differential equations and special functions, and here we will get the Legendre differential operator matrix in addition to eigenvalues and eigenvectors and from the form of vectors we get Legendre polynomials and we can apply this method to other polynomials such as, Hermite and Chebyshev [3,4,5,6]. Legendre Polynomials and matrices The general formula of a polynomial is ๐›ผ0 + ๐›ผ1๐‘ฅ+ ๐›ผ2๐‘ฅ2 + โ‹ฏโ€ฆ โ€ฆ โ€ฆ โ€ฆ + ๐›ผ๐‘›๐‘ฅ๐‘› (2) Where ๐›ผ0, ๐›ผ1, โ€ฆ โ€ฆ โ€ฆ , ๐›ผ๐‘›โˆˆโ„› can be represented as a vector

๐›ผ0 ๐›ผ1 ๐›ผ2 (3) โ‹ฎ โ‹ฎ ๐›ผ๐‘›] [

The derivatives of (2) are:

๐‘‘๐‘ฅ[๐›ผ0 + ๐›ผ1๐‘ฅ+ ๐›ผ2๐‘ฅ2 + โ‹ฏโ€ฆ โ€ฆ โ€ฆ โ€ฆ + ๐›ผ๐‘›๐‘ฅ๐‘›] = ๐›ผ1 + 2๐›ผ2๐‘ฅ+ 3๐›ผ3๐‘ฅ2 + โ‹ฏโ€ฆ โ€ฆ โ€ฆ โ€ฆ + ๐‘›๐›ผ๐‘›๐‘ฅ๐‘›โˆ’1 (4) ๐‘‘ ๐‘‘ ๐‘‘๐‘ฅโ†’ ๐‘‘2 ๐‘‘๐‘ฅ[๐›ผ1 + 2๐›ผ2๐‘ฅ+ 3๐›ผ3๐‘ฅ2 + โ‹ฏโ€ฆ โ€ฆ โ€ฆ โ€ฆ + ๐‘›๐›ผ๐‘›๐‘ฅ๐‘›โˆ’1] = 2๐›ผ2 + 6๐›ผ3๐‘ฅ+ 12๐›ผ4๐‘ฅ2 + โ‹ฏโ€ฆ โ€ฆ โ€ฆ โ€ฆ + ๐‘›(๐‘›โˆ’ 1)๐›ผ๐‘›๐‘ฅ๐‘›โˆ’2                (5) The matrix representations of first derivative are: ๐‘‘ ๐‘‘๐‘ฅ2 โ†’ ๐›ผ0 ๐›ผ1 ๐›ผ2 ๐›ผ3 ๐›ผ1 2๐›ผ2 3๐›ผ3 โ‹ฏ ๐‘›๐›ผ๐‘› [ 0 1 0 0 โ‹ฏ 0 0 0 0 2 0 โ‹ฏ 0 0 0 0 0 3 โ‹ฏ 0 0 โ‹ฎ โ‹ฎ โ‹ฎ โ‹ฎ โ‹ฏ โ‹ฎ โ‹ฎ 0 0 0 0 โ‹ฏ 0 ๐‘› 0 0 0 0 โ‹ฏ 0 0] (6) = โ‹ฏ ๐›ผ๐‘›โˆ’1 [ 0 ] [ ๐›ผ๐‘›] or [ 0 1 0 0 โ‹ฏ 0 0 0 0 2 0 โ‹ฏ 0 0 0 0 0 3 โ‹ฏ 0 0 โ‹ฎ โ‹ฎ โ‹ฎ โ‹ฎ โ‹ฏ โ‹ฎ โ‹ฎ 0 0 0 0 โ‹ฏ 0 ๐‘› 0 0 0 0 โ‹ฏ 0 0] ๐‘‘ (7) ๐‘‘๐‘ฅ

The matrix representations of the second derivative are:

๐›ผ0 ๐›ผ1 ๐›ผ2 ๐›ผ3 [ 2๐›ผ2 6๐›ผ3 12๐›ผ4 โ‹ฏ ๐‘›(๐‘›โˆ’1)๐›ผ๐‘› [ 0 0 2 0 โ‹ฏ 0 0 0 0 0 6 โ‹ฏ 0 0 โ‹ฏ โ‹ฏ โ‹ฏ โ‹ฏ โ‹ฏ โ‹ฏ โ‹ฏ 0 0 0 0 โ‹ฏ 0 ๐‘›(๐‘›โˆ’1) 0 0 0 0 โ‹ฏ 0 0 0 0 0 0 โ‹ฏ 0 0 ] (8) = โ‹ฏ ๐›ผ๐‘›โˆ’1 0 0 ] [ ๐›ผ๐‘›] ุฃor [ 0 0 2 0 โ‹ฏ 0 0 0 0 0 6 โ‹ฏ 0 0 โ‹ฏ โ‹ฏ โ‹ฏ โ‹ฏ โ‹ฏ โ‹ฏ โ‹ฏ 0 0 0 0 โ‹ฏ 0 ๐‘›(๐‘›โˆ’1) 0 0 0 0 โ‹ฏ 0 0 0 0 0 0 โ‹ฏ 0 0 ] ๐‘‘2 (9) ๐‘‘๐‘ฅ2 โ†’

We change (7), (9) in Legendre differential operator to get:

(1 โˆ’๐‘ฅ2) ๐‘‘2 ๐‘‘๐‘ฅ2 โˆ’2๐‘ฅ๐‘‘ ๐‘‘๐‘ฅ

where

(1 โˆ’๐‘ฅ2) ๐‘‘2 ๐‘‘๐‘ฅ2 โˆ’2๐‘ฅ๐‘‘ ๐‘‘๐‘ฅ = (1 โˆ’๐‘ฅ2)[2๐›ผ2 + 6๐›ผ3๐‘ฅ+ 12๐›ผ4๐‘ฅ2 + โ‹ฏโ€ฆ โ€ฆ โ€ฆ โ€ฆ + ๐‘›(๐‘›โˆ’1)๐›ผ๐‘›๐‘ฅ๐‘›โˆ’2] โˆ’2๐‘ฅ[๐›ผ1 + 2๐›ผ2๐‘ฅ+ 3๐›ผ3๐‘ฅ2 + โ‹ฏโ€ฆ โ€ฆ โ€ฆ โ€ฆ + ๐‘›๐›ผ๐‘›๐‘ฅ๐‘›] = 2๐›ผ2 + (โˆ’2๐›ผ1 + 6๐›ผ3)๐‘ฅ+ (โˆ’6๐›ผ2 + 12๐›ผ4)๐‘ฅ2 + โ‹ฏโ€ฆ โ€ฆ + (โˆ’๐‘›(๐‘›โˆ’1) โˆ’2๐‘›)๐›ผ๐‘›๐‘ฅ๐‘›. Thus, we get the matrix representation of Legendre differential operator:
[ 0 0 0 0 0 0 . . 0 0 โˆ’2 0 6 0 0 . . 0 0 0 โˆ’6 0 12 0 . . 0 0 0 0 โˆ’12 0 20 . . 0 0 0 0 0 โˆ’20 0 . . 0 . . . . . . . . . . โ‹ฏ . . . . 0 0 0 0 โ‹ฏ 0 . . ๐‘›(๐‘›โˆ’1) 0 0 0 0 โ‹ฏ 0 . . 0 0 0 0 0 โ‹ฏ 0 . . โˆ’๐‘›(๐‘›โˆ’1) โˆ’2๐‘›] ๐›ผ0 ๐›ผ1 ๐›ผ2 ๐›ผ3 [ 2๐›ผ2 โˆ’2๐›ผ1 + 6๐›ผ3 โˆ’6๐›ผ2 + 12๐›ผ4 โˆ’12๐›ผ3 + 20๐›ผ5 = . . ๐›ผ๐‘›โˆ’2 ๐›ผ๐‘›โˆ’1 . . ๐‘›(๐‘›โˆ’1)๐›ผ๐‘› 0 [โˆ’๐‘›(๐‘›โˆ’1) โˆ’2๐‘›]๐›ผ๐‘›] [ ๐›ผ๐‘›]

(10) or

[ 0 0 0 0 0 0 . . 0 0 โˆ’2 0 6 0 0 . . 0 0 0 โˆ’6 0 12 0 . . 0 0 0 0 โˆ’12 0 20 . . 0 0 0 0 0 โˆ’20 0 . . 0 . . . . . . . . . . โ‹ฏ . . . . 0 0 0 0 โ‹ฏ 0 . . ๐‘›(๐‘›โˆ’1) 0 0 0 0 โ‹ฏ 0 . . 0 0 0 0 0 โ‹ฏ 0 . . โˆ’๐‘›(๐‘›โˆ’1) โˆ’2๐‘›] (1 โˆ’๐‘ฅ2) ๐‘‘2 ๐‘‘ ๐‘‘๐‘ฅ2 โˆ’2๐‘ฅ ๐‘‘๐‘ฅโ†’

Example:

Consider the Legendre differential operator of size 4*4:

0 0 0 2 0 0 โˆ’2 0 0 6 0 0 โˆ’6 โˆ’6 0 0 0 0 0 โˆ’12 ].(12) ๐‘€= [

The eigenvalues are:

๐œ†1 = 0, ๐œ†2 = โˆ’2, ๐œ†3 = โˆ’6, ๐œ†4 = โˆ’12 The eigenvectors are:
๐›ผ0 ๐›ผ1 ๐›ผ2 ๐›ผ3 0 โˆ’๐œ†๐‘– 0 2 0 0 โˆ’2 โˆ’๐œ†๐‘– 0 6 0 0 โˆ’6 โˆ’๐œ†๐‘– 0 0 0 0 โˆ’12 โˆ’๐œ†๐‘– 0 0 0 0 ๐‘ฃ= [ ] [ ] [ ] = [

For ๐œ†1 = 0, we get:

๐›ผ0 ๐›ผ1 ๐›ผ2 ๐›ผ3 0 0 2 0 0 โˆ’2 0 6 0 0 โˆ’6 0 0 0 0 โˆ’12 0 0 0 0 ] [ ] [ ] = [

Thus,

1 0 0 0 ] ๐‘ฃ1 = [

Which is the corresponding vector to the polynomial:

๐‘ƒ0(๐‘ฅ) = 1.
For ๐œ†2 = โˆ’2, we get:
๐›ผ0 ๐›ผ1 ๐›ผ2 ๐›ผ3 2 0 2 0 0 0 0 6 0 0 โˆ’4 0 0 0 0 โˆ’10 0 0 0 0 ]. [ ] [ ] = [
๐›ผ0 ๐›ผ1 ๐›ผ2 ๐›ผ3

] (13).

Thus,

0 1 0 0 ] ๐‘ฃ2 = [
And ๐‘ƒ1(๐‘ฅ) = ๐‘ฅ. For ๐œ†3 = โˆ’6, we get:
๐›ผ0 ๐›ผ1 ๐›ผ2 ๐›ผ3 6 0 2 0 0 4 0 6 0 0 0 0 0 0 0 โˆ’6 0 0 0 0 ] [ ] [ ] = [
0 1 0 0 ] ๐‘ฃ3 = [
(3๐‘ฅ2โˆ’1) Thus ๐‘ƒ2(๐‘ฅ) = 2 . For ๐œ†4 = โˆ’12, hence
๐›ผ0 ๐›ผ1 ๐›ผ2 ๐›ผ3 12 0 2 0 0 10 0 6 0 0 6 0 0 0 0 0 0 0 0 0 ] [ ] [ ] = [
0 3 0 โˆ’5 ] ๐‘ฃ4 = [
(3๐‘ฅ3โˆ’3๐‘ฅ) ๐‘ ๐‘œ ๐‘กโ„Ž๐‘Ž๐‘ก, ๐‘ƒ3(๐‘ฅ) =

2 . Finally, here the Legendre polynomials were obtained in a direct way using basic linear algebra concepts such as the eigenvalue and eigenvector of a matrix, once the Matrix corresponding to the Legendre differential exponent is obtained, the eigenvalues of this matrix and the eigenvectors corresponding to these values corresponding to the coefficients of the Legendre polynomials are found and the above was obtained in a way that does not use classical methods and which is based on solving the Legendre equation using power sequences, the Rodrigue formula and the generating function. Suggestions and recommendations

We recommend using this method that was followed in this research on other polynomials such as orthogonal polynomials and especially the classical chebchev โ€“ Laguerre โ€“ Hermite โ€“ Jacobi polynomials.

References

[1] L. C. Andrews, Special functions of mathematics for engineers, SPIE, USA, (1998)

[2] A. P.Raposo et al., Romanovski polynomials in selected physics problems, Central European journal of physics, 5(3), (2007), 253-284.

[3] V. Aboites, Laguerre polynomials and linear algebra, Memorias sociedad Matematica Mexicana 52 (2017), 3-13.

[4] V. Aboites, Hermite polynomials through linear algebra, International Journal of Pure and Applied Mathematics 114 (2017) , 401-406.

[5] V. Aboites , Easy Route to t-chebycheff polynomials, Rev . Mex. Fis., (2018)

[6] M. Ramirez, Simple Approach to Gegenbauer polynomials, International Journal of Pure and Applied Mathematics , (2018) Ref . AP2017-31-5266,