Integration by parts (2-x)cos(nPi/2)x?

  • Thread starter Splint
  • Start date
  • #1
10
0

Homework Statement


Hi,

I'm doing fouier transforms and I'm not sure how to integrate (2-x)cos(nPi/2)x, (1,2). Anyone able to help me out? Even the indefinite integral would be fine.

Homework Equations



The Attempt at a Solution


I guess u would be (2-x) and dv would be cos(nPi/2)x dx. I'm not sure how to handle (nPi/2) since it is not a constant. Does (nPi/2) stay with x at all times?

Homework Statement





Homework Equations





The Attempt at a Solution

 
Last edited:

Answers and Replies

  • #2
ehild
Homework Helper
15,543
1,914
n pi/2 IS a constant during the integration with respect to x.
Yes, it will be fine if you integrate by parts. How is the function exactly defined? Are you sure that you wrote the cosine function correctly? .

ehild
 
Last edited:
  • #3
10
0
Thanks Ehild,

It's actually a half range expansion. The function is:

f(x)= (1, 0<x<1
(2-x, 1=<x=<2

So I believe the cosine function is correct. I wont try and integrate it right now but I should be ok with it.

Many thanks
Splint
 

Related Threads on Integration by parts (2-x)cos(nPi/2)x?

  • Last Post
Replies
8
Views
29K
Replies
2
Views
18K
Replies
2
Views
2K
  • Last Post
Replies
5
Views
3K
  • Last Post
Replies
2
Views
3K
  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
5
Views
13K
  • Last Post
Replies
3
Views
2K
  • Last Post
Replies
1
Views
4K
  • Last Post
Replies
6
Views
2K
Top