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
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])](img/cx-cylinder.png)
![model(potentialflow; mode=flowcylinder; find=stag[deg]; U=10[m_s]; R=0.5[m]; G=20[m2_s])](img/cx-cylinder-1.png)
![model(potentialflow; mode=flowcylinder; find=stag[deg]; U=10[m_s]; R=0.5[m]; G=20[m2_s])](img/cx-cylinder-2.png)
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])](img/cx-joukowski.png)
![model(potentialflow; mode=joukowski; find=CL[one]; U=50[m_s]; ch=1.5[m]; tc=12[pct]; fc=2[pct]; aoa=4[deg])](img/cx-joukowski-1.png)
![model(potentialflow; mode=joukowski; find=CL[one]; U=50[m_s]; ch=1.5[m]; tc=12[pct]; fc=2[pct]; aoa=4[deg])](img/cx-joukowski-2.png)
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])](img/cx-rankine.png)
![model(potentialflow; mode=rankine; find=width[m]; U=5[m_s]; Q=10[m2_s])](img/cx-rankine-1.png)
![model(potentialflow; mode=rankine; find=width[m]; U=5[m_s]; Q=10[m2_s])](img/cx-rankine-2.png)
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])](img/cx-coax.png)
![model(conformal; mode=coax; find=Z[ohm]; a=0.45[mm]; b=1.475[mm]; er=2.25[one])](img/cx-coax-1.png)
![model(conformal; mode=coax; find=Z[ohm]; a=0.45[mm]; b=1.475[mm]; er=2.25[one])](img/cx-coax-2.png)
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])](img/cx-twowire.png)
![model(conformal; mode=twowire; find=C[pF_m]; a=1[mm]; d=10[mm])](img/cx-twowire-1.png)
![model(conformal; mode=twowire; find=C[pF_m]; a=1[mm]; d=10[mm])](img/cx-twowire-2.png)
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])](img/cx-heat.png)
![model(conformal; mode=halfplane; find=T[degC]; T1=100[degC]; T2=20[degC]; x=0.5[m]; y=1[m])](img/cx-heat-1.png)
![model(conformal; mode=halfplane; find=T[degC]; T1=100[degC]; T2=20[degC]; x=0.5[m]; y=1[m])](img/cx-heat-2.png)
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])](img/cx-kirsch.png)
![model(hole; mode=uniaxial; find=Kt[one]; sx=100[MPa]; a=10[mm])](img/cx-kirsch-1.png)
![model(hole; mode=uniaxial; find=Kt[one]; sx=100[MPa]; a=10[mm])](img/cx-kirsch-2.png)
model(mercator; mode=point; find=k[one]; lat=60[deg])![model(mercator; mode=point; find=k[one]; lat=60[deg])](img/cx-mercator.png)
![model(mercator; mode=point; find=k[one]; lat=60[deg])](img/cx-mercator-1.png)
![model(mercator; mode=point; find=k[one]; lat=60[deg])](img/cx-mercator-2.png)
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])](img/cx-rhumb.png)
![model(mercator; mode=rhumb; find=d[km]; lat1=50.08[deg]; lon1=14.42[deg]; lat2=40.71[deg]; lon2=-74.01[deg])](img/cx-rhumb-1.png)
![model(mercator; mode=rhumb; find=d[km]; lat1=50.08[deg]; lon1=14.42[deg]; lat2=40.71[deg]; lon2=-74.01[deg])](img/cx-rhumb-2.png)
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])](img/cx-nyquist.png)
![model(control; mode=nyquist; integrators=0; find=PM[deg]; K=2[one]; T1=1[s]; T2=1[s]; T3=1[s])](img/cx-nyquist-1.png)
![model(control; mode=nyquist; integrators=0; find=PM[deg]; K=2[one]; T1=1[s]; T2=1[s]; T3=1[s])](img/cx-nyquist-2.png)
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])](img/cx-rootlocus.png)
![model(control; mode=rootlocus; integrators=1; find=Kcrit[one]; K=1[one]; T1=1[s]; T2=0.5[s])](img/cx-rootlocus-1.png)
![model(control; mode=rootlocus; integrators=1; find=Kcrit[one]; K=1[one]; T1=1[s]; T2=0.5[s])](img/cx-rootlocus-2.png)
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])](img/cx-chebyshev.png)
![model(filterdesign; type=chebyshev; find=n[one]; fc=1000[Hz]; Ap=1[dB]; fs=2000[Hz]; As=40[dB])](img/cx-chebyshev-1.png)
![model(filterdesign; type=chebyshev; find=n[one]; fc=1000[Hz]; Ap=1[dB]; fs=2000[Hz]; As=40[dB])](img/cx-chebyshev-2.png)
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])](img/cx-zfilter.png)
![model(zfilter; find=h[one]; b0=1[one]; a1=-1.6[one]; a2=0.81[one]; n=10[one])](img/cx-zfilter-1.png)
![model(zfilter; find=h[one]; b0=1[one]; a1=-1.6[one]; a2=0.81[one]; n=10[one])](img/cx-zfilter-2.png)
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])](img/cx-resonance.png)
![model(resonancecurve; system=mechanical; find=Q[one]; m=1[kg]; k=100[N_m]; b=2[kg_s])](img/cx-resonance-1.png)
![model(resonancecurve; system=mechanical; find=Q[one]; m=1[kg]; k=100[N_m]; b=2[kg_s])](img/cx-resonance-2.png)
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])](img/cx-lorentz.png)
![model(lorentz; mode=medium; find=n[one]; E0=2[eV]; G=0.1[eV]; Ep=1[eV]; E=1.5[eV])](img/cx-lorentz-1.png)
![model(lorentz; mode=medium; find=n[one]; E0=2[eV]; G=0.1[eV]; Ep=1[eV]; E=1.5[eV])](img/cx-lorentz-2.png)
model(lorentz; mode=spectralline; find=dnu[MHz]; tau=16[ns])![model(lorentz; mode=spectralline; find=dnu[MHz]; tau=16[ns])](img/cx-line.png)
![model(lorentz; mode=spectralline; find=dnu[MHz]; tau=16[ns])](img/cx-line-1.png)
![model(lorentz; mode=spectralline; find=dnu[MHz]; tau=16[ns])](img/cx-line-2.png)
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])](img/cx-smith.png)
![model(smith; find=stub[m]; Z0=50[ohm]; R=100[ohm]; X=0[ohm]; f=100[MHz])](img/cx-smith-1.png)
![model(smith; find=stub[m]; Z0=50[ohm]; R=100[ohm]; X=0[ohm]; f=100[MHz])](img/cx-smith-2.png)
Known limitations
- The flow is ideal: no viscosity, separation or wake. The model gives neither the drag nor the behaviour at large angles of attack.
- The conformal maps are for the listed shapes only; a general shape of conductors or an airfoil (the Schwarz–Christoffel transformation) isn't supported yet.
- The loop's transfer function has a fixed form with three lags and at most two integrators; zeros in the numerator and an unstable open loop aren't supported yet.
- The digital filter is of second order, the analog filters low-pass only.