ResearchForge / Calculators
← all articles
electric-circuitschargecurrentintegrationdifferentiationoptimizationSat Apr 25
3Blue1Brown-style animation reel

Electric Circuits: Step-by-Step Derivations

Abstract

This article develops the fundamental relationships between charge, current, and power in electric circuits through rigorous mathematical derivation. We establish the integral and differential forms connecting these quantities, demonstrate how to locate maximum current in transient responses, and illustrate the passive sign convention for power calculation. The treatment emphasizes the calculus foundations underlying circuit analysis and provides worked examples showing practical application.

Background

Electric circuit analysis rests on a small set of foundational definitions and relationships. The most basic is the definition of current itself: [electric-current-definition] establishes that current is the instantaneous rate at which charge flows past a point, formally written as the time derivative of charge. This simple definition—i=dqdti = \frac{dq}{dt}—unlocks a rich set of analytical tools.

From this definition flows a reciprocal relationship: if current is the derivative of charge with respect to time, then charge must be the integral of current. This inverse relationship is not merely algebraic convenience; it reflects the physical reality that charge accumulation depends on the history of current flow. [charge-as-a-function-of-current] formalizes this: the total charge that has flowed up to time tt is obtained by integrating the current function from the initial time to tt.

In practical circuit problems, we often encounter situations where current varies with time according to some function—perhaps exponential decay in an RC circuit, or a more complex transient. Understanding how to extract meaningful information from these time-varying currents requires both integration (to find accumulated charge) and differentiation (to find rates of change of current itself). The latter operation becomes essential when we need to identify critical points in circuit behavior, such as when current reaches its maximum value.

Finally, power—the rate of energy transfer—ties together voltage and current through a simple product relationship [power-calculation-in-circuits]. The sign of this product carries physical meaning when interpreted under the passive sign convention [passive-sign-convention], allowing us to determine whether a circuit element is absorbing or supplying energy.

Key Results

Result 1: Charge from Current Integration

[current-integration] provides the fundamental integral relationship. Given a current function i(t)i(t), the total charge accumulated from time 00 to time tt is:

q(t)=0ti(x)dxq(t) = \int_0^t i(x) \, dx

This result follows directly from the definition of current as i=dqdti = \frac{dq}{dt}. By the fundamental theorem of calculus, integrating the derivative recovers the original function (up to an initial condition). If we wish to find the total charge transferred over an infinite time interval—relevant for circuits that reach steady state—we extend the upper limit:

qtotal=0i(x)dxq_{\text{total}} = \int_0^{\infty} i(x) \, dx

Result 2: Finding Maximum Current via Optimization

[finding-maximum-current-from-charge-expression] describes the procedure for locating maximum current. Given a charge function q(t)q(t), we first recover the current by differentiation:

i(t)=dqdti(t) = \frac{dq}{dt}

To find the time at which current reaches its maximum, we differentiate the current function and set the result equal to zero:

didt=0\frac{di}{dt} = 0

Solving this equation yields the critical time tt^*. The maximum current is then imax=i(t)i_{\max} = i(t^*). This approach applies standard calculus optimization and assumes that the second derivative test confirms a maximum (rather than a minimum or inflection point).

For circuits with exponential transient behavior, [maximum-current-in-a-circuit] provides a specific result. When the charge function contains an exponential term characterized by a constant α\alpha, the maximum current occurs at:

tmax=1αt_{\max} = \frac{1}{\alpha}

with the maximum current value:

imax=1αe1i_{\max} = \frac{1}{\alpha} e^{-1}

Result 3: Power and the Passive Sign Convention

[power-calculation-in-circuits] establishes that instantaneous power is the product of voltage and current:

p(t)=v(t)i(t)p(t) = v(t) \cdot i(t)

The interpretation of this product's sign depends on reference directions. [passive-sign-convention] specifies that under the passive sign convention, when the current reference direction enters the terminal marked with positive voltage polarity, a positive power value indicates the element is absorbing energy, while negative power indicates energy delivery.

Worked Examples

Example 1: Charge Accumulation from Exponential Current

Consider a circuit where current decays exponentially according to:

i(t)=I0eαti(t) = I_0 e^{-\alpha t}

where I0I_0 is the initial current and α>0\alpha > 0 is a decay constant.

To find the total charge that flows from t=0t = 0 to t=Tt = T, we apply [current-integration]:

q(T)=0TI0eαxdxq(T) = \int_0^T I_0 e^{-\alpha x} \, dx

Evaluating the integral:

q(T)=I0[1αeαx]0T=I0α(1eαT)q(T) = I_0 \left[ -\frac{1}{\alpha} e^{-\alpha x} \right]_0^T = \frac{I_0}{\alpha} \left( 1 - e^{-\alpha T} \right)

As TT \to \infty, the exponential term vanishes, and the total charge transferred is:

qtotal=I0αq_{\text{total}} = \frac{I_0}{\alpha}

This result shows that even though current never truly reaches zero, the total charge transferred is finite—a characteristic of exponential decay.

Example 2: Maximum Current in a Transient Response

Suppose a circuit's charge function is given by:

q(t)=Q0(1eαt)q(t) = Q_0 \left( 1 - e^{-\alpha t} \right)

where Q0Q_0 and α\alpha are positive constants.

Following [finding-maximum-current-from-charge-expression], we first find the current by differentiation:

i(t)=dqdt=Q0αeαti(t) = \frac{dq}{dt} = Q_0 \alpha e^{-\alpha t}

To locate the maximum, we differentiate again:

didt=Q0α2eαt\frac{di}{dt} = -Q_0 \alpha^2 e^{-\alpha t}

For t>0t > 0, this derivative is always negative, meaning current monotonically decreases. The maximum current occurs at t=0t = 0:

imax=Q0αi_{\max} = Q_0 \alpha

This example illustrates a common scenario: when charge approaches a constant asymptotically, current decays monotonically from its initial value.

Example 3: Power Absorption in a Resistor

Consider a resistor with voltage v(t)=V0sin(ωt)v(t) = V_0 \sin(\omega t) and current i(t)=I0sin(ωt)i(t) = I_0 \sin(\omega t) (both in phase, as expected for a resistor). Using [power-calculation-in-circuits]:

p(t)=V0I0sin2(ωt)p(t) = V_0 I_0 \sin^2(\omega t)

The instantaneous power oscillates between 00 and V0I0V_0 I_0. The average power over one period is:

Pavg=1T0TV0I0sin2(ωt)dt=V0I02P_{\text{avg}} = \frac{1}{T} \int_0^T V_0 I_0 \sin^2(\omega t) \, dt = \frac{V_0 I_0}{2}

Under the passive sign convention [passive-sign-convention], this positive power confirms that the resistor absorbs energy throughout the cycle, converting it to heat.

References

AI Disclosure

This article was drafted with the assistance of an AI language model based on personal class notes in Zettelkasten format. All mathematical statements and physical principles are grounded in cited source notes. The derivations, examples, and explanatory text were generated by the AI but reviewed for technical accuracy against the source material. The article is intended for educational purposes and represents an original synthesis rather than a direct transcription of existing published work.

Try the math live

References

AI disclosure: Generated from personal class notes with AI assistance. Every factual claim cites a note. Model: claude-haiku-4-5-20251001.