# Circuit Theory/Laplace Transform

## Laplace Transform

The Laplace Transform is a powerful tool that is very useful in Electrical Engineering. The transform allows equations in the "time domain" to be transformed into an equivalent equation in the Complex S Domain. The laplace transform is an integral transform, although the reader does not need to have a knowledge of integral calculus because all results will be provided. This page will discuss the Laplace transform as being simply a tool for solving and manipulating ordinary differential equations.

Laplace transformations of circuit elements are similar to phasor representations, but they are not the same. Laplace transformations are more general than phasors, and can be easier to use in some instances. Also, do not confuse the term "Complex S Domain" with the complex power ideas that we have been talking about earlier. Complex power uses the variable $\mathbb {S}$ , while the Laplace transform uses the variable s. The Laplace variable s has nothing to do with power.

The transform is named after the mathematician Pierre Simon Laplace (1749-1827). The transform itself did not become popular until Oliver Heaviside, a famous electrical engineer, began using a variation of it to solve electrical circuits.

## Laplace Domain

The Laplace domain, or the "Complex s Domain" is the domain into which the Laplace transform transforms a time-domain equation. s is a complex variable, composed of real and imaginary parts:

$s=\sigma +j\omega$

The Laplace domain graphs the real part (σ) as the horizontal axis, and the imaginary part (ω) as the vertical axis. The real and imaginary parts of s can be considered as independent quantities.

The similarity of this notation with the notation used in Fourier transform theory is no coincidence; for $\sigma =0$ , the Laplace transform is the same as the Fourier transform if the signal is causal.

## The Transform

The mathematical definition of the Laplace transform is as follows:

[The Laplace Transform]

$F(s)={\mathcal {L}}\left\{f(t)\right\}=\int _{0^{-}}^{\infty }e^{-st}f(t)\,dt$
Note:
The letter s has no special significance, and is used with the Laplace Transform as a matter of common convention.

The transform, by virtue of the definite integral, removes all t from the resulting equation, leaving instead the new variable s, a complex number that is normally written as $s=\sigma +j\omega$ . In essence, this transform takes the function f(t), and "transforms it" into a function in terms of s, F(s). As a general rule the transform of a function f(t) is written as F(s). Time-domain functions are written in lower-case, and the resultant s-domain functions are written in upper-case.

There is a table of Laplace Transform pairs in
the Appendix

we will use the following notation to show the transform of a function:

$f(t)\Leftrightarrow F(s)$

We use this notation, because we can convert F(s) back into f(t) using the inverse Laplace transform.

## The Inverse Transform

The inverse laplace transform converts a function in the complex S-domain to its counterpart in the time-domain. Its mathematical definition is as follows:

[Inverse Laplace Transform]

${\mathcal {L}}^{-1}\left\{F(s)\right\}={1 \over {2\pi }}\int _{c-i\infty }^{c+i\infty }e^{ft}F(s)\,ds=f(t)$

where $c$  is a real constant such that all of the poles $s_{1},s_{2},...,s_{n}$  of $F(s)$  fall in the region ${\mathfrak {R}}\{s_{i}\} . In other words, $c$  is chosen so that all of the poles of $F(s)$  are to the left of the vertical line intersecting the real axis at $s=c$ .

The inverse transform is more difficult mathematically than the transform itself is. However, luckily for us, extensive tables of laplace transforms and their inverses have been computed, and are available for easy browsing.

## Transform Properties

There is a table of Laplace Transform properties in
The Appendix

The most important property of the Laplace Transform (for now) is as follows:

${\mathcal {L}}\left\{f'(t)\right\}=sF(s)-f(0)$

Likewise, we can express higher-order derivatives in a similar manner:

${\mathcal {L}}\left\{f''(t)\right\}=s^{2}F(s)-sf(0)-f'(0)$

Or for an arbitrary derivative:

${\mathcal {L}}\left\{f^{(n)}(t)\right\}=s^{n}F(s)-\sum _{i=0}^{n-1}s^{(n-1-i)}f^{(i)}(0)$

where the notation $f^{(n)}(t)$  means the nth derivative of the function $f$  at the point $t$ , and $f^{(0)}(t)$  means $f(t)$ .

In plain English, the laplace transform converts differentiation into polynomials. The only important thing to remember is that we must add in the initial conditions of the time domain function, but for most circuits, the initial condition is 0, leaving us with nothing to add.

For integrals, we get the following:

${\mathcal {L}}\left\{\int _{0}^{t}f(t)\,dt\right\}={1 \over s}F(s)$

## Initial Value Theorem

The Initial Value Theorem of the laplace transform states as follows:

[Initial Value Theorem]

$f(0)\Leftrightarrow \lim _{s\to \infty }sF(s)$

This is useful for finding the initial conditions of a function needed when we perform the transform of a differentiation operation (see above).

## Final Value Theorem

Similar to the Initial Value Theorem, the Final Value Theorem states that we can find the value of a function f, as t approaches infinity, in the laplace domain, as such:

[Final Value Theorem]

$\lim _{t\to \infty }f(t)\Leftrightarrow \lim _{s\to 0}sF(s)$

This is useful for finding the steady state response of a circuit. The final value theorem may only be applied to stable systems.

## Transfer Function

If we have a circuit with impulse-response h(t) in the time domain, with input x(t) and output y(t), we can find the Transfer Function of the circuit, in the laplace domain, by transforming all three elements:

In this situation, H(s) is known as the "Transfer Function" of the circuit. It can be defined as both the transform of the impulse response, or the ratio of the circuit output to its input in the Laplace domain:

[Transfer Function]

$H(s)={\mathcal {L}}\left\{h(t)\right\}={\frac {Y(s)}{X(s)}}$

Transfer functions are powerful tools for analyzing circuits. If we know the transfer function of a circuit, we have all the information we need to understand the circuit, and we have it in a form that is easy to work with. When we have obtained the transfer function, we can say that the circuit has been "solved" completely.

## Convolution Theorem

Earlier it was mentioned that we could compute the output of a system from the input and the impulse response by using the convolution operation. As a reminder, given the following system: x(t) = system input h(t) = impulse response y(t) = system output

We can calculate the output using the convolution operation, as such:

$y(t)=x(t)*h(t)$

Where the asterisk denotes convolution, not multiplication. However, in the S domain, this operation becomes much easier, because of a property of the laplace transform:

[Convolution Theorem]

${\mathcal {L}}\left\{a(t)*b(t)\right\}=A(s)B(s)$

Where the asterisk operator denotes the convolution operation. This leads us to an English statement of the convolution theorem:

Convolution in the time domain becomes multiplication in the S domain, and convolution in the S domain becomes multiplication in the time domain.

Now, if we have a system in the Laplace S domain: X(s) = Input H(s) = Transfer Function Y(s) = Output

We can compute the output Y(s) from the input X(s) and the Transfer Function H(s):

$Y(s)=X(s)H(s)$

Notice that this property is very similar to phasors, where the output can be determined by multiplying the input by the network function. The network function and the transfer function then, are very similar quantities.

## Resistors

The laplace transform can be used independently on different circuit elements, and then the circuit can be solved entirely in the S Domain (Which is much easier). Let's take a look at some of the circuit elements:

Resistors are time and frequency invariant. Therefore, the transform of a resistor is the same as the resistance of the resistor:

[Transform of Resistors]

$R(s)=r$

Compare this result to the phasor impedance value for a resistance r:

$Z_{r}=r\angle 0$

You can see very quickly that resistance values are very similar between phasors and laplace transforms.

## Ohm's Law

If we transform Ohm's law, we get the following equation:

[Transform of Ohm's Law]

$V(s)=I(s)R$

Now, following ohms law, the resistance of the circuit element is a ratio of the voltage to the current. So, we will solve for the quantity ${\frac {V(s)}{I(s)}}$ , and the result will be the resistance of our circuit element:

$R={\frac {V(s)}{I(s)}}$

This ratio, the input/output ratio of our resistor is an important quantity, and we will find this quantity for all of our circuit elements. We can say that the transform of a resistor with resistance r is given by:

[Tranform of Resistor]

${\mathcal {L}}\{{\text{resistor}}\}=R=r$

## Capacitors

Let us look at the relationship between voltage, current, and capacitance, in the time domain:

$i(t)=C{\frac {dv(t)}{dt}}$

Solving for voltage, we get the following integral:

$v(t)={\frac {1}{C}}\int _{t_{0}}^{\infty }i(t)dt$

Then, transforming this equation into the laplace domain, we get the following:

$V(s)={\frac {1}{C}}{\frac {1}{s}}I(s)$

Again, if we solve for the ratio ${\frac {V(s)}{I(s)}}$ , we get the following:

${\frac {V(s)}{I(s)}}={\frac {1}{sC}}$

Therefore, the transform for a capacitor with capacitance C is given by:

[Transform of Capacitor]

${\mathcal {L}}\{{\mbox{capacitor}}\}={\frac {1}{sC}}$

## Inductors

Let us look at our equation for inductance:

$v(t)=L{\frac {di(t)}{dt}}$

putting this into the laplace domain, we get the formula:

$V(s)=sLI(s)$

And solving for our ratio ${\frac {V(s)}{I(s)}}$ , we get the following:

${\frac {V(s)}{I(s)}}=sL$

Therefore, the transform of an inductor with inductance L is given by:

[Transform of Inductor]

${\mathcal {L}}\{{\text{inductor}}\}=sL$

## Impedance

Since all the load elements can be combined into a single format dependent on s, we call the effect of all load elements impedance, the same as we call it in phasor representation. We denote impedance values with a capital Z (but not a phasor $\mathbb {Z}$ ).

## Determining electric current in circuits

In the network shown, determine the character of the currents $I_{1}(t)$ , $I_{2}(t)$ , and $I_{3}(t)$  assuming that each current is zero when the switch is closed.

### Solution

#### Current flow at a joint in circuit

Since the algebraic sum of the currents at any junction is zero, then

$I_{1}(t)-I_{2}(t)-I_{3}(t)=0$ .........(182)

#### Voltage balance on a circuit

Applying the voltage law to the circuit on the left we get

$I_{1}(t)R_{1}+L_{2}{\frac {dI_{2}(t)}{dt}}\ =E(t)$ ......... (182-1)

Applying again the voltage law to the outside circuit, given that E is constant, we get

$I_{1}(t)R_{1}+I_{3}(t)R_{3}+L_{3}{\frac {dI_{3}(t)}{dt}}\ =E(t)$ ......... (182-2)

#### Laplace Transforms of current and voltage equations

Transforming (182), (182-1) and (182-2), we get

$i_{1}(s)-i_{2}(s)-i_{3}(s)=0$ .........(182-3)

$i_{1}(s)R_{1}+sL_{2}i_{2}(s)={\frac {E}{s}}\$ ......... (182-4)

$i_{1}(s)R_{1}+(R_{3}+sL_{3})i_{3}(s)={\frac {E}{s}}\$  ......... (182-5)

##### Review on implementing Laplace Transformation

The three Laplace transformed equations (182-3), (182-4), and (182-5) show the benefits of integral transformation in converting differential equations into linear algebraic equations that could be solved for the dependent variables (the three currents in this case), then inverse transformed to yield the required solution.

• In equation (182-3), we utilized the sum property of Laplace transforms.
• In equation (182-4), we utilized the transform of differential derivative as follows.

$si_{2}(s)-I_{2}(0)={\mathcal {L}}\left\lbrace {\frac {dI_{2}}{dt}}\right\rbrace$ .........(182-4.1)

Since, substituted by the given initial condition: $I_{2}(0)=0$

• In equation (182-5), we also utilized the transform of differential derivative

$si_{3}(s)-I_{3}(0)={\mathcal {L}}\left\lbrace {\frac {dI_{3}}{dt}}\right\rbrace$ .........(182-5.2)

Again, we substituted by the given initial condition: $I_{3}(0)=0$

The fact that the applied voltage was a step function, implied the use of Laplace transform of a step function, as follows:

${\frac {E}{s}}={\mathcal {L}}\left\lbrace E\right\rbrace$ .........(182-5.3)

#### Solution linear simultaneous equations

The three linear simultaneous equations (182-3), (182-4), and (182-5) have the three unknown $i_{1}(s)$ , $i_{2}(s)$ , and $i_{3}(s)$  and can be solved by Cramer’s rule of matrices among other simple methods of elimination, as follows.

$i_{1}(s)={\frac {\begin{vmatrix}0&-1&-1\\{\frac {E}{s}}\ &sL_{2}&0\\{\frac {E}{s}}\ &0&R_{3}+sL_{3}\\\end{vmatrix}}{\Delta }}={\frac {E}{s}}{\frac {R_{3}+s(L_{2}+L_{3})}{\Delta }}$  ......... (182-6)

Where, the determinant ∆ for the matrix is determined as follows

$\Delta ={\begin{vmatrix}1&-1&-1\\R_{1}&sL_{2}&0\\R_{1}&0&R_{3}+sL_{3}\\\end{vmatrix}}={\begin{vmatrix}1&0&0\\R_{1}&sL_{2}+R_{1}&R_{1}\\R_{1}&R_{1}&R_{1}+R_{3}+sL_{3}\\\end{vmatrix}}$

$\Delta =s^{2}L_{2}L_{3}+s(R_{1}L_{2}+R_{3}L_{2}+R_{1}R_{3})+R_{1}R_{3}$ ......... (182-6.1)

Since we are interested in the factors of Δ, we consider the equation Δ =0. Since all coefficients of this equation are positive, hence it cannot have any positive roots. Its discriminant is

$(R_{1}L_{2}+R_{3}L_{2}+R_{1}R_{3})^{2}-4L_{2}L_{3}R_{1}R_{3}$  ........ (182-6.1.1)

which can be written

$R_{1}^{2}L_{2}^{2}+2R_{1}L_{2}(R_{3}L_{2}+R_{1}L_{3})+(R_{3}L_{2}-R_{1}L_{3})^{2}$ ........ (182-6.1.2)

which is positive. Hence the equation Δ = 0 has two negative distinct roots $-\alpha _{1}$  and $-\alpha _{2}$ , say.

Therefore,

$\Delta =L_{2}L_{3}(s+\alpha _{1})(s+\alpha _{2})$  ......... (182-6.2)

Where,$-\alpha _{1}$  and $-\alpha _{2}$  are the roots of the quadratic equation (182-6.1) as follows

$\alpha _{1}={\frac {1}{2}}\left\lbrace {\frac {R_{1}L_{2}+R_{3}L_{2}+R_{1}R_{3}}{L_{2}L_{3}}}+{\sqrt {\left({\frac {R_{1}L_{2}+R_{3}L_{2}+R_{1}R_{3}}{L_{2}L_{3}}}\right)^{2}-4{\frac {R_{1}R_{3}}{L_{2}L_{3}}}}}\right\rbrace$  ......... (182-6.2.1)

$\alpha _{2}={\frac {1}{2}}\left\lbrace {\frac {R_{1}L_{2}+R_{3}L_{2}+R_{1}R_{3}}{L_{2}L_{3}}}-{\sqrt {\left({\frac {R_{1}L_{2}+R_{3}L_{2}+R_{1}R_{3}}{L_{2}L_{3}}}\right)^{2}-4{\frac {R_{1}R_{3}}{L_{2}L_{3}}}}}\right\rbrace$  ......... (182-6.2.2)

Therefore, equations (182-6) and (186-6.2) give

$i_{1}(s)={\frac {E}{s}}.{\frac {R_{3}+s(L_{2}+L_{3})}{L_{2}L_{3}(s+\alpha _{1})(s+\alpha _{2})}}$

$i_{1}(s)={\frac {A_{0}}{s}}+{\frac {A_{1}}{s+\alpha _{1}}}+{\frac {A_{1}}{s+\alpha _{2}}}$  .........(182-7)

The constants $A_{0}$ , $A_{1}$ , and $A_{2}$  are obtained in terms of $R_{1}$ , $L_{2}$ , $L_{3}$ , and $R_{3}$  and are given as:

$A_{0}=-{\frac {ER_{3}}{L_{2}L_{3}\alpha _{1}\alpha _{2}}}$  .........(182-7.1)

$A_{1}=E{\frac {R_{3}\alpha _{2}-\alpha _{1}\alpha _{2}(L_{2}+L_{3})}{L_{2}L_{3}\alpha _{1}\alpha _{2}(\alpha _{1}-\alpha _{2})}}$ .........(182-7.2)

$A_{2}=E{\frac {\alpha _{2}(L_{2}+L_{3})-R_{3}}{L_{2}L_{3}\alpha _{2}(\alpha _{1}-\alpha _{2})}}$ .........(182-7.3)

#### Inverse Laplace Transforms of current equations

The inverse Laplace transform of (182-7) is therefore,

$I_{1}(t)={\mathcal {L}}^{-1}\left\lbrace {\frac {A_{0}}{s}}+{\frac {A_{1}}{s+\alpha _{1}}}+{\frac {A_{1}}{s+\alpha _{2}}}\right\rbrace =A_{0}+A_{1}e^{-\alpha _{1}t}+A_{2}e^{-\alpha _{2}t}$ .........(182-8)

The remaining variables $I_{2}(t)$  and $I_{3}(t)$  and the corresponding voltages are determined by equations (182), (182-1) and (182-2)

##### Analysis of circuit dynamics

The electric current $I_{1}(t)$  in equation (182-8) shows a time-independent component $A_{0}$  and two decay terms, which reach asymptotic values as t reaches ∞. In other words, the currents in the three circuits lack sinusoidal osculation, mainly because: (1) the applied voltage is constant and (2) the circuit does not have capacitance components.

Notes: This example could be modified in various ways to involve voltage impulse, sinusoidal voltage source, capacitance,and various boundary and initial conditions of charges and currents.

## Generalization of the method

In the above example, the following modifications can be made:

(1) The applied voltage in the Krichhoff's equation can take many forms such as

• :$E(t)=E_{o}\delta (t)$
• :$E(t)=E_{o}\sin(\omega t)$
• :$E(t)=E_{o}f(t)$

(2) Capacitance add the integral term of current over the duration as

• : ${\frac {1}{C}}\int _{0}^{t}I(\tau )d\tau$