Zeros of generalised Laguerre polynomial

  • Context: MHB 
  • Thread starter Thread starter ognik
  • Start date Start date
  • Tags Tags
    Laguerre Polynomial
Click For Summary
SUMMARY

This discussion centers on finding the zeros of generalized Laguerre polynomials using Mathematica. The command LaguerreL[n,a,x] is utilized to generate these polynomials, and users can find roots symbolically for polynomials up to the fourth order. For higher orders, such as fifth or beyond, numerical methods are recommended. Additionally, users can export results to a CSV file for further analysis.

PREREQUISITES
  • Familiarity with generalized Laguerre polynomials
  • Basic knowledge of Mathematica commands and syntax
  • Understanding of numerical methods for root finding
  • Experience with file output in programming languages
NEXT STEPS
  • Explore the Mathematica command N[Solve[LaguerreL[n, a, x] == 0, x] for numerical root approximation
  • Research the implementation of Laguerre polynomials in Fortran
  • Learn how to export data from Mathematica to CSV format
  • Investigate numerical methods for root finding in higher-order polynomials
USEFUL FOR

Mathematicians, physicists, and software developers working with polynomial equations, particularly those utilizing Mathematica and Fortran for numerical analysis and programming tasks.

ognik
Messages
626
Reaction score
2
Hi - does anyone know of a program library/subroutine/some other source, to find the zeros of a generalised Laguerre polynomial? ie. $ L^{\alpha}_N (x_i) = 0 $
 
Physics news on Phys.org
In Mathematica (or Wolfram Development Platform), the command
Code:
LaguerreL[n,a,x]
yields the generalized Laguerre polynomials $L_{n}^{a}(x)$. You could then use the power of Mathematica to find zeros as much as you like. Is this for a particular value of $a$? And to what order of polynomial are you intending to go? Mathematica can find symbolic roots all the up to 4th-order. Naturally, it might be difficult to find a fifth-order, since a general formula does not exist. If you have a particular value of $a$ in mind, then you can get Mathematica to find the roots numerically fairly easily, as well.
 
You aren't getting a string of calculations, it's telling you the exact values of the 4 roots. If all you need are approximations, try N[Solve[LaguerreL[4, 2, x] == 0, x]]. That will give you a list of the approximate values of the 4 roots. If you need more precision in the answer you can use N[Solve[LaguerreL[4, 2, x] == 0, x],6] to get the answer to six decimal places. Be warned, though, depending on what algorithms Mathematica has to use to get the solutions you may not be able to get six decimal precision.

-Dan
 
That makes rather good sense, and is all useful info, thanks.
My next thought is - is there a way to get Mathematica to output to a file, like a csv?

BTW, it does return values for N > 4, I tried up to 100 ... but only 7 decimal places.
 

Similar threads

Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
5K