Home / Courses / IIT JAM Physics / Practice / Fourier series

Fourier series

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

New to this topic? Read the lesson first: Fourier series.

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. MCQWarm-up

    The Fourier series of f(x)=x on (−π,π), extended periodically, contains
    1. only cosine terms and a constant
    2. only sine terms
    3. both sine and cosine terms
    4. only a constant
    Answer and solution

    Answer: B

    f(x)=x is odd. xcos⁡nx is odd, so every an (including a0) integrates to zero over the symmetric interval. Only the bn (sine) terms survive.

    Why people get this wrong: Thinking a function that is not periodic needs every kind of term; the symmetry of f on the interval is what decides.

  2. NATWarm-up

    The value of ∫−ππsin2⁡3xdx is ______ (to three decimal places).
    Answer and solution

    Answer: 3.142 (±0.002)

    sin2⁡3x=12(1−cos⁡6x). The cosine integrates to zero over whole periods, leaving 12×2π=π=3.142. The same is true for any sin2⁡nx or cos2⁡nx with n≥1: that is where the 1/π in the coefficient formulas comes from.

    Why people get this wrong: Using the orthogonality result 0, which holds for two different frequencies, not for a square.

  3. MCQWarm-up

    The fundamental period of sin⁡2x+cos⁡3x is
    1. π
    2. 2π/3
    3. 6π
    4. 2π
    Answer and solution

    Answer: D

    sin⁡2x repeats every π; cos⁡3x every 2π/3. The sum repeats when both do: the smallest common multiple of π and 2π/3 is 2π (two periods of the first, three of the second).

    Why people get this wrong: Taking the smaller period or multiplying the two periods.

  4. MSQWarm-up

    Which of these functions are even?
    1. |x|
    2. xcos⁡x
    3. xsin⁡x
    4. sin⁡x
    Answer and solution

    Answer: A, C

    |−x|=|x|: even. (−x)cos⁡(−x)=−xcos⁡x: odd. (−x)sin⁡(−x)=xsin⁡x: even. sin⁡x: odd. An even function has a pure cosine series; an odd one a pure sine series.

    Why people get this wrong: Odd times even is odd; odd times odd is even.

  5. MCQWarm-up

    At a point where a piecewise smooth periodic function jumps from f(x0−) to f(x0+), its Fourier series converges to
    1. 12[f(x0−)+f(x0+)]
    2. f(x0−)
    3. f(x0+)
    4. nothing: it diverges there
    Answer and solution

    Answer: A

    Dirichlet's theorem: at a jump the series converges to the midpoint of the jump, the average of the left and right limits. Elsewhere it converges to f(x).

    Why people get this wrong: Expecting the series to pick the value written in the definition of f at that point; the series does not know it.

  6. NATWarm-up

    The constant term a0/2 in the Fourier series of f(x)=4cos2⁡x is ______.
    Answer and solution

    Answer: 2

    4cos2⁡x=2+2cos⁡2x. That is already a Fourier series: a0/2=2 (the average value) and a2=2; every other coefficient is zero.

    Why people get this wrong: Reporting a0=4 instead of a0/2; the constant term is always the average of f.

  7. MCQWarm-up

    A steady periodic signal (not a pure sine) repeats every 5 ms. The frequencies that can appear in its Fourier series are
    1. any frequency at all, with a continuous spread
    2. 0, 200, 400, 600, ... Hz (whole multiples of 200 Hz)
    3. only 200 Hz
    4. 0, 100, 300, 500, ... Hz (odd multiples of 100 Hz)
    Answer and solution

    Answer: B

    A function of period T is a sum of cos⁡(2πnt/T) and sin⁡(2πnt/T) for n=0,1,2,…, so only n/T can appear: 1/T=200 Hz and its whole multiples, plus a possible constant (n=0). Which of them are actually present depends on the shape; a continuous spread belongs to signals that do not repeat.

    Why people get this wrong: A non-sinusoidal shape adds harmonics, but they are still locked to multiples of 1/T.

  8. MCQStandard

    The square wave f(x)=−1 for −π<x<0 and +1 for 0<x<π has sine coefficients
    1. bn=2/(nπ) for all n
    2. bn=4/(n2π) for odd n
    3. bn=4/(nπ) for odd n, 0 for even n
    4. bn=2(−1)n/n
    Answer and solution

    Answer: C

    The function is odd, so bn=2π∫0πsin⁡nxdx=2nπ(1−cos⁡nπ). For odd n, cos⁡nπ=−1 and bn=4/(nπ); for even n it is zero. So f=4π(sin⁡x+sin⁡3x3+sin⁡5x5+…).

    Why people get this wrong: Coefficients falling like 1/n2 belong to continuous waves (triangle); a wave with jumps falls like 1/n.

  9. NATStandard

    Use f(x)=a02+∑n≥1(ancos⁡nx+bnsin⁡nx) on (−π,π), with an=1π∫−ππfcos⁡nxdx and bn=1π∫−ππfsin⁡nxdx. For f(x)=x, the coefficient b3 is ______ (to three decimal places).
    Answer and solution

    Answer: 0.667 (±0.002)

    bn=2π∫0πxsin⁡nxdx=2π[−xcos⁡nxn]0π+0=2(−1)n+1n. For n=3: 2/3=0.667.

    Why people get this wrong: Dropping (−1)n+1: the signs alternate, b1=2, b2=−1, b3=2/3.

  10. MCQStandard

    The Fourier series of f(x)=x2 on (−π,π) is π23+4∑n≥1(−1)nn2cos⁡nx. The coefficient of cos⁡x is
    1. 4
    2. −2
    3. π2/3
    4. −4
    Answer and solution

    Answer: D

    Put n=1: 4×(−1)1/12=−4. A quick check: near x=0 the function x2 has a minimum, and −4cos⁡x also has a minimum there.

    Why people get this wrong: Ignoring the (−1)n, which is negative for odd n.

  11. NATStandard

    The function f(x)=0 for −π<x<0 and 2 for 0<x<π is extended with period 2π. Its Fourier series at x=0 adds up to ______.
    Answer and solution

    Answer: 1

    At the jump the series converges to the average of the two sides: (0+2)/2=1. (In fact every sine term vanishes at x=0, leaving only the constant term a0/2=1.)

    Why people get this wrong: Choosing 0 or 2 according to how f(0) might be defined.

  12. MSQStandard

    A piecewise smooth function f is given only on (0,L). Which statements are true?
    1. It can be expanded in a cosine series, using its even extension.
    2. It can be expanded in a sine series, using its odd extension.
    3. Both series converge to f(x) at every point of (0,L) where f is continuous.
    4. The sine series of f(x)=1 on (0,π) converges to 1 at x=0.
    Answer and solution

    Answer: A, B, C

    Extending f to (−L,0) as an even or an odd function gives a full periodic function with only cosines or only sines. Both agree with f inside (0,L). But the odd extension of f=1 jumps from −1 to +1 at x=0, so its sine series gives the average, 0, there (every sin⁡nx vanishes at 0).

    Why people get this wrong: Forgetting that the end points of the half-range are jumps of the extension, where the series gives the average.

  13. MCQStandard

    For an odd function with period 2L, the series is f(x)=∑bnsin⁡(nπx/L) with
    1. bn=1L∫0Lf(x)sin⁡nπxLdx
    2. bn=2L∫0Lf(x)sin⁡nπxLdx
    3. bn=1π∫0Lf(x)sin⁡nπxLdx
    4. bn=2L∫02Lf(x)sin⁡nxdx
    Answer and solution

    Answer: B

    Generally bn=1L∫−LLfsin⁡(nπx/L)dx. For odd f the integrand is even, so this is twice the integral over (0,L): 2L∫0L.

    Why people get this wrong: Keeping 1/π from the 2π-periodic formulas after rescaling to period 2L.

  14. NATStandard

    In the complex form f=∑cneinx of a real function, cn=(an−ibn)/2 for n≥1. If a2=3 and b2=4, then |c2| is ______ (to one decimal place).
    Answer and solution

    Answer: 2.5 (±0.05)

    |c2|=12a22+b22=129+16=2.5. The amplitude of the second harmonic is a22+b22=5, shared equally between c2 and c−2.

    Why people get this wrong: Forgetting the factor 12; the real amplitude is split between e2ix and e−2ix.

  15. MCQStandard

    A periodic triangle wave is continuous but has corners. For large n its Fourier coefficients fall off like
    1. 1/n
    2. 1/n2
    3. 1/n3
    4. e−n
    Answer and solution

    Answer: B

    Each degree of smoothness gains a power of n. A function with jumps: 1/n. Continuous with jumps in the slope (corners): 1/n2. Continuous slope with jumps in the second derivative: 1/n3. A triangle wave is the integral of a square wave, so its coefficients are the square wave's divided by n.

    Why people get this wrong: 1/n is the square wave, which has jumps in the value itself.

  16. NATStandard

    The constant term a0/2 of the Fourier series of the full-wave rectified sine f(x)=|sin⁡x| is ______ (to three decimal places).
    Answer and solution

    Answer: 0.637 (±0.002)

    The constant term is the average: 12π∫−ππ|sin⁡x|dx=12π×4=2π=0.637. This is the DC output of a full-wave rectifier.

    Why people get this wrong: Averaging sin⁡x itself (zero) instead of its absolute value.

  17. MCQStandard

    The Fourier series of sin3⁡x is
    1. 14(3sin⁡x−sin⁡3x)
    2. 14(3sin⁡x+sin⁡3x)
    3. 34sin⁡x
    4. sin⁡x−13sin⁡3x
    Answer and solution

    Answer: A

    From sin⁡3x=3sin⁡x−4sin3⁡x: sin3⁡x=14(3sin⁡x−sin⁡3x). A finite trigonometric polynomial is its own Fourier series, so no integrals are needed. Check at x=π/2: 14(3+1)=1.

    Why people get this wrong: Computing the integrals when an identity gives the answer in one line; also the sign of sin⁡3x.

  18. MSQStandard

    Which of these sets of functions are orthogonal on (−π,π) (every pair integrates to zero)?
    1. {1,cos⁡x,cos⁡2x}
    2. {sin⁡x,sin⁡2x}
    3. {sin⁡x,cos⁡x}
    4. {1,x2}
    Answer and solution

    Answer: A, B, C

    ∫cos⁡xdx=∫cos⁡2xdx=0 and ∫cos⁡xcos⁡2xdx=0 (different frequencies). ∫sin⁡xsin⁡2xdx=0. ∫sin⁡xcos⁡xdx=12∫sin⁡2xdx=0. But ∫1⋅x2dx=2π3/3≠0.

    Why people get this wrong: Thinking "different functions" means orthogonal; the integral of their product must vanish.

  19. MCQStandard

    Each function is defined on (−π,π) and repeated with period 2π. Which one does NOT meet the Dirichlet conditions for a Fourier series?
    1. |x|
    2. sgn⁡x (the sign of x)
    3. x2
    4. tan⁡x
    Answer and solution

    Answer: D

    The Dirichlet conditions ask for a function that is absolutely integrable over a period, with finitely many jumps and finitely many maxima and minima. |x| and x2 are continuous; sgn⁡x has finite jumps only. tan⁡x blows up at x=±π/2 and ∫|tan⁡x|dx diverges there, so its coefficients are not even defined.

    Why people get this wrong: Jumps are allowed; infinities that make the integral diverge are not.

  20. NATExam level

    Using the Fourier series of the square wave (or of |x|), the sum 1+132+152+… equals ______ (to three decimal places).
    Answer and solution

    Answer: 1.234 (±0.002)

    Parseval for the square wave ±1: 1π∫−ππ1dx=2=∑bn2=16π2(1+19+125+…). So the sum is π2/8=1.234.

    Why people get this wrong: Confusing it with ∑1/n2=π2/6, which includes the even terms too.

  21. NATExam level

    For a symmetric square wave (values ±1), the fundamental (n=1) carries ______ % of the total mean-square power (to one decimal place).
    Answer and solution

    Answer: 81.1 % (±0.1)

    The mean square of the wave is 1. The fundamental b1sin⁡x with b1=4/π has mean square b12/2=8/π2=0.811. So 81.1% of the power is in the first harmonic; all the rest share under 19%.

    Why people get this wrong: Using b12 without the 12 (the average of sin2⁡) gives more than 100%.

  22. MCQExam level

    Partial sums of the Fourier series of a square wave jumping from −1 to +1 are plotted with more and more terms. Near the jump the largest value of the partial sums approaches
    1. about 1.09
    2. exactly 1, once enough terms are kept
    3. about 1.18
    4. about 2
    Answer and solution

    Answer: C

    Gibbs phenomenon: the partial sums overshoot by about 9% of the size of the jump. The jump is 2, so the overshoot is about 0.18 and the peak approaches 1.18 (more precisely 1.179). Adding terms squeezes the overshoot closer to the jump but does not lower it.

    Why people get this wrong: Taking 9% of the height 1 instead of 9% of the jump 2.

  23. MSQExam level

    Use f(x)=a02+∑n≥1(ancos⁡nx+bnsin⁡nx) on (−π,π), with an=1π∫−ππfcos⁡nxdx and bn=1π∫−ππfsin⁡nxdx. For f(x)=|x|, which statements are true?
    1. bn=0 for every n.
    2. a0/2=π/2
    3. an=−4/(πn2) for odd n and 0 for even n≥2.
    4. Its partial sums show a Gibbs overshoot.
    Answer and solution

    Answer: A, B, C

    |x| is even: no sines. Its average over (0,π) is π/2. an=2π∫0πxcos⁡nxdx=2πn2[(−1)n−1]: −4/(πn2) for odd n, zero for even. The periodic extension is continuous (a triangle wave), so there is no jump and no Gibbs overshoot: the series converges uniformly.

    Why people get this wrong: Expecting Gibbs ringing at the corners; it needs a jump in the function itself.

  24. NATExam level

    Putting x=0 in x2=π23+4∑n≥1(−1)nn2cos⁡nx gives the sum 1−122+132−… It equals ______ (to three decimal places).
    Answer and solution

    Answer: 0.822 (±0.002)

    At x=0: 0=π23+4∑(−1)nn2, so ∑(−1)n+1n2=π212=0.822. (Putting x=π instead gives ∑1/n2=π2/6.)

    Why people get this wrong: Sign slips: (−1)n starts at −1, so the sum with (−1)n+1 is positive.

  25. MCQExam level

    The square wave of value +1 on (0,π) and −1 on (−π,0) has series 4π∑n oddsin⁡nxn. Evaluating it at x=π/2 proves that
    1. 1+19+125+⋯=π2/8
    2. ∑1/n2=π2/6
    3. 1−12+13−⋯=ln⁡2
    4. 1−13+15−⋯=π/4
    Answer and solution

    Answer: D

    At x=π/2, sin⁡(nπ/2)=1,−1,1,… for n=1,3,5,… So 1=4π(1−13+15−…), which is Leibniz's series π/4.

    Why people get this wrong: The π2/8 result comes from Parseval (squaring), not from evaluating at a point.

  26. NATExam level

    The half-range cosine series of f(x)=x on (0,π) is a02+∑ancos⁡nx. The coefficient a1 is ______ (to three decimal places).
    Answer and solution

    Answer: -1.273 (±0.002)

    For a cosine series on (0,π): an=2π∫0πxcos⁡nxdx=2πn2[(−1)n−1]. For n=1: 2π(−2)=−4π=−1.273. (This is the series of |x|, the even extension.)

    Why people get this wrong: Using the sine-series coefficient b1=2 of the odd extension.

  27. MCQExam level

    The function f(x)=x on (−1,1) is extended with period 2. Its series is ∑bnsin⁡(nπx) with
    1. bn=2(−1)n+1/n
    2. bn=(−1)n+1/(nπ)
    3. bn=4/(nπ) for odd n
    4. bn=2(−1)n+1/(nπ)
    Answer and solution

    Answer: D

    With L=1: bn=2∫01xsin⁡(nπx)dx=2[−xcos⁡nπxnπ]01+0=2(−1)n+1nπ. Compared with the (−π,π) result 2(−1)n+1/n, everything is scaled by L/π.

    Why people get this wrong: Reusing 2(−1)n+1/n from the interval (−π,π) without rescaling.

  28. MSQExam level

    A real periodic function is written as f(x)=∑n=−∞∞cneinx. Which statements are true?
    1. c−n=cn∗
    2. c0 is the average value of f.
    3. cn=12π∫−ππf(x)e−inxdx
    4. |cn|=|bn| for every n≥1.
    Answer and solution

    Answer: A, B, C

    Multiply by e−imx and integrate: only n=m survives, giving the third formula. For real f, conjugating it gives c−n=cn∗. c0=12π∫f is the average. And |cn|=12an2+bn2, not |bn|.

    Why people get this wrong: Forgetting the minus sign in e−inx in the coefficient formula.

  29. MCQExam level

    A symmetric square-wave force of frequency 1 Hz drives four lightly damped oscillators with natural frequencies 2, 3, 4 and 6 Hz. The one that resonates has natural frequency
    1. 2 Hz
    2. 4 Hz
    3. 3 Hz
    4. 6 Hz
    Answer and solution

    Answer: C

    A symmetric square wave contains only odd harmonics: 1,3,5,… Hz. The only natural frequency on that list is 3 Hz. The even harmonics 2,4,6 Hz are absent, so those oscillators are not driven at resonance.

    Why people get this wrong: Assuming every multiple of the driving frequency is present.

  30. NATExam level

    For f(x)=3sin⁡x+4cos⁡2x, the mean value of f2 over one period is ______ (to one decimal place).
    Answer and solution

    Answer: 12.5 (±0.05)

    Cross terms average to zero (orthogonality). Each harmonic contributes half its amplitude squared: 12(9)+12(16)=12.5.

    Why people get this wrong: Adding the amplitudes first (72=49) or forgetting the halves (25).

← All topics · Timed mock test →