Solving the Wave Function Integral with cos(n*pi)

Click For Summary

Homework Help Overview

The discussion revolves around the evaluation of an integral involving the wave function, specifically focusing on the term cos(n*pi), where n is an integer. Participants are exploring the implications of this term in the context of the integral.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the nature of cos(n*pi), noting that it can equal +1 or -1 depending on whether n is even or odd. There are questions about the implications of this term for the integral and whether n can take values other than just +1 or -1.

Discussion Status

Some participants suggest that the term cos(n*pi) can be treated as a constant, allowing for straightforward integration. However, there is a request for clarification on the specific integral being evaluated, indicating that further details may help in understanding the challenges faced.

Contextual Notes

There is a mention of the term being a constant in the context of the integral, but the specific integral and the steps taken by the original poster remain unspecified, which may affect the clarity of the discussion.

Moneer81
Messages
158
Reaction score
2

Homework Statement


While solving the integral of a wave function,I came across the term cos(n*pi) , where n is an integer. Is that term equal to +1 or -1 (I know that it could be either one depending on whether n is odd or even) but how do I proceed with the integral?


Homework Equations



none

The Attempt at a Solution



cos (n*pi) is 1 if n is even and -1 if n is odd...but how do proceed?

thanks a lot
 
Physics news on Phys.org
Why does n have to be +1 or -1? Why can't it be 2, for instance?
 
n could be any integer, but the whole term cos (n*pi) will have to be +1 or -1
 
OK, so you're trying to integrate and you have somewhere a factor of [itex]\cos(n\pi)[/itex], where [itex]n[/itex] is an integer. Is that right? In that case you can just replace [itex]\cos(n\pi)[/itex] with [itex]\pm 1[/itex].

This looks pretty straightforward to me. It might help me understand why this is giving you trouble if you typed out the integral that you are trying to do, what you have done, and where you got stuck.
 
You can write the term as

[tex] \cos(n\pi) = (-1)^{n}[/tex]

It doesn't really help that much, but you see this a lot. Since this is a constant term you can just proceed to perform the integral you want to evaluate.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K