Home / Courses / IIT JAM Physics / Practice / The Dirac delta and Green's functions

The Dirac delta and Green's functions

Mathematical methods · 15 questions and templates for IIT JAM Physics, in order from warm-up to top rank. Check each answer, then read the full solution.

Loading questions… (they need JavaScript; nothing you type is sent anywhere)

Written questions with solutions

The same questions as a list, so you can print them or read without the practice box. Templates (fresh numbers) appear only in the practice box above.

  1. NATWarm-up

    The value of ∫−∞∞(x2+3)δ(x−2)dx is ______.
    Answer and solution

    Answer: 7

    The delta picks out the value of the rest of the integrand where its argument vanishes: x=2, giving 4+3=7.

    Why people get this wrong: Evaluating at x=0 out of habit gives 3.

  2. MCQWarm-up

    The distribution δ(3x) equals
    1. 3δ(x)
    2. δ(x)
    3. δ(x)/3
    4. δ(x/3)
    Answer and solution

    Answer: C

    Substitute u=3x: ∫f(x)δ(3x)dx=∫f(u/3)δ(u)du3=f(0)3. So δ(ax)=δ(x)/|a|. The spike is three times narrower, so it holds a third of the area.

    Why people get this wrong: Pulling the 3 out as a factor: the delta is not linear in its argument.

  3. MCQWarm-up

    The derivative of the Heaviside step function θ(x) (0 for x<0, 1 for x>0) is
    1. 0 everywhere
    2. δ(x)
    3. δ′(x)
    4. 1/x
    Answer and solution

    Answer: B

    For any smooth f that vanishes at infinity: ∫fθ′dx=−∫f′θdx=−∫0∞f′dx=f(0). That is the action of δ(x). A unit jump differentiates into a unit spike.

    Why people get this wrong: The derivative is 0 everywhere except at one point, but that point carries all the area.

  4. MCQWarm-up

    The value of ∫−∞∞cos⁡xδ(x−π)dx is
    1. 1
    2. 0
    3. −1
    4. π
    Answer and solution

    Answer: C

    Sifting: cos⁡π=−1.

    Why people get this wrong: Answering π, the location of the spike, instead of the value of the function there.

  5. MCQWarm-up

    The value of ∫13x2δ(x)dx is
    1. 1
    2. 9
    3. 0
    4. 43
    Answer and solution

    Answer: C

    δ(x) is concentrated at x=0, which lies outside the range [1,3]. So the integrand is zero everywhere in the range and the integral is 0.

    Why people get this wrong: Sifting gives f(0) only when the spike lies inside the limits.

  6. NATStandard

    With θ the Heaviside step function, the value of ∫−∞∞xθ(x)θ(2−x)dx is ______.
    Answer and solution

    Answer: 2

    θ(x)θ(2−x) is 1 for 0<x<2 and 0 elsewhere: a box. So the integral is ∫02xdx=2.

    Why people get this wrong: θ(2−x) is 1 for x<2 (not x>2): it switches off at 2.

  7. MCQStandard

    A point charge q sits at 𝐫0. Its charge density is
    1. qδ3(𝐫−𝐫0)
    2. qδ(|𝐫−𝐫0|)
    3. q4πδ3(𝐫−𝐫0)
    4. q4π|𝐫−𝐫0|2
    Answer and solution

    Answer: A

    The density must vanish away from 𝐫0 and integrate to q over any volume containing it: ∫qδ3(𝐫−𝐫0)d3r=q. Its unit is charge per volume, since δ3 has unit m−3. A one-dimensional δ(|𝐫−𝐫0|) has the wrong unit and integrates to zero over a small ball (∫δ(r)4πr2dr=0).

    Why people get this wrong: The last option is the shape of the field strength, not the density.

  8. NATExam level

    The value of ∫−∞∞e−x2d2|x|dx2dx is ______.
    Answer and solution

    Answer: 2

    d|x|dx=sgn(x), which jumps from −1 to +1 at 0, so d2|x|dx2=2δ(x). The integral is 2e0=2. (By parts: −∫sgn(x)(−2x)e−x2dx=2∫0∞2xe−x2dx=2.)

    Why people get this wrong: Saying |x|′′=0 (true away from 0) misses the kink.

  9. MCQExam level

    Which function satisfies d2Gdx2=δ(x) on the whole real line?
    1. |x|
    2. 12|x|
    3. θ(x)
    4. 12e−|x|
    Answer and solution

    Answer: B

    ddx12|x|=12sgn(x) jumps by 1 at 0, so the second derivative is δ(x). |x| gives 2δ; θ′′=δ′; and (12e−|x|)′′=12e−|x|−δ(x). (Any 12|x|+ax+b, e.g. xθ(x), also works: Green's functions need boundary conditions to be unique.)

    Why people get this wrong: The derivative must JUMP by exactly 1; |x| has slope going from −1 to +1, a jump of 2.

  10. MSQExam level

    With θ the Heaviside step and sgn(x)=θ(x)−θ(−x), which hold (as distributions or for x≠0)?
    1. θ(x)+θ(−x)=1
    2. ddxsgn(x)=2δ(x)
    3. θ(x)2=θ(x)
    4. xθ′(x)=δ(x)
    Answer and solution

    Answer: A, B, C

    For x≠0 exactly one of θ(x),θ(−x) is 1. sgn′=θ′(x)−ddxθ(−x)=δ(x)+δ(−x)=2δ(x). θ takes only the values 0 and 1, so θ2=θ. But xθ′(x)=xδ(x)=0, since ∫f(x)xδ(x)dx=0⋅f(0).

    Why people get this wrong: A factor that vanishes at the spike kills the delta: xδ(x)=0.

  11. NATExam level

    Solve y′′=x on [0,1] with y(0)=y(1)=0 (for example with the Green's function G=x<(x>−1)). The value of y(1/2) is ______ (four decimal places).
    Answer and solution

    Answer: -0.0625 (±0.0003)

    Directly: y=x3/6+ax+b; y(0)=0 gives b=0 and y(1)=0 gives a=−16. So y=x3−x6 and y(12)=1/8−1/26=−116=−0.0625. With the Green's function: y(12)=∫01/2x′(12−1)x′dx′+∫1/2112(x′−1)x′dx′=−148−124=−116.

    Why people get this wrong: A positive source with y′′=f makes y sag below zero between fixed ends; the sign is negative.

← All topics · Timed mock test →