6.3: Complex Differentiation
( \newcommand{\kernel}{\mathrm{null}\,}\)
The complex f is said to be differentiable at z0 if
limz→z0f(z)−f(z0)z−z0
exists, by which we mean that
f(zn)−f(z0)zn−z0
converges to the same value for every sequence {zn} that converges to z0. In this case we naturally call the limit ddzf(z0)
To illustrate the concept of 'for every' mentioned above, we utilize the following picture. We assume the point z0 is differentiable, which means that any conceivable sequence is going to converge to z0. We outline three sequences in the picture: real numbers, imaginary numbers, and a spiral pattern of both.
Sequences Approaching A Point In The Complex Plane
The derivative of z2 is 2z.
limz→z0z2−z20z−z0=limz→z0(z−z0)(z+z0)z−z0=2z0
The exponential is its own derivative.
limz→z0ez−ez0z−z0=ez0limz→z0ez−z0−1z−z0=ez0limz→z0∞∑n=0(z−z0)n(n+1)!=ez0
The real part of z is not a differentiable function of z.
We show that the limit depends on the angle of approach. First, when zn→z0 on a line parallel to the real axis, e.g., zn=x0+1n+iy0, we find
limn→∞x0+1n−x0x0+1n+iy0−x0+iy0=1
while if zn→z0 in the imaginary direction, e.g., zn=x0+i(y0+1n), then
limn→∞x0−x0x0+i(y0+1n)−x0+iy0=0
Conclusion
NOT_CONVERTED_YET: para
This last example suggests that when f is differentiable a simple relationship must bind its partial derivatives in x and y.
If f is differentiable at z0 then ddzf(z0)=∂f(z0)∂x=−(i∂f(z0)∂y)
With z=x+iy0
ddzf(z0)=limz→z0f(z)−f(z0)z−z0=limx→x0f(x+iy0)−f(x0+iy0x−x0=∂f(z0)∂x
With z=x0+iy
ddzf(z0)=limz→z0f(z)−f(z0)z−z0=limx→x0f(x0+iy)−f(x0+iy0i(y−y0)=−(i∂f(z0)∂y)
Cauchy-Reimann Equations
In terms of the real and imaginary parts of f this result brings the Cauchy-Riemann equations.
∂u∂x=∂v∂y
and
∂v∂x=−∂u∂y
Regarding the converse proposition we note that when f has continuous partial derivatives in region obeying the Cauchy-Reimann equations then f is in fact differentiable in the region.
We remark that with no more energy than that expended on their real cousins one may uncover the rules for differentiating complex sums, products, quotients, and compositions.
As one important application of the derivative let us attempt to expand in partial fractions a rational function whose denominator has a root with degree larger than one. As a warm-up let us try to find q1,1 and q1,2 in the expression
z+2(z+1)2=q1,1z+1+q1,2(z+1)2
Arguing as above, it seems wise to multiply through by (z+1)2 and so arrive at
z+2=q1,1(z+1)+q1,2
On setting z=−1 this gives q1,2=1. With q1,2 computed, Equation takes the simple form z+1=q1,1(z+1) and so q1,2=1 as well. Hence,
z+2(z+1)2=1z+11(z+1)2
This latter step grows more cumbersome for roots of higher degrees. Let us consider
(z+2)2(z+1)3=q1,1z+1+q1,2(z+1)2+q1,3(z+1)3
The first step is still correct: multiply through by the factor at its highest degree, here 3. This leaves us with
(z+2)2=q1,1(z+1)2+q1,2(z+1)+q1,3
Setting z=−1 again produces the last coefficient, here q1,3=1. We are left however with one equation in two unknowns. Well, not really one equation, for Equation is to hold for all z, of Equation. This produces
2(z+2)=2q1,1(z+1)+q1,2
and 2=q1,1 The latter of course needs no comment. We derive q1,2 from the former by setting z=−1. This example will permit us to derive a simple expression for the partial fraction expansion of the general proper rational function q=fg where g has h distinct roots {λ1,⋯,λh} of respective degrees {d1,⋯,dh}. We write
q(z)=h∑j=1dj∑k=1qj,k(z−λj)k
and note, as above, that qj,k is the coefficient of (z−dj)dj−k in the rational function
rj(z)≡q(z)(z−λj)dj
Hence, qj,k may be computed by setting z=λj in the ratio of the dj−kth derivative of rj to (dj−k)!
qj,k=limz→λj1(dj−k)!ddj−kdzdj−k{(z−λj)djq(z)}
As a second example, let us take
B=(100130011)
and compute the Φj,k matrices in the expansion
(zI−B)−1=(1z−1001(z−1)(z−3)1z−301(z−1)2(z−3)1(z−1)(z−3)1z−1)=1z−1Φ1,1+1(z−1)2Φ1,2+1z−3Φ2,1
The only challenging term is the (3,1) element. We write
1(z−1)2(z−3)=q1,1z−1+q1,2(z−1)2+q2,1z−3
It follows that
q1,1=ddz(1z−31)=−1/4
and
q1,2=1z−31=−1/4
and
q2,1=(1(z−3)21)=1/4
It now follows that
(zI−B)−1=1z−1(100−1/200−1/4−1/21)+1(z−1)2(000000−1/200)+1z−3(0001/2101/41/20)
In closing, let us remark that the method of partial fraction expansions has been implemented in Matlab. In fact, Equations q1,1,q1,2,q2,1 all follow from the single command: [r,p,k]=residue([0 0 0 1],[1 -5 7 -3])
. The first input argument is Matlab-speak for the polynomial f(z)=1 while the second argument corresponds to the denominator
g(z)=(z−1)2(z−3)=z3−5z2+7z−3