Integrating the Dirac Delta Function

Click For Summary

Homework Help Overview

The discussion revolves around evaluating integrals involving the Dirac delta function, specifically focusing on the integral of the form \(\int_{-\infty}^{\infty}{\delta(2t-3)\sin(\pi t) dt}\) and related expressions. Participants are exploring the implications of the delta function and its properties in the context of integration.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the evaluation of the integral and the role of the delta function in selecting specific values. There are attempts to clarify the correct evaluation methods and the implications of variable changes. Questions arise regarding the treatment of limits during variable substitutions and the interpretation of results from computational tools.

Discussion Status

The discussion is active, with participants providing insights and alternative approaches to the problem. Some guidance has been offered regarding the evaluation techniques and the handling of limits, but there remains a lack of consensus on certain interpretations and outcomes.

Contextual Notes

Participants are navigating through various assumptions about the delta function and its properties, including the need to change limits during variable substitutions. There are references to external resources that may not align with the participants' findings, leading to further questioning of the established formulas.

opticaltempest
Messages
135
Reaction score
0
I am trying to evaluate the following integral.

\int_{-\infty}^{\infty}{\delta(2t-3)\sin(\pi t) dt}

where delta represents the Dirac delta function.


I am told that the answer is -1. However, when I evaluate it in MATLAB and Maple 11, I get an answer of -1/2. What is the correct way to evaluate this integral by hand? Which answer is correct?
 
Physics news on Phys.org
The delta function just picks out the value in which the argument of the delta is zero.
So the integral will just give
sin(\pi t_0)
where t_0 is the solution to 2t - 3 = 0.
 
When I evaluate this integral in MATLAB I type:

syms t;
int(dirac(2*t-3)*sin(pi*t),-inf,inf)

and it returns -1/2.
 
Wouldn't it be -1/2 by using equation (5) on

http://mathworld.wolfram.com/DeltaFunction.html"
 
Last edited by a moderator:
opticaltempest said:
Wouldn't it be -1/2 by using equation (5) on

http://mathworld.wolfram.com/DeltaFunction.html"

Yes, but you don't necessarily have to trust that formula. Change variables to u=2t-3. du=2dt (there's the missing 2). So the integral becomes (1/2)*delta(u)*sin(pi(u+3/2))*du. Now you can just put u=0.
 
Last edited by a moderator:
Thanks
 
What would happen if I had

\int_{-\infty}^{\infty}{\delta \bigg(-\frac{1}{3} t \bigg) dt} ?

Using change of variables we could have

u=-\frac{1}{3}t

Then

du=-\frac{1}{3}dt \implies dt=-3du

Our original integral is then equivalent to

\int_{-\infty}^{\infty}{\delta (u) \cdot -3 du}= -3

This answer doesn't agree with equation (5) listed on
http://mathworld.wolfram.com/DeltaFunction.html"

According to (5) I should get 3 not -3. What is wrong?
 
Last edited by a moderator:
For that change of variables you have to reverse the limits as well. If t goes -infinity -> +infinity, u goes +infinity -> -infinity. Gives you an extra sign.
 
I recall changing limits when doing u-substitutions in previous calculus classes, but how do I know when to change the limits when dealing with infinite limits? Why do we need to 'flip' the limits on this integral with this change of variables?
 
  • #10
I just told you. If u=(-1/3)*t, then if t~+infinity then u~-infinity. So the upper limit becomes -infinity instead of +infinity. \int_{\infty}^{-\infty}{\delta (u) \cdot -3 du}= -\int_{-\infty}^{\infty}{\delta (u) \cdot -3 du}=3.
 
  • #11
When you do the change of variable in the OP's first problem, do the limits of integration change. If have a similar problem where the delta is 4t-3 instead of 2t-3. So I know

u=4t-3
du-4dt
t=(u+3)/4
dt=(1/4) * du

so I have 1/4 * int(sin(pi*(u+3)/4)*dirac(u)du

I have no idea how to move forward if the limits are +/- inf

I know my final result is supposed to be (1/8)sqrt(2)
 
Last edited:
  • #12
The direction of the infinity limits doesn't change if u=4t-3. It looks to me like your main problem is that t=(u+3)/4 NOT t=(u-3)/4.Try solving for t again.
 
  • #13
I didn't think they limits changed. I just needed to be sure. I did fix the t in my original post. I didn't pay close enough attention to what I actually had written correctly on my homework.

I guess where I get confused is in placing u = 0. I know the goal was to find a t that would make the dirac argument equal 0 and that this is what we actually did in the substitution.

If we do this though doesn't dirac(0) = inf ?

making our integral (1/4)*int(sin(3pi/4)*inf du , -inf, inf)
 
  • #14
No, no. dirac(0) isn't really even inf, it's just plain not defined. The rule to remember is that integral(f(u)*dirac(u))=f(0) if zero is inside the limits of integration and f is continuous. Notice there is no 'integral' on the right side. Reread any material you have on the dirac delta function.
 
  • #15
Great, I've got it now. Thanks!

I did know that int(f(x)dirac(a)) = f(a) if a is in the limits. I don't know why I have trouble spotting the simple stuff like this. Our textbook is the bane of signals and systems (isbn: 0073309508) so it's no much help. Between the textbook and the instructor we have very few examples of how to do things.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 31 ·
2
Replies
31
Views
4K
Replies
7
Views
2K
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
7
Views
2K
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 40 ·
2
Replies
40
Views
5K