Message Boards Message Boards

0
|
6486 Views
|
4 Replies
|
4 Total Likes
View groups...
Share
Share this post:

[?] Integrate[Sin[x Pi n] Sin[x Pi m], {x,0,1}] for m=n ?

Good evening everybody,

the appended file shows an irritating (at least for me) behavior.

Simplifying the integral of the title under the assumption that m and n are integers one gets 0.

This is obviously wrong for m==n ! Is there a reason?

Attachments:
POSTED BY: Ulrich Mutze
4 Replies

Thank you, Gentlemen

for the fast and insightful response. Particularly that of Illian made me better prepared for similar situations.

POSTED BY: Ulrich Mutze

This is largely a duplicate of a thread from last year.

POSTED BY: Daniel Lichtblau

Also, your sol2 seems to use the assumptions after the actual integration. This seems to work better:

Integrate[Sin[n*Pi*x]*Sin[m*Pi*x], {x, 0, 1}, Assumptions -> {m \[Element] Integers, n \[Element] Integers, m == n}]
POSTED BY: Marco Thiel

There is some discussion of this topic in the documentation

http://reference.wolfram.com/language/tutorial/GenericAndNonGenericCases.html

POSTED BY: Ilian Gachevski
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract