# Integrals in Electric Circuits

Derivatives and integrals are widely used to describe transient processes in electric circuits. Below, we look at some typical problems that can be solved using integration. We confine ourselves to consideration of first order circuits.

## Relationship Between Charge and Current

Electric current *I* is defined as the rate of flow of charge *Q* and is expressed by the derivative

Turning the equation the other way round, we get the integral formula

which represents the amount of charge passing through the wire between the times \(t = {t_1}\) and \(t = {t_2}.\)

## RC Circuit

A simple series RC Circuit is an electric circuit composed of a resistor and a capacitor.

After the switch is closed at time \(t = 0,\) the current begins to flow across the circuit. The voltage across the resistor is given by the Ohm's law:

The voltage across the capacitor is expressed by the integral

where \(C\) is a capacitance value, \(s\) is the internal variable of integration.

By the Kirchhoff's voltage law (KVL), we can write

where \(\varepsilon\) is the electromotive force (emf) of the power supply (we assume that \(\varepsilon\) is constant).

Hence,

By differentiating with respect to \(t,\) we can convert this integral equation into a linear differential equation:

which has the solution in the form

The time constant \(\tau = RC\) here determines how quickly the transient process in the circuit occurs.

## RL Circuit

A simple RL Circuit has a resistor and an inductor connected in series.

When the switch at time \(t = 0\) is closed, a constant emf \(\varepsilon\) is applied and the current \(I\) begins to flow across the circuit.

Similarly to the previous section, the voltage across the resistor is given by

The voltage across the inductor is expressed by the derivative

So, by KVL,

or

Integrating this linear differential equation with the initial condition \(I\left( {t = 0} \right) = 0\) gives the following solution:

We see that the time constant for an RL circuit is given by \(\tau = \frac{L}{R}.\)

## Power and Energy

Electric energy \(E,\) measured in joules (J), is a form of energy that results from kinetic or potential energy possessed by electric charges.

Electric power \(P,\) measured in watts (W), is the rate at which electric energy is transferred by an electric circuit.

The power dissipated in a direct current \(\left({DC}\right)\) circuit element is given by the formula

where \(V\) is the voltage across the element and \(I\) is the current in the circuit.

In particular, if the power is dissipated in a resistor of resistance \(R,\) then

The energy dissipated by a \(DC\) circuit element during the time period \(\left[ {0,t} \right]\) is given by

When the voltage and current change in time, the instantaneous power is defined as

In this case, the energy dissipated during the time interval \(\left[ {0,t} \right]\) is given by the integral

where \(s\) is the internal variable of integration.

## Energy Stored in a Capacitor

Moving a small charge \(dq\) from one plate of a capacitor to the other requires the work

where \(C\) is the capacitance and \(q\) is the current charge of the capacitor.

Integrating from \(q = 0\) to \(q = Q\) gives the total energy stored in the capacitor:

## Energy Stored in an Inductor

Increasing the current in an inductor by a small value of \(di\) requires the work

Integrating from \(i = 0\) to \(i = I\) gives the total energy stored in the inductor:

## Solved Problems

### Example 1.

The current in a circuit element varies according to the law \[I(t) = \begin{cases} 2t, & 0 \lt t \le 3 \\ {t^2} - 4, & t \gt 3 \end{cases},\] where the current \(I\) is measured in \(A\), and time \(t\) is measured in \({sec}.\) Find the total charge that has entered the element by time \(T = 6\,s.\)

Solution.

The total charge \(Q,\) measured in coulombs \(\left( C \right)\), is obtained by integration of the current \(I\left( t \right)\) over the time interval \(\left[ {0,T} \right]:\)

### Example 2.

The current in a circuit increases linearly in time as \(I\left( t \right) = \alpha t\) during the time interval \(\left[ {0,T} \right]\) and causes the resistor \(R\) to heat up. Assuming that the heating process is adiabatic, determine how the change in temperature of the resistor \(\Delta T\) depends on the rate \(\alpha.\) The specific heat capacity of the resistor material is \(c,\) the mass of the resistor is \(m.\)

Solution.

The power delivered to the resistor is given by

The thermal energy dissipated in the element during the time interval \(\left[ {0,T} \right]\) can be found through integration:

Since the process is adiabatic, we can write the following energy balance equation:

Hence

Thus, the change in temperature \(\Delta \theta\) is proportional to the current rate \(\alpha\) squared.

### Example 3.

Suppose a capacitor \(C\) is being charged using a source with a constant emf \(\varepsilon.\) Calculate the thermal energy dissipated by the resistor \(R\) over the charging time.

Solution.

As the capacitor is charging, the current in the circuit varies according to the law

The power loss in the resistor \(R\) is given by

The total energy \({E_R}\) lost on the resistor over the charging period can be found through integration:

Note that the energy \({E_R}\) dissipated by the resistor while charging the capacitor is equal to the energy \({E_C}\) stored in the capacitor:

### Example 4.

When the switch is closed at time \(t = 0,\) the initial current in a source-free \(RL\) circuit is \({I_0} = 1\,A.\) Find the energy \({E_R}\) dissipated by the resistor between \(t = 0\) and \(T = 1\,ms,\) if \(R = 50\,k\Omega,\) \(L = 0.1\,H.\)

Solution.

By the KVL, we can write:

This differential equation has the solution

The instantaneous power delivered to the resistor is given by

By integrating the power from \(t = 0\) to \(T = 1\,ms = 0.001\,s,\) we find the energy dissipated in the resistor during the time interval:

Substituting the known values, we get: