Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Problems with Legendre expansion

  • To: mathgroup at smc.vnet.net
  • Subject: [mg24467] Re: [mg24402] Problems with Legendre expansion
  • From: Paul Abbott <paul at physics.uwa.edu.au>
  • Date: Wed, 19 Jul 2000 01:21:45 -0400 (EDT)
  • Organization: University of Western Australia
  • References: <8l0qg7$dvp@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Kevin.McCann at jhuapl.edu writes:

>I am doing a Legendre expansion of Sin[Pi x] and have, amongst others,
>the following integral
>
>Integrate[Sin[Pi*x]*LegendreP[21,x],{x,-1,1}]
>
>Mathematica just returns the input with the polynomial expanded out. 

You can often assist Integrate for "polynomial" by integrands by 
expanding the integrand:

   Integrate[Expand[Sin[Pi*x]*LegendreP[21,x]],{x,-1,1}]

Cheers,
   Paul

-- 
Paul Abbott                                   Phone: +61-8-9380-2734
Department of Physics                           Fax: +61-8-9380-1014
The University of Western Australia                
Nedlands WA  6907                      
AUSTRALIA                             http://physics.uwa.edu.au/~paul


  • Prev by Date: Re: A strange bug in Solve
  • Next by Date: Re: FindRoot and Derivatives
  • Previous by thread: Re: Problems with Legendre expansion
  • Next by thread: List of symbols