⚡ What is Electrical Circuit Theory?
Electrical circuit theory is the foundation of all electronics and electrical engineering. It describes how electric currents flow, how voltages behave, and how components interact in circuits. Every electronic device — from the simplest flashlight to the most complex supercomputer — operates based on these principles. Understanding circuit theory enables engineers to design, analyze, and optimize the systems that power modern civilization.

📐 Fundamental Electrical Quantities
| Quantity | Symbol | Unit | Definition |
|---|---|---|---|
| Voltage | V | Volt (V) | Electrical potential difference |
| Current | I | Ampere (A) | Flow of electric charge |
| Resistance | R | Ohm (Ω) | Opposition to current flow |
| Power | P | Watt (W) | Rate of energy transfer |
| Charge | Q | Coulomb (C) | Quantity of electricity |
Ohm's Law — the most fundamental relationship in circuits
⚖️ Ohm's Law & Power
Ohm's Law states that voltage equals current times resistance. This simple relationship is the cornerstone of circuit analysis.
# Ohm's Law Calculator
def ohms_law(voltage=None, current=None, resistance=None):
if voltage and current: return voltage / current
if voltage and resistance: return voltage / resistance
if current and resistance: return current * resistance
return None
# Power formulas
P = V × I = I² × R = V² / R🔁 Kirchhoff's Laws
| Law | Statement | Application |
|---|---|---|
| Kirchhoff's Current Law (KCL) | Σ I_in = Σ I_out | Current entering a node equals current leaving |
| Kirchhoff's Voltage Law (KVL) | Σ V_rise = Σ V_drop | Sum of voltages around a closed loop is zero |

🔗 Series & Parallel Circuits
| Configuration | Current | Voltage | Total Resistance |
|---|---|---|---|
| Series | Same | Divided | R_total = R₁ + R₂ + R₃ |
| Parallel | Divided | Same | 1/R_total = 1/R₁ + 1/R₂ + 1/R₃ |
# Series: 10Ω + 20Ω + 30Ω = 60Ω # Parallel: 10Ω || 20Ω = 6.67Ω
🔄 AC vs DC Circuits
DC (Direct Current): Current flows in one direction at constant magnitude. Used in batteries, electronics, solar panels.
AC (Alternating Current): Current reverses direction periodically, following a sinusoidal waveform. Used in power grids because AC can be easily transformed to different voltages.
where f = frequency (60 Hz in US, 50 Hz in Europe)
🔧 Network Theorems
- Superposition: Response from multiple sources equals sum of responses from each source acting alone.
- Thevenin's Theorem: Any linear circuit can be replaced by a voltage source (V_th) in series with a resistor (R_th).
- Norton's Theorem: Any linear circuit can be replaced by a current source (I_n) in parallel with a resistor (R_n).
- Maximum Power Transfer: Maximum power is delivered when load resistance equals source resistance (R_load = R_th).
# Thevenin Equivalent R_th = V_oc / I_sc # Open-circuit voltage / short-circuit current V_th = V_oc P_max = V_th² / (4 × R_th)
🔋 Capacitors & Inductors
| Component | Property | Formula | Energy Storage |
|---|---|---|---|
| Capacitor | Resists voltage change | C = Q/V | E = ½ CV² |
| Inductor | Resists current change | V = L di/dt | E = ½ LI² |

⚙️ Transformers
Transformers transfer electrical energy between circuits through electromagnetic induction. They enable efficient power transmission by stepping voltage up or down.
where p = primary, s = secondary, N = number of turns
💡 Practical Applications
- Power Distribution: Transformers, transmission lines, substations
- Consumer Electronics: Power supplies, battery chargers, voltage regulators
- Electric Vehicles: Battery management, motor drives, charging systems
- Renewable Energy: Solar inverters, wind turbine generators, grid integration
- Telecommunications: Signal filtering, amplifiers, antenna matching
🎓 Careers in Electrical Engineering
| Role | Typical Work | Salary Range |
|---|---|---|
| Power Engineer | Design power generation, transmission, distribution | $80-130k |
| Electronics Engineer | Design circuit boards, consumer electronics | $85-140k |
| Control Systems Engineer | Automation, robotics, industrial control | $90-145k |
| RF Engineer | Wireless communications, antennas | $95-150k |
