---
title: Problem set 4
heading: "Problem set 4: Gaussians, transformations and extremes"
eyebrow: A11 · Problem set 4
type: problems
---

::: hook
These problems use lessons 16 to 19: the Gaussian and the central limit theorem, functions of random variables, and extremes. Standardize Gaussian questions with $z = \frac{x - \mu}{\sigma}$ and answer them with $Q(z)$.
:::

::: pool
pick: 12

::: check
kind: parts
given: s = 10 | 20; t = 1 | 2

## Resistors are Gaussian with mean 1000 Ω and σ = {s} Ω.

::: part
answer: 1 - 2*Q(t*10/s)
tolerance: 0.5%

### What fraction lies within ±{t}% of nominal?

::: misses
- [1 - Q(t*10/s)] Both tails are outside.
- [any] The tolerance is $\frac{10t}{\sigma}$ standard deviations; subtract both tails.
:::
:::
:::

::: check
kind: parts
given: k = 2 | 3 | 4

## Gaussian noise.

::: part
answer: Q(k)
tolerance: 0.5%

### What fraction exceeds $+\given{k}\sigma$?

::: misses
- [2*Q(k)] Only one tail.
- [any] $Q(k)$.
:::
:::
:::

::: check
kind: parts
given: s = 0.5 | 3; R = 50 | 600

## Gaussian noise of RMS {s} V across {R} Ω.

::: part
answer: s^2/R*1000
unit: mW
tolerance: 0.5%

### What average power does it deliver?

::: misses
- [s/R*1000] Square the voltage.
- [any] $\sigma^2/R$.
:::
:::
:::

::: check
kind: parts
given: s = 0.1 | 0.2 | 0.5 | 1 | 2 | 5

## Zero-mean Gaussian noise of RMS {s} V goes through an ideal full-wave rectifier.

::: part
answer: s*sqrt(2/pi)
unit: V
tolerance: 0.5%

### What DC level comes out?

::: misses
- [s] The mean of $|V|$ is $\sigma\sqrt{2/\pi}$.
- [any] $E|V| = \sigma\sqrt{2/\pi}$.
:::
:::
:::

::: check
kind: parts
given: l = 0.5 | 2; u = 0.3 | 0.7

## An exponential sampler with rate {l} uses $y = -\ln(1 - u)/\lambda$.

::: part
answer: -ln(1 - u)/l
tolerance: 0.5%

### What does $u$ = {u} give?

::: misses
- [-log(1 - u)/l] Natural logarithm.
- [any] Evaluate it.
:::
:::
:::

::: check
kind: parts
given: n = 4 | 24 | 48

## The sum of {n} independent uniform values on $[0, 1)$.

::: part
answer: n/2
tolerance: 0.5%

### What is its mean?

::: misses
- [any] $n \times \frac12$.
:::
:::

::: part
answer: sqrt(n/12)
tolerance: 0.5%

### What is its standard deviation?

::: misses
- [n/12] That's the variance.
- [any] $\sqrt{n/12}$.
:::
:::
:::

::: check
kind: parts
given: n = 2 | 4 | 10; m = 5 | 20

## {n} parts each have an exponential life with mean {m} years.

::: part
answer: m/n
unit: years
tolerance: 0.5%

### When does the first fail, on average?

::: misses
- [m] The rates add: with {n} parts the first failure comes sooner.
- [any] $\frac mn$.
:::
:::

::: part
answer: exp(-n/m*1)
tolerance: 0.5%

### What is the chance none fails in the first year?

::: misses
- [any] $e^{-n/m}$.
:::
:::
:::

::: check
kind: parts
given: n = 5 | 20; x = 0.8 | 0.9

## {n} independent values are uniform on $[0, 1]$.

::: part
answer: x^n
tolerance: 0.5%

### What is the chance the largest is below {x}?

::: misses
- [x] That's for one value.
- [any] $x^n$.
:::
:::

::: part
answer: 1 - (1 - x)^n
tolerance: 0.5%

### What is the chance the smallest is below {x}?

::: misses
- [any] $1 - P(\text{all above})$.
:::
:::
:::

::: check
kind: parts
given: k = 4 | 5; n = 10000 | 1000000

## Gaussian noise is sampled {n} times.

::: part
answer: 1 - (1 - 2*Q(k))^n
tolerance: 1%

### What is the chance some sample exceeds ±{k}σ?

::: misses
- [2*Q(k)] That's for one sample.
- [any] $1 - (1 - 2Q(k))^n$.
:::
:::
:::

::: check
kind: parts
given: m = 0 | 2; s = 1 | 3

## $X$ is Gaussian with mean {m} and σ = {s}; $Y = 3X - 1$.

::: part
answer: 3*m - 1
tolerance: 0.5%

### What is the mean of $Y$?

::: misses
- [any] $3\mu - 1$.
:::
:::

::: part
answer: 3*s
tolerance: 0.5%

### What is its standard deviation?

::: misses
- [9*s] That's for the variance: $9\sigma^2$.
- [any] $3\sigma$.
:::
:::
:::

::: check
kind: parts
given: N = 8 | 12 | 16; V = 2 | 5

## An {N}-bit converter spans {V} V.

::: part
answer: V/2^N/sqrt(12)*1e3
unit: mV
tolerance: 0.5%

### What is its RMS quantization noise?

::: misses
- [V/2^N*1e3] That's one step; divide by $\sqrt{12}$.
- [any] $\frac{\Delta}{\sqrt{12}}$.
:::
:::

::: part
answer: 6.02*N + 1.76
unit: dB
tolerance: 0.5%

### What SNR would a full-scale sine get?

::: misses
- [any] $6.02N + 1.76$ dB.
:::
:::
:::

::: check
kind: parts
given: m = 5 | 12; s = 0.05 | 0.2; d = 0.1 | 0.2

## Supplies are Gaussian with mean {m} V and σ = {s} V. Those more than {d} V below the mean are rejected.

::: part
answer: Q(d/s)
tolerance: 1%

### What fraction is rejected?

::: misses
- [2*Q(d/s)] Only the low side is rejected.
- [any] Standardize: $Q\left(\frac{d}{\sigma}\right)$.
:::
:::
:::

::: check
kind: parts
given: l1 = 0.1 | 0.3; l2 = 0.2 | 0.5; t = 1 | 3

## A board needs both of two parts, with failure rates {l1} and {l2} per year.

::: part
answer: exp(-(l1 + l2)*t)
tolerance: 0.5%

### What is the chance it survives {t} years?

::: misses
- [any] Multiply the survivals.
:::
:::
:::

::: check
kind: parts
given: n = 3 | 7 | 15

## {n} values are uniform on $[0, 1]$.

::: part
answer: n/(n + 1)
tolerance: 0.5%

### What is the mean of the largest?

::: misses
- [any] $\frac{n}{n + 1}$.
:::
:::

::: part
answer: 1/(n + 1)
tolerance: 0.5%

### What is the mean of the smallest?

::: misses
- [any] $\frac{1}{n + 1}$, by symmetry.
:::
:::
:::

::: check
kind: parts
given: a = 1..9 int

## $X$ is uniform on $[0, \given{a}]$ and $Y = X^2$.

::: part
answer: a^2/3
tolerance: 0.5%

### What is $E[Y]$?

::: misses
- [a^2/4] That's $E[X]^2$; $E[X^2]$ is larger.
- [any] $\frac1a\int_0^ax^2\,dx$.
:::
:::
:::
:::
