A23 of 29
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

A2 · Lesson 3 · Lines and linear functions

A battery's voltage is a straight line in its current

Measure a battery with nothing connected and you read its full voltage. Connect a load and the reading drops, and the more current you draw, the more it drops, by the same amount for every extra ampere. Plot terminal voltage against current and you get a straight line. Its two numbers, where it starts and how steeply it falls, are the battery's open-circuit voltage and its internal resistance. A great deal of engineering is reading lines like this one.

Play

  • The falling line is the battery: V=E−rI. The rising line is the load resistor: V=RI.
  • Raise the internal resistance r. What happens to the line's slope, and to the point where it meets the horizontal axis?
  • Change the load R. Where the two lines cross is what the circuit actually does. Read its current and voltage.

Predict

A battery's line starts at 12 V and falls 1 V for every ampere drawn. What current would make its terminal voltage zero?

Name it

Slope and intercept

A linear function changes by the same amount for every unit step in its input:

y=mx+b
  • m is the slope: the change in y for each unit increase in x. Positive slopes rise to the right, negative ones fall.
  • b is the y-intercept: the value at x=0, where the line crosses the vertical axis.
  • The x-intercept is where y=0: x=−b/m.

From two points. The slope is the rise over the run:

m=y2−y1x2−x1

Then the intercept is b=y1−mx1. Or skip b and write the line straight from one point and the slope, the point-slope form:

y=y1+m(x−x1)

Lines that never meet, and lines at right angles. Parallel lines have the same slope. Perpendicular lines have slopes whose product is −1: a line of slope 2 is at right angles to one of slope −12.

Lines in circuits

A battery (or any real source) is an ideal voltage E in series with an internal resistance r:

V=E−rI

The intercept is E, the open-circuit voltage, and the slope is −r. A load resistor obeys V=RI, a line through the origin with slope R. The circuit has to satisfy both at once, so it sits where the lines cross. You'll solve for crossing points algebraically in lesson 7.

Two-point calibration. A sensor whose output is linear in what it measures is calibrated with two known points, say its reading at 0 °C and at 100 °C. Every other reading follows from the line through them.

Worked example

Find the line through (2,5) and (6,13), and where it crosses each axis.

Show the solution
  1. Slope. m=13−56−2=84=2
  2. Intercept. b=y1−mx1=5−2×2=1 So y=2x+1.
  3. Axis crossings. It crosses the vertical axis at y=1, and the horizontal axis where 2x+1=0, at x=−12.
  4. Check with the second point. 2×6+1=13

Answer the line is y=2x+1. It crosses the vertical axis at y=1 and the horizontal axis at x=−12.

Worked example

A car battery reads 12.6 V with nothing connected and 12.1 V while delivering 10 A. What are its internal resistance and its short-circuit current?

Show the solution
  1. Slope. The voltage fell by 12.6−12.1=0.5 V for 10 A, so the slope is −0.05 V/A.
  2. Internal resistance. r=0.5V10A=0.05Ω
  3. Short-circuit current. It's where the line reaches zero volts: I=Er=12.60.05A=252A
  4. Reality check. A real battery's resistance rises at such currents, but the estimate shows why a dropped wrench across car battery terminals glows red.

Answer the internal resistance is 0.05 Ω, and the short-circuit current is about 252 A.

Worked example

Near its operating point, a diode's current runs along a straight line through (0.65 V, 2 mA) and (0.70 V, 12 mA). Find the slope, its reciprocal, and where the line crosses the voltage axis.

Show the solution
  1. Slope. m=(12−2)mA(0.70−0.65)V=10mA0.05V=0.2A/V or 0.2 S.
  2. Its reciprocal. This is the diode's small-signal resistance at this current: 10.2S=5Ω A small wiggle in voltage moves the current as a 5 Ω resistor would.
  3. Voltage-axis crossing. The line reaches zero current at V=0.65−2mA0.2S=0.65−0.01=0.64V
  4. Where the line holds. The real diode is curved, so this straight line only describes it near the two points it was drawn through.

Answer the slope is 0.2 S, its reciprocal is 5 Ω, and the line crosses the voltage axis at 0.64 V.

Check

A line passes through (−1,1) and (4,16). What is its slope?

Check

A line has slope −3 and passes through (1,−2). Where does it cross the vertical axis?

Check

A battery reads 9 V with no load and 8.8 V while delivering 0.5 A. What is its internal resistance?

Write units the way you normally would: 1.5 Ω, 1500 mΩ and 0.0015 kΩ are the same answer.

Check

A source has an open-circuit voltage of 3.7 V and an internal resistance of 0.02 Ω. What current would it drive into a short circuit?

Write units the way you normally would: 1.5 A, 1500 mA and 0.0015 kA are the same answer.

Check

A temperature sensor reads 0.4 V at 0 °C and 1.4 V at 100 °C, and its output is linear in between. What temperature gives a reading of 1 V?

Check

A line has slope 3. What is the slope of a line at right angles to it?

Check

Write the line with slope 3 through (1,−1) as a formula in x.

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Check

A pressure sensor is calibrated at two points: it reads 0.8 V at 20 kPa and 3.2 V at 100 kPa. Its output is a straight line in the pressure.

(a)

What is its slope, in volts per kPa?

Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.

(b)

What would it read at 0 kPa?

(c)

What pressure, in kPa, makes it read 2 V?

Check

Derive the line through (x1,y1) and (x2,y2).

Step 1

Write its slope m.

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Explain why

A battery's terminal voltage falls along a straight line as you draw more current. What do the line's two intercepts tell you about the battery?

Practice

Keep practicing

14 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.