case differentiation problem with "Assumptions"
- To: mathgroup at smc.vnet.net
- Subject: [mg83652] case differentiation problem with "Assumptions"
- From: Paul.Wenk at googlemail.com
- Date: Tue, 27 Nov 2007 06:14:39 -0500 (EST)
I found the following problem using $Assumptions:
Let us calculate the integral: Integrate[Cos[(n \[Pi] (-W + y))/(2
for n \[Element] Integers and n>0 you receive 1, for n=0 you receive
If you make the assumption
$Assumptions = n \[Element] Integers
then you get for the above integral the output 1, although for n=0
(also integer) it should be 2!
Why mathematica is not using a case differentiation in this case? How
is the information about the integer element inserted?
I'm using Mathematica 6.0.0 on Linux x86
Prev by Date:
Create random binary images
Next by Date:
Previous by thread:
Re: Create random binary images
Next by thread:
Re: case differentiation problem with "Assumptions"