doPhysics.in
All chapters
Functions and Graphs · Lesson 2 of 6

The Straight Line: Slope and Intercept

15 min read3 ideas6 checks1 figure to playBy Asheshanand Acharya
What you will learn 0 / 3
The straight line slope and intercept
Look around
Planck's constant from a voltmeter

In a college laboratory, a student shines light through five coloured filters, one after another, onto a photocell. For each colour she finds the retarding voltage that just stops the current. She plots the five voltages against the frequencies of the light, and the points lie on a straight line. From the tilt of that line and the places where it meets the axes, she can find a constant of nature.

you will read Planck's constant, the threshold frequency and the work function of a metal from the slope and the intercepts of one straight line.

Equal steps, equal rises

A train of the Delhi Metro passes a signal \(100\,\text{m}\) from a station and runs on at a steady \(20\,\text{m/s}\). Its distance from the station is \(x = 100 + 20t\), with \(t\) in seconds. Every second adds the same \(20\,\text{m}\). A graph of \(x\) against \(t\) is therefore a straight line. Equal steps in \(t\) give equal rises in \(x\).

Any straight line can be written \(y = mx + c\). The number \(m\) is the slope. It is the rise in \(y\) divided by the run in \(x\), and it is the same between any two points of the line. The number \(c\) is the intercept. It is the value of \(y\) where the line crosses the \(y\) axis, at \(x = 0\). For the train, \(m = 20\,\text{m/s}\) and \(c = 100\,\text{m}\).

definition 7.2
Slope and intercept of a straight line

The slope of a straight line is the rise divided by the run between any two of its points, \(m = \Delta y/\Delta x\). The intercept \(c\) is the value of \(y\) where the line crosses the \(y\) axis. A straight line is the graph of \(y = mx + c\), and its slope is the same everywhere on it.

RememberThe straight line
\[ \begin{gathered} y = mx + c \\ m = \dfrac{y_2 - y_1}{x_2 - x_1} \end{gathered} \]
Holds whenfor any straight line that is not vertical; \((x_1, y_1)\) and \((x_2, y_2)\) are any two different points on it.
Symbols\(m\) the slope; \(c\) the intercept on the \(y\) axis; \((x_1, y_1)\), \((x_2, y_2)\) two points of the line
Units\(m\) in the unit of \(y\) per unit of \(x\); \(c\) in the unit of \(y\)
The slope turns the line, the intercept lifts itThe straight line y = mx + c on axes from x = -3 to 5 and y = -4 to 5. Two sliders set the slope m, from -2 to 2, and the intercept c, from -2 to 3. The point where the line crosses the y axis is marked at height c. A small triangle from x = 0 to x = 1 shows a run of 1 and a rise of m. Where the line meets the x axis, at x = -c/m, a second point is marked and the readout gives its value. With m = 1.5 and c = 2 the line meets the x axis at -1.33.12345−1−2−312345−1−2−3−4Oxy m c meets the x axis at x = −1.33
SimThe line \(y = mx + c\). Move the slider for the slope \(m\): the line turns about the point \((0, c)\). The small triangle shows a run of \(1\) and a rise of \(m\). Move the slider for \(c\): the line moves up or down without turning. The readout gives the point where the line meets the \(x\) axis.

A positive slope means that \(y\) grows as \(x\) grows, so the line climbs to the right. A negative slope means that \(y\) falls, so the line drops to the right. A zero slope gives a flat line, \(y = c\). A steeper line has a slope of larger size. Two lines with the same slope never meet, because they are parallel.

Checkpoint · numericUnanswered

A cyclist's position-time graph is a straight line through \((2\,\text{s}, 10\,\text{m})\) and \((6\,\text{s}, 30\,\text{m})\). What is its slope, in m/s?

m/s± 2 %
Slope and intercept are physical quantities

The units name the physics

A slope is a rise divided by a run. So its unit is the unit of \(y\) divided by the unit of \(x\). An intercept is a value of \(y\), so it has the unit of \(y\). Ask for the unit of the slope, and you usually learn what the slope measures. On a position-time graph the slope is in m/s, a velocity. On a velocity-time graph it is in m/s², an acceleration.

Property
The slope is
The intercept is
\(x\) against \(t\) for steady motion
the velocity, in m/s
the starting position
\(v\) against \(t\) for constant acceleration
the acceleration, in m/s²
the starting velocity \(u\)
terminal voltage \(V\) against current \(I\) of a cell
\(-r\), the internal resistance with a minus sign
the emf \(\mathcal{E}\)
stopping potential \(V_0\) against frequency \(\nu\)
\(h/e\), in V s
\(-\phi/e\), from the extended line
Fahrenheit reading against Celsius reading
\(1.8\) degrees F per degree C
\(32\) degrees F, the freezing point

Where the line meets the horizontal axis

The line meets the \(x\) axis where \(y = 0\). Put \(y = 0\) into \(y = mx + c\) to get \(x = -c/m\). This point often has its own physical name. On the stopping-potential line it is the threshold frequency. On the line of a cell it is the short-circuit current. On the volume-temperature line of a gas it is \(-273\,^\circ\text{C}\), the absolute zero.

A straight line is not always a proportion

The quantity \(y\) is proportional to \(x\) only when \(c = 0\). Then the line passes through the origin, and doubling \(x\) doubles \(y\). If \(c\) is not zero, doubling \(x\) does not double \(y\). A Fahrenheit reading is \(F = 1.8C + 32\). It is \(68\) at \(20\,^\circ\text{C}\), but \(104\), not \(136\), at \(40\,^\circ\text{C}\).

CheckpointUnanswered

The Fahrenheit reading is \(F = 1.8C + 32\). A thermometer reads \(68\,^\circ\text{F}\) at \(20\,^\circ\text{C}\). What does it read at \(40\,^\circ\text{C}\)?

Checkpoint · numericUnanswered

At what temperature do a Celsius thermometer and a Fahrenheit thermometer show the same number? Use \(F = 1.8C + 32\) and give the reading.

± 2 %
Common mistake

A straight line fitted to measurements is known only over the range that was measured. The stopping-potential line exists only above the threshold frequency; its dashed extension down to \(\nu = 0\) is arithmetic, not a measurement. A line for the resistance of a copper wire, measured from \(0\) to \(100\,^\circ\text{C}\), cannot be trusted near \(-250\,^\circ\text{C}\). Use the extension to read an intercept, never as a result of the experiment.

The line through a point with a given slope

A line from one point and its slope

Often you know one point of a line and its slope, but not its intercept. Any other point \((x, y)\) of the line must make the same slope with the known point \((x_1, y_1)\). This one fact gives the equation of the line. The derivation below takes three steps.

Deriving \(y - y_1 = m(x - x_1)\) step 1 of 3
1

\[ \dfrac{y - y_1}{x - x_1} = m \]

Why. the slope between the known point \((x_1, y_1)\) and any other point \((x, y)\) of the line is the slope \(m\) of the line.

RememberThe line through a point with a given slope
\[ y - y_1 = m\,(x - x_1) \]
Holds whenfor the straight line of slope \(m\) through the point \((x_1, y_1)\); the line must not be vertical.
Symbols\((x_1, y_1)\) a known point of the line; \(m\) its slope; \((x, y)\) any point of the line
Units\(m\) in the unit of \(y\) per unit of \(x\)
CheckpointUnanswered

A line has slope \(3\) and passes through the point \((2, 5)\). What is its equation?

Back to physics: the photoelectric line

Einstein's equation for the photoelectric effect is \(eV_0 = h\nu - \phi\). Divide by \(e\) to get \(V_0 = (h/e)\,\nu - \phi/e\). This has the form \(y = mx + c\) with \(y = V_0\) and \(x = \nu\). So the slope is \(h/e\), and the intercept on the \(V_0\) axis is \(-\phi/e\). The line meets the frequency axis at the threshold frequency \(\nu_0\).

Three readings of one straight lineThe stopping potential V nought against the frequency of the light, in units of 10 to the 14 hertz, for a sodium surface. The best straight line passes through 0.57 volt at 8.0 and 2.22 volts at 12.0. Three chips read it. The slope chip draws a triangle between the two points: a rise of 1.65 volts over a run of 4.0, a slope of 0.4125 volt per 10 to the 14 hertz. The threshold chip marks where the line meets the frequency axis, at 6.62. The work function chip draws the dashed extension of the line back to zero frequency, where it meets the V nought axis at -2.73 volts.24681012123−1−2−3Oν (10¹⁴ Hz)V0 (V) (8.0, 0.57) (12.0, 2.22) ν0 −2.73 V slope = 0.4125 V per 10¹⁴ Hz
Fig 2.1The stopping potential against the frequency for a sodium surface, with the best straight line. Choose a chip. The slope chip draws the triangle between the two points of the example below. The threshold chip marks where the line meets the frequency axis. The work function chip draws the dashed extension back to \(\nu = 0\).
ExampleThis is the worked example of Photons and the Photoelectric Effect, lesson 4, done with the tool

The best line of \(V_0\) against \(\nu\) passes through \(0.57\,\text{V}\) at \(8.0 \times 10^{14}\,\text{Hz}\) and \(2.22\,\text{V}\) at \(12.0 \times 10^{14}\,\text{Hz}\). Find Planck's constant, the threshold frequency and the work function. Take \(e = 1.6 \times 10^{-19}\,\text{C}\).

Reveal one step at a time and finish the rest yourself.

The student of the laboratory now has her constant. The tilt of her line is \(h/e\), so a voltmeter and a set of filters have measured \(h\). The place where the line starts, on the frequency axis, is the threshold of the metal. The extension of the line back to zero frequency gives the work function.

Checkpoint · numericUnanswered

A cell gives a terminal voltage of \(5.5\,\text{V}\) while it supplies \(1\,\text{A}\) and \(5\,\text{V}\) while it supplies \(2\,\text{A}\). Its graph of \(V\) against \(I\) is the straight line \(V = \mathcal{E} - Ir\). Find its emf, the intercept of the line, in volts.

V± 2 %
CheckpointUnanswered

What is the unit of the slope of a graph of stopping potential \(V_0\), in volts, against frequency \(\nu\), in hertz?

In the world
Where this tool works in physics

The straight line is the most used graph in the book. The chapter Graphical Understanding of Motion reads the acceleration as the slope of a v-t line. Ohm's law makes the V-I graph of a metal a line through the origin. The cell's terminal voltage falls along a line of slope \(-r\). The photoelectric chapter reads Planck's constant from a slope. Moseley's law makes \(\sqrt{\nu}\) of an X-ray line a straight line against the atomic number. Thermometer scales, the absolute zero, and the mirror and lens graphs of \(1/v\) against \(1/u\) are straight lines too.

Exam traps
  1. Taking a line with an intercept as a proportion.
    Only a line through the origin is a proportion. With \(c \ne 0\), doubling \(x\) does not double \(y\).
  2. Finding the slope from one point, as \(y/x\).
    The slope is a rise over a run between two points, \((y_2 - y_1)/(x_2 - x_1)\). The ratio \(y/x\) equals it only when \(c = 0\).
  3. Treating the extended part of a fitted line as data.
    The extension is used to read an intercept. It is not a measurement; below the threshold there is no stopping potential at all.

Where this tool works in the book

The physics that leans on this lesson. Each card opens the topic where the tool is at work.