---
title: Problem set 9
heading: "Problem set 9: Fourier means and calculus in several variables"
eyebrow: A14 · Problem set 9
type: problems
---

::: hook
These problems use lessons 40 to 44: Fourier series in $L^2$, their pointwise convergence and the Gibbs phenomenon, Fejér means and approximate identities, the derivative in several variables, and the implicit and inverse function theorems. Keep harmonics, kernels and Jacobians straight: most mistakes here are a missing factor of 2 or a missing sign.
:::

::: pool
pick: 12

::: check
kind: parts
given: k = 1 | 3 | 7

## Waves switching or ramping between −1 and +1.

::: part
answer: 4/(pi*k)
tolerance: 0.5%

### What is harmonic {k}'s amplitude in the square wave?

::: misses
- [8/(pi^2*k^2)] That's the triangle wave.
- [any] $\frac{4}{\pi k}$.
:::
:::

::: part
answer: 8/(pi^2*k^2)
tolerance: 0.5%

### And in the triangle wave?

::: misses
- [any] $\frac{8}{\pi^2k^2}$.
:::
:::
:::

::: check
kind: parts
given: J = 1 | 2 | 5; a = -3 | 1

## A function jumps from {a} to {a} + {J} at x = 0.

::: part
answer: a + J/2
tolerance: 0.5%

### What does its Fourier series converge to at 0?

::: misses
- [a + J] The series converges to the midpoint of the jump.
- [any] The average of the two one-sided limits.
:::
:::

::: part
answer: 0.0895*J
tolerance: 1%

### About how far past the upper level do the partial sums overshoot?

::: misses
- [any] About 8.95% of the jump.
:::
:::
:::

::: check
kind: parts
given: k = 2 | 5; N = 10 | 25

## The Fejér mean $\sigma_N$ with N = {N}.

::: part
answer: 1 - k/N
tolerance: 0.5%

### What factor multiplies harmonic {k}?

::: misses
- [any] $1 - \frac kN$.
:::
:::

::: part
answer: N
tolerance: 0

### What is the Fejér kernel's height at 0?

::: misses
- [2*N + 1] That's the Dirichlet kernel's.
- [any] The average of $1, 3, \ldots, 2N - 1$.
:::
:::
:::

::: check
kind: parts
given: N = 10 | 20 | 50 | 100 | 200 | 1000

## The Lebesgue constant of the Fourier partial sum $S_N$.

::: part
answer: 4/pi^2*ln(N) + 1.27
tolerance: 2%

### About how large is it for N = {N}?

::: misses
- [any] $\frac{4}{\pi^2}\ln N + 1.27$.
:::
:::
:::

::: check
kind: parts
given: s = 0.1 | 0.4; x = 1 | 3

## Convolve with a Gaussian of standard deviation {s}.

::: part
answer: x^2 + s^2
tolerance: 0.5%

### What does $x^2$ become at x = {x}?

::: misses
- [any] $x^2 + \sigma^2$.
:::
:::

::: part
answer: x
tolerance: 0.5%

### What does the linear function x become there?

::: misses
- [any] A symmetric kernel leaves linear functions unchanged.
:::
:::
:::

::: check
kind: parts
given: x = 1 | 2; y = 1 | 3

## $f(x, y) = (x^2y,\; x + y^2)$ at ({x}, {y}).

::: part
answer: 2*x*y*2*y - x^2*1
tolerance: 0.5%

### What is the Jacobian determinant?

::: misses
- [any] $\det\begin{pmatrix}2xy & x^2\\ 1 & 2y\end{pmatrix}$.
:::
:::
:::

::: check
kind: parts
given: a = 1 | 2; h = 0.02 | -0.01; k = 0.03 | 0.01

## $f(x, y) = x^2e^y$ near ({a}, 0).

::: part
answer: a^2 + 2*a*h + a^2*k
tolerance: 0.1%

### What does the linear approximation give at ({a} + {h}, {k})?

::: misses
- [any] $f + f_xh + f_yk$ with $\nabla f = (2a, a^2)$.
:::
:::
:::

::: check
kind: parts
given: t = 0.5 | 1 | 2

## $g(x, y) = xy$ along the curve $(t^2, t^3)$.

::: part
answer: 5*t^4
tolerance: 0.5%

### What is $\frac{d}{dt}g$ at t = {t}?

::: misses
- [any] Chain rule: $y \cdot 2t + x \cdot 3t^2$, or differentiate $t^5$.
:::
:::
:::

::: check
kind: parts
given: V = 3.3 | 5; dV = 0.05 | 0.1; R = 220 | 1000; dR = 2 | 10

## P = V²/R with V = {V} ± {dV} V and R = {R} ± {dR} Ω.

::: part
answer: 2*V/R*dV + V^2/R^2*dR
unit: W
tolerance: 0.5%

### What is the worst-case error in P?

::: misses
- [any] Add the magnitudes of the two contributions.
:::
:::

::: part
answer: sqrt((2*V/R*dV)^2 + (V^2/R^2*dR)^2)
unit: W
tolerance: 0.5%

### And the RMS error?

::: misses
- [any] Add them in squares.
:::
:::
:::

::: check
kind: parts
given: x = 3 | 1; y = 4 | 2

## The circle through ({x}, {y}) centered at the origin.

::: part
answer: -x/y
tolerance: 0.5%

### What is dy/dx there?

::: misses
- [x/y] $y' = -\frac{F_x}{F_y} = -\frac xy$.
- [any] Differentiate $x^2 + y^2 = r^2$.
:::
:::
:::

::: check
kind: parts
given: a = 0.5 | 1 | 2

## $f(x) = x^3 + x$ has an inverse g.

::: part
answer: 1/(3*a^2 + 1)
tolerance: 0.5%

### What is g′ at the point f({a})?

::: misses
- [3*a^2 + 1] The inverse's derivative is the reciprocal.
- [any] $\frac{1}{f'(a)}$.
:::
:::
:::

::: check
kind: parts
given: I = 1 | 5; R = 1000 | 470

## A diode carries {I} mA ($nV_T$ = 25.85 mV) from a supply through {R} Ω.

::: part
answer: 25.85/I
unit: Ω
tolerance: 0.5%

### What is its small-signal resistance?

::: misses
- [any] $r_d = \frac{nV_T}{I}$.
:::
:::

::: part
answer: (25.85/I)/(R + 25.85/I)
tolerance: 0.5%

### What is $\frac{dV_D}{dV_s}$, by the implicit function theorem?

::: misses
- [any] A divider: $\frac{r_d}{R + r_d}$.
:::
:::
:::

::: check
kind: parts
given: r = 2 | 5; t = 0.5 | 1

## The polar map $(r, \theta) \mapsto (r\cos\theta, r\sin\theta)$ at r = {r}, θ = {t}.

::: part
answer: r
tolerance: 0.5%

### What is its Jacobian determinant?

::: misses
- [1] $\cos^2\theta \cdot r + r\sin^2\theta = r$.
- [any] $\det\begin{pmatrix}\cos\theta & -r\sin\theta\\ \sin\theta & r\cos\theta\end{pmatrix}$.
:::
:::
:::

::: check
kind: parts
given: m = 1 | 3 | 5

## By Parseval, a square wave's odd harmonics carry its power.

::: part
answer: (8/pi^2)*(1 + step(m - 2)/9 + step(m - 4)/25)
tolerance: 0.5%

### What fraction of the power do the odd harmonics up to {m} carry?

::: misses
- [any] $\frac{8}{\pi^2}\sum_{k\text{ odd}\le m}\frac{1}{k^2}$.
:::
:::
:::

::: check
kind: parts
given: a = -1 | 0 | 2; b = 3 | 4

## A piecewise smooth periodic function jumps from {a} to {b} at a point.

::: part
answer: (a + b)/2
tolerance: 0.5%

### What does its Fourier series converge to at the jump?

::: misses
- [b] The series converges to the midpoint of the jump.
- [any] Not yet. Use Dirichlet's theorem: the average of the one-sided values.
:::
:::

::: part
answer: b + 0.0895*(b - a)
tolerance: 0.2%

### About what peak do its partial sums approach just past the jump, for large $N$?

::: misses
- [b] The Gibbs overshoot doesn't vanish as $N$ grows.
- [b + 0.179*(b - a)] The overshoot is about 9% of the jump on each side, not 18%.
- [any] Not yet. Add 8.95% of the jump to the higher value.
:::
:::

::: right
Right. The series converges at every point but not uniformly near the jump: the overshoot narrows as $\pi/N$ without getting shorter.
:::
:::
:::
