---
title: Problem set 2
heading: "Problem set 2: exponentials, logarithms, roots and bilinear maps"
eyebrow: A12 · Problem set 2
type: problems
---

::: hook
These problems use lessons 6 to 9: the complex exponential and logarithm with their branches, roots and powers, bilinear transformations and the Smith chart, and the lab's numerical checks. Give angles in the units asked for, and use principal values unless a branch is named.
:::

::: pool
pick: 12

::: check
kind: parts
given: x = 0.5 | 1.5; y = 0.5 | 2

## Let $z = \given{x} + \given{y}j$.

::: part
answer: exp(x)
tolerance: 0.5%

### What is $\lvert e^z\rvert$?

::: misses
- [exp(sqrt(x^2 + y^2))] Only the real part of z sets the size: $\lvert e^{jy}\rvert = 1$.
- [any] $\lvert e^{x + jy}\rvert = e^x$.
:::
:::

::: part
answer: y
tolerance: 0.5%

### What is the angle of $e^z$, in radians?

::: misses
- [any] The factor $e^{jy}$ has angle y.
:::
:::
:::

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

## Let $z = \given{a} + \given{b}j$, in the second quadrant.

::: part
answer: ln(sqrt(a^2 + b^2))
tolerance: 0.5%

### What is the real part of $\text{Log}\,z$?

::: misses
- [log(sqrt(a^2 + b^2))] Use the natural logarithm.
- [any] $\ln\lvert z\rvert$.
:::
:::

::: part
answer: pi - atan(b/(-a))
tolerance: 0.5%

### What is its imaginary part, in radians?

::: misses
- [atan(b/a)] The arctangent alone lands in the wrong quadrant; z is in the second.
- [any] $\pi - \tan^{-1}\frac{b}{\lvert a\rvert}$.
:::
:::
:::

::: check
kind: parts
given: r = 2..10 int

## Let $z = \given{r}j$ and $w = 1 + j$. Principal values: $z^w = e^{w\,\text{Log}\,z}$.

::: part
answer: r*exp(-pi/2)
tolerance: 0.5%

### What is $\lvert z^w\rvert$?

::: misses
- [r] The imaginary part of w turns the angle of z into a change of size.
- [any] $e^{\text{Re}(w\,\text{Log}\,z)}$ with $\text{Log}\,z = \ln r + j\pi/2$.
:::
:::

::: part
answer: ln(r) + pi/2
tolerance: 0.5%

### What is $\text{Im}(w\,\text{Log}\,z)$?

::: misses
- [any] $(1 + j)(\ln r + j\pi/2)$ has imaginary part $\ln r + \pi/2$.
:::
:::
:::

::: check
kind: parts
given: c = 2 | 3 | 5

## Solve $\sin z = \given{c}$.

::: part
answer: ln(c + sqrt(c^2 - 1))
tolerance: 0.5%

### The solutions are $z = \frac\pi2 + 2\pi k \pm jy$. What is y?

::: misses
- [log(c + sqrt(c^2 - 1))] Use the natural logarithm.
- [any] $\cosh y = c$, so $y = \ln\left(c + \sqrt{c^2 - 1}\right)$.
:::
:::
:::

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

## Let $z = \given{x} + \given{y}j$.

::: part
answer: sqrt(sin(x)^2 + sinh(y)^2)
tolerance: 0.5%

### What is $\lvert\sin z\rvert$?

::: misses
- [sqrt(sin(x)^2 + sin(y)^2)] The imaginary direction brings sinh.
- [any] $\lvert\sin z\rvert^2 = \sin^2x + \sinh^2y$.
:::
:::

::: part
answer: sqrt(cos(x)^2 + sinh(y)^2)
tolerance: 0.5%

### What is $\lvert\cos z\rvert$?

::: misses
- [any] $\lvert\cos z\rvert^2 = \cos^2x + \sinh^2y$.
:::
:::
:::

::: check
kind: parts
given: r = 8 | 27; t = 90 | 60

## Find the cube roots of $\given{r}e^{j\given{t}°}$.

::: part
answer: r^(1/3)
tolerance: 0.5%

### How far from the origin are they?

::: misses
- [r/3] Take the cube root of the size.
- [any] $r^{1/3}$.
:::
:::

::: part
answer: t/3 + 240
unit: °
tolerance: 0.5%

### What is the angle of the third root, k = 2?

::: misses
- [t/3 + 120] That's k = 1.
- [any] $\frac{\theta + 360°k}{3}$.
:::
:::
:::

::: check
kind: parts
given: n = 2 | 4 | 6; w = 2 | 3

## Consider the {n} roots of $z^n = \given{w}$.

::: part
answer: (-1)^(n + 1)*w
tolerance: 0.5%

### What is their product?

::: misses
- [w] The product of the roots of $z^n - w$ is $(-1)^{n+1}w$.
- [any] Compare $z^n - w$ with $\prod(z - z_k)$ at z = 0.
:::
:::

::: part
answer: w^(1/n)*2*cos(2*pi/n)
tolerance: 0.5%

### What is the sum of the root with k = 1 and its conjugate?

::: misses
- [any] $2r^{1/n}\cos\frac{2\pi}{n}$.
:::
:::
:::

::: check
kind: parts
given: n = 4 | 5; k = 1 | 2

## An order-{n} Butterworth filter with $\omega_c = 1$ factors into sections $s^2 + bs + 1$.

::: part
answer: 2*sin((2*k - 1)*pi/(2*n))
tolerance: 0.5%

### What is b for section k = {k}, the one whose poles sit at angle $\frac{(2k - 1)\pi}{2n}$ from the imaginary axis?

::: misses
- [2*cos((2*k - 1)*pi/(2*n))] b is twice the poles' distance from the imaginary axis, which is the sine of their angle from it.
- [any] $b = -2\,\text{Re}\,p$.
:::
:::

::: part
answer: sin((2*k - 1)*pi/(2*n))
tolerance: 0.5%

### What is that section's damping ratio?

::: misses
- [any] $\zeta = b/2$.
:::
:::
:::

::: check
kind: parts
given: r = 0.4 | 3; x = 0.5 | 1

## A load has normalized impedance $z = \given{r} + \given{x}j$.

::: part
answer: sqrt(((r - 1)^2 + x^2)/((r + 1)^2 + x^2))
tolerance: 0.5%

### What is $\lvert\Gamma\rvert$?

::: misses
- [abs(r - 1)/(r + 1)] That ignores the reactance.
- [any] $\frac{\lvert z - 1\rvert}{\lvert z + 1\rvert}$.
:::
:::

::: part
answer: (1 + sqrt(((r - 1)^2 + x^2)/((r + 1)^2 + x^2)))/(1 - sqrt(((r - 1)^2 + x^2)/((r + 1)^2 + x^2)))
tolerance: 0.5%

### What is the VSWR?

::: misses
- [any] $\frac{1 + \lvert\Gamma\rvert}{1 - \lvert\Gamma\rvert}$.
:::
:::
:::

::: check
kind: parts
given: g = 0.2 | 0.6; Z = 50 | 75

## A load on a {Z} Ω line has the real reflection coefficient Γ = {g}.

::: part
answer: Z*(1 + g)/(1 - g)
unit: Ω
tolerance: 0.5%

### What is its impedance?

::: misses
- [Z*(1 - g)/(1 + g)] Positive Γ means more resistance than $Z_0$.
- [any] $Z = Z_0\frac{1 + \Gamma}{1 - \Gamma}$.
:::
:::

::: part
answer: -g
tolerance: 0.5%

### What reflection coefficient does its admittance have on the admittance chart?

::: misses
- [g] Inverting the impedance turns the chart by 180°.
- [any] $\frac{y - 1}{y + 1} = -\Gamma$.
:::
:::
:::

::: check
kind: parts
given: a = 0.5 | 2; b = 0.5 | 3

## The map $w = \frac{z - j}{z + j}$ sends the upper half-plane into the unit disk. Let $z = \given{a} + \given{b}j$.

::: part
answer: sqrt((a^2 + (b - 1)^2)/(a^2 + (b + 1)^2))
tolerance: 0.5%

### What is $\lvert w\rvert$?

::: misses
- [any] $\frac{\lvert z - j\rvert}{\lvert z + j\rvert}$.
:::
:::
:::

::: check
kind: parts
given: a = 3 | 5; b = 2 | 6

## Find the fixed points of $w = \frac{\given{a}z + \given{b}}{z + 1}$, where w = z.

::: part
answer: ((a - 1) + sqrt((a - 1)^2 + 4*b))/2
tolerance: 0.5%

### What is the larger one?

::: misses
- [((a + 1) + sqrt((a + 1)^2 + 4*b))/2] $z(z + 1) = az + b$ gives $z^2 + (1 - a)z - b = 0$.
- [any] Solve $z^2 + (1 - a)z - b = 0$.
:::
:::

::: part
answer: ((a - 1) - sqrt((a - 1)^2 + 4*b))/2
tolerance: 0.5%

### And the smaller?

::: misses
- [any] The other root of the same quadratic.
:::
:::
:::

::: check
kind: parts
given: h = 0.1 | 0.01 | 0.3

## A central difference estimates the derivative of $e^z$: $\frac{e^{z + h} - e^{z - h}}{2h} = e^z\frac{\sinh h}{h}$.

::: part
answer: sinh(h)/h - 1
tolerance: 1%

### What is its relative error with h = {h}?

::: misses
- [h^2] Close, but the leading term is $\frac{h^2}{6}$.
- [any] $\frac{\sinh h}{h} - 1 \approx \frac{h^2}{6}$.
:::
:::
:::

::: check
kind: parts
given: t = 100 | 120 | 150

## Let $z_1 = z_2 = e^{j\given{t}°}$.

::: part
answer: 2*t - 360
unit: °
tolerance: 0.5%

### What is $\text{Im}\,\text{Log}(z_1z_2)$, in degrees?

::: misses
- [2*t] The principal value must lie in $(-180°, 180°]$.
- [any] $2\theta$ exceeds 180°, so subtract 360°.
:::
:::

::: part
answer: 360
unit: °
tolerance: 0.5%

### By how much does it differ from $\text{Im}(\text{Log}\,z_1 + \text{Log}\,z_2)$?

::: misses
- [0] Principal logarithms don't always add.
- [any] The sum is $2\theta$; the principal log of the product is $2\theta - 360°$.
:::
:::
:::

::: check
kind: parts
given: b = 1 | 2; c = 5 | 8

## Solve $z^2 + 2\given{b}jz - \given{c} = 0$.

::: part
answer: sqrt(c - b^2)
tolerance: 0.5%

### What is the real part of the root with positive real part?

::: misses
- [sqrt(c)] Complete the square: $(z + bj)^2 = c - b^2$.
- [any] $z = -bj \pm\sqrt{c - b^2}$.
:::
:::

::: part
answer: -b
tolerance: 0.5%

### What is its imaginary part?

::: misses
- [b] $z + bj$ is real, so $\text{Im}\,z = -b$.
- [any] $-b$.
:::
:::
:::
:::
