Sub topic 1
Ohm's law as the starting point
Every formula in this tutorial comes from one relationship: the voltage across a resistor is proportional to the current through it. This chapter states that relationship precisely, fixes the sign and unit conventions, and shows which parts of it the divider derivations will use later.
Prerequisites
This chapter assumes you already know the following:
- Voltage, current, and resistance as quantities, and their units: volts (V), amperes (A), and ohms (Ω).
- Algebra with fractions and ratios, including solving a simple equation for one variable.
- How to read a simple schematic: the resistor symbol, a voltage source, and the ground symbol.
You do not need Kirchhoff's laws yet. They come in later chapters.
The statement of Ohm's law
For a resistor, the voltage across it equals the current through it times its resistance:
V = I × R
Here V is the voltage in volts, I is the current in amperes, and R is the resistance in ohms. One ohm is one volt per ampere.
The same relationship can be rearranged to solve for whichever quantity is unknown.
| Unknown | Formula | Example |
|---|---|---|
| Voltage | V = I R | 2 mA through 3 kΩ gives 6 V |
| Current | I = V / R | 6 V across 3 kΩ gives 2 mA |
| Resistance | R = V / I | 6 V with 2 mA flowing gives 3 kΩ |
Ohm's law describes a property of a component, not a law of nature that every component obeys. A component is called ohmic (or linear) if its resistance stays constant while voltage and current change. A fixed metal-film resistor is very close to ohmic over its normal operating range. A diode or a lamp filament is not. The divider rules in this tutorial assume ohmic resistors.
Why proportionality matters for dividers
The key property is linearity. If you double the voltage across an ohmic resistor, the current doubles. If you double the resistance and keep the voltage fixed, the current halves.
Dividers depend on this. A divider does not care about the absolute size of the source or the resistors. It cares about ratios. Because V = I R is linear, the same current through two resistors produces voltages in the same ratio as the resistances. That single observation will give you the voltage divider rule in the chapter after series resistance and Kirchhoff's voltage law.
Reference directions and signs
Ohm's law gives a number, but a circuit also needs a direction. The convention used in this tutorial is the passive sign convention:
- Pick a direction for the current through the resistor, shown by an arrow.
- Label the end where the current enters as the plus end of the voltage.
- With those choices, V = +I R.
Current flows through a resistor from the higher potential end to the lower potential end. The voltage across it is a drop, and it is positive when measured from the entry end to the exit end.
If you pick the arrow the "wrong" way, the math still works. You get a negative current, which means the real current flows opposite to your arrow. Do not treat a negative result as an error. Treat it as information about direction.
Voltages are differences
A voltage is always measured between two points. When people say "the voltage at a node," they mean the voltage between that node and a chosen reference point called ground. The voltage across a resistor is the difference between the node voltages at its two ends:
VR = Va − V_b
This matters in later chapters, where a divider output is quoted as a node voltage relative to ground. Ohm's law applies to the difference across a single resistor. It does not apply to a node voltage by itself.
Conductance: the reciprocal view
Resistance measures how much a component opposes current. Conductance, written G, measures how easily it passes current:
G = 1 / R
The unit is the siemens (S). Ohm's law in conductance form is:
I = G × V
A 2 kΩ resistor has a conductance of 0.5 mS. Conductance is useful because parallel branches add in conductance, which is how the current divider will be derived. For now, remember that large resistance means small conductance, and the reverse.
Power in a resistor
A resistor converts electrical energy to heat. The power it dissipates is the product of voltage and current:
P = V × I
Combining this with Ohm's law gives two more forms:
- P = I² R
- P = V² / R
Use the form that matches the quantities you know. For a resistor carrying a known current, I² R is the natural choice. For a resistor across a known voltage, use V² / R.
Power matters for dividers because every resistor has a rating, often 1/4 W or 1/8 W for small through-hole and surface-mount parts. Exceeding it overheats the part and shifts its value. The chapter on choosing resistor values returns to this.
A worked example
A 12 V source is connected across a single 4 kΩ resistor. Find the current and the power.
- Current: I = V / R = 12 V / 4000 Ω = 0.003 A = 3 mA.
- Power: P = V × I = 12 V × 0.003 A = 0.036 W = 36 mW.
- Check with the other form: P = V² / R = 144 / 4000 = 0.036 W. The two agree.
The following Python function does the same calculation and is reused in later chapters. Run it as shown.
def resistor_report(v, r):
"""Return current (A) and power (W) for voltage v (V) across resistance r (ohms)."""
if r <= 0:
raise ValueError("resistance must be positive")
i = v / r
p = v * i
return i, p
i, p = resistor_report(12.0, 4_000)
print(f"I = {i * 1000:.3f} mA, P = {p * 1000:.3f} mW")
# I = 3.000 mA, P = 36.000 mWUsing two decimal places in the print format avoids showing floating-point noise such as 0.0030000000000000001. Floating-point arithmetic cannot represent every decimal exactly, so compare computed results with a tolerance rather than with ==.
A first glimpse of a divider
Put two resistors, 10 kΩ and 5 kΩ, end to end across the same 12 V source. The two resistors are in series, which means the same current passes through both. Series resistance is the subject of the next chapter, so for now accept that the total opposition is 15 kΩ.
- Current: I = 12 V / 15 000 Ω = 0.8 mA.
- Voltage across the 5 kΩ resistor: V = I R = 0.0008 A × 5000 Ω = 4 V.
- Voltage across the 10 kΩ resistor: V = 0.0008 A × 10 000 Ω = 8 V.
The 5 kΩ resistor takes one third of the 12 V, and 5 kΩ is one third of 15 kΩ. That match is the voltage divider rule appearing. The next chapters explain why it holds and prove it.
Where Ohm's law stops being exact
Real resistors depart from the ideal in several ways. None of them break the divider rules in a basic circuit, but each can change the numbers.
- Tolerance: A resistor marked 5% can be off from its nominal value by up to 5%. A divider output depends on a ratio, so errors in two resistors can add or partly cancel.
- Temperature: Resistance drifts with temperature. Self-heating from power dissipation causes some of that drift.
- Voltage and power limits: Above the rated power or rated working voltage, a resistor may change value permanently or fail.
- Non-ohmic parts: Thermistors, diodes, LEDs, and transistors do not follow V = I R with a constant R. You can still use Ohm's law at a single operating point, but the resistance you get applies only to that point.
Common errors to avoid
- Mixing units. Use ohms with volts and amperes. If a resistor is given in kΩ and a current in mA, the units cancel cleanly: 5 mA × 2 kΩ = 10 V. Mixing kΩ with A or Ω with mA gives answers off by a factor of 1000.
- Using the wrong voltage. The V in V = I R is the voltage across that resistor, not a node voltage or the source voltage.
- Dropping the direction. Decide the current arrow first and keep the plus end consistent.
- Ignoring power. A result that is correct in volts and amperes can still destroy a resistor if P exceeds its rating.
How this chapter connects forward
Three results from this chapter carry through the rest of the tutorial.
- Linearity. Equal currents through two resistors give voltages in the ratio of the resistances. This yields the voltage divider.
- Conductance form. I = G V lets equal voltages across parallel resistors give currents in the ratio of the conductances. This yields the current divider.
- Power. P = I² R and P = V² / R set practical limits on resistor values.
Exercises
Exercise
A resistor has 5 V across it and 2.5 mA flowing through it. What is its resistance, and how much power does it dissipate?
Show answer
R = V / I = 5 V / 0.0025 A = 2000 Ω, which is 2 kΩ. Power P = V × I = 5 V × 0.0025 A = 0.0125 W, which is 12.5 mW.
Exercise
A 1 kΩ resistor is rated for 1/4 W. What is the largest voltage you can put across it without exceeding the rating, and what current flows at that voltage?
Show answer
From P = V² / R, V = sqrt(P × R) = sqrt(0.25 × 1000) = sqrt(250), which is about 15.8 V. The current is I = V / R, which is about 15.8 mA. Check: 15.8 V × 15.8 mA is about 0.25 W.
Exercise
A 10 kΩ and a 20 kΩ resistor are connected end to end across 9 V, so the same current flows through both. Use Ohm's law to find the voltage across the 20 kΩ resistor. Treat the total resistance as 30 kΩ.
Show answer
The current is I = 9 V / 30 000 Ω = 0.3 mA. The voltage across the 20 kΩ resistor is V = I R = 0.0003 A × 20 000 Ω = 6 V. This is two thirds of 9 V, and 20 kΩ is two thirds of 30 kΩ.