The Problem: Capacitors Create Phase Shifts
Unlike resistors, where voltage and current are always in phase, capacitors introduce a 90-degree phase shift between voltage and current when the input is sinusoidal. This makes simple math impossible.
For a capacitor:
- If voltage = sin(t), then current = cos(t) = sin(t + 90°)
This phase shift complicates even basic addition of sinusoids with different phases. For a deeper foundation on AC circuits and these phase relationships, see the guide on Understanding LCR Circuits: A Guide to AC Circuit Theory.
Euler's Formula: The Key Tool
Euler's formula lets us write any complex number in exponential form:
a + bi = re^(jθ)
where:
- r = magnitude (√(a² + b²))
- θ = angle (arctan(b/a))
Example: Converting to exponential form
1 + 1i becomes:
- magnitude = √2
- angle = 45°
- result = √2 · e^(j·45°)
How Complex Numbers Handle Phase & Amplitude
When you multiply a sinusoid by a complex constant:
e^(jt) · 2·e^(j·30°) = 2·e^(j(t+30°))
The result is still a sinusoid with:
- Amplitude changed (multiplied by 2)
- Phase shifted (by +30°)
This exactly matches what happens in capacitors and inductors! For a more detailed look at how we represent these sinusoidal signals mathematically, check out Understanding Phasors: Complex Numbers in Sinusoidal Analysis.
Bonus: Deriving Trig Identities
Euler's formula makes finding trig identities easy:
- Write cos(2θ) + j·sin(2θ) = e^(j·2θ)
- Rewrite as (e^(jθ))² = (cosθ + j·sinθ)²
- Expand: cos²θ - sin²θ + j·2sinθcosθ
- Compare real parts → cos(2θ) = cos²θ - sin²θ
- Compare imaginary parts → sin(2θ) = 2sinθcosθ
Application: Capacitor Impedance
Electrical engineers use j instead of i for the imaginary unit.
The key insight:
Replace voltage v(t) with the complex exponential V·e^(j·ωt)
Then: dv/dt = jω·V·e^(j·ωt)
The derivative becomes simple multiplication!
This gives us the capacitor impedance:
Zc = 1/(jωC)
This ratio of voltage to current tells us both:
- Amplitude change: 1/(ωC)
- Phase shift: -90° (from the j in denominator)
Real Circuit Example: RC Voltage Divider
With resistors only:
Vout = Vin · R2/(R1 + R2)
With a capacitor replacing R2:
Vout = Vin · Zc/(R + Zc)
Where Zc = 1/(jωC)
The result is a complex number that tells you exactly how the output changes in both amplitude and phase.
Numerical example:
- R = 1Ω, C = 1F, ω = 1 rad/s
- Zc = 1/(j·1·1) = -j
- Vout/Vin = 1/(1 + j) = 0.5 - 0.5j
- In exponential form: √2/2 · e^(-j·45°)
This means: amplitude halves (×0.707) and phase shifts by -45°
Before tackling this RC circuit, it's helpful to review the fundamental laws that govern how each component behaves in Understanding Ohm's Law and Kirchhoff's Laws in Electrical Circuits.
Why This Works for Any Signal
The Fourier transform breaks any signal into sinusoids. The same impedance approach works for non-sinusoidal inputs, just apply the Fourier transform, solve the algebraic equations, then inverse-transform back.
Summary: The Power of Imaginary Numbers
- Turn differential equations into algebraic equations
- Handle both amplitude and phase changes simultaneously
- Impedance works exactly like resistance, just with complex numbers
- Works for any input signal via Fourier analysis
For a broader overview of the essential concepts used here, refer to Understanding Circuits: Key Concepts and Theories. And to see how capacitors combine with resistors in more complex networks, explore the Complete Guide to Series, Parallel, and Combined Electrical Circuits.
this video is sponsored by brilliant because of phase and Euler's formula these two things are pretty much the why
and how electrical engineers use imaginary numbers in circuit analysis with just resistors we don't need
imaginary numbers because the ratio of voltage and current for resistor is always constant thus they are in phase
and the math is much easier even if the input is not sinusoidal voltage and current will still move
together with a capacitor this is not the case if you have a sinusoidal input and plot
voltage versus current across a capacitor you'll find they are out of phase by 90 degrees and that's found
with the capacitor equation so if I set C to 1 just for Simplicity and the voltage across the capacitor is
sine T then current is cosine T which can also be written as sine of t plus 90 degrees
so when it comes to sinusoidal inputs capacitors cause this shift along with likely an amplitude change but the shift
is what we care about because the math becomes more difficult when you have sinusoids with different phases even
just adding you can't just combine like terms here you can use a trig Identity or something
cooler which is Euler's formula and imaginary numbers now the first reason this formula is
amazing is that it allows us to write any complex number in exponential form I'm not going to go into the visuals of
this but as a numerical example if you take the complex number one plus one I you can write that as root 2 cosine of
45 degrees plus I times root 2 sine of 45 degrees and this can be Rewritten in exponential
form according to Euler's formula and all that matters here is the fact that there's always a way to write a
complex number in this format which can then be Rewritten in exponential form
even if that complex number looks like this it can still be simplified to sum a plus bi
then with just some basic trig we find in this case the real component 1 equals root 3.25 cosine of 56.3 degrees while
the imaginary component equals root 3.25 sine of 56.3 degrees and now that we have the correct format
same coefficient and same argument we can write this in exponential form it's full because when given a sinusoid
there's no real constant you can multiply it by to change the phase a here only changes the amplitude
but if you have e to the i t which can be written out with sinusoids and then multiply it by some complex constant
let's say 2E to the I times 30 degrees which is just this however I'm going to keep it in exponential form because all
we have to do is use simple rules of exponents to get our answer then from Euler's formula we can write
it out as such and I know there are two sinusoids here but just look at the individual
components like the real part started out as cosine t after multiplying by just a complex
number the real part of the output is still just a cosine function but with a different amplitude and phase which is
exactly what we observe with voltage versus current in a capacitor or inductor
so there's a peek at how useful complex numbers are they help when amplitude and phase shifts occur
now another thing we can do with Euler's formula is essentially solve problems that involve sinusoids by replacing them
with this exponential going through with the math then just looking at the real component
of the output not a great explanation but here's what I mean you can find the double angle
formula for cosine as well as many other trig identities by just using Euler's formula the first step is to just plug
two Theta into the argument because now the real part of this is what we're trying to find a formula for
and now you can use a simple rule of exponents to rewrite the left side as e to the I Theta all squared which is just
Euler's formula squared if we foil this out using the fact that I squared is negative one we'll get this
here which again is equal to what we started with e to the I times 2 Theta
so setting the real Parts equal to one another we get cosine of 2 theta equals cosine
squared minus sine squared which hey is the double angle formula for cosine but that's not all as the double angle
formula for sine can be found by setting the imaginary components equal to one another
so that's the idea when given a problem with cosine of something or sign sometimes we can instead make it more
complicated by adding I sine of that thing and setting it equal to our exponential
because now we can use properties of exponents to simplify this and at the end the individual components in a way
reveal our answer by the way that's also how you can solve this problem I put on the screen earlier
just put them in exponential form simplify then look at the real component so now let's apply this to the capacitor
equation and because I is used for current to avoid confusion from here on the imaginary unit will be represented
with a j instead of I which is actually what electrical engineers do now if the input is a generic sinusoid
some a cosine of Omega t plus Theta well again we can find current by just taking a derivative
so we get current is this here but let's instead say voltage is a e to the J times Omega t plus Theta which is
weird and makes no sense physically but the real part of the exponential is our actual voltage
so at the end we'll just see what the real component looks like okay so we'll go through with the
derivative and J root negative one is just a constant by the way so we get current equals this here
but a e to the J Omega t plus Theta is just our voltage so we can actually say current equals J
Omega c times V and voltage as we've defined it is this here with the real and imaginary
components so multiplying that by J Omega C we get this and if we just look at the real
component we see it's the same as what we got before when we simply took a derivative of a cosine function
now Euler's formula did not make any of this any easier but notice how by using Euler's formula we turned an equation
that involves a derivative into one that doesn't that's the key detail that makes this
all useful for real circuits because now we can rearrange this equation and make a ratio of voltage and
current this is the impedance of a capacitor which is kind of like resistance the 1
over Omega C part is the ratio in amplitude a versus Omega c a
but the J the imaginary unit tells us there will also be a phase shift of 90 degrees cosine versus negative sine
so now let's put it all together with a circuit that has a resistor a capacitor and a sinusoidal input
Financial equation that would be used to solve for the voltage across the capacitor
but if the input is sinusoidal then the capacitor voltage will be as well so we know the solution is going to have
the form a cosine of Omega t plus Theta but instead of plugging that in for V Sub C and solving which would not be fun
we can instead say V Sub C is this exponential because as we just saw the time
derivative of this is J Omega times itself VC so plugging that in for DV DT the
differential equation becomes an algebraic one and after factoring out a v Sub C then
rearranging the capacitor voltage we're looking for comes out to 1 over 1 plus J Omega RC times the input voltage
and this is just a complex number which can be Rewritten using Euler's formula so I need to make some room here but if
Omega R and C are all let's say one then the coefficient becomes one over one plus J which can be Rewritten as 0.5
minus 0.5 J or root 2 over 2 times e to the J times minus 45 degrees so if the input voltage is something
like 3 cosine of t plus 10 degrees we can replace that with Euler's formula or put it in phasor form
knowing the actual voltage is the real component so if we plug that in for the input
voltage then we find the output voltage across the capacitor is this here but of course we only care about the
real component which is 3 root 2 over 2 cosine of T minus 35 degrees that's how imaginary numbers help us
instead of having to solve a differential equation we can solve an algebraic one with imaginary numbers
once we have this equation the only math we have to do is figure out what that complex coefficient is in exponential
form because that exponential tells us in this case to multiply the input voltage
amplitude by root 2 over 2 and shift the phase by negative 45 degrees and when you have a circuit with just
resistors to find the output voltage across R2 you use this equation a simple voltage divider
when R2 is replaced by a capacitor we get the equation we saw earlier but by multiplying the top and bottom by 1 over
J Omega C we get this which hey looks very similar to the equation above just instead of R2 we have 1 over J Omega C
which remember is the impedance of the capacitor so we can treat impedance just like
resistance in that we can add the values when components are in series we do the
reciprocals when they're in parallel but the only difference is you're going to get complex numbers because there will
be a phase shift that happens as well as an amplitude change which we can find algebraically using Euler's formula
and while this is all useful for sinusoidal inputs when you have anything else
the math actually still works for the most part because all functions can be made up of sinusoids
it's beyond this video but if you apply the Fourier transform to both sides of this equation or the capacitor slash
inductor equations you get the same impedances and voltage dividers as before
you would just have to do inverse transforms at the end to get an actual solution
and if you want to see more of the real world applications of complex numbers you can do so on brilliant the sponsor
of this video brilliant is an educational platform home to thousands of lessons in math science and
engineering with new lessons being added monthly and a big focus with brilliant is real world applications as they show
you exactly how to apply the formulas and Concepts within their lessons here you can see some examples from their
complex numbers course which Dives much deeper into the power of Euler's formula and what can be done with it
and as with all their courses you get constant practice problems as well as intuitive visuals that help you
understand even the more advanced concepts on a fundamental level and you can now try everything brilliant has to
offer free for a full 30 days just go to brilliant.org sacstar or click the link in the description below plus the first
200 of you to sign up will get 20 off brilliant's annual premium subscription with that gonna end that video there
thanks as always to my supporters on patreon social media links to follow me or down below and I'll see you all in
the next video
Capacitors store energy in an electric field. When a sinusoidal voltage is applied, the current must lead the voltage by 90° because current is proportional to the rate of change of voltage (I = C * dV/dt). If voltage = sin(t), then current = cos(t) = sin(t + 90°), introducing the phase shift.
Euler's formula (a + bi = re^(jθ)) converts sinusoids into exponential form. Multiplication by a complex constant then simultaneously scales amplitude (via the magnitude 'r') and shifts phase (via the angle 'θ'), turning differential equations into simple algebraic equations for capacitors and inductors.
Capacitor impedance is Zc = 1/(jωC). The magnitude 1/(ωC) tells you the amplitude change (voltage/current ratio), and the '1/j' factor inherently represents a -90° phase shift (current leads voltage). This complex number encapsulates both effects in one expression.
Replace the capacitor with its impedance Zc = 1/(jωC). The voltage divider formula becomes Vout = Vin * Zc/(R + Zc). For R=1Ω, C=1F, ω=1 rad/s, Zc = -j, yielding Vout/Vin = 1/(1+j) = 0.707 * e^(-j·45°). This output shows amplitude is scaled by 0.707 and phase shifted by -45°.
Yes. The Fourier transform decomposes any signal into a sum of sinusoids. You analyze each sinusoid using complex impedances, then sum the results via the inverse Fourier transform. This makes the method valid for arbitrary periodic or transient signals.
Write cos(2θ) + j·sin(2θ) = e^(j·2θ) = (e^(jθ))² = (cosθ + j·sinθ)². Expand to cos²θ - sin²θ + j·2sinθcosθ. Equating real parts gives cos(2θ) = cos²θ - sin²θ; equating imaginary parts gives sin(2θ) = 2sinθcosθ.
In electrical engineering, 'i' is reserved for current. To avoid confusion, engineers traditionally use 'j' to represent the imaginary unit √(-1). This notation is standard in circuit analysis textbooks and professional practice.
Keep this summary
Save it to LunaNotes and it becomes a real note in your library — editable, searchable, and ready to turn into flashcards or a diagram. Free to start.
Save to LunaNotesOr summarise for another video.
32K+ people have turned 65K+ videos into notes
“Very useful tool. I'm using it for the last couple weeks and I'm loving it so far. Makes learning on YouTube a great experience.”
This summary and transcript were automatically generated using AI with the Free YouTube transcript summary tool by LunaNotes.
Related summaries
Understanding Phasors: Complex Numbers in Sinusoidal Analysis
This video explains phasors as complex numbers representing the amplitude and phase of sinusoids, simplifying AC circuit analysis. It covers the relationship between rectangular, polar, and exponential forms of complex numbers and demonstrates how phasors are used to analyze sinusoidal signals.
Understanding LCR Circuits: A Guide to AC Circuit Theory
Learn about LCR circuits, AC current, and the application of complex numbers in circuit analysis.
Computing Improper Fourier Integrals Using Complex Analysis Techniques
Learn how to evaluate improper integrals involving sine and cosine from negative to positive infinity using complex contour integration, residue theorem, and Jordan's lemma. This guide explains replacing trigonometric terms with complex exponentials, identifying poles, and applying these theorems to compute Fourier integrals with detailed example solutions.
Using the Residue Theorem to Evaluate Definite Integrals Involving Sine and Cosine
This video lesson demonstrates how to apply the residue theorem from complex analysis to evaluate definite integrals involving sine and cosine functions. It explains transforming trigonometric integrals into contour integrals on the unit circle using complex exponentials, then finding residues at singularities to compute the integrals efficiently, including examples with detailed calculations.
Understanding Conductors and Capacitors in Electric Circuits
Explore the critical concepts of conductors, capacitors, and electric circuits in this comprehensive guide.
Most viewed summaries
A Comprehensive Guide to Using Stable Diffusion Forge UI
Explore the Stable Diffusion Forge UI, customizable settings, models, and more to enhance your image generation experience.
Kolonyalismo at Imperyalismo: Ang Kasaysayan ng Pagsakop sa Pilipinas
Tuklasin ang kasaysayan ng kolonyalismo at imperyalismo sa Pilipinas sa pamamagitan ni Ferdinand Magellan.
Mastering Inpainting with Stable Diffusion: Fix Mistakes and Enhance Your Images
Learn to fix mistakes and enhance images with Stable Diffusion's inpainting features effectively.
Pamamaraan at Patakarang Kolonyal ng mga Espanyol sa Pilipinas
Tuklasin ang mga pamamaraan at patakaran ng mga Espanyol sa Pilipinas, at ang epekto nito sa mga Pilipino.
How to Install and Configure Forge: A New Stable Diffusion Web UI
Learn to install and configure the new Forge web UI for Stable Diffusion, with tips on models and settings.
Found this summary useful?
Take it with you. One click puts it in your own LunaNotes library.
Save to LunaNotes