Salta al contenuto
Note per Studenti Fourier Series Exercises Report

Fourier Series Exercises

In questa pagina 6

Convention: X(ω0,n)=1T∫[T]x(t)e−jω0ntdt\mathcal{X}(\omega_0,n)=\frac1T\int_{[T]}x(t)e^{-j\omega_0nt}dt, ω0=2π/T\omega_0=2\pi/T, sinc(x)=sin⁡(πx)πx\mathrm{sinc}(x)=\dfrac{\sin(\pi x)}{\pi x} (this normalisation follows from the results below). The rules used are in Properties of the Fourier Series - Convolution, Differentiation and IntegrationFor T-periodic finite-energy signals, periodic convolution becomes a product of Fourier coefficients, even and odd parts map to real and imaginary parts, differentiation multiplies the n-th coefficient by j omega_0 n, and integration divides by it (only for zero-mean signals).Properties of the Fourier Series - Convolution, Differentiation and Integration →. δc\delta_c is the duty cycle of a rectangular wave.

Exercise 1 - shifted rectangular wave

Find the Fourier coefficients of x(t)=repT ⁣[rect ⁣(t−T/4T/2)],x(t)=\mathrm{rep}_T\!\left[\mathrm{rect}\!\left(\frac{t-T/4}{T/2}\right)\right], a wave that is 11 on [0,T/2][0,T/2] and 00 on [T/2,T][T/2,T], repeated with period TT.

 x(t)
  1 |   ____              ____              ____
    |  |    |            |    |            |    |
  0 +--+----+------------+----+------------+----+---> t
    0   T/2   T          T+0   T+T/2

Compare with x(t)=repT ⁣[rect ⁣(t−t02T1)]x(t)=\mathrm{rep}_T\!\left[\mathrm{rect}\!\left(\frac{t-t_0}{2T_1}\right)\right]: here t0=T/4t_0=T/4 and T1=T/4T_1=T/4. Then ω0=2πT,δc=2T1T=2TT4=12=50%.\omega_0=\frac{2\pi}{T},\qquad \delta_c=\frac{2T_1}{T}=\frac{2}{T}\frac{T}{4}=\frac12=50\%. Using the coefficients of a rectangular wave, X(ω0,n)=e−jω0nt0 δc sinc(δcn)\mathcal{X}(\omega_0,n)=e^{-j\omega_0nt_0}\,\delta_c\,\mathrm{sinc}(\delta_cn): X(ω0,n)=e−j2πTnT4 sinc(n/2)2=e−jπ2n sinc(n/2)2=sinc(n/2)2 jn.\mathcal{X}(\omega_0,n)=e^{-j\frac{2\pi}{T}n\frac T4}\,\frac{\mathrm{sinc}(n/2)}{2}=e^{-j\frac{\pi}{2}n}\,\frac{\mathrm{sinc}(n/2)}{2}=\frac{\mathrm{sinc}(n/2)}{2\,j^n}. Here e−jπ2n=1, −j, −1, j,…e^{-j\frac\pi2n}=1,\,-j,\,-1,\,j,\dots for n=0,1,2,3,…n=0,1,2,3,\dots, which equals 1/jn1/j^n.

Notes on the scan:

  • The page notes Re[X(ω0,n)]=0\mathrm{Re}[\mathcal{X}(\omega_0,n)]=0 and −X(ω0,n)=X(ω0,−n)-\mathcal{X}(\omega_0,n)=\mathcal{X}(\omega_0,-n), "because x(t)x(t) is odd and real". Checking the formula: this holds for n≠0n\ne0 (for odd nn the coefficient is purely imaginary, for even n≠0n\neq0 it is 00 since sinc(n/2)=0\mathrm{sinc}(n/2)=0), while X(ω0,0)=12\mathcal{X}(\omega_0,0)=\frac12 is the nonzero mean. So the oddness refers to x(t)x(t) minus its mean.
  • x∈L2([T])⇒{X(ω0,n)}∈ℓ2x\in L^2([T])\Rightarrow\{\mathcal{X}(\omega_0,n)\}\in\ell^2 (and vice versa).

Exercise 2 - the pulse train

x(t) = sum_{m=-inf}^{+inf} delta(t - mT)

   ^   ^   ^   ^   ^   ^   ^
 --+---+---+---+---+---+---+---> t
  -2T -T   0   T  2T  3T  4T

Find the Fourier coefficients of x(t)x(t), ω0=2π/T\omega_0=2\pi/T. A wise choice for [T][T] is [−T/2,T/2][-T/2,T/2], which contains exactly one impulse: X(ω0,n)=1T∫−T/2T/2δ(t) e−jω0ntdt=1Te−jω0n⋅0=ω02π,∀n∈Z.\mathcal{X}(\omega_0,n)=\frac1T\int_{-T/2}^{T/2}\delta(t)\,e^{-j\omega_0nt}dt=\frac1Te^{-j\omega_0n\cdot0}=\frac{\omega_0}{2\pi},\qquad\forall n\in\mathbb{Z}. Easy... or is it? ∑n=−∞+∞∣ω02π∣2=+∞\displaystyle\sum_{n=-\infty}^{+\infty}\left|\frac{\omega_0}{2\pi}\right|^2=+\infty, so {X(ω0,n)}∉ℓ2\{\mathcal{X}(\omega_0,n)\}\notin\ell^2. What is going wrong? ∫[T]∣x(τ)∣2dτ=∫−T/2T/2∣δ(τ)∣2dτ=∫−T/2T/2δ(τ)⋅δ(τ) dτ=siftingδ(0)⟶+∞.\int_{[T]}|x(\tau)|^2d\tau=\int_{-T/2}^{T/2}|\delta(\tau)|^2d\tau=\int_{-T/2}^{T/2}\delta(\tau)\cdot\delta(\tau)\,d\tau\overset{\text{sifting}}{=}\delta(0)\longrightarrow+\infty . So x∉L2([T])x\notin L^2([T]): the pulse train does not have finite energy over a period, and {X(ω0,n)}∉ℓ2\{\mathcal{X}(\omega_0,n)\}\notin\ell^2 is consistent with the Riesz-Fischer theorem. Anyway, we can sweep the dust under the carpet and say that ∑m=−∞+∞δ(t−mT)⟼FSω02π\sum_{m=-\infty}^{+\infty}\delta(t-mT)\overset{\mathcal{F}_S}{\longmapsto}\frac{\omega_0}{2\pi} in a "generalized" sense (FS\mathcal{F}_S is not an isometry in the proper sense here). Not so easy, actually.

Exercise 3 - power bound for a derivative

The Fourier coefficients of x(t)x(t) are X(ω0,n)={1jω0n3,∀n≠042,n=0.\mathcal{X}(\omega_0,n)=\begin{cases}\dfrac{1}{j\omega_0n^3},&\forall n\ne0\\[4pt]42,&n=0.\end{cases} Find an upper bound for the average power of x˙(t)\dot x(t) over its fundamental period.

By the differentiation rule, X(1)(ω0,n)=jω0n X(ω0,n)\mathcal{X}^{(1)}(\omega_0,n)=j\omega_0n\,\mathcal{X}(\omega_0,n): X(1)(ω0,n)={1n2,∀n≠00,n=0.\mathcal{X}^{(1)}(\omega_0,n)=\begin{cases}\dfrac1{n^2},&\forall n\ne0\\[4pt]0,&n=0.\end{cases} Using the Parseval identity and ∑n=1+∞1n2=π26\sum_{n=1}^{+\infty}\frac1{n^2}=\frac{\pi^2}{6}: P[T][x˙]=∑n∈Z∖{0}1n4=2∑n=1+∞1n4≤2∑n=1+∞1n2=2π26=π23≃3.29.P_{[T]}[\dot x]=\sum_{n\in\mathbb{Z}\setminus\{0\}}\frac1{n^4}=2\sum_{n=1}^{+\infty}\frac1{n^4}\le2\sum_{n=1}^{+\infty}\frac1{n^2}=2\frac{\pi^2}{6}=\frac{\pi^2}{3}\simeq3.29 . (The bound uses 1/n4≤1/n21/n^4\le1/n^2.) By the way, the exact value is P[T][x˙]=2⋅π490=π445≃2.16≤3.29P_{[T]}[\dot x]=2\cdot\frac{\pi^4}{90}=\frac{\pi^4}{45}\simeq2.16\le3.29.

Exercise 4 - the "generic" square wave

Find the Fourier coefficients of the square wave x(t)x(t) of amplitude A∈RA\in\mathbb{R} that equals AA for t∈[T1,T2]t\in[T_1,T_2] and 00 for the rest of the period, repeated with period TT; assume T1<T2T_1<T_2, 0<T2−T1<T0<T_2-T_1<T, ω0=2π/T\omega_0=2\pi/T. The offset is ≠0\neq0.

 x(t)
  A |      ___         ___
    |     |   |       |   |
  0 +-----+---+-------+---+-----> t
          T1  T2      T+T1 T+T2

 dx/dt: impulses  +A delta(t-T1) and -A delta(t-T2) (up/down arrows), repeated every T

The derivative is a train of impulses: x˙(t)=A[δ(t−T1)−δ(t−T2)]\dot x(t)=A[\delta(t-T_1)-\delta(t-T_2)] in each period. Therefore X(1)(ω0,n)=1T∫[T]x˙(t)e−jω0ntdt=1T∫0TA[δ(t−T1)−δ(t−T2)]e−jω0ntdt=AT(e−jω0nT1⏟z1−e−jω0nT2⏟z2).\mathcal{X}^{(1)}(\omega_0,n)=\frac1T\int_{[T]}\dot x(t)e^{-j\omega_0nt}dt=\frac1T\int_0^TA\big[\delta(t-T_1)-\delta(t-T_2)\big]e^{-j\omega_0nt}dt=\frac AT\Big(\underbrace{e^{-j\omega_0nT_1}}_{z_1}-\underbrace{e^{-j\omega_0nT_2}}_{z_2}\Big). Remember: we need to check whether X(1)∈ℓ2\mathcal{X}^{(1)}\in\ell^2. However X(1)∉ℓ2\mathcal{X}^{(1)}\notin\ell^2, since lim⁡n→∞∣X(1)(ω0,n)∣2≠0\lim_{n\to\infty}|\mathcal{X}^{(1)}(\omega_0,n)|^2\ne0 (a necessary condition for convergence of the series): the points z1,z2z_1,z_2 on the unit circle keep a constant phase difference ≠0\neq0 for every nn. But we have seen that pulse trains "behave well", and x˙(t)\dot x(t) is just a linear combination of a couple of pulse trains.

Now use the integration formula for Fourier coefficients (note that X(1)(ω0,0)=0\mathcal{X}^{(1)}(\omega_0,0)=0). For all n≠0n\neq0: X(ω0,n)=X(1)(ω0,n)jω0n=ATe−jω0nT1−e−jω0nT2jω0n=A e−jω0nT1−e−jω0nT22jπn.\mathcal{X}(\omega_0,n)=\frac{\mathcal{X}^{(1)}(\omega_0,n)}{j\omega_0n}=\frac AT\frac{e^{-j\omega_0nT_1}-e^{-j\omega_0nT_2}}{j\omega_0n}=A\,\frac{e^{-j\omega_0nT_1}-e^{-j\omega_0nT_2}}{2j\pi n}. Symmetric case T1=−T0T_1=-T_0, T2=T0>0T_2=T_0>0, so δc=2T0T\delta_c=\dfrac{2T_0}{T}, ω0=2πT\omega_0=\dfrac{2\pi}T: X(ω0,n)=Asin⁡(ω0nT0)πn=δcA sin⁡ ⁣(2πTT0n)δcπn=δc A sinc(δcn)("thanks universe!").\mathcal{X}(\omega_0,n)=A\frac{\sin(\omega_0nT_0)}{\pi n}=\delta_cA\,\frac{\sin\!\big(\frac{2\pi}{T}T_0n\big)}{\delta_c\pi n}=\delta_c\,A\,\mathrm{sinc}(\delta_cn)\qquad(\text{"thanks universe!"}). The coefficient n=0n=0. Differentiation lost it, so it comes from linearity of the Fourier map and the offset of x(t)x(t) (like a "+C+C" for the integral): X(ω0,0)=0+A(T2−T1)T=A δc(the area of the pulse over the period).\mathcal{X}(\omega_0,0)=0+\frac{A(T_2-T_1)}{T}=A\,\delta_c\qquad(\text{the area of the pulse over the period}).

Exercise 5 - the sawtooth wave

Let saw(t)=repT[tooth(t)]\mathrm{saw}(t)=\mathrm{rep}_T[\mathrm{tooth}(t)] with tooth(t)={A(t−T1)+B1,t∈[T1,T2]0,otherwise,A=B2−B1T2−T1,\mathrm{tooth}(t)=\begin{cases}A(t-T_1)+B_1,&t\in[T_1,T_2]\\0,&\text{otherwise,}\end{cases}\qquad A=\frac{B_2-B_1}{T_2-T_1}, ω0=2π/T\omega_0=2\pi/T, 0<T2−T1<T0<T_2-T_1<T, B1,B2∈RB_1,B_2\in\mathbb{R}, B1<B2B_1<B_2. The tooth is a ramp from B1B_1 at T1T_1 to B2B_2 at T2T_2 (see the sketch).

   B2 |            . (T2,B2)
      |          /
      |        /   slope A = (B2-B1)/(T2-T1)
   B1 | (T1,B1)    then drops to 0 and repeats every T

Mean value (n=0n=0). X(ω0,0)=1T∫T1T2[A(t−T1)+B1]dt=1T[A(t−T1)22+B1t]T1T2=1T(A(T2−T1)22+B1T2−B1T1)=1T((B2−B1)(T2−T1)2+B1(T2−T1))=12T(T2−T1)(B2−B1+2B1)=ω04π(T2−T1)(B2+B1)=ω04π(B2−B1)(B2+B1)A.\begin{aligned} \mathcal{X}(\omega_0,0)&=\frac1T\int_{T_1}^{T_2}\big[A(t-T_1)+B_1\big]dt=\frac1T\left[A\frac{(t-T_1)^2}{2}+B_1t\right]_{T_1}^{T_2} =\frac1T\left(\frac{A(T_2-T_1)^2}{2}+B_1T_2-B_1T_1\right)\\ &=\frac1T\left(\frac{(B_2-B_1)(T_2-T_1)}{2}+B_1(T_2-T_1)\right)=\frac1{2T}(T_2-T_1)(B_2-B_1+2B_1)\\ &=\frac{\omega_0}{4\pi}(T_2-T_1)(B_2+B_1)=\frac{\omega_0}{4\pi}\frac{(B_2-B_1)(B_2+B_1)}{A}. \end{aligned}

For n≠0n\ne0, integrate by parts: X(ω0,n)=1T∫T1T2[A(t−T1)+B1]e−jω0ntdt=1T[[A(t−T1)+B1]e−jω0nt−jω0n∣T1T2−∫T1T2Ae−jω0nt−jω0ndt]=1T[[A(T2−T1)+B1]e−jω0nT2−jω0n−B1e−jω0nT1−jω0n−A(e−jω0nT2−e−jω0nT1−ω02n2)]=(−B2j2πn+A2πω0n2)e−jω0nT2+(B1j2πn−A2πω0n2)e−jω0nT1\begin{aligned} \mathcal{X}(\omega_0,n)&=\frac1T\int_{T_1}^{T_2}\big[A(t-T_1)+B_1\big]e^{-j\omega_0nt}dt\\ &=\frac1T\left[\big[A(t-T_1)+B_1\big]\frac{e^{-j\omega_0nt}}{-j\omega_0n}\Big|_{T_1}^{T_2}-\int_{T_1}^{T_2}A\frac{e^{-j\omega_0nt}}{-j\omega_0n}dt\right]\\ &=\frac1T\left[\big[A(T_2-T_1)+B_1\big]\frac{e^{-j\omega_0nT_2}}{-j\omega_0n}-B_1\frac{e^{-j\omega_0nT_1}}{-j\omega_0n}-A\left(\frac{e^{-j\omega_0nT_2}-e^{-j\omega_0nT_1}}{-\omega_0^2n^2}\right)\right]\\ &=\left(-\frac{B_2}{j2\pi n}+\frac{A}{2\pi\omega_0n^2}\right)e^{-j\omega_0nT_2}+\left(\frac{B_1}{j2\pi n}-\frac{A}{2\pi\omega_0n^2}\right)e^{-j\omega_0nT_1} \end{aligned} (using A(T2−T1)+B1=B2A(T_2-T_1)+B_1=B_2 and 1/T=ω0/2π1/T=\omega_0/2\pi).

Special case T1=0T_1=0, T2=TT_2=T, B1=0B_1=0 (so A=B2/TA=B_2/T; rising ramp from 00 to B2B_2): X(ω0,n)={ω04πB22A,n=0−B2j2πn,n≠0.\mathcal{X}(\omega_0,n)=\begin{cases}\dfrac{\omega_0}{4\pi}\dfrac{B_2^2}{A},&n=0\\[6pt]-\dfrac{B_2}{j2\pi n},&n\neq0.\end{cases} Special case T1=0T_1=0, T2=TT_2=T, B2=0B_2=0 (so A=−B1/TA=-B_1/T; falling ramp from B1B_1 to 00): X(ω0,n)={−ω04πB12A,n=0B1j2πn,n≠0.\mathcal{X}(\omega_0,n)=\begin{cases}-\dfrac{\omega_0}{4\pi}\dfrac{B_1^2}{A},&n=0\\[6pt]\dfrac{B_1}{j2\pi n},&n\neq0.\end{cases} (The scan writes A=B2/T2A=B_2/T_2 and A=−B1/T2A=-B_1/T_2 here; with T1=0, T2=TT_1=0,\ T_2=T the denominator is the period TT.)

Exercise 6 - a triangular wave and the sum of 1/n21/n^2

Write the Fourier series of this particular triangular wave:

 x(t)
  1 |        /\                /\
    |      /    \            /    \
  0 +----+------+----+-----+------+----> t
      -4   -2     0         2      4

with period T=4T=4, so ω0=2πT=2π4=π2\omega_0=\frac{2\pi}{T}=\frac{2\pi}{4}=\frac\pi2. It rises from 00 at t=0t=0 to 11 at t=2t=2 and falls back to 00 at t=4t=4 (and mirrored for negative times). Break it down into two sawtooth waves.

First wave: T1=0T_1=0, T2=2T_2=2, T=4T=4, B1=0B_1=0, B2=1B_2=1, so A=B2−B1T2−T1=12A=\dfrac{B_2-B_1}{T_2-T_1}=\dfrac12. X1 ⁣(π2,0)=ω04π(B2−B1)(B2+B1)A=2π4π⋅2⋅1⋅1=14.\mathcal{X}_1\!\left(\tfrac\pi2,0\right)=\frac{\omega_0}{4\pi}\frac{(B_2-B_1)(B_2+B_1)}{A}=\frac{2\pi}{4\pi\cdot2}\cdot1\cdot1=\frac14 . For n≠0n\neq0: X1 ⁣(π2,n)=(−1j2πn+14ππ2n2)e−jπ2n⋅2+(0−14ππ2n2)⋅1=(−1j2πn+12π2n2)(−1)n−12π2n2.\mathcal{X}_1\!\left(\tfrac\pi2,n\right)=\left(-\frac1{j2\pi n}+\frac1{4\pi\frac\pi2n^2}\right)e^{-j\frac\pi2n\cdot2}+\left(0-\frac1{4\pi\frac\pi2n^2}\right)\cdot1=\left(-\frac1{j2\pi n}+\frac1{2\pi^2n^2}\right)(-1)^n-\frac1{2\pi^2n^2}. Second wave: T1=2T_1=2, T2=4T_2=4, T=4T=4, B1=1B_1=1, B2=0B_2=0, so A=0−14−2=−12A=\dfrac{0-1}{4-2}=-\dfrac12. X2 ⁣(π2,0)=ω04π(B2−B1)(B2+B1)A=−2π4π⋅2(−1)⋅1=14.\mathcal{X}_2\!\left(\tfrac\pi2,0\right)=\frac{\omega_0}{4\pi}\frac{(B_2-B_1)(B_2+B_1)}{A}=\frac{-2\pi}{4\pi\cdot2}(-1)\cdot1=\frac14 . For n≠0n\ne0: X2 ⁣(π2,n)=(0−14ππ2n2)e−jπ2n⋅4+(1j2πn+14ππ2n2)e−jπ2n⋅2=−12π2n2+(1j2πn+12π2n2)(−1)n.\mathcal{X}_2\!\left(\tfrac\pi2,n\right)=\left(0-\frac1{4\pi\frac\pi2n^2}\right)e^{-j\frac\pi2n\cdot4}+\left(\frac1{j2\pi n}+\frac1{4\pi\frac\pi2n^2}\right)e^{-j\frac\pi2n\cdot2}=-\frac1{2\pi^2n^2}+\left(\frac1{j2\pi n}+\frac1{2\pi^2n^2}\right)(-1)^n . Recombine (linearity): X ⁣(π2,0)=14+14=12\mathcal{X}\!\left(\frac\pi2,0\right)=\frac14+\frac14=\frac12 and, for n≠0n\ne0, X ⁣(π2,n)=X1+X2=−1π2n2+(−1)nπ2n2=(−1)n−1π2n2(even and real, as expected).\mathcal{X}\!\left(\tfrac\pi2,n\right)=\mathcal{X}_1+\mathcal{X}_2=-\frac1{\pi^2n^2}+\frac{(-1)^n}{\pi^2n^2}=\frac{(-1)^n-1}{\pi^2n^2}\qquad(\text{even and real, as expected}).

The Fourier series: x(t)=∑n=−∞+∞X ⁣(π2,n)ejπ2nt=12+∑n≠0(−1)n−1π2n2ejπ2nt=12−2π2∑m=1+∞1(2m−1)2(e−jπ2(2m−1)t+ejπ2(2m−1)t)=12−4π2∑m=1+∞cos⁡ ⁣(π2(2m−1)t)(2m−1)2.\begin{aligned} x(t)&=\sum_{n=-\infty}^{+\infty}\mathcal{X}\!\left(\tfrac\pi2,n\right)e^{j\frac\pi2nt}=\frac12+\sum_{n\neq0}\frac{(-1)^n-1}{\pi^2n^2}e^{j\frac\pi2nt}\\ &=\frac12-\frac2{\pi^2}\sum_{m=1}^{+\infty}\frac1{(2m-1)^2}\left(e^{-j\frac\pi2(2m-1)t}+e^{j\frac\pi2(2m-1)t}\right) =\frac12-\frac4{\pi^2}\sum_{m=1}^{+\infty}\frac{\cos\!\big(\frac\pi2(2m-1)t\big)}{(2m-1)^2}. \end{aligned} (Even nn give 00; odd n=±(2m−1)n=\pm(2m-1) give −2/(π2n2)-2/(\pi^2n^2).)

Legendary consequence. Evaluate at t=2t=2, where x(2)=1x(2)=1 and cos⁡ ⁣(π2(2m−1)⋅2)=cos⁡((2m−1)π)=−1\cos\!\big(\frac\pi2(2m-1)\cdot2\big)=\cos\big((2m-1)\pi\big)=-1: 1=12−4π2∑m=1+∞−1(2m−1)2  ⇒  12π24=∑m=1+∞1(2m−1)2=112+132+152+⋯=π28.1=\frac12-\frac4{\pi^2}\sum_{m=1}^{+\infty}\frac{-1}{(2m-1)^2}\;\Rightarrow\;\frac12\frac{\pi^2}4=\sum_{m=1}^{+\infty}\frac1{(2m-1)^2}=\frac1{1^2}+\frac1{3^2}+\frac1{5^2}+\dots=\frac{\pi^2}8 . Let S=∑n=1+∞1n2S=\sum_{n=1}^{+\infty}\frac1{n^2}. Splitting even and odd terms, ∑m=1+∞1(2m)2=14S\sum_{m=1}^{+\infty}\frac1{(2m)^2}=\frac14S, so 14S⏟even terms+π28⏟odd terms=S  ⇒    ∑n=1+∞1n2=π26  \underbrace{\tfrac14S}_{\text{even terms}}+\underbrace{\tfrac{\pi^2}8}_{\text{odd terms}}=S\;\Rightarrow\;\boxed{\;\sum_{n=1}^{+\infty}\frac1{n^2}=\frac{\pi^2}6\;}

Versione ripasso

Tools: X(ω0,n)=1T∫[T]xe−jω0ntdt\mathcal{X}(\omega_0,n)=\frac1T\int_{[T]}xe^{-j\omega_0nt}dt; rectangular wave repT[rect(t−t02T1)]\mathrm{rep}_T[\mathrm{rect}(\frac{t-t_0}{2T_1})] has X=e−jω0nt0δc sinc(δcn)\mathcal{X}=e^{-j\omega_0nt_0}\delta_c\,\mathrm{sinc}(\delta_cn), δc=2T1/T\delta_c=2T_1/T, sinc(x)=sin⁡(πx)/(πx)\mathrm{sinc}(x)=\sin(\pi x)/(\pi x).

  1. Shifted rect (t0=T1=T/4t_0=T_1=T/4, δc=50%\delta_c=50\%): X=sinc(n/2)2jn\mathcal{X}=\dfrac{\mathrm{sinc}(n/2)}{2j^n}; imaginary for n≠0n\ne0, X(ω0,0)=1/2\mathcal{X}(\omega_0,0)=1/2.
  2. Pulse train ∑δ(t−mT)\sum\delta(t-mT): X=ω0/2π\mathcal{X}=\omega_0/2\pi for all nn, not in ℓ2\ell^2 because x∉L2([T])x\notin L^2([T]) (δ(0)=∞\delta(0)=\infty); valid only in a generalized sense.
  3. Power of x˙\dot x: X(1)=1/n2\mathcal{X}^{(1)}=1/n^2 (n≠0n\ne0), 00 at n=0n=0; P[T][x˙]=∑n≠0n−4≤π2/3≈3.29P_{[T]}[\dot x]=\sum_{n\ne0}n^{-4}\le\pi^2/3\approx3.29 (exact π4/45≈2.16\pi^4/45\approx2.16).
  4. Square wave (height AA on [T1,T2][T_1,T_2]): differentiate to get two pulse trains, X(1)=AT(e−jω0nT1−e−jω0nT2)\mathcal{X}^{(1)}=\frac AT(e^{-j\omega_0nT_1}-e^{-j\omega_0nT_2}) (not in ℓ2\ell^2 but fine), integrate back for n≠0n\ne0: X=Ae−jω0nT1−e−jω0nT22jπn\mathcal{X}=A\frac{e^{-j\omega_0nT_1}-e^{-j\omega_0nT_2}}{2j\pi n}; X(ω0,0)=Aδc\mathcal{X}(\omega_0,0)=A\delta_c comes from the offset. Symmetric case: δcA sinc(δcn)\delta_cA\,\mathrm{sinc}(\delta_cn).
  5. Sawtooth (A=B2−B1T2−T1A=\frac{B_2-B_1}{T_2-T_1}): X(ω0,0)=ω04π(B2−B1)(B2+B1)A\mathcal{X}(\omega_0,0)=\frac{\omega_0}{4\pi}\frac{(B_2-B_1)(B_2+B_1)}{A}; for n≠0n\ne0: (−B2j2πn+A2πω0n2)e−jω0nT2+(B1j2πn−A2πω0n2)e−jω0nT1\left(-\frac{B_2}{j2\pi n}+\frac{A}{2\pi\omega_0n^2}\right)e^{-j\omega_0nT_2}+\left(\frac{B_1}{j2\pi n}-\frac{A}{2\pi\omega_0n^2}\right)e^{-j\omega_0nT_1}. Ramp 0→B20\to B_2 over a period: −B2j2πn-\frac{B_2}{j2\pi n}; ramp B1→0B_1\to0: B1j2πn\frac{B_1}{j2\pi n}.
  6. Triangular wave (T=4T=4, ω0=π/2\omega_0=\pi/2): sum of two sawtooth waves, X(π2,0)=12\mathcal{X}(\frac\pi2,0)=\frac12, X(π2,n)=(−1)n−1π2n2\mathcal{X}(\frac\pi2,n)=\frac{(-1)^n-1}{\pi^2n^2}; x(t)=12−4π2∑m≥1cos⁡(π2(2m−1)t)(2m−1)2x(t)=\frac12-\frac4{\pi^2}\sum_{m\ge1}\frac{\cos(\frac\pi2(2m-1)t)}{(2m-1)^2}. At t=2t=2: ∑1(2m−1)2=π28\sum\frac1{(2m-1)^2}=\frac{\pi^2}8, then 14S+π28=S⇒∑1n2=π26\frac14S+\frac{\pi^2}8=S\Rightarrow\sum\frac1{n^2}=\frac{\pi^2}6.
  • Typical mistakes: forgetting the n=0n=0 coefficient after integrating; applying Parseval to a signal not in L2([T])L^2([T]); wrong sign of the phase e−jω0nt0e^{-j\omega_0nt_0} for a shifted wave; forgetting that X(1)∉ℓ2\mathcal{X}^{(1)}\notin\ell^2 for discontinuous waves (it is a pulse train, not an error).

Teoria collegata