Calculus & Analysis

Conformal Mapping

Visualize conformal mappings in the complex plane and observe how angles are preserved.

By Riano · Published · Updated · Report a correction

Conformal Mapping: bend a grid, predict its image

A complex function sends z = x + iy to a new point w. This explorer compares a square input patch with its transformed grid. Rose lines have constant real coordinate; blue lines have constant imaginary coordinate. Their curves can bend dramatically even when their local intersection angles survive.

If a function is holomorphic near a point and its derivative there is nonzero, its first-order action is multiplication by that derivative: a rotation combined with a uniform local scale. This preserves oriented angles between tangents. It does not preserve whole shapes, distances or areas, and it does not imply that the function is one-to-one over the entire plane.

Predict a doubling without changing zoom

Use the exponential map w = ez = ex(cos(y) + i sin(y)). Holding x fixed traces a circle arc; holding y fixed traces a radial segment. These are finite images of the displayed input lines, not complete infinite circles or rays.

  1. Start at the patch center z = 0. Its image is e0 = 1, so the readout is Re(w) = 1.000000 and Im(w) = 0.000000.
  2. Translate the input patch by 0.7 along the real axis. For every point, ez + 0.7 = e0.7ez. The output radius is multiplied by 2.01375270747, slightly more than two.
  3. The new center is 0.7 + 0i. Its image and derivative magnitude both round to 2.013753. No W-Plane Zoom change is needed to cause this mathematical scaling.
  4. Adding i instead multiplies the output by cos(1) + i sin(1): rotation by one radian, about 57.3 degrees, without another radius change.

This prediction applies point by point to the translated patch. The white markers identify its center when it is inside the visible frame; the numeric result remains available even when that marker lies outside the current view.

Separate input translation from output display scale

Open the Conformal Mapping interactive module and compare the two plane headings and fixed frames. On narrow screens the controls scroll within their own panel; the plotting areas and their titles remain separate.

  1. Set Mapping Function f(z) to f(z) = e^z, Real Offset (x) and Imaginary Offset (y) to 0, Grid Density to 8, and W-Plane Zoom to 0.3. Check the center image 1 + 0i.
  2. Change Real Offset (x) to 0.7. The circle arcs expand while Re(w) becomes 2.013753. The grid and numeric result respond to the same selected function.
  3. Change Imaginary Offset (y) to 1. The patch image rotates by one radian. The derivative magnitude stays 2.013753 because the real offset is unchanged.
  4. Change W-Plane Zoom to 0.6. Only the output picture grows; the mapped center and derivative readouts stay the same. Increasing Grid Density adds sampled curves without changing those values.
  5. Drag either plane or focus it and use the arrow keys. Home or Reset view restores navigation while keeping the function, offsets, density and zoom.
  6. Choose f(z) = 1/z and return both offsets to 0. The center readout says Undefined, not zero. Choose f(z) = z^2 at the same center: its value is zero but its derivative vanishes, so it is a critical point.

Which intersections are actually conformal?

The claim is local and excludes poles and zero derivatives. Squaring fails the nonzero-derivative test at z = 0; the reciprocal is undefined there. Sine has critical points at π/2 + kπ on the real axis. These exact sine locations are paper examples: the offset sliders advance in tenths and cannot enter π/2 exactly. The exponential has no critical points, but its imaginary periodicity prevents global injectivity.

The width-four patch contains more points than its center. The center status describes only the selected center, not every location in the patch. Each mapped line uses 200 straight segments, so pixels approximate smooth curves. Reciprocal samples with both coordinate magnitudes below 0.01 are omitted to avoid drawing across its pole. Six-decimal results are rounded, not exact symbolic values.

Each plane has its own clipped viewing frame, with a default span of ten units. Curves outside that frame remain mathematically defined unless the function itself is singular. Pan and W-Plane Zoom explore the picture; they do not change the function or its center value. Near the slider extremes, some curves or markers can therefore be outside the frame.

Definitions behind the experiment

The following official mathematical reference supports the local derivative criterion and the exponential identity used here. The chosen offsets, native-control procedure and computed decimal examples are this article's own experiment.

Experience it interactively

Adjust parameters, observe in real time, and build deep intuition with Riano’s interactive Conformal Mapping module.

Try Conformal Mapping on Riano →

More in Calculus & Analysis