A powerful mathematical concept useful for analyzing practically any physical system – electrical circuits included – is something called the *s *variable. The *s *variable is closely related to Euler’s Relation and phasor expressions of waveforms, which is why a discussion of it is included here.

### 5.6.1 Meaning of the *s *variable

As we saw previously, Euler’s Relation allows us to express rotating phasors as imaginary exponents of *e*. For example, *Ae*^{jθ} represents a phasor of length *A *at an angle of *θ *radians. *Ae*^{jωt} represents a phasor of length *A *rotating at a velocity of *ω *radians per second at a particular instant in time *t*. This happens to be an incredibly useful mathematical “trick” for representing sinusoidal waves in physical systems. For example, if we wished to mathematically express a sinusoidal AC voltage as a function of time with a peak voltage value of 10 volts and a frequency of 60 hertz (377 radians per second, since *ω *= 2*πf*), we could do so like this:

Exponential functions aren’t just useful for expressing sinusoidal waves, however. They also work well for expressing rates of *growth *and *decay*, as is the case with RC and L/R time-delay circuits where exponential functions describe the charging and discharging of capacitors and inductors. Here, the exponent is a real number rather than an imaginary number: the expression *e*^{−t∕τ} approaching zero as time (*t*) increases. The Greek letter “tau” (*τ*) represents the *time constant *of the circuit, which for capacitive circuits is the product of *R *and *C*, and for inductive circuits is the quotient of *L* and *R*. For example, if we wished to mathematically express the decaying voltage across a 33 *μ*F capacitor initially charged to 10 volts as it dissipates its stored energy through a 27 kΩ resistor (the circuit having a time constant of 0.891 seconds, since *τ *= *RC*), we could do so like this:

The sign of the exponential term here is very important: in this example we see it is a negative number. This tells us the function *decays *(approaches zero) over time, since larger positive values of *t *result in larger negative values of *t∕τ *(recall from algebra that a negative exponent is the equivalent of reciprocating the expression, so that *e*^{−x} = 1 /*e*^{x}). If the exponent were a real positive number, it would represent some quantity *growing *exponentially over time. If the exponent were zero, it would represent a *constant *quantity. We expect a discharging resistor-capacitor circuit to exhibit decaying voltage and current values, and so the negative exponent sign shown here makes sense.

If imaginary exponents of *e *represent phasors, and real exponents of *e *represent growth or decay, then a *complex *exponent of *e *(having both real and imaginary parts) must represent a phasor that grows or decays in magnitude over time. Engineers use the lower-case Greek letter “omega” (*ω*) along with the imaginary operator *j *to represent the imaginary portion, and the lower-case Greek letter “sigma”^{29} (*σ*) to represent the real portion. For example, if we wished to mathematically express a sine wave AC voltage with a frequency of 60 hertz (377 radians per second) and an amplitude beginning at 10 volts but decaying with a time constant (*τ*) of 25 milliseconds (*σ *= 1*∕τ *= 40 time constants per second), we could do so like this:

We may factor time from the exponential terms in this expression, since *t *appears both in the real and imaginary parts:

With *t *factored out, the remaining terms −40 + *j*377 completely describe the sinusoidal wave’s characteristics. The wave’s decay rate is described by the real term (*σ *= −40 time constants per second), while the wave’s phase is described by the imaginary term (*jω *= 377 radians per second). Engineers use a single variable *s *to represent the complex quantity *σ *+ *jω*, such that any growing or decaying sinusoid may be expressed very succinctly as follows:

Where,

*A *= Initial amplitude of the sinusoid (e.g. volts, amps) at time *t *= 0 (arbitrary units)

*s *= Complex growth/decay rate and frequency (sec^{−1})

*σ *= 1

*τ* = Real growth/decay rate (time constants per second, or sec^{−1})

*jω *= Imaginary frequency (radians per second, or sec^{−1})

*t *= Time (seconds)

Separating the expression *Ae*^{σt}*e*^{jωt} into three parts – *A*, *e*^{σt}, and *e*^{jωt} – we get a complete description of a rotating phasor:

*A *= Initial amplitude of the phasor (*t *= 0)

*e*^{σt} = How much the phasor’s magnitude has grown (*σ > *0) or decayed (*σ < *0) at time *t*

*e*^{jωt} = Unit phasor (length = 1) at time *t*

If we set *ω *at some constant value and experiment with different values of *σ*, we can see the effect *σ *has on the shape of the wave over time:

If we set *σ *at zero and experiment with different values^{30} of *ω*, we can see the effect *ω *has on the shape of the wave over time:

As we will soon see, characterizing a sinusoidal response using the complex variable *s *allows us to mathematically describe a great many things. Not only may we describe voltage waveforms using *s *as shown in these simple examples, but we may also describe the response of entire physical systems including electrical circuits, machines, feedback control systems, and even chemical reactions. In fact, it is possible to map the essential characteristics of *any *linear system in terms of how exponentially growing, decaying, or steady sinusoidal waves affect it, and that mapping takes the form of mathematical functions of *s*.

When engineers or technicians speak of a *resonant *system, they mean a circuit containing inductive and capacitive elements tending to sustain oscillations of a particular frequency (*ω*). A lossless resonant system (e.g. a superconducting tank circuit, a frictionless pendulum) may be expressed by setting the real portion of *s *equal to zero (*σ *= 0 ; no growth or decay) and letting the imaginary portion represent the resonant frequency (*jω *= *j*2*πf*). Real-life resonant systems inevitably dissipate some energy, and so a real resonant system’s expression will have both an imaginary portion to describe resonant frequency and a negative real portion to describe the oscillation’s rate of decay over time.

Systems exhibiting a positive *σ *value are especially interesting because they represent *instability*: unrestrained oscillatory growth over time. A feedback control loop with excessive gain programmed into the loop controller is a simple example of a system where *σ > *1. This situation, of course, is highly undesirable for any control system where the goal is to maintain the process variable at a steady setpoint.

#### 5.6.2 Impedance expressed using the *s *variable

Previously, we saw how the impedance of inductors and capacitors could be calculated using *jω *to represent the frequency of the applied signal. Doing so greatly simplified the mathematics by eliminating the need to manipulate trigonometric functions such as sine and cosine. Here, we will discover that *s *works just as nicely for the same task, with the added benefit of showing how inductors and capacitors react to exponentially growing or decaying signals.

First, let’s begin with capacitors. We know that voltage across a capacitor and current “through” a capacitor are related as follows:

Next, we substitute an expression^{31} for voltage in terms of *s *and then use calculus to differentiate it with respect to time:

The ratio of *V* _ *I* (the definition of impedance) will then be:

Instead of the common scalar expression for capacitive impedance (*Z*_{C} = 1 /2*πfC* ) which only tells us the magnitude of the impedance (in ohms) but not the phase shift, we have a complex expression for capacitive impedance (*Z*_{C} = 1 / *sC* ) describing magnitude, phase shift, and its reaction to the growth or decay of the signal.

Likewise, we may do the same for inductors. Recall that voltage across an inductor and current through an inductor are related as follows:

Substituting an expression for current in terms of *s *and using calculus to differentiate it with respect to time:

The ratio of *V* _ *I* (the definition of impedance) will then be:

As with capacitors, we now have a complex expression for inductive impedance describing magnitude, phase shift, and its reaction to signal growth or decay (*Z*_{L} = *sL*) instead of merely having a scalar expression for inductive impedance (*Z*_{L} = 2*πfL*).

Resistors directly oppose current by dropping voltage, with no regard to rates of change. Therefore, there are no derivatives in the relationship between voltage across a resistor and current through a resistor:

If we substitute *e*^{st} for current into this formula, we will see that voltage must equal *Re*^{st}. Solving for the ratio of voltage over current to define impedance:

Not surprisingly, all traces of *s *cancel out for a pure resistor: its impedance is exactly equal to its DC resistance.

In summary:

Now let’s explore these definitions of impedance using real numerical values. First, let’s consider a 22 *μ*F capacitor exposed to a steady AC signal with a frequency of 500 Hz. Since the signal in this case is steady (neither growing nor decaying in magnitude), the value of *σ *will be equal to zero. *ω *is equal to 2*πf*, and so a frequency of 500 Hz is equal to 3141.6 radians per second. Calculating impedance is as simple as substituting these values for *s *and computing 1*∕sC*:

Thus, the impedance of this capacitor will be 14.469 ohms at a phase angle of −90^{o}. The purely imaginary nature of this impedance (its orthogonal phase shift between voltage and current) tells us there is no net power dissipated by the capacitor. Rather, the capacitor spends its time alternately absorbing and releasing energy to and from the circuit.

Next, we will consider the case of a 150 mH inductor exposed to an exponentially rising DC signal with a time constant (*τ*) of 5 seconds. 5 seconds per time constant (*τ*) is equal to 0.2 time constants per second (*σ*). Since the signal in this case is DC and not AC, the value of *ω *will be equal to zero. Calculating impedance, once again, is as simple as substituting these values for *s *and computing *sL*:

Thus, the impedance of this inductor will be 0.03 ohms at a phase angle of 0^{o}. The purely real nature of this impedance (i.e. no phase shift between voltage and current) tells us energy will be continually absorbed by the inductor, and for this reason it will be seen by the rest of the circuit as though it were a resistor dissipating energy for however long the signal continues to exponentially grow.

A phase shift of 0 degrees for a reactive component such as an inductor may come as a surprise to students accustomed to thinking of inductive impedances *always *having 90 degree phase shifts! However, the application of the complex variable *s *to impedance mathematically demonstrates we can indeed have conditions of no phase shift given just the right circumstances. This makes conceptual sense as well if we consider how inductors store energy: if the current through an inductor increases exponentially over time, never reversing direction, it means the inductor’s magnetic field will always be growing and therefore absorbing more energy from the rest of the circuit.

We see something even more interesting happen when we subject a reactive component to a *decaying* DC signal. Take for example a 33,000 *μ*F capacitor exposed to a decaying DC signal with a time constant of 65 milliseconds. 65 milliseconds per time constant (*τ*) is equal to 15.38 time constants per second (*σ*). Once again *ω *will be zero because this is a non-oscillating signal. Calculating capacitive impedance:

A *negative *real impedance figure represents a phase shift of 180^{o} between voltage and current. Once again, this may surprise students of electronics who are accustomed to thinking of capacitive impedances *always *having phase shifts of −90 degrees. What a 180 degree phase shift means is the direction of current with respect to voltage polarity has the capacitor functioning as an energy *source *rather than as a *load*. If we consider what happens to a capacitor when it discharges, the 180 degree phase shift makes sense: current flowing in this direction depletes the capacitor’s plates of stored charge, which means the electric field within the capacitor weakens over time as it releases that energy to the rest of the circuit.