medicalphysicsguy
New member
- Joined
- Jan 23, 2012
- Messages
- 28
Hi,
I'm reviewing Fourier transformations and I want to make sure I can do all the prep math by hand. Stuck at the beginning:
\(\displaystyle \int^{\pi}_{-\pi} cos(mx)cos(nx)\,dx \)
equals 0 if \(\displaystyle m \not= n\), \(\displaystyle \pi\) if \(\displaystyle m = n \not= 0\), \(\displaystyle 2\pi\) if \(\displaystyle m = n = 0\)
I am not getting this integrating by parts. I get:
\(\displaystyle u(x) = cos(mx) \) \(\displaystyle v(x) = \frac{1}{n}sin(nx) \)
\(\displaystyle = \frac{1}{n}cos(mx)sin(nx) - \int^\pi_{-\pi} \frac{1}{mn}sin(nx)sin(mx)\,dx \)
And this doesn't look any closer to a solution. Am I messing up my integration by parts or do I just need to keep going?
I'm reviewing Fourier transformations and I want to make sure I can do all the prep math by hand. Stuck at the beginning:
\(\displaystyle \int^{\pi}_{-\pi} cos(mx)cos(nx)\,dx \)
equals 0 if \(\displaystyle m \not= n\), \(\displaystyle \pi\) if \(\displaystyle m = n \not= 0\), \(\displaystyle 2\pi\) if \(\displaystyle m = n = 0\)
I am not getting this integrating by parts. I get:
\(\displaystyle u(x) = cos(mx) \) \(\displaystyle v(x) = \frac{1}{n}sin(nx) \)
\(\displaystyle = \frac{1}{n}cos(mx)sin(nx) - \int^\pi_{-\pi} \frac{1}{mn}sin(nx)sin(mx)\,dx \)
And this doesn't look any closer to a solution. Am I messing up my integration by parts or do I just need to keep going?