summaryrefslogtreecommitdiffstats
path: root/ClassJune26.page
blob: b5dff79b94be5d4e8621994d4b61b60324ea09bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
Links to Josh's handwritten notes

[link page 1](/L1p1.jpeg)
[link page 2](/L1p2.jpeg)
[link page 3](/L1p3.jpg)
[link page 4](/L1p4.jpeg)
[link page 5](/L1p5.jpeg)
[link page 6](/L1p6.jpeg)

We'll begin our discussion of complex numbers with a simple picture
of the real number line. Zero in the centre, $1,2,3,\dots$ to the
right, $-1,-2,-3,\dots$ to the left. Think of each real number not
as a point on the line, but as the corresponding vector, as the arrow
emanating from $0$ and ending at, say, $2$. Then real number addition
is vector addition; to add two numbers, say, $1$ and $2$, place
the tail of one at the tip of the other. The sum is the vector ending
at the final tip, $1+2=3$. This works for negative numbers too; $2+(-3)=-1$,
$2+(-2)=0$. Multiplication is rescaling; to multiply a vector/number
by $3$, you scale up its length by a factor of $3$, and leave the
direction the same; $2\rightarrow6$, and $-2\rightarrow-6$. To multiply
by a negative number $v$; you still rescale by the length of $v$,
but you also reverse direction, rotating around $180^{\circ}$, just
like the negative vectors are all $180^{\circ}$ away from their positive
counterparts. So $-3\cdot-2=6$.

We can extend the law of addition to all vectors in the plane containing
the real ones. Given two vectors of whatever lengths in whatever directions,
you add them by putting tail to tip and completing the triangle. This
plus this equals that, this plus this equals that.

To multiply a vector by a real number (a real vector), we use the
same rule as before; if the real number is positive, pointing horizontally
to the right, then you just rescale its target by its length, this
times $2$ is that. If the real number is negative, pointing horizontally
to the left, it rescales its target by its length, and then rotates
it by $180^{\circ}$. To multiply by an arbitrary vector in the plane,
say this one, you rescale by its length, which we call its \textbf{magnitude},
and rotate counterclockwise by the angle it forms with the positive
reals, with the horizontal, which we call its \textbf{argument}. So
multiplying by this doubles lengths, and rotates $45^{\circ}$ counterclockwise;

$(\nearrow)\cdot(\uparrow)=(\nwarrow)$

Multiplying by this halves lengths and rotates $300^{\circ}$ counterclockwise
(or $60^{\circ}$ clockwise), taking this to that, and this to that.
Mulitplying by $1$, the unit vector to the right, fixes the length,
and rotates by $0^{\circ}$, ie, leaves everything the same. So $1$
is the multiplicative identity. The unit vector pointing north is
notable, multiplying by it just rotates things $90^{\circ}$. In particular,
$(\uparrow)\cdot(\uparrow)=(\leftarrow)$, which is $-1$. We usually
write $i$ for $\uparrow$, and we've just shown that $i^{2}=-1$.

## Arrow Arithmetic

Complex numbers are vectors in the plane, with addition given by vector
addition, and multiplication given by dilation and rotation. Real
numbers form the horizontal axis, and imaginary numbers form the vertical
axis. Why does it make sense to call these arrows "numbers"?
Because they satisfy all the basic rules of arithmetic:

- Addition is commutative.
    - the two orders form a paralellogram, with the sum on the diagonal, $z+w=w+z$
- Addition is associative.
    - $v+(z+w)=(v+z)+w$ since both compute the straight-line path from $0$ to the end of the $\overset{w}{\rightarrow}\overset{z}{\rightarrow}\overset{v}{\rightarrow}$ trail.
- Multiplication is commutative.
    - Multiplying $(r_{1},\theta_{1})$ by $(r_{2},\theta_{2})$ rescales by $r_{2}$ and rotates by $\theta_{2}$, giving $(r_{1}r_{2},\theta_{1}+\theta_{2})$, which is manifestly symmetric. Put another way, multiplication of complex numbers multiplies magnitudes and adds angles/arguments.
- Multiplication is associative.
    - use formula in polar coordinates
- Multiplication distributes over addition.
    - Take any two complex numbers $v,w$ and add them, making a parallelogram. To find $z(v+w)$, rotate and scale our sum. But that's the same as rotating and scaling each of $v$ and $w$ individually, to $zv$ and $zw$, then adding them together: $zv+zw=z(v+w)$. The distributive law for complex numbers is the fact that a rotated, rescaled paralellogram is still a parallelogram, or, more basically, that dilation and rotation of the plane preserve angles.


## Coordinates

We can't be constantly drawing arrows in the plane; to do anything
quantitative, we need to introduce coordinates. Rectangular coordinates
are easy, each vector has an $x$ and $y$-coordinate, given by its
projections onto the real and imaginary axis. If we use column vector
notation, we have
$z = \left(\begin{array}{c}
a\\
b\end{array}\right)
 = a\left(\begin{array}{c}
1\\
0\end{array}\right)+b\left(\begin{array}{c}
0\\
1\end{array}\right)
 = a\cdot1+b\cdot i
 = a+bi$
Put another way, we are using $1$ and $i$ as basis vectors. For
example,  
$\left(\begin{array}{c}
3\\
2\end{array}\right)=3(\rightarrow)+2(\uparrow)=3+2i$  
and  
$\overset{2}{\nwarrow}=\left(\begin{array}{c}
-\sqrt{2}\\
\sqrt{2}\end{array}\right)=-\sqrt{2}(\rightarrow)+\sqrt{2}(\uparrow)=-\sqrt{2}+\sqrt{2}i$


Polar coordinates represent each complex number by its magnitude and argument, its radius and angle (in radians). So 
$i=\uparrow=(1,\pi/2)$ and $\overset{2}{\nwarrow}=(2,3\pi/4)$.

The familiar angle addition formula from trigonometry now follows
from the distributive law applied to unit vectors.  
    $\cos(\theta+\phi)+i\sin(\theta+\phi)=(\cos\theta+i\sin\theta)(\cos\phi+i\sin\phi)=\cos\theta\cos\phi-\sin\theta\sin\phi+i(\cos\theta\sin\phi+\sin\theta\cos\phi)$


In the workshop session, you'll use a similar trick to compute triple
and quadruple angle formulas, for $\sin$ and $\cos$, deriving De
Moivre's theorem.

## Functions

The most basic transformations of the complex plane are given by multipling
by some fixed complex number $\rho=r(\cos\theta+i\sin\theta)=a+bi$,
which, as we saw before, is a dilation by $r$ plus a rotation by
$\theta$. The distributive law says precisely that this is a linear
transformation of the plane, viewed as a two-dimensional vector space.
And linear maps are given in rectangular coordinates by matrices:
$\left(\begin{array}{c}
x\\
y\end{array}\right)\mapsto\left(\begin{array}{cc}
a & c\\
b & d\end{array}\right)\left(\begin{array}{c}
x\\
y\end{array}\right)=\left(\begin{array}{c}
ax+cy\\
bx+dy\end{array}\right).$
What is the matrix corresponding to multiplication by $\rho$? Well,
the first column is the image of $\left(\begin{array}{c}
1\\
0\end{array}\right)$, ie, of $1$, which just $v=\left(\begin{array}{c}
a\\
b\end{array}\right)$ itself, and the second column is the image of $i=\left(\begin{array}{c}
0\\
1\end{array}\right)$, which is $\rho$ rotated by $90^{\circ}$, which has coordinates
$\left(\begin{array}{c}
-b\\
a\end{array}\right)$. So complex number $a+bi$ is identified with the matrix 
$\left(\begin{array}{cc}
a & -b\\
b & a\end{array}\right).$
As a sanity check, note that $i$ corresponds to $\left(\begin{array}{cc}
0 & -1\\
1 & 0\end{array}\right)$, which squares to $\left(\begin{array}{cc}
-1 & 0\\
0 & -1\end{array}\right)\sim-1$.

Another natural transformation of the complex plane is given by squaring,
sending $z\mapsto z^{2}$. This squares the length of each
vector, and doubles its angle. PICTURE. What does $z\mapsto z^{n}$
look like? PICTURE.

Another key example is the exponential map. Recall the power series
for $e^{z}$:

$e^{z}=1+z+\frac{z^{2}}{2!}+\frac{z^{3}}{3!}+\frac{z^{4}}{4!}+\frac{z^{5}}{5!}+\cdots$

We can raise complex numbers to powers, divide by the real denominators,
and add them up just fine, so we can exponentiate complex values of
$z$. We know what happens to real values, what happens to pure imaginary
ones? Let $y\in\mathbb{R}$. Then  

$$\begin{array}{ccl} 
e^{iy} & = & 1+iy+\frac{(iy)^{2}}{2!}+\frac{(iy)^{3}}{3!}+\frac{(iy)^{4}}{4!}+\frac{(iy)^{5}}{5!}+\cdots\\
 & = & 1+iy-\frac{y^{2}}{2!}-i\frac{y^{3}}{3!}+\frac{y^{4}}{4!}+i\frac{y^{5}}{5!}+\cdots\\
 & = & (1-\frac{y^{2}}{2!}+\frac{y^{4}}{4!}+\cdots)+i(y-\frac{y^{3}}{3!}+\frac{y^{5}}{5!}-\cdots)\\
 & = & \cos y+i\sin y\end{array}$$

Substituting $y=\pi$, we recover Euler's famous identity,
$e^{i\pi}=-1.$
 Given a real argument $y$, the $e^{iy}$ gives the unit vector with
that argument. Given an arbitrary complex number $z=x+iy$, it's exponnt
$e^{z}$ is the complex number with magnitude $e^{x}$ and angle $y$
radians.

What does $z\mapsto e^{z}$ look like? Periodic in the $i$
direction with period $2\pi$. Takes a horizontal strip and wraps
it around, forming an annulus. PICTURE.

Let's take another look at these functions. What do you notice?

Images of grid lines still intersect orthogonally! In fact, all angles
are preserved: these two curves go to those two curves, and the angle
between them (actually, the angles between their tangent vectors at
the intersection point) stays the same.


## Conformality, Holomorphicity

A map $\mathbb{C}\rightarrow\mathbb{C}$ is **conformal** if
it preserves oriented angles. We (meaning me *and* you) will
show that polynomials, exponentials, etc are conformal (almost everywhere).

Consider a smooth map $f$ from the plane to itself; it takes a smooth
curve $\gamma$ through $z$ to a smooth curve $f\circ\gamma$ through
$f(z)$. What happens to the tangent of $\gamma$ at $z$? Given by
the derivative $df(z)$, a linear map taking vectors based at $z$
to vectors based at $f(z)$. If we use rectangular coordinates  
    $z\mapsto f(z)$  
    $x+iy \mapsto u(x,y)+iv(x,y)$  
    $\left(\begin{array}{c}
x\\
y\end{array}\right)\mapsto\left(\begin{array}{c}
u(x,y)\\
v(x,y)\end{array}\right)$  
then the derivative is  
    $df=\left(\begin{array}{cc}
\frac{\partial u}{\partial x} & \frac{\partial u}{\partial y}\\
\frac{\partial v}{\partial x} & \frac{\partial v}{\partial y}\end{array}\right).$  
If $f$ is conformal, then this matrix had better take the (orthogonal)
standard basis to orthogonal vectors; the little square becomes a
little rectangle. Since the diagonal of the square bisects the right
angle, and $df$ is linear, its image must bisect too, that is, the
little square must become a little *square*. Numerically, this
means that $\left(\begin{array}{c}
\frac{\partial u}{\partial y}\\
\frac{\partial v}{\partial y}\end{array}\right)$ is $\left(\begin{array}{c}
\frac{\partial u}{\partial x}\\
\frac{\partial v}{\partial x}\end{array}\right)$ rotated by $\pi/2$. If we write 
$\left(\begin{array}{c}
a\\
b\end{array}\right)=\left(\begin{array}{c}
\frac{\partial u}{\partial x}\\
\frac{\partial v}{\partial x}\end{array}\right)$
, then $\left(\begin{array}{c}
\frac{\partial u}{\partial y}\\
\frac{\partial v}{\partial y}\end{array}\right)=\left(\begin{array}{c}
-b\\
a\end{array}\right).$
Put another way, the linear transformation $df(z)$ has the form 
$\left(\begin{array}{cc}
a & -b\\
b & a\end{array}\right),$
ie, it looks just like multiplication by the complex number $a+bi$.
The function $f$ is conformal if its derivative acts like a nonzero
complex number. Analytically, this condition is given by the following
differential equations, called the **Cauchy-Riemann equations**:  
$\frac{\partial u}{\partial x}=\frac{\partial v}{\partial y}\mbox{ and }\frac{\partial u}{\partial y}=-\frac{\partial v}{\partial x}.$  
A complex function $f=u+iv$ is said to be **holomorphic** if
$f$ satisfies the CR. We've shown that conformal $\Longrightarrow$
holomorphic. Holomorphic functions are slightly more general, as the
Jacobian can vanish; $df$ can be the complex number $0$. This is
what happens at the origin for $f=z^{n}$. We can now check that $e^{z}$
is conformal, and that $z^{n}$ is holomorphic, so conformal away
from $0$.  
**Example:** $z^{2}$ is holomorphic. $z^{2}=(x+iy)^{2}=x^{2}-y^{2}+i(2xy).$ So
$u=x^{2}-y^{2}$ and $v=2xy$.


This class is, essentially, the study of holomorphic functions, which
includes all angle-preserving transformations of the plane. The lesson
here is that complex analysis is geometry; complex numbers are dilations
and rotations, and holomorphic functions (defined in terms of differential
equations) are (almost everywhere) angle-preserving (if they're not
constant).

Why study complex numbers, holomorphic functions, and conformal maps?
Because of the beautiful and deep structure to which they lead.

Mathematically,

- fundamental theorem of algebra
- difficult integrals ($\int_{-\infty}^{\infty}\frac{1}{(x^{2}+1)^{2}}dx=\frac{\pi}{2}$)
- theory of surfaces
- hyperbolic geometry
Applicationally,
- conformal maps preserve maxwell's equations (in 2D) and incompressible,
irrotational fluid flow.
- fourier transform, and its generalization, the laplace transform for
understanding dynamical signals and systems.

We'll do all that and more, in the next six weeks. Hold on, dig in,
and enjoy!