VI. Applications: physics and engineering

46. Applications of complex analysis

Forms in Applications (the fields Physics, Electrical engineering, Engineering, Geometry and Calculus) use the functions of a complex variable from the previous chapter. Each has steps with a complex potential, a map or poles and a graph in the Gauss plane.

Ideal flow and an airfoil: the [[complexPotential|complex potential]] w(z), [[streamline|streamlines]] as the level lines of Im w and the pressure from Bernoulli's equation. Flow past a cylinder, with circulation too (stagnation points, the Magnus effect, lift L′ = ρUΓ), Rankine's body, flow into a corner and a vortex. Joukowski's airfoil comes from the conformal map z = ζ + b²/ζ, the [[kuttaCondition|Kutta condition]] fixes the circulation and the Kutta–Joukowski theorem the lift; the graph shows the streamlines around the airfoil and C_L by the angle of attack.

Fields by conformal maps: a coaxial cable (w = ln z turns it into a parallel-plate capacitor - capacitance, inductance and characteristic impedance), a two-wire line by a Möbius map, the potential in a wedge between plates and a steady temperature in a half-plane; field lines and equipotentials in the graph. The stress around a circular hole in a plate by Kirsch with the Kolosov–Muskhelishvili potentials gives a [[stressConcentration|stress concentration]] of 3 in tension, 2 in equal tension both ways and 4 in shear. Mercator's map is the complex logarithm of the stereographic projection: the scale 1/cos φ, Tissot's circles and the [[loxodrome|rhumb line]] as a straight line against the great circle.

Control and signals: the stability of a loop K·e^(−sτ)/(s^q(1 + T₁s)(1 + T₂s)(1 + T₃s)) by the [[nyquistCriterion|Nyquist criterion]] (the argument principle, gain and phase margins, Bode plot) and by the [[rootLocus|root locus]] (asymptotes, breakaway point, critical gain). The design of a [[butterworthFilter|Butterworth]] and a Chebyshev filter from poles on a circle and an ellipse, a second-order digital filter with poles and zeros in the z plane, the impulse response by residues and the frequency response on the unit circle. A mechanical oscillator's or an RLC circuit's resonance curve from the distances of iω to the poles, the [[qualityFactor|quality factor]] and the bandwidth. AC circuits with phasors are in the Electrical engineering chapter.

Response and lines: Lorentz's oscillator gives a medium's refractive index and absorption; poles in the lower half-plane mean causality and the [[kramersKronig|Kramers–Kronig relations]], which the app checks by a numerical principal-value integral. A spectral line's natural width follows from the Fourier transform of a damped wave. The [[smithChart|Smith chart]]: the reflection coefficient as a Möbius transformation, the standing wave ratio, a line's input impedance, a quarter-wave transformer and stub matching.

Toys on mathtrace.app under “Try it yourself”: the Mandelbrot and Julia sets and Newton's basins - an iteration in the complex plane you can pan and zoom.

Examples

A spinning cylinder: the circulation moves the stagnation points below the horizontal axis.
Input: model(potentialflow; mode=flowcylinder; find=stag[deg]; U=10[m_s]; R=0.5[m]; G=20[m2_s])
model(potentialflow; mode=flowcylinder; find=stag[deg]; U=10[m_s]; R=0.5[m]; G=20[m2_s])
model(potentialflow; mode=flowcylinder; find=stag[deg]; U=10[m_s]; R=0.5[m]; G=20[m2_s])model(potentialflow; mode=flowcylinder; find=stag[deg]; U=10[m_s]; R=0.5[m]; G=20[m2_s])
A 12 % Joukowski airfoil with 2 % camber at a 4° angle of attack.
Input: model(potentialflow; mode=joukowski; find=CL[one]; U=50[m_s]; ch=1.5[m]; tc=12[pct]; fc=2[pct]; aoa=4[deg])
model(potentialflow; mode=joukowski; find=CL[one]; U=50[m_s]; ch=1.5[m]; tc=12[pct]; fc=2[pct]; aoa=4[deg])
model(potentialflow; mode=joukowski; find=CL[one]; U=50[m_s]; ch=1.5[m]; tc=12[pct]; fc=2[pct]; aoa=4[deg])model(potentialflow; mode=joukowski; find=CL[one]; U=50[m_s]; ch=1.5[m]; tc=12[pct]; fc=2[pct]; aoa=4[deg])
Rankine's body - the width far downstream is Q/U.
Input: model(potentialflow; mode=rankine; find=width[m]; U=5[m_s]; Q=10[m2_s])
model(potentialflow; mode=rankine; find=width[m]; U=5[m_s]; Q=10[m2_s])
model(potentialflow; mode=rankine; find=width[m]; U=5[m_s]; Q=10[m2_s])model(potentialflow; mode=rankine; find=width[m]; U=5[m_s]; Q=10[m2_s])
RG-58 coaxial cable: a characteristic impedance of about 50 Ω.
Input: model(conformal; mode=coax; find=Z[ohm]; a=0.45[mm]; b=1.475[mm]; er=2.25[one])
model(conformal; mode=coax; find=Z[ohm]; a=0.45[mm]; b=1.475[mm]; er=2.25[one])
model(conformal; mode=coax; find=Z[ohm]; a=0.45[mm]; b=1.475[mm]; er=2.25[one])model(conformal; mode=coax; find=Z[ohm]; a=0.45[mm]; b=1.475[mm]; er=2.25[one])
A two-wire line's capacitance by a Möbius map.
Input: model(conformal; mode=twowire; find=C[pF_m]; a=1[mm]; d=10[mm])
model(conformal; mode=twowire; find=C[pF_m]; a=1[mm]; d=10[mm])
model(conformal; mode=twowire; find=C[pF_m]; a=1[mm]; d=10[mm])model(conformal; mode=twowire; find=C[pF_m]; a=1[mm]; d=10[mm])
Steady temperature in a half-plane with a hot and a cold part of the boundary.
Input: model(conformal; mode=halfplane; find=T[degC]; T1=100[degC]; T2=20[degC]; x=0.5[m]; y=1[m])
model(conformal; mode=halfplane; find=T[degC]; T1=100[degC]; T2=20[degC]; x=0.5[m]; y=1[m])
model(conformal; mode=halfplane; find=T[degC]; T1=100[degC]; T2=20[degC]; x=0.5[m]; y=1[m])model(conformal; mode=halfplane; find=T[degC]; T1=100[degC]; T2=20[degC]; x=0.5[m]; y=1[m])
A circular hole in a plate under tension: a stress concentration factor of 3.
Input: model(hole; mode=uniaxial; find=Kt[one]; sx=100[MPa]; a=10[mm])
model(hole; mode=uniaxial; find=Kt[one]; sx=100[MPa]; a=10[mm])
model(hole; mode=uniaxial; find=Kt[one]; sx=100[MPa]; a=10[mm])model(hole; mode=uniaxial; find=Kt[one]; sx=100[MPa]; a=10[mm])
At 60° latitude lengths on the map are doubled.
Input: model(mercator; mode=point; find=k[one]; lat=60[deg])
model(mercator; mode=point; find=k[one]; lat=60[deg])
model(mercator; mode=point; find=k[one]; lat=60[deg])model(mercator; mode=point; find=k[one]; lat=60[deg])
Prague – New York: the great circle and the longer rhumb line.
Input: model(mercator; mode=rhumb; find=d[km]; lat1=50.08[deg]; lon1=14.42[deg]; lat2=40.71[deg]; lon2=-74.01[deg])
model(mercator; mode=rhumb; find=d[km]; lat1=50.08[deg]; lon1=14.42[deg]; lat2=40.71[deg]; lon2=-74.01[deg])
model(mercator; mode=rhumb; find=d[km]; lat1=50.08[deg]; lon1=14.42[deg]; lat2=40.71[deg]; lon2=-74.01[deg])model(mercator; mode=rhumb; find=d[km]; lat1=50.08[deg]; lon1=14.42[deg]; lat2=40.71[deg]; lon2=-74.01[deg])
The phase margin of a loop with three lags.
Input: model(control; mode=nyquist; integrators=0; find=PM[deg]; K=2[one]; T1=1[s]; T2=1[s]; T3=1[s])
model(control; mode=nyquist; integrators=0; find=PM[deg]; K=2[one]; T1=1[s]; T2=1[s]; T3=1[s])
model(control; mode=nyquist; integrators=0; find=PM[deg]; K=2[one]; T1=1[s]; T2=1[s]; T3=1[s])model(control; mode=nyquist; integrators=0; find=PM[deg]; K=2[one]; T1=1[s]; T2=1[s]; T3=1[s])
The root locus with an integrator: a critical gain of 3.
Input: model(control; mode=rootlocus; integrators=1; find=Kcrit[one]; K=1[one]; T1=1[s]; T2=0.5[s])
model(control; mode=rootlocus; integrators=1; find=Kcrit[one]; K=1[one]; T1=1[s]; T2=0.5[s])
model(control; mode=rootlocus; integrators=1; find=Kcrit[one]; K=1[one]; T1=1[s]; T2=0.5[s])model(control; mode=rootlocus; integrators=1; find=Kcrit[one]; K=1[one]; T1=1[s]; T2=0.5[s])
The Chebyshev filter order needed for 40 dB an octave higher.
Input: model(filterdesign; type=chebyshev; find=n[one]; fc=1000[Hz]; Ap=1[dB]; fs=2000[Hz]; As=40[dB])
model(filterdesign; type=chebyshev; find=n[one]; fc=1000[Hz]; Ap=1[dB]; fs=2000[Hz]; As=40[dB])
model(filterdesign; type=chebyshev; find=n[one]; fc=1000[Hz]; Ap=1[dB]; fs=2000[Hz]; As=40[dB])model(filterdesign; type=chebyshev; find=n[one]; fc=1000[Hz]; Ap=1[dB]; fs=2000[Hz]; As=40[dB])
A digital filter's impulse response with complex poles by residues.
Input: model(zfilter; find=h[one]; b0=1[one]; a1=-1.6[one]; a2=0.81[one]; n=10[one])
model(zfilter; find=h[one]; b0=1[one]; a1=-1.6[one]; a2=0.81[one]; n=10[one])
model(zfilter; find=h[one]; b0=1[one]; a1=-1.6[one]; a2=0.81[one]; n=10[one])model(zfilter; find=h[one]; b0=1[one]; a1=-1.6[one]; a2=0.81[one]; n=10[one])
An oscillator's quality factor from its poles' position.
Input: model(resonancecurve; system=mechanical; find=Q[one]; m=1[kg]; k=100[N_m]; b=2[kg_s])
model(resonancecurve; system=mechanical; find=Q[one]; m=1[kg]; k=100[N_m]; b=2[kg_s])
model(resonancecurve; system=mechanical; find=Q[one]; m=1[kg]; k=100[N_m]; b=2[kg_s])model(resonancecurve; system=mechanical; find=Q[one]; m=1[kg]; k=100[N_m]; b=2[kg_s])
The refractive index below a Lorentz oscillator's resonance, checked by the Kramers–Kronig relation.
Input: model(lorentz; mode=medium; find=n[one]; E0=2[eV]; G=0.1[eV]; Ep=1[eV]; E=1.5[eV])
model(lorentz; mode=medium; find=n[one]; E0=2[eV]; G=0.1[eV]; Ep=1[eV]; E=1.5[eV])
model(lorentz; mode=medium; find=n[one]; E0=2[eV]; G=0.1[eV]; Ep=1[eV]; E=1.5[eV])model(lorentz; mode=medium; find=n[one]; E0=2[eV]; G=0.1[eV]; Ep=1[eV]; E=1.5[eV])
The natural width of the sodium D line - about 10 MHz.
Input: model(lorentz; mode=spectralline; find=dnu[MHz]; tau=16[ns])
model(lorentz; mode=spectralline; find=dnu[MHz]; tau=16[ns])
model(lorentz; mode=spectralline; find=dnu[MHz]; tau=16[ns])model(lorentz; mode=spectralline; find=dnu[MHz]; tau=16[ns])
Matching a 100 Ω load to a 50 Ω line by a short-circuited stub.
Input: model(smith; find=stub[m]; Z0=50[ohm]; R=100[ohm]; X=0[ohm]; f=100[MHz])
model(smith; find=stub[m]; Z0=50[ohm]; R=100[ohm]; X=0[ohm]; f=100[MHz])
model(smith; find=stub[m]; Z0=50[ohm]; R=100[ohm]; X=0[ohm]; f=100[MHz])model(smith; find=stub[m]; Z0=50[ohm]; R=100[ohm]; X=0[ohm]; f=100[MHz])

Known limitations