Integrating a delta function of a function

In summary: The delta function is non-zero whenever its argument is zero. Is ##x = 2a## the only point where this happens?In addition, your integral is formally infinite. This indicates that you have not used the delta function appropriately, please show how you arrived at this conclusion.I suppose also when $$ x=0$$ it would be non zero. I just set it equal to 1 for the value of $$x$$ that I found. Thanks for the response :)That is not how the delta function works. You cannot just replace it with a one in the integral. What is the defining property of the delta function?Ah, whoops. That it has area 1, so only makes
  • #1
Milsomonk
96
17

Homework Statement


Evaluate the integral:
$$\int_{-\infty}^{\infty} dx *\dfrac {\delta (x^2-2ax)} {x+b}$$

Homework Equations


$$ x^2-2ax=0 $$

The Attempt at a Solution


I know that the delta function can only be none zero when $$ x=2a$$ so then I have the following integral:
$$\int_{-\infty}^{\infty} dx \dfrac {1} {2a+b} $$
But I'm not sure how to evaluate this integral, or even if this is the correct approach to the problem. Any guidance would be appreciated :)
 
Physics news on Phys.org
  • #2
Milsomonk said:
I know that the delta function can only be none zero when $$ x=2a$$ so then I have the following integral:
$$\int_{-\infty}^{\infty} dx \dfrac {1} {2a+b} $$
But I'm not sure how to evaluate this integral, or even if this is the correct approach to the problem. Any guidance would be appreciated :)

The delta function is non-zero whenever its argument is zero. Is ##x = 2a## the only point where this happens?

In addition, your integral is formally infinite. This indicates that you have not used the delta function appropriately, please show how you arrived at this conclusion.
 
  • #3
I suppose also when $$ x=0$$ it would be non zero. I just set it equal to 1 for the value of $$x$$ that I found. Thanks for the response :)
 
  • #4
Milsomonk said:
I suppose also when $$ x=0$$ it would be non zero. I just set it equal to 1 for the value of $$x$$ that I found. Thanks for the response :)
That is not how the delta function works. You cannot just replace it with a one in the integral. What is the defining property of the delta function?
 
  • #5
Ah, whoops. That it has area 1, so only makes sense once integrated over?
 
  • #6
Ok, so it would make sense though to substitute my value for x into the denominator and then take it outside of the integrand, then I can integrate the delta function on its own?
$$\int_{-\infty}^{\infty} dx *\dfrac {\delta (x^2-2ax)} {2a+b} = \dfrac {1}{2a+b} \int_{-\infty}^{\infty} dx \delta (x^2-2ax) = \dfrac {1}{2a+b}$$
 
  • #7
First of all, you need to account for the fact that the delta function is non-zero in two points, which you are not doing at the moment. Second, you need to take into account that the argument of the delta function is a function of x and not just ##x - x_0##.
 
  • #8
Thanks very much for your help and patience :)

Ok, I'm really not sure how to proceed with regards to the first point, perhaps split it into two separate delta functions but I don't know how I'd go about that. The second point I think I need to use this formula:
$$\delta (f(x))=\dfrac {\delta (x-x_0)} {\vert f^\prime (x_0) \vert}$$
So then I have:
$$\int_{-\infty}^{\infty} dx \dfrac {\delta (x-x_0)} {\vert 2x_0-2a \vert} \dfrac {1}{x+b}$$
Then if $$ x_0=2a$$ I have:
$$\dfrac {1} {2a}\int_{-\infty}^{\infty} dx \dfrac {\delta (x-x_0)}{x+b}$$
I can then I think us the sifting property to evaluate this but I'm not even sure I'm right up to this point.
 
  • #9
Ok so I have followed your advice and found a way to account for the two places at which the delta function of zero, I can't see any issue with my method but I do not get the same answer as wolfram alpha:
$$\int_{-\infty}^{\infty} dx *\dfrac {\delta (x^2-2ax)} {x+b}$$
Then using:
$$\delta (f_{(x)}) =\dfrac {\delta (x-x_1)} {\vert f^\prime_{(x_1)} \vert} + \dfrac {\delta (x-x_2)} {\vert f^\prime_{(x_2)} \vert}$$
I can now use this to rewrite the integral. I also know the roots:
$$x_1=2a , x_2=0$$ and $$ f^\prime_{(x_1)} =4a , f^\prime_{(x_2)} =0$$
so
$$ \int_{-\infty}^{\infty} dx *\dfrac {\delta (x^2-2ax)} {x+b}=\dfrac {1} {4a}\int_{-\infty}^{\infty} dx *\dfrac {\delta (x-2a)} {x+b}+\dfrac {1} {2a} \int_{-\infty}^{\infty} dx *\dfrac {\delta (x)} {x+b}$$
Then I use the sifting property:
$$\int_{-\infty}^{\infty} dx * \delta (x-x_0) f(x) = f(x_0)$$
$$f(x)=\dfrac {1} {x+b}$$
my integral becomes:
$$ \dfrac {1} {4a(2a+b)} +\dfrac {1} {2ab}=\dfrac {1} {8a^2+6ab} $$
However Mathematica and wolfram tell me the answer is:
$$\dfrac {1} {2ab} $$
Any guidance on where my method or calculation could be flawed would be appreciated :)
 
  • #10
Overall your methodology looks fine. Don't be overconfident in what Mathematica spits out. It is clearly missing the contribution from ##x = 2a##.

However, note that
$$
f'(x) = 2x - 2a
$$
and therefore ##f'(0) = -2a \neq 0## and ##f'(2a) = 2a \neq 4a##.
 
  • #11
Hi, thanks :) that's good to hear. I'd hoped that was the issue with mathematica. whoops that was a typo in my notes for x_1 and a silly mistake for x_2 ! thanks very much for your help it :)
 
  • #12
So after some testing, for some reason Mathematica 11 seems to handle the delta function properly when you put an actual number instead of ##a## but seems unable to handle it symbolically. I find this weird as it is perfectly able to solve ##x^2 - 2ax = 0## and find the derivative of ##f## ...
 
  • #13
That's pretty surprising, I can't imagine why that would be, it surely couldn't be hard for it to evaluate symbolically if it can handle it numerically. Wolfram alpha appears to be the same...
 

1. What is a delta function?

A delta function, denoted as δ(x), is a mathematical function that is zero everywhere except at the point x=0 where it is infinite. It is often used in mathematical and physical applications to represent a point mass or impulse.

2. How do you integrate a delta function?

The integral of a delta function can be calculated using the following identity: ∫f(x)δ(x-a)dx = f(a), where a is the point at which the delta function is centered. Essentially, the integral evaluates to the value of the function at the point a.

3. What is the purpose of integrating a delta function of a function?

The integration of a delta function of a function allows us to evaluate the function at a specific point, rather than over a range of values. This can be useful in solving differential equations, finding the value of a function at a critical point, or calculating probabilities in physics and engineering problems.

4. Can a delta function be integrated over a range of values?

No, a delta function cannot be integrated over a range of values as it is zero everywhere except at a single point. However, it can be multiplied by a function and integrated over a range of values, which is known as the convolution of the delta function and the function.

5. Are there any properties of delta functions that are useful when integrating?

Yes, there are several properties of delta functions that can be useful when integrating. For example, the delta function is an even function, meaning that δ(x) = δ(-x). It is also a scaling function, meaning that δ(ax) = 1/|a|δ(x). These properties can make integration simpler and more efficient.

Similar threads

  • Advanced Physics Homework Help
Replies
4
Views
337
Replies
2
Views
1K
  • Advanced Physics Homework Help
Replies
1
Views
834
  • Advanced Physics Homework Help
Replies
8
Views
809
  • Advanced Physics Homework Help
Replies
3
Views
2K
Replies
1
Views
793
  • Advanced Physics Homework Help
Replies
1
Views
946
Replies
1
Views
810
  • Advanced Physics Homework Help
Replies
1
Views
1K
  • Advanced Physics Homework Help
Replies
3
Views
1K
Back
Top