Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'Integral Assumptions' topicStudent Support Forum > General > "Integral Assumptions"

Next Comment >Help | Reply To Topic
Author Comment/Response
Paul Dragulin
11/29/09 11:13am


I can't get the assumption specifying a given constant to be an integer to work in an integral. For example, Integrate[Sin[k*x],{x,0,2Pi},Assumptions->Element[k,Integers]] yields (2*Sin[k*Pi]^2)/k instead of zero. If I nest the above output expression in Refine[expression,Assumptions->Element[k,Integers]] then it yields zero (which is wrong also since the case when k=0 in that expression is undefined). I would prefer not do it using Refine[] because sometimes the desired Integral doesn't work out to begin with when it should have had it understood that certain parameters were integers. Thanks!

URL: ,

Subject (listing for 'Integral Assumptions')
Author Date Posted
Integral Assumptions Paul Dragulin 11/29/09 11:13am
Re: Integral Assumptions yehuda ben-s... 12/03/09 04:30am
Next Comment >Help | Reply To Topic