Sub topic 10
Power and energy in circuit elements
Prerequisites and scope
This chapter assumes you know charge, current, voltage, the passive sign convention, and Ohm's law from the earlier chapters. You should also be comfortable with SI prefixes (milli, kilo) and rearranging equations. Here you will learn how to compute the power in a circuit element, decide whether the element absorbs or delivers that power, and convert power into energy over time.
Power as the rate of energy transfer
Voltage is energy per unit charge, and current is charge per unit time. Multiplying them gives energy per unit time, which is power.
- Voltage: v = dw/dq, in volts (joules per coulomb).
- Current: i = dq/dt, in amperes (coulombs per second).
- Power: p = dw/dt = (dw/dq)(dq/dt) = v·i, in watts (joules per second).
So one volt across an element that carries one ampere transfers one joule every second, which is one watt.
Power is usually a function of time. Lowercase p, v, and i mean instantaneous values. Uppercase P, V, and I usually mean constant (DC) values.
Absorbing and delivering power with the passive sign convention
The formula p = v·i gives a signed number. The sign has a meaning only if you apply the passive sign convention (PSC) first. Under the PSC, you choose the reference current to enter the element through the terminal marked + for the reference voltage.
When the references follow the PSC:
- If p = v·i is positive, the element absorbs power. It takes energy from the circuit.
- If p = v·i is negative, the element delivers power. It supplies energy to the circuit.
If your references do not follow the PSC (current enters the + terminal's opposite side), then p = −v·i gives the absorbed power. Check the arrows before you multiply.
Worked example: sign of power
A battery has 12 V across it, with the + terminal on top. A 2 A current flows out of the + terminal into the circuit.
The current leaves the + terminal, so the reference current does not enter it. The PSC is not satisfied. Using the PSC form with i = −2 A (current entering + is the negative of the current leaving it):
p = v·i = 12 V × (−2 A) = −24 W
The battery delivers 24 W. A resistor in the same circuit has the current entering its + terminal, so its p is positive and it absorbs power.
Power in a resistor
For a resistor under the PSC, substitute Ohm's law (v = iR) into p = v·i. This gives three equivalent forms:
- p = v·i
- p = i²R
- p = v²/R
Because R is positive, i²R and v²/R are never negative. A resistor therefore always absorbs power, whatever the direction of the current or the polarity of the voltage. It converts electrical energy into heat. This is why a resistor is called a passive element.
Pick the form that uses the quantities you already know:
| You know | Use | Why |
|---|---|---|
| v and i | p = v·i | No resistance needed |
| i and R | p = i²R | Common for series elements that share a current |
| v and R | p = v²/R | Common for parallel elements that share a voltage |
Note that doubling the current in a resistor quadruples its power. The same holds for doubling the voltage.
Energy from power
Energy is the integral of power over time:
w = ∫ p dt
If the power is constant, this reduces to w = P·t. The energy absorbed between t₁ and t₂ is:
w = ∫ from t₁ to t₂ of p(t) dt
The SI unit of energy is the joule (J). One joule equals one watt-second. Utilities bill in kilowatt-hours (kWh) because the joule is small for household use.
1 kWh = 1000 W × 3600 s = 3.6 × 10⁶ J
Worked example: a resistor on a 12 V source
A 12 V source drives a 48 Ω resistor for one hour.
- Current: I = V/R = 12 / 48 = 0.25 A.
- Power: P = V·I = 12 × 0.25 = 3 W.
- Energy: E = P·t = 3 W × 3600 s = 10 800 J.
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 program prints a current of 0.250 A, a power of 3.00 W, and an energy of 10800 J. These match the hand calculation.
In kilowatt-hours, 10 800 J ÷ 3.6 × 10⁶ J/kWh = 0.003 kWh.
Time-varying power
When the current or voltage changes with time, you cannot use P·t. You integrate.
Suppose a element has v(t) = 10 V and a current that ramps as i(t) = 2t A for 0 ≤ t ≤ 3 s.
- Power: p(t) = 10 × 2t = 20t W.
- Energy: w = ∫ from 0 to 3 of 20t dt = 10t² evaluated from 0 to 3 = 90 J.
The average power over this interval is 90 J ÷ 3 s = 30 W. Note that this is not the power at the midpoint in general. It happens to equal p(1.5 s) = 30 W here only because p is linear in t.
Conservation of power
Energy cannot be created or destroyed in a circuit. At every instant, the power delivered by all elements equals the power absorbed by all elements. Equivalently, if you compute p = v·i for every element using the PSC, the sum is zero:
Σ p = 0
This is a useful check. If your sum is not zero, a sign or a value is wrong.
Worked example: checking a circuit
A 12 V source drives a 48 Ω resistor, as above.
- Resistor, PSC: p = +3 W (absorbs).
- Source: the 0.25 A current leaves its + terminal, so with the PSC p = 12 × (−0.25) = −3 W (delivers).
- Sum: +3 + (−3) = 0 W.
The balance holds.
Elements that deliver power
A resistor always absorbs. Other elements can do either, depending on the current direction.
- A battery or a power supply usually delivers power while it runs a circuit.
- A battery that is charging absorbs power. The current enters its + terminal, so v·i is positive.
- A motor absorbs electrical power and converts it to mechanical work. A generator does the reverse.
The sign of p tells you which of these is happening at a given moment. It is a property of the operating condition, not of the element type alone.
Power ratings and practical limits
Real components have a power rating, the largest power they can dissipate without damage. A typical through-hole resistor is rated at 0.25 W.
Using the 48 Ω resistor from the earlier example, it dissipates 3 W at 12 V. That is twelve times a 0.25 W rating, so the part would overheat. You would need a resistor rated at about 5 W or more, which leaves a safety margin.
You can test this in code:
def resistor_power_w(voltage_v, resistance_ohm):
return voltage_v ** 2 / resistance_ohm
rating_w = 0.25
power_w = resistor_power_w(12.0, 48.0)
safe = power_w * 2 <= rating_w
print(f"Dissipation: {power_w:.2f} W")
print(f"Safe with 2x margin for a {rating_w} W part: {safe}")It prints a dissipation of 3.00 W and False.
Common errors
- Ignoring the reference directions. Computing v·i without checking the PSC gives the wrong sign and a wrong conclusion about who delivers power.
- Mixing units. A current in milliamperes must be converted to amperes before you multiply. 20 mA at 5 V is 0.02 × 5 = 0.1 W, not 100 W.
- Confusing power and energy. Watts are a rate. Joules and kilowatt-hours are amounts. A 100 W lamp does not "use 100 W of energy."
- Applying v²/R to a non-resistor. The i²R and v²/R forms rely on Ohm's law. They do not hold for a source or a diode.
- Using P·t for varying power. Integrate p(t), or use the average power over the interval.
Summary
- p = v·i, in watts, and it is positive when the element absorbs power under the PSC.
- A resistor always absorbs, with p = i²R = v²/R.
- Energy is the integral of power over time, and w = P·t when P is constant.
- The powers of all elements in a circuit sum to zero.
- Compare dissipation to the component's rating before you use it.
Exercise
A source with the + terminal on top drives a resistor. The current reference enters the + terminal of the resistor, and the resistor's voltage is 9 V with a current of 30 mA. (a) How much power does the resistor absorb? (b) How much energy does it absorb in 2 hours, in joules and in kWh? (c) What is the power of the source?
Show answer
(a) p = v·i = 9 V × 0.030 A = 0.27 W. (b) w = P·t = 0.27 W × 7200 s = 1944 J. In kWh, 1944 / 3.6×10⁶ = 5.4×10⁻⁴ kWh. (c) By conservation of power the source delivers 0.27 W, so its power under the PSC is −0.27 W.
Exercise
A device has v(t) = 6 V and a current i(t) = 4 − t A for 0 ≤ t ≤ 4 s, with the PSC applied. (a) Find p(t). (b) Find the energy absorbed in the 4 s. (c) During which part of the interval, if any, does the device deliver power?
Show answer
(a) p(t) = 6(4 − t) = 24 − 6t W. (b) w = ∫ from 0 to 4 of (24 − 6t) dt = 24t − 3t² from 0 to 4 = 96 − 48 = 48 J. (c) p is never negative on 0 ≤ t ≤ 4, since it reaches 0 W at t = 4 s. The device absorbs power the whole time and never delivers it.