Sub topic 1
Ohm's law as the starting point
Prerequisites
This chapter assumes you know what voltage, current, and resistance are, can rearrange simple algebraic equations, and can read a basic schematic with a source and resistors. Nothing else is needed. Every later result in this tutorial, including both divider formulas, is built from the single relation covered here.
The relation
Ohm's law connects the voltage across a resistor to the current through it:
V = I × R
Here V is in volts, I is in amperes, and R is in ohms. The law is a statement about an ideal resistor, a part whose resistance stays constant. For such a part, doubling the voltage doubles the current.
Rearranged, the law gives three forms. Each one answers a different question.
| Unknown | Formula | Question it answers |
|---|---|---|
| Voltage | V = I R | What voltage appears across a resistor carrying a known current? |
| Current | I = V / R | How much current does a known voltage drive through a resistor? |
| Resistance | R = V / I | What resistance produces this current at this voltage? |
Sign and direction
Ohm's law gives a magnitude. To use it in a loop or at a node, you also need a sign convention. The usual choice is the passive sign convention: current enters the resistor at the terminal marked +, and flows out at the terminal marked −. With that choice, V = I R holds with positive numbers, and the resistor absorbs power.
If you draw the current arrow the other way, the same law reads V = −I R. Getting this sign wrong is the most common source of errors when you move on to Kirchhoff's laws, so fix a convention before you write any equation.
Conductance
Resistance has a reciprocal, called conductance. It is written G and measured in siemens (S):
G = 1 / R
Ohm's law then becomes I = G V. This form is not decoration. In parallel circuits, conductances add directly, and the current divider formula has its simplest shape in terms of G. You will use it in the chapter on dividing current among many branches.
Power
A resistor converts electrical energy to heat. The power it dissipates follows from Ohm's law:
P = V I = I² R = V² / R
Power matters when you choose divider resistors, because each one has a rating, often 0.25 W. A divider that works on paper can still overheat a part if the current is too large.
A worked example
A 12 V source is connected across a single 4 kΩ resistor. Find the current and the power.
- Convert units: 4 kΩ = 4000 Ω.
- Apply I = V / R: I = 12 / 4000 = 0.003 A, which is 3 mA.
- Apply P = V I: P = 12 × 0.003 = 0.036 W, which is 36 mW.
Check with the other forms: I² R = (0.003)² × 4000 = 0.036 W. Both give the same answer.
The short script below does the same calculation. It is a useful template, because later chapters reuse the same helper functions.
def current(v, r):
return v / r
def power(v, r):
return v * v / r
v = 12.0
r = 4_000
print(current(v, r)) # 0.003 amperes
print(power(v, r)) # 0.036 wattsWhy this is the starting point
A voltage divider is two resistors in series. The same current flows through both, so Ohm's law gives each resistor's voltage as that current times its resistance. A current divider is two resistors in parallel. Both have the same voltage across them, so Ohm's law gives each branch current as that voltage divided by its resistance.
Ohm's law alone is not enough to finish either derivation. You also need to know how resistors combine and how voltages and currents add up in a circuit. The next chapters supply those pieces in this order:
Common errors
- Forgetting to convert kΩ to Ω or mA to A before calculating. A factor of 1000 error is easy to make.
- Applying V = I R to a part that is not a fixed resistor, such as a diode or a lamp whose resistance changes with temperature.
- Using the voltage across a different component than the one whose current you are computing.
- Mixing sign conventions between resistors in the same circuit.
Exercises
Exercise
A resistor carries 2.5 mA when 5 V is applied across it. What is its resistance, and how much power does it dissipate?
Show answer
R = V / I = 5 / 0.0025 = 2000 Ω, which is 2 kΩ. Power P = V I = 5 × 0.0025 = 0.0125 W, which is 12.5 mW.
Exercise
A 10 kΩ resistor must not exceed 0.25 W. What is the largest voltage you can safely apply across it?
Show answer
From P = V² / R, V = √(P R) = √(0.25 × 10000) = √2500 = 50 V.