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

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 \cos(n\pi), where n is an integer. Is that right? In that case you can just replace \cos(n\pi) with \pm 1.

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

<br /> \cos(n\pi) = (-1)^{n}<br />

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.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top