---
title: Problem set 1
heading: "Problem set 1: maps, derivatives and analyticity"
eyebrow: A12 · Problem set 1
type: problems
---

::: hook
These problems use lessons 1 to 4: complex functions as maps, the complex derivative, the Cauchy–Riemann equations, and harmonic functions and complex potentials. Write $z = x + jy$ and $f = u + jv$.
:::

::: pool
pick: 12

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

## Let $z = \given{a} + \given{b}j$ and $w = z^2$.

::: part
answer: a^2 - b^2
tolerance: 0

### What's Re w?

::: misses
- [any] $x^2 - y^2$.
:::
:::

::: part
answer: 2*a*b
tolerance: 0

### What's Im w?

::: misses
- [any] $2xy$.
:::
:::
:::

::: check
kind: parts
given: r = 0.5 | 2; t = 15 | 40; n = 3 | 4

## A point at distance {r} and angle {t}° is mapped by $w = z^{\given{n}}$.

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

### How far from the origin is its image?

::: misses
- [any] $r^n$.
:::
:::

::: part
answer: n*t
unit: °
tolerance: 0.5%

### At what angle?

::: misses
- [any] $n\theta$.
:::
:::
:::

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

## Under $w = 1/z$, take $z = \given{a} + \given{b}j$.

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

### What's Re w?

::: misses
- [any] $1/z = \bar z/\lvert z\rvert^2$.
:::
:::

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

### What's $\lvert w\rvert$?

::: misses
- [any] $1/\lvert z\rvert$.
:::
:::
:::

::: check
kind: parts
given: R = 0.2 | 0.5 | 4; X = 0 | 1

## The Smith chart's map is $\Gamma = (z - 1)/(z + 1)$; the normalized impedance is $z = \given{R} + \given{X}j$.

::: part
answer: abs((R + j*X - 1)/(R + j*X + 1))
tolerance: 0.5%

### What's $\lvert\Gamma\rvert$?

::: misses
- [any] $\lvert z - 1\rvert/\lvert z + 1\rvert$.
:::
:::

::: part
answer: Re((R + j*X - 1)/(R + j*X + 1))
tolerance: 0.5%

### What's Re Γ?

::: misses
- [any] The real part of $(z - 1)/(z + 1)$.
:::
:::
:::

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

## Let $f = z^{\given{n}}$ at $z_0 = \given{a} + \given{b}j$.

::: part
answer: n*abs(a + j*b)^(n - 1)
tolerance: 0.5%

### By what factor does f magnify a tiny neighborhood of $z_0$?

::: misses
- [any] $\lvert f'(z_0)\rvert = n\lvert z_0\rvert^{n-1}$.
:::
:::

::: part
answer: (n - 1)*arg(a + j*b)*180/pi
unit: °
tolerance: 0.5%

### By what angle does it rotate it?

::: misses
- [any] $\arg f'(z_0) = (n - 1)\arg z_0$.
:::
:::
:::

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

## For $f = z^3$: $u = x^3 - 3xy^2$, $v = 3x^2y - y^3$, at $(\given{x}, \given{y})$.

::: part
answer: 3*x^2 - 3*y^2
tolerance: 0

### What's $u_x$?

::: misses
- [any] $3x^2 - 3y^2$.
:::
:::

::: part
answer: -6*x*y
tolerance: 0

### What's $u_y$? (It should equal $-v_x$.)

::: misses
- [any] $-6xy$.
:::
:::
:::

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

## Consider $f = x^2 + j\,\given{a}y^2$.

::: part
answer: 2*x - 2*a*y
tolerance: 0

### What's $u_x - v_y$ at $(\given{x}, \given{y})$?

::: misses
- [any] $2x - 2ay$.
:::
:::

::: part
answer: 1/a
tolerance: 0.5%

### Along which line $y = mx$ does the first Cauchy–Riemann equation hold? Give m.

::: misses
- [any] Solve $2x = 2ay$.
:::
:::
:::

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

## For $f = e^z$, $u = e^x\cos y$ and $v = e^x\sin y$, at $(\given{x}, \given{y})$.

::: part
answer: exp(x)*cos(y)
tolerance: 0.5%

### What's Re f'?

::: misses
- [any] $u_x = e^x\cos y$.
:::
:::

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

### What's $\lvert f'\rvert$?

::: misses
- [any] $\lvert e^z\rvert = e^x$.
:::
:::
:::

::: check
kind: parts
given: a = 1 | 3; c = 2 | 4

## $u = \given{a}(x^2 - y^2) + \given{c}y$ is harmonic.

::: part
answer: 2*a - 2*a
tolerance: 0.001

### What's $u_{xx} + u_{yy}$?

::: misses
- [any] $2a - 2a$.
:::
:::

::: part
answer: -c
tolerance: 0

### Its harmonic conjugate is $v = 2axy + kx$. What's k?

::: misses
- [any] $v_x = -u_y$.
:::
:::
:::

::: check
kind: parts
given: E = 200 | 500; x = 0.02 | 0.1; y = 0.01 | 0.03

## A uniform field of {E} V/m points along x: $\Phi = -E_0 z$.

::: part
answer: -E*x
unit: V
tolerance: 0.5%

### What's the potential at $(\given{x}, \given{y})$ m?

::: misses
- [any] $\text{Re}\,\Phi = -E_0x$.
:::
:::

::: part
answer: -E*y
tolerance: 0.5%

### What's $\psi = \text{Im}\,\Phi$ there, labeling the field line through it?

::: misses
- [any] $\text{Im}(-E_0z) = -E_0y$.
:::
:::
:::

::: check
kind: parts
given: l = 2 | 8; r1 = 0.0005 | 0.001; r2 = 0.005 | 0.02

## A line charge of {l} nC/m: $\varphi = -\frac{\lambda}{2\pi\varepsilon_0}\ln r$.

::: part
answer: l*1e-9/(2*pi*8.854e-12)*ln(r2/r1)
unit: V
tolerance: 0.5%

### What's the potential difference between radii {r1} and {r2} m?

::: misses
- [any] $\frac{\lambda}{2\pi\varepsilon_0}\ln(r_2/r_1)$.
:::
:::

::: part
answer: l*1e-9/(2*pi*8.854e-12*r1)
unit: V/m
tolerance: 0.5%

### What's the field at {r1} m?

::: misses
- [any] $\lambda/(2\pi\varepsilon_0 r)$.
:::
:::
:::

::: check
kind: parts
given: U = 1 | 3; R = 0.5 | 2; t = 30 | 90

## Uniform flow U = {U} past a cylinder of radius {R}: $\Phi = U(z + R^2/z)$.

::: part
answer: 2*U*abs(sin(t*pi/180))
tolerance: 0.5%

### What's the speed on the surface at {t}° from the flow direction?

::: misses
- [any] $2U\lvert\sin\theta\rvert$.
:::
:::

::: part
answer: U*abs(1 - R^2/(4*R^2))
tolerance: 0.5%

### What's the speed on the axis, at $z = 2R$ (in front of the cylinder)?

::: misses
- [any] $U\lvert 1 - R^2/z^2\rvert$ at $z = 2R$.
:::
:::
:::

::: check
kind: parts
given: a = 2 | 3; x = 0 | 0.5; y = 0.3 | 0.6

## The map $w = e^{\given{a}z}$ near $z_0 = \given{x} + \given{y}j$.

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

### By what factor does it magnify a tiny neighborhood?

::: misses
- [exp(a*x)] The chain rule brings out a.
- [any] $\lvert ae^{az_0}\rvert = ae^{ax}$.
:::
:::

::: part
answer: a*y*180/pi
unit: °
tolerance: 0.5%

### By how many degrees does it rotate it?

::: misses
- [any] $\arg(ae^{az_0}) = ay$ radians.
:::
:::
:::

::: check
kind: parts
given: a = 2 | 3; x = 0.5 | 1; y = 0.2 | 0.4

## $u = e^x\cos(\given{a}y)$.

::: part
answer: (1 - a^2)*exp(x)*cos(a*y)
tolerance: 0.5%

### What is $u_{xx} + u_{yy}$ at $(\given{x}, \given{y})$?

::: misses
- [exp(x)*cos(a*y)] Include $u_{yy} = -a^2u$.
- [any] $u_{xx} = u$ and $u_{yy} = -a^2u$.
:::
:::
:::

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

## $f(z) = 1/z$ at $z = \given{x} + \given{y}j$.

::: part
answer: 1/(x^2 + y^2)
tolerance: 0.5%

### What is $\lvert f'\rvert$ there?

::: misses
- [1/sqrt(x^2 + y^2)] $f' = -1/z^2$, so its size is $1/\lvert z\rvert^2$.
- [any] $\lvert -z^{-2}\rvert$.
:::
:::

::: part
answer: 2*x*y/(x^2 + y^2)^2
tolerance: 0.5%

### What is $\partial v/\partial x$ there, where $v = \frac{-y}{x^2 + y^2}$?

::: misses
- [-2*x*y/(x^2 + y^2)^2] Check the sign: differentiating $-y(x^2 + y^2)^{-1}$ gives $+\frac{2xy}{(x^2 + y^2)^2}$.
- [any] By Cauchy–Riemann it equals $-u_y$ with $u = \frac{x}{x^2 + y^2}$.
:::
:::
:::
:::
