A12 · Lesson 2 · The complex derivative
A limit that has to agree from every direction
The derivative of a complex function is defined exactly as for a real one, the limit of as h shrinks to zero. The difference is that h is now complex, so it can approach zero from any direction in the plane, along the real axis, the imaginary axis or a spiral, and the limit must come out the same every way. That's a much stronger demand than in real calculus. Functions that meet it, like polynomials, and , have remarkable properties; functions that fail it, like and , don't, even though they're perfectly smooth as functions of x and y.
- Around the point (the dot), a small dashed circle of radius ε; its image under is the solid curve around .
- For small ε, the image is almost exactly a circle of radius : near any point, the map just scales and rotates. The readouts compare the image's size with that prediction.
- Grow ε and the image distorts away from a circle: the derivative only describes the map near .
Predict
For (the conjugate), the difference quotient equals . What is it when h is real, and when h is imaginary?
1 for real h () and −1 for imaginary h (). The limit depends on the direction, so it doesn't exist: has no complex derivative anywhere, even though, as a map, it's just a mirror reflection.
Name it
The definition
where h is complex and the limit must be the same whichever way h approaches 0. A function differentiable at every point of an open region is analytic (or holomorphic) there.
The familiar rules still hold
, and the sum, product, quotient and chain rules work as in real calculus; so do and (for ). Polynomials are analytic everywhere; rational functions everywhere except their poles.
What the derivative does
Near , . Multiplying h by the complex number rotates it by and scales it by . So, in a small enough neighborhood, an analytic map is a rotation and a scaling, the same in every direction, which is why it preserves angles (lesson 1) where .
Not differentiable
, , and (except at 0) depend on x and y in a way that can't be written using z alone; their difference quotients depend on the direction of h.
Worked example
Find the derivative of at , and what it does to a small neighborhood.
Show the solution
- Differentiate.
- Evaluate at 1 + j. Since :
- Read off the scale and the turn. A small neighborhood is scaled by and rotated by .
Answer , so a small neighborhood is stretched 6 times and rotated 90°.
Worked example
Show that has a derivative only at .
Show the solution
- Form the difference quotient. Call it Q:
- Let h go to 0. The last term vanishes, but is for real h and for imaginary h.
- When the two agree. They agree only if z = 0, where the derivative is 0.
Answer the limit depends on the direction of h unless z = 0, so has a derivative only at the origin, where it is 0.
Worked example
The map is a fraction of the same kind as the Smith chart's. What does it do to a tiny neighborhood of ?
Show the solution
- Quotient rule.
- Evaluate at z₀. Here , and , so That gives and .
- Where the square lands. A tiny square near lands near at the same size, turned a quarter turn counterclockwise.
- Other places. The same map shrinks or stretches other places, since changes with z.
Answer , so a tiny square near moves to near at the same size, turned a quarter turn counterclockwise.
Check
What's the real part of the derivative of at ?
Check
By what factor does magnify a tiny neighborhood of ?
Check
By what angle does rotate a tiny neighborhood of ?
Check
What's the real part of the derivative of at ?
Check
For , the difference quotient is . What's its real part when h approaches 0 along the direction at angle 45°?
Check
Which of these has a complex derivative at every point?
Check
The map near .
(a)
By what factor does it magnify a tiny neighborhood?
(b)
By what angle does it rotate it?
Check
Differentiate at .
Step 1
What is the real part of ?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What is its imaginary part?
Explain why
Why is being differentiable a much stronger condition for a complex function than for a real one?
For a real function, h can only approach zero from the left or the right, so differentiability asks two one-sided limits to agree. For a complex function, h can approach zero from infinitely many directions in the plane, and the difference quotient must tend to the same complex number along all of them. That forces the function to act locally like multiplication by a single complex number, a rotation and a scaling, the same in every direction, which ties u and v together tightly (the Cauchy–Riemann equations, next lesson). Many smooth-looking functions of x and y, like the conjugate, fail it.
Practice
Keep practicing
9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.