Sub topic 4
Ohm's law: V = IR
This chapter assumes you can rearrange simple equations, use SI prefixes (milli, kilo, mega), and picture a circuit as a source, a load, and a closed loop. It also assumes you know current and voltage from the earlier chapters. Here we turn those ideas into the working relationship between them, and we look at the mistakes that cause most wrong answers.
The statement of the law
Ohm's law says that for a conductor at constant temperature, the current through it is proportional to the voltage across it:
V = I × R- V is the voltage across the component, in volts (V).
- I is the current through the component, in amperes (A).
- R is the resistance, in ohms (Ω). One ohm is one volt per ampere.
The constant of proportionality is the resistance. If you double the voltage across a resistor, the current doubles. A plot of I against V is then a straight line through the origin, and the slope is 1/R.
Two phrases in that statement matter. "Across" means the voltage is measured between the two terminals of the component. "Through" means the current is the amount flowing in one terminal and out of the other. Every Ohm's-law calculation must use the voltage across and the current through the same component.
The three forms
You will rearrange the law constantly. The triangle below is a memory aid, and the table gives the same information.
| Unknown | Formula | Typical use |
|---|---|---|
| Voltage | V = I × R | You know the current and resistance, and want the voltage drop |
| Current | I = V / R | You apply a known voltage to a known resistor |
| Resistance | R = V / I | You measured V and I and want to know R |
A worked example
A 470 Ω resistor is connected across a 12 V supply. What current flows, and how much power does it dissipate?
- Current: I = V / R = 12 / 470 ≈ 0.0255 A, which is 25.5 mA.
- Power: P = V × I = 12 × 0.0255 ≈ 0.306 W.
The same steps in Python:
V = 12.0 # volts
R = 470.0 # ohms
I = V / R # Ohm's law
P = V * I # power in watts
print(f"I = {I * 1000:.1f} mA, P = {P:.3f} W")The output is I = 25.5 mA, P = 0.306 W. The power result foreshadows a practical issue: a standard quarter-watt resistor would be overloaded here. The next chapter treats power in detail.
Keeping units consistent
Most numerical errors in Ohm's law come from units, not algebra. The law works in volts, amperes, and ohms. If you mix in milliamperes or kilohms, you must convert or use a consistent set.
There is one convenient shortcut. Volts, milliamperes, and kilohms are also a consistent set, because the factors of 1000 cancel:
| Voltage | Current | Resistance |
|---|---|---|
| V | A | Ω |
| V | mA | kΩ |
| mV | µA | kΩ |
| V | µA | MΩ |
For example, 5 V across 2.2 kΩ gives I = 5 / 2.2 ≈ 2.27 mA with no conversion needed.
Voltage drop and direction
A resistor is a passive component. It does not create energy, so current enters at the more positive terminal and leaves at the less positive terminal. The voltage across it is a drop in that direction of current flow. This is the passive sign convention: when you define the current as flowing into the terminal you call positive, the voltage reference points the same way, and V = IR holds with a plus sign.
If you choose the reference directions the opposite way, the algebra gives V = −IR. Neither version is wrong. What goes wrong is mixing the two inside one problem. In a circuit with several resistors, pick a current direction for each, mark the voltage polarity so that the current enters the plus side, and then write V = IR for each resistor.
What Ohm's law does not say
Ohm's law is often written as a definition of resistance, R = V / I. That definition applies to any component at any operating point, and it always gives a number. The law itself is the stronger claim that this number stays constant as V and I change.
This distinction has consequences:
- A resistor obeys the law over a wide range of voltages. A filament lamp does not, because it heats up and its resistance rises as current increases.
- A diode has very high resistance at low forward voltage and low resistance at higher voltage. R = V / I still gives a value at each point, but the value changes.
- When someone calls a component "ohmic," they mean its I–V curve is a straight line through the origin over the range of interest.
A later chapter covers non-ohmic behavior in detail. For now, remember that V = IR is always true as a definition of the ratio at one operating point, while the claim "R is constant" is a property of particular components under particular conditions.
Using the law in a circuit
Ohm's law applies to one component at a time, and it needs to be combined with a rule about the circuit as a whole. Two rules do this:
- Current is the same through components connected in a single path (series).
- Voltage is the same across components connected between the same two nodes (parallel).
Here is a short example. A 9 V battery drives a single path containing a 1 kΩ and a 2 kΩ resistor.
- The same current flows through both resistors, so total resistance matters. The total is 1 kΩ + 2 kΩ = 3 kΩ.
- The current is I = 9 V / 3 kΩ = 3 mA.
- The drop across the 1 kΩ resistor is 3 mA × 1 kΩ = 3 V.
- The drop across the 2 kΩ resistor is 3 mA × 2 kΩ = 6 V.
- The two drops sum to 9 V, which matches the battery.
Step 5 is a useful check you can apply to any series circuit. The helper functions below do the same job for series and parallel combinations, which later chapters explain.
def series(*resistors):
return sum(resistors)
def parallel(*resistors):
return 1.0 / sum(1.0 / r for r in resistors)
def divider_out(v_in, r_top, r_bottom):
return v_in * r_bottom / (r_top + r_bottom)
print(series(100, 220, 330)) # 650 ohms
print(parallel(100, 100)) # 50.0 ohms
print(divider_out(5.0, 10_000, 10_000)) # 2.5 voltsCommon errors
- Using the supply voltage for a single resistor. In a series chain, each resistor sees only part of the supply. Use the voltage across that resistor, not the battery voltage.
- Using the total current for a single resistor. In a parallel network, each branch carries only part of the total current.
- Mixing units. Combining mA with Ω, or kΩ with A, gives answers wrong by powers of ten.
- Applying R = V / I to a changing component. The result describes only that operating point.
- Ignoring source resistance. Real batteries and supplies have internal resistance, so the terminal voltage falls as load current rises. The ideal source in textbook problems has none.
- Treating the wires as perfect. In most signal circuits, wire resistance is negligible. For long runs or high currents it is not, and the voltage lost in the wire reduces what reaches the load.
Finding R from measurements
Because R = V / I, you can find an unknown resistance by applying a known voltage, measuring the current, and dividing. A better method uses several points. Take measurements at a few voltages, plot I against V, and fit a straight line through the origin. The slope is 1/R. Using several points reveals two things a single measurement hides: whether the component is actually ohmic, and how large the measurement scatter is.
Suppose you measure these values:
| V (V) | I (mA) |
|---|---|
| 1.0 | 0.99 |
| 2.0 | 2.03 |
| 3.0 | 2.98 |
| 4.0 | 4.02 |
Each ratio V / I is close to 1.0 kΩ, so the part is ohmic over this range and its resistance is about 1.0 kΩ. If the ratio drifted steadily upward, you would suspect heating.
Summary of working rules
- Always identify the component first, then the voltage across it and the current through it.
- Check units before calculating, and check magnitude after.
- In series circuits, the current is shared and the voltages add.
- In parallel circuits, the voltage is shared and the currents add.
- Treat "R is constant" as a property to confirm, not an assumption to make.
Exercise
A 3.3 kΩ resistor has 8.25 V across it. (a) What current flows through it? (b) A second, unknown resistor is placed in series with it, and the current drops to 1.5 mA with the same 8.25 V supply across the pair. What is the unknown resistance?
Show answer
(a) I = V / R = 8.25 V / 3.3 kΩ = 2.5 mA. (b) With a 1.5 mA current and an 8.25 V supply across the pair, the total resistance is 8.25 V / 1.5 mA = 5.5 kΩ. The unknown resistor is 5.5 kΩ − 3.3 kΩ = 2.2 kΩ.
Exercise
You measure 0.50 A through a lamp at 2.0 V and 1.00 A at 12.0 V. Compute R = V / I at each point. Does the lamp obey Ohm's law, and what is the likely cause of any difference?
Show answer
At 2.0 V, R = 2.0 / 0.50 = 4.0 Ω. At 12.0 V, R = 12.0 / 1.00 = 12.0 Ω. The ratio is not constant, so the lamp is non-ohmic. The filament heats up at higher current, and a hotter metal has higher resistance.