Sub topic 10
Power and energy in circuit elements
This chapter assumes you know Ohm's law, the passive sign convention, and SI prefixes such as milli and kilo. It shows how to calculate the power an element absorbs or delivers and the energy it handles over time.
Power as the rate of energy transfer
Power is the rate at which energy is transferred, measured in watts (W). One watt is one joule per second. Voltage is energy per unit charge and current is charge per unit time, so their product is energy per unit time:
p = v · i
Use lowercase p, v and i when the values can change with time. A 12 V source that pushes 2 A through a load transfers 24 J every second, which is 24 W.
Sign and the passive sign convention
The sign of p tells you which way energy flows. Choose the reference direction of the current so that it enters the element at the terminal marked +. This is the passive sign convention. With that choice:
- If p is positive, the element absorbs energy. Resistors, lamps and a charging battery behave this way.
- If p is negative, the element delivers energy. A source supplying a circuit behaves this way.
In any complete circuit, the power absorbed by all elements adds up to zero. Every watt delivered by sources is absorbed somewhere else. You can use this as a check on your work.
Power in a resistor
For a resistor, substitute Ohm's law (v = iR) into p = vi. This gives two other forms:
- p = i²R
- p = v²/R
Both are always positive for a real resistance, so a resistor never delivers net energy. It converts electrical energy to heat. The i²R form shows that doubling the current quadruples the heat. That is why thick wires are used for large currents.
Energy over time
Energy is the total transferred over an interval. With constant power:
E = P · t
With power that changes, add up the power over the interval:
E = ∫ p dt
The joule is small for everyday use, so utilities bill in kilowatt-hours. One kWh equals 3.6 million J (1000 W × 3600 s).
Worked example
A 12 V source is connected across a 48 Ω resistor for one hour.
- Current: I = V/R = 12 / 48 = 0.25 A
- Power: P = VI = 12 × 0.25 = 3 W
- Energy: E = Pt = 3 × 3600 = 10 800 J
The same calculation in code:
voltage_v = 12.0
resistance_ohm = 48.0
current_a = voltage_v / resistance_ohm # Ohm's law: I = V / R
power_w = voltage_v * current_a # P = V * I
energy_j = power_w * 3600.0 # E = P * t for one hour
print(f"Current: {current_a:.3f} A")
print(f"Power: {power_w:.2f} W")
print(f"Energy in 1 h: {energy_j:.0f} J")The output is 0.250 A, 3.00 W and 10800 J. The source is delivering 3 W and the resistor is absorbing 3 W, so the powers sum to zero.
Common errors
- Mixing units. Convert mA to A and kW to W before multiplying.
- Forgetting the sign convention. If the current enters the − terminal, p = vi gives the power delivered, not absorbed. Flip the sign.
- Using the wrong resistor formula. Use p = v²/R when you know the voltage across the resistor, and p = i²R when you know the current through it.
- Confusing power with energy. A 100 W lamp is a rate. It becomes 0.1 kWh only after running for one hour.
Exercise
A 100 Ω resistor has 5 V across it. Find the power it absorbs and the energy it converts to heat in 10 minutes.
Show answer
I = 5/100 = 0.05 A. P = VI = 5 × 0.05 = 0.25 W (or v²/R = 25/100). Ten minutes is 600 s, so E = 0.25 × 600 = 150 J. This resistor is right at a 0.25 W rating.
Exercise
A source in a circuit has 9 V across it with 0.5 A leaving its + terminal. Using the passive sign convention, what is p for the source, and what does the sign mean?
Show answer
The current leaves the + terminal, so it does not enter it as the convention requires. Taking the entering direction, i = −0.5 A, so p = 9 × (−0.5) = −4.5 W. The negative sign means the source delivers 4.5 W to the rest of the circuit.