How would you integrate this function?

Click For Summary

Homework Help Overview

The discussion revolves around finding the coefficients for a Fourier expansion, specifically focusing on the integral (1/π) ∫sin(x/2)sin(nx)dx with limits from -π to π. The original function for the expansion is f(x) = sin(x/2).

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss whether to approach the integral using complex numbers or integration by parts. Some suggest using identities related to the Kronecker delta to simplify the process. There are questions about the normalization and the relationship to the Dirac delta function.

Discussion Status

The discussion includes various approaches being explored, with some participants expressing uncertainty about the best method. Guidance has been offered regarding the use of identities and complex exponentials, but there is no explicit consensus on a single approach.

Contextual Notes

Participants note the absence of specific equations and the potential for confusion regarding normalization in the context of Fourier expansions.

Vitani11
Messages
275
Reaction score
3

Homework Statement


I need to find the coefficients for a Fourier expansion. Here is the integral I need to solve: (1/π) ∫sin(x/2)sin(nx)dx where the limits are from -π to π. The original function for the expansion is f(x) = sin(x/2)

Homework Equations


None

The Attempt at a Solution


Should I do this in terms of complex numbers? I think that should be my approach but I am not sure. If this is the right approach can you help me get started with setting up the integral?
 
Physics news on Phys.org
Vitani11 said:

Homework Statement


I need to find the coefficients for a Fourier expansion. Here is the integral I need to solve: (1/π) ∫sin(x/2)sin(nx)dx where the limits are from -π to π. The original function for the expansion is f(x) = sin(x/2)

Homework Equations


None

The Attempt at a Solution


Should I do this in terms of complex numbers?
I don't think so. The usual approach is integration by parts, twice. Here's a link to a similar example, https://www.math.ucdavis.edu/~kouba/CalcTwoDIRECTORY/trigintsoldirectory/TrigIntSol3.html#SOLUTION 24, problem #24
Vitani11 said:
I think that should be my approach but I am not sure. If this is the right approach can you help me get started with setting up the integral?
 
  • Like
Likes   Reactions: Vitani11
use the identity

$$\frac{1}{2\pi} \int_{-\pi} ^{\pi} \sin(nx)\sin(mx) dx = \delta_{nm}$$

and the integral pops right out for you . (i might have the normalization wrong... off the top of my head...)
 
  • Like
Likes   Reactions: Vitani11
Woah, so you're saying that using the kronecker delta I can just say it is δn (1/2)? Can you walk me through those steps? Does it have something to do with the dirac delta function/identities? If the kronecker truly makes it simpler then I'd rather use that lol.
 
it is a definition...if you write the sine functions in terms of complex exponential's and do the integrals, it comes out very quickly...
 
  • Like
Likes   Reactions: Vitani11
$$\frac{1}{\pi}\int_{-\pi}^{\pi}\sin(nx)\sin(mx)dx = \delta_{nm}$$
 
Yes I've solved this now- thank you
 

Similar threads

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