FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Forum index » Science and Technology » Math » Symbolic
legendreP bug in Mathematica?
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
ab@sd.com
science forum beginner


Joined: 12 Jul 2005
Posts: 13

PostPosted: Fri Jul 22, 2005 12:07 am    Post subject: legendreP bug in Mathematica? Reply with quote

Why does Mathematica give an erroneous answer to LegendreP[-1,1]=1? where it
shoudl give -1 according to the series expansion below? is this a bug?

In[13]:=
LegendreP[-1, 1]
Out[13]=
1
In[12]:=
p[n_, z_] = (-1)^n*
Sum[((Pochhammer[-n, k]*Pochhammer[n + 1, k])/k!^2)*
((z + 1)/2)^k, {k, 0, n}]
Out[12]=
n z + 1
(-1) Hypergeometric2F1[-n, n + 1, 1, -----]
2
In[16]:=
p[-1, 1]
Out[16]=
-1
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 2:14 pm | All times are GMT
Forum index » Science and Technology » Math » Symbolic
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts mathematica: how to feed Solve output... double d Math 12 Mon Jul 17, 2006 10:36 pm
No new posts A web browser interface to Mathematica Dave (from the UK) Recreational 3 Fri Jul 07, 2006 9:41 am
No new posts mathematica command for linearity robert Math 1 Sat Jul 01, 2006 8:04 pm
No new posts Mathematica code for an exponential s... Dave L. Renfro Math 2 Wed Jun 07, 2006 10:10 pm
No new posts WITM - Web Interface to Mathematica Dave (from the UK) Math 0 Tue Jun 06, 2006 1:23 am

Bankruptcy | WesternUnion | Web Advertising | Find Local Jobs | Travel Shop
Copyright © 2004-2005 DeniX Solutions SRL
Other DeniX Solutions sites: Electronics forum |  Medicine forum |  Unix/Linux blog |  Unix/Linux documentation |  Unix/Linux forums


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2845s ][ Queries: 16 (0.1933s) ][ GZIP on - Debug on ]