Sub topic 9
Resistance and Ohm's Law
This chapter assumes you can rearrange simple equations and use SI prefixes such as milli and kilo. It also assumes you know current is the rate of charge flow, I = Q/t, and that voltage is energy per unit charge between two points. Here you connect those two quantities through resistance.
What resistance measures
Charge carriers in a conductor do not move freely. They collide with the atoms of the material and with each other, and they lose energy to the material as heat. Resistance is a measure of how strongly a component opposes current. It is defined as the ratio of the voltage across the component to the current through it:
R = V / I
The unit is the ohm (symbol Ω). One ohm is one volt per ampere. A component has 1 Ω of resistance if 1 V across it drives 1 A through it.
A component with high resistance passes little current for a given voltage. A component with low resistance passes a lot. An ideal wire is modeled as 0 Ω. An ideal open gap is modeled as infinite resistance.
Ohm's law
For many materials, the ratio V/I stays constant over a wide range of voltages. Such a component is called ohmic, and its behavior is summarized by Ohm's law:
V = I · R
The same relation can be solved for either of the other two quantities:
| Unknown | Formula | Use it when you know |
|---|---|---|
| Voltage | V = I · R | current and resistance |
| Current | I = V / R | voltage and resistance |
| Resistance | R = V / I | voltage and current |
Ohm's law applies to one component at a time. The V must be the voltage across that component, and the I must be the current through that same component. Mixing the voltage of one part with the current of another is a frequent source of wrong answers.
Conductance
Sometimes it is easier to think about how well a component passes current. Conductance is the reciprocal of resistance:
G = 1 / R
Its unit is the siemens (S). A 50 Ω resistor has a conductance of 0.02 S. In terms of conductance, Ohm's law reads I = G · V. You will see conductance again when you combine parallel branches, because conductances of parallel branches add.
Where resistance comes from: material and shape
For a uniform wire or bar, resistance depends on the material and on the geometry:
R = ρ · L / A
- ρ (rho) is the resistivity of the material, in ohm-metres (Ω·m). It is a property of the material, not of the shape.
- L is the length in metres.
- A is the cross-sectional area in square metres.
Resistance grows with length and falls with area. A long thin wire resists more than a short thick one. Copper has a resistivity of about 1.68 × 10⁻⁸ Ω·m at room temperature. Common insulators have resistivities many orders of magnitude larger. That gap is why insulators carry negligible current in ordinary circuits.
The following program computes the resistance of a 10 m copper wire with a 1 mm diameter.
import math
RHO_COPPER = 1.68e-8 # ohm-metres, at about 20 degrees C
length_m = 10.0
diameter_m = 1.0e-3
area_m2 = math.pi * (diameter_m / 2) ** 2
resistance_ohm = RHO_COPPER * length_m / area_m2
print(f"Area: {area_m2:.3e} m^2")
print(f"Resistance: {resistance_ohm:.3f} ohm")The output is an area of 7.854e-07 m² and a resistance of 0.214 Ω. That is small, which is why wiring in a low-current circuit is usually treated as ideal. It stops being negligible when the current is large or the wire is very long, because the wire then drops a measurable voltage (V = I · R).
Temperature
Resistivity changes with temperature. In metals it rises as temperature rises, because the atoms vibrate more and collide with carriers more often. In semiconductors it usually falls, because heat frees more carriers. Over a modest range, a metal's resistance can be approximated as
R(T) = R₀ · [1 + α · (T − T₀)]
where R₀ is the resistance at reference temperature T₀ and α is the material's temperature coefficient. When you see a resistance value on a datasheet, it is quoted at a stated temperature. A component that heats itself can end up with a different resistance from the one you calculated from a cold measurement.
Ohmic and non-ohmic components
Ohm's law is a statement about particular components, not a law of nature for every device. A plot of current against voltage shows the difference:
- An ohmic component such as a resistor gives a straight line through the origin. The slope is 1/R.
- A non-ohmic component gives a curve. A diode passes almost no current in one direction until the voltage reaches a threshold, then passes a lot. A filament lamp's resistance rises as it heats, so its curve bends.
For a non-ohmic device the ratio V/I at one operating point is still defined, but it changes from point to point. You can still use V = I · R at a single point, but you cannot assume the same R holds at another voltage.
Ohm's law and the passive sign convention
With the passive sign convention, the current reference arrow enters the terminal marked + on the voltage. When you label a resistor that way, V = I · R holds with a positive sign. If you instead choose the current arrow to enter the − terminal, the relation becomes V = −I · R. The physical resistor has not changed. Only the reference labels have changed, and they flip the sign of the equation.
For a resistor, current actually flows from higher to lower potential. If your calculation gives a negative current under the passive convention, your assumed reference direction was opposite to the real flow. That is allowed and carries information, so do not discard the sign.
A worked example
A 12 V source is connected across a 48 Ω resistor. Find the current, the power the resistor absorbs, and the energy it absorbs in 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 output is Current: 0.250 A, Power: 3.00 W and Energy in 1 h: 10800 J. Combining P = V · I with Ohm's law also gives P = I² · R and P = V² / R. For this resistor, 0.25² × 48 = 3 W and 12² / 48 = 3 W, so all three forms agree. Use whichever form matches the two quantities you already know.
For a resistor, the absorbed energy leaves as heat. This is why resistors have a power rating. A 0.25 W resistor placed in the circuit above would receive 3 W and overheat.
Common errors
- Using the wrong units. Convert kΩ to Ω and mA to A before substituting. Writing 5 kΩ as 5 gives an answer off by a factor of 1000. Alternatively, use consistent units: volts, kilohms and milliamps work together.
- Treating resistance as a fixed constant for every device. Diodes, lamps and thermistors do not follow a single R. Check whether the component is ohmic over the range you care about.
- Mixing voltages and currents from different components. V and I in V = I · R must belong to the same element.
- Ignoring sign when labeling. A negative result means the real direction is opposite to the reference you chose. It is not an error by itself.
- Assuming a resistor's value is exact. Real resistors carry a tolerance such as ±5%, so a 48 Ω part may measure anywhere from about 45.6 Ω to 50.4 Ω.
- Confusing resistance with resistivity. Resistance belongs to a specific piece of material. Resistivity belongs to the material itself.
Exercises
Exercise
A 330 Ω resistor has 9 V across it. What current flows through it, and how much power does it absorb?
Show answer
I = V / R = 9 / 330 ≈ 0.0273 A, or about 27.3 mA. P = V · I = 9 × 0.0273 ≈ 0.245 W, so roughly 0.25 W. A check with P = V² / R = 81 / 330 ≈ 0.245 W agrees.
Exercise
A wire has resistance R. A second wire of the same material is twice as long and has twice the diameter. What is its resistance in terms of R?
Show answer
Doubling the diameter multiplies the cross-sectional area by 4, because A is proportional to the diameter squared. Doubling the length multiplies R by 2. So R_new = ρ · (2L) / (4A) = R / 2.
Exercise
A current of 50 mA flows through a 100 Ω resistor. What is the voltage across it, and is a 0.25 W resistor adequate?
Show answer
V = I · R = 0.050 × 100 = 5 V. P = I² · R = 0.050² × 100 = 0.25 W. This is exactly at the rating, so there is no safety margin. A 0.5 W or larger part would be a safer choice.