OCR A Level Maths B (MEI): Past Papers

Choose a paper, attempt it under timed conditions and use the matching mark scheme to review your method.

Quick Answer

The OCR A Level Maths B (MEI): archive includes question papers and mark schemes, including June 2022 Paper 3: Pure Mathematics and Comprehension. Match the assessment code and series before using the scheme to check your working.

Graphing calculator and a mechanics diagram beside an exam booklet
Past Papers

Browse our range of OCR A Level Maths Past Papers and Mark Schemes below. Testing yourself with A Level Maths past papers is a great way to identify which topics need more revision, so you can ensure that you are revising as effectively as possible to help you get ready for your A Level Maths exam. Use the GCSE and A Level revision techniques to plan the next timed attempt around the mistakes you made.

Exam Papers

Mark Schemes

More Resources

2022

June 2022 Paper 3: Pure Mathematics and Comprehension (QP)June 2022 Paper 3: Pure Mathematics and Comprehension (MS)
June 2022 Paper 2: Pure Mathematics and Statistics (QP)June 2022 Paper 2: Pure Mathematics and Statistics (MS) 
June 2022 Paper 1: Pure Mathematics and Mechanics (QP)June 2022 Paper 1: Pure Mathematics and Mechanics (MS) 

2021

November 2021 Paper 3: Pure Mathematics and Comprehension (QP)November 2021 Paper 3: Pure Mathematics and Comprehension (MS)
November 2021 Paper 2: Pure Mathematics and Statistics (QP)November 2021 Paper 2: Pure Mathematics and Statistics (MS) 
November 2021 Paper 1: Pure Mathematics and Mechanics (QP)November 2021 Paper 1: Pure Mathematics and Mechanics (MS) 

2020

November 2020 Paper 3: Pure Mathematics and Comprehension (QP)November 2020 Paper 3: Pure Mathematics and Comprehension (MS)
November 2020 Paper 2: Pure Mathematics and Statistics (QP)November 2020 Paper 2: Pure Mathematics and Statistics (MS) 
November 2020 Paper 1: Pure Mathematics and Mechanics (QP)November 2020 Paper 1: Pure Mathematics and Mechanics (MS) 

2019

June 2019 Paper 3: Pure Mathematics and Comprehension (QP)June 2019 Paper 3: Pure Mathematics and Comprehension (MS)
June 2019 Paper 2: Pure Mathematics and Statistics (QP)June 2019 Paper 2: Pure Mathematics and Statistics (MS) 
June 2019 Paper 1: Pure Mathematics and Mechanics (QP)June 2019 Paper 1: Pure Mathematics and Mechanics (MS) 

2018

June 2018 Paper 3: Pure Mathematics and Comprehension (QP)June 2018 Paper 3: Pure Mathematics and Comprehension (MS)
June 2018 Paper 2: Pure Mathematics and Statistics (QP)June 2018 Paper 2: Pure Mathematics and Statistics (MS) 
June 2018 Paper 1: Pure Mathematics and Mechanics (QP)June 2018 Paper 1: Pure Mathematics and Mechanics (MS) 

Specimen Papers

Paper 3 Pure Mathematics and Comprehension (QP)  
Paper 2 Pure Mathematics and Statistics (QP)  
Paper 1 Pure Mathematics and Mechanics (QP)
Advertisement

Use a velocity graph to check displacement

A model train travels along a straight track. Its velocity rises uniformly from two to eight metres per second over four seconds. Draw a trapezium under the velocity graph. The parallel sides represent velocities and the horizontal width represents time. The average velocity is five metres per second, so the signed displacement is twenty metres. Writing the units beside each factor helps distinguish displacement from acceleration.

Finding the Average Rate of Change of a Function

The functions describing the examples above involve a change over time. Change divided by time is one example of a rate. The rates of change in the previous examples are each different. In other words, some changed faster than others. If we were to graph the functions, we could compare the rates by determining the slopes of the graphs.
A tangent line to a curve is a line that intersects the curve at only a single point but does not cross it there. (The tangent line may intersect the curve at another point away from the point of interest.) If we zoom in on a curve at that point, the curve appears linear, and the slope of the curve at that point is close to the slope of the tangent line at that point.
diagram represents the function f( x )= x 3 −4x. We can see the slope at various points along the curve.
  • slope at x=−2 is 8
  • slope at x=−1 is –1
  • slope at x=2 is 8
Graph of f(x) = x^3 - 4x with tangent lines at x = -2 with a slope of 8, at x = -3 with a slope of -1, and at x=2 with a slope of 8.
Graph showing tangents to curve at –2, –1, and 2.
Let’s imagine a point on the curve of function f at x=a as shown in diagram. The coordinates of the point are ( a,f(a) ). Connect this point with a second point on the curve a little to the right of x=a, with an x-value increased by some small real number h. The coordinates of this second point are ( a+h,f(a+h) ) for some positive-value h.
Graph of an increasing function that demonstrates the rate of change of the function by drawing a line between the two points, (a, f(a)) and (a, f(a+h)).
Connecting point a with a point just beyond allows us to measure a slope close to that of a tangent line at x=a.
We can calculate the slope of the line connecting the two points (a,f(a)) and (a+h,f(a+h)), called a secant line, by applying the slope formula,
slope =  change in y change in x
We use the notation m sec to represent the slope of the secant line connecting two points.
m sec = f(a+h)−f(a) (a+h)−(a)        = f(a+h)−f(a) a +h− a
The slope m sec equals the average rate of change between two points (a,f(a)) and (a+h,f(a+h)).
m sec = f( a+h )−f( a ) h

Finding the Average Rate of Change

Find the average rate of change connecting the points ( 2,−6 ) and ( −1,5 ).
Solution
We know the average rate of change connecting two points may be given by
AROC= f( a+h )−f( a ) h .
If one point is ( 2,−6 ), or ( 2,f( 2 ) ), then f( 2 )=−6.
The value h is the displacement from 2 to −1, which equals −1−2=−3.
For the other point, f( a+h ) is the y-coordinate at a+h , which is 2+(−3) or −1, so f(a+h)=f(−1)=5.
AROC= f(a+h)−f(a) h            = 5−(−6) −3            = 11 −3            =− 11 3

Understanding the Instantaneous Rate of Change

Now that we can find the average rate of change, suppose we make h in source illustration or discussion smaller and smaller. Then a+h will approach a as h gets smaller, getting closer and closer to 0. Likewise, the second point ( a+h,f(a+h) ) will approach the first point, ( a,f(a) ). As a consequence, the connecting line between the two points, called the secant line, will get closer and closer to being a tangent to the function at x=a, and the slope of the secant line will get closer and closer to the slope of the tangent at x=a. See diagram.
Graph of an increasing function that contains a point, P, at (a, f(a)). At the point, there is a tangent line and two secant lines where one secant line is connected to Q1 and another secant line is connected to Q2.
The connecting line between two points moves closer to being a tangent line at x=a.
Because we are looking for the slope of the tangent at x=a, we can think of the measure of the slope of the curve of a function f at a given point as the rate of change at a particular instant. We call this slope the instantaneous rate of change, or the derivative of the function at x=a. Both can be found by finding the limit of the slope of a line connecting the point at x=a with a second point infinitesimally close along the curve. For a function f both the instantaneous rate of change of the function and the derivative of the function at x=a are written as f'(a), and we can define them as a two-sided limit that has the same value whether approached from the left or the right.
f ′ (a)= lim h→0 f( a+h )−f( a ) h
The expression by which the limit is found is known as the difference quotient.

Derivatives: Interpretations and Notation

The derivative of a function can be interpreted in different ways. It can be observed as the behavior of a graph of the function or calculated as a numerical rate of change of the function.
  • The derivative of a function f(x) at a point x=a is the slope of the tangent line to the curve f(x) at x=a. The derivative of f(x) at x=a is written f ′ (a).
  • The derivative f ′ (a) measures how the curve changes at the point ( a,f(a) ).
  • The derivative f ′ (a) may be thought of as the instantaneous rate of change of the function f(x) at x=a.
  • If a function measures distance as a function of time, then the derivative measures the instantaneous velocity at time t=a.

Finding the Derivative of a Polynomial Function

Find the derivative of the function f(x)= x 2 −3x+5 at x=a.
Solution
We have:
f ′ (a)= lim h→0 f( a+h )−f( a ) h                   Definition of a derivative 
Substitute f(a+h)= (a+h) 2 −3(a+h)+5 and f(a)= a 2 −3a+5.
f ′ (a)= lim h→0 (a+h)(a+h)−3(a+h)+5−( a 2 −3a+5) h         = lim h→0 a 2 +2ah+ h 2 −3a−3h+5− a 2 +3a−5 h Evaluate to remove parentheses.         = lim h→0 a 2 +2ah+ h 2 −3a −3h +5 − a 2 +3a −5 h Simplify.         = lim h→0 2ah+ h 2 −3h h         = lim h→0 h (2a+h−3) h Factor out an h.         =2a+0−3 Evaluate the limit.         =2a−3

Finding Derivatives of Rational Functions

To find the derivative of a rational function, we will sometimes simplify the expression using algebraic techniques we have already learned.

Finding the Derivative of a Rational Function

Find the derivative of the function f(x)= 3+x 2−x at x=a.
Solution
f ′ (a)= lim h→0 f( a+h )−f( a ) h         = lim h→0 3+( a+h ) 2−( a+h ) −( 3+a 2−a ) h Substitute f(a+h) and f(a)        = lim h→0 (2−(a+h))(2−a)[ 3+( a+h ) 2−( a+h ) −( 3+a 2−a ) ] (2−(a+h))(2−a)(h) Multiply numerator and denominator by (2−(a+h))(2−a)        = lim h→0 ( 2−( a+h ) ) (2−a)( 3+( a+h ) ( 2−( a+h ) ) )−(2−(a+h)) ( 2−a ) ( 3+a 2−a ) ( 2−( a+h ) )(2−a)(h) Distribute        = lim h→0 6−3a+2a− a 2 +2h−ah−6+3a+3h−2a+ a 2 +ah ( 2−( a+h ) )( 2−a )(h) Multiply        = lim h→0 5 h ( 2−( a+h ) )( 2−a )( h ) Combine like terms        = lim h→0 5 ( 2−( a+h ) )( 2−a ) Cancel like factors        = 5 ( 2−( a+0 ) )( 2−a ) = 5 ( 2−a )( 2−a ) = 5 ( 2−a ) 2 Evaluate the limit

Finding Derivatives of Functions with Roots

To find derivatives of functions with roots, we use the methods we have learned to find limits of functions with roots, including multiplying by a conjugate.

Finding the Derivative of a Function with a Root

Find the derivative of the function f(x)=4 x at x=36.
Solution
We have
f ′ (a)= lim h→0 f(a+h)−f(a) h         = lim h→0 4 a+h −4 a h Substitute f(a+h) and f(a)
Multiply the numerator and denominator by the conjugate: 4 a+h +4 a 4 a+h +4 a .
    f ′ (a)= lim h→0 ( 4 a+h −4 a h )⋅( 4 a+h +4 a 4 a+h +4 a )            = lim h→0 ( 16(a+h)−16a h4( a+h + a ) ) Multiply.            = lim h→0 ( 16a +16h− 16a h4( a+h + a ) ) Distribute and combine like terms.            = lim h→0 ( 16 h h ( 4 a+h +4 a ) ) Simplify.            = lim h→0 ( 16 4 a+h +4 a ) Evaluate the limit by letting h=0.            = 16 8 a = 2 a f ′ (36)= 2 36 Evaluate the derivative at x=36.            = 2 6            = 1 3

Finding Instantaneous Rates of Change

Many applications of the derivative involve determining the rate of change at a given instant of a function with the independent variable time—which is why the term instantaneous is used. Consider the height of a ball tossed upward with an initial velocity of 64 feet per second, given by s(t)=−16 t 2 +64t+6, where t is measured in seconds and s( t ) is measured in feet. We know the path is that of a parabola. The derivative will tell us how the height is changing at any given point in time. The height of the ball is shown in diagram as a function of time. In physics, we call this the “s-t graph.”
Graph of a negative parabola with a vertex at (2, 70) and two points at (1, 55) and (3, 55).

Finding the Instantaneous Rate of Change

Using the function above, s(t)=−16 t 2 +64t+6, what is the instantaneous velocity of the ball at 1 second and 3 seconds into its flight?
Solution
The velocity at t=1 and t=3 is the instantaneous rate of change of distance per time, or velocity. Notice that the initial height is 6 feet. To find the instantaneous velocity, we find the derivative and evaluate it at t=1 and t=3:
f ′ (a)= lim h→0 f(a+h)−f(a) h s ′ (t)= lim h→0 −16 (t+h) 2 +64(t+h)+6−(−16 t 2 +64t+6) h Substitute s(t+h) and s(t).         = lim h→0 −16 t 2 −32ht− h 2 +64t+64h+6+16 t 2 −64t−6 h Distribute.         = lim h→0 −32ht− h 2 +64h h Simplify.         = lim h→0 h (−32t−h+64) h Factor the numerator.         = lim h→0 −32t−h+64 Cancel out the common factor h. s ′ (t)=−32t+64 Evaluate the limit by letting h=0.
For any value of t , s ′ ( t ) tells us the velocity at that value of t.
Evaluate t=1 and t=3.
s ′ (1)=−32(1)+64=32 s ′ (3)=−32(3)+64=−32
The velocity of the ball after 1 second is 32 feet per second, as it is on the way up.
The velocity of the ball after 3 seconds is −32 feet per second, as it is on the way down.

Using Graphs to Find Instantaneous Rates of Change

We can estimate an instantaneous rate of change at x=a by observing the slope of the curve of the function f( x ) at x=a. We do this by drawing a line tangent to the function at x=a and finding its slope.

Estimating the Derivative at a Point on the Graph of a Function

From the graph of the function y=f( x ) presented in diagram, estimate each of the following:
  1. ⓐ f(0)
  2. ⓑ f(2)
  3. ⓒ f'(0)
  4. ⓓ f'(2)
Graph of an odd function with multiplicity of two and with two points at (0, 1) and (2, 1).
Solution
To find the functional value, f( a ), find the y-coordinate at x=a.
To find the derivative at x=a, f ′ ( a ), draw a tangent line at x=a, and estimate the slope of that tangent line. See diagram.
Graph of the previous function with tangent lines at the two points (0, 1) and (2, 1). The graph demonstrates the slopes of the tangent lines. The slope of the tangent line at x = 0 is 0, and the slope of the tangent line at x = 2 is 4.
  1. ⓐ f(0) is the y-coordinate at x=0. The point has coordinates ( 0,1 ), thus f(0)=1.
  2. ⓑ f(2) is the y-coordinate at x=2. The point has coordinates ( 2,1 ), thus f(2)=1.
  3. ⓒ f ′ (0) is found by estimating the slope of the tangent line to the curve at x=0. The tangent line to the curve at x=0 appears horizontal. Horizontal lines have a slope of 0, thus f ′ (0)=0.
  4. ⓓ f ′ (2) is found by estimating the slope of the tangent line to the curve at x=2. Observe the path of the tangent line to the curve at x=2. As the x value moves one unit to the right, the y value moves up four units to another point on the line. Thus, the slope is 4, so f ′ (2)=4.

Using Instantaneous Rates of Change to Solve Real-World Problems

Another way to interpret an instantaneous rate of change at x=a is to observe the function in a real-world context. The unit for the derivative of a function f( x ) is
output units   input unit 
Such a unit shows by how many units the output changes for each one-unit change of input. The instantaneous rate of change at a given instant shows the same thing: the units of change of output per one-unit change of input.
One example of an instantaneous rate of change is a marginal cost. For example, suppose the production cost for a company to produce x items is given by C( x ), in thousands of dollars. The derivative function tells us how the cost is changing for any value of x in the domain of the function. In other words, C ′ ( x ) is interpreted as a marginal cost, the additional cost in thousands of dollars of producing one more item when x items have been produced. For example, C ′ ( 11 ) is the approximate additional cost in thousands of dollars of producing the 12th item after 11 items have been produced. C ′ ( 11 )=2.50 means that when 11 items have been produced, producing the 12th item would increase the total cost by approximately $2,500.00.

Finding a Marginal Cost

The cost in dollars of producing x laptop computers in dollars is f( x )= x 2 −100x. At the point where 200 computers have been produced, what is the approximate cost of producing the 201st unit?
Solution
If f( x )= x 2 −100x describes the cost of producing x computers, f ′ ( x ) will describe the marginal cost. We need to find the derivative. For purposes of calculating the derivative, we can use the following functions:
f(x+h)= (x+h) 2 −100(x+h)       f(x)= x 2 −100x
     f ′ (x)= lim h→0 f(x+h)−f(x) h Formula for a derivative              = lim h→0 (x+h) 2 −100(x+h)−( x 2 −100x) h Substitute f(x+h) and f(x).              = lim h→0 x 2 +2xh+ h 2 −100x−100h− x 2 +100x h Multiply polynomials, distribute.              = lim h→0 2xh+ h 2 −100h h Collect like terms.              = lim h→0 h (2x+h−100) h Factor and cancel like terms.              = lim h→0 2x+h−100 Simplify.              = ( 2x−100 ) Evaluate when h=0.       f ′ (x)=2x−100 Formula for marginal cost f ′ (200)=2(200)−100=300 Evaluate for 200 units.
The marginal cost of producing the 201st unit will be approximately $300.

Interpreting a Derivative in Context

A car leaves an intersection. The distance it travels in miles is given by the function f( t ), where t represents hours. Explain the following notations:
  1. ⓐ f(0)=0
  2. ⓑ f ′ (1)=60
  3. ⓒ f(1)=70
  4. ⓓ f(2.5)=150
Solution
First we need to evaluate the function f(t) and the derivative of the function f ′ (t), and distinguish between the two. When we evaluate the function f(t), we are finding the distance the car has traveled in t hours. When we evaluate the derivative f ′ (t), we are finding the speed of the car after t hours.
  1. ⓐ f(0)=0 means that in zero hours, the car has traveled zero miles.
  2. ⓑ f ′ (1)=60 means that one hour into the trip, the car is traveling 60 miles per hour.
  3. ⓒ f(1)=70 means that one hour into the trip, the car has traveled 70 miles. At some point during the first hour, then, the car must have been traveling faster than it was at the 1-hour mark.
  4. ⓓ f(2.5)=150 means that two hours and thirty minutes into the trip, the car has traveled 150 miles.

Finding Points Where a Function’s Derivative Does Not Exist

To understand where a function’s derivative does not exist, we need to recall what normally happens when a function f( x ) has a derivative at x=a . Suppose we use a graphing utility to zoom in on x=a . If the function f( x ) is differentiable, that is, if it is a function that can be differentiated, then the closer one zooms in, the more closely the graph approaches a straight line. This characteristic is called linearity.
Look at the graph in diagram. The closer we zoom in on the point, the more linear the curve appears.
Graph of a negative parabola that is zoomed in on a point to show that the curve becomes linear the closer it is zoomed in.
We might presume the same thing would happen with any continuous function, but that is not so. The function f(x)=| x |, for example, is continuous at x=0, but not differentiable at x=0. As we zoom in close to 0 in diagram, the graph does not approach a straight line. No matter how close we zoom in, the graph maintains its sharp corner.
Graph of an absolute function.
Graph of the function f(x)=| x |, with x-axis from –0.1 to 0.1 and y-axis from –0.1 to 0.1.
We zoom in closer by narrowing the range to produce diagram and continue to observe the same shape. This graph does not appear linear at x=0.
Graph of an absolute function.
Graph of the function f(x)=| x |, with x-axis from –0.001 to 0.001 and y-axis from—0.001 to 0.001.
What are the characteristics of a graph that is not differentiable at a point? Here are some examples in which function f( x ) is not differentiable at x=a.
In diagram, we see the graph of
f(x)={ x 2 , x≤2 8−x, x>2 .
Notice that, as x approaches 2 from the left, the left-hand limit may be observed to be 4, while as x approaches 2 from the right, the right-hand limit may be observed to be 6. We see that it has a discontinuity at x=2.
Graph of a piecewise function where from negative infinity to (2, 4) is a positive parabola and from (2, 6) to positive infinity is a linear line.
The graph of f( x ) has a discontinuity at x=2.
In diagram, we see the graph of f(x)=| x |. We see that the graph has a corner point at x=0.
Graph of an absolute function.
The graph of f(x)=| x | has a corner point at x=0 .
In diagram, we see that the graph of f(x)= x 2 3 has a cusp at x=0. A cusp has a unique feature. Moving away from the cusp, both the left-hand and right-hand limits approach either infinity or negative infinity. Notice the tangent lines as x approaches 0 from both the left and the right appear to get increasingly steeper, but one has a negative slope, the other has a positive slope.
Graph of f(x) = x^(2/3) with a viewing window of [-3, 3] by [-2, 3].
The graph of f(x)= x 2 3 has a cusp at x=0.
In diagram, we see that the graph of f(x)= x 1 3 has a vertical tangent at x=0. Recall that vertical tangents are vertical lines, so where a vertical tangent exists, the slope of the line is undefined. This is why the derivative, which measures the slope, does not exist there.
Graph of f(x) = x^(1/3) with a viewing window of [-3, 3] by [-3, 3].
The graph of f(x)= x 1 3 has a vertical tangent at x=0.

Determining Where a Function Is Continuous and Differentiable from a Graph

Using diagram, determine where the function is
  1. continuous
  2. discontinuous
  3. differentiable
  4. not differentiable
At the points where the graph is discontinuous or not differentiable, state why.
Graph of a piecewise function that has a removable discontinuity at (-2, -1) and is discontinuous when x =1.
Solution
The graph of f( x ) is continuous on ( −∞,−2 )∪( −2, 1 )∪( 1,∞ ). The graph of f( x ) has a removable discontinuity at x=−2 and a jump discontinuity at x=1. See diagram.
Graph of the previous function that shows the intervals of continuity.
Three intervals where the function is continuous
The graph of is differentiable on ( −∞,−2 )∪( −2,−1 )∪( −1,1 )∪( 1,2 )∪( 2,∞ ). The graph of f(x) is not differentiable at x=−2 because it is a point of discontinuity, at x=−1 because of a sharp corner, at x=1 because it is a point of discontinuity, and at x=2 because of a sharp corner. See diagram.
Graph of the previous function that not only shows the intervals of continuity but also labels the parts of the graph that has sharp corners and discontinuities. The sharp corners are at (-1, -1) and (2, 3), and the discontinuities are at (-2, -1) and (1, 1).
Five intervals where the function is differentiable

Finding an Equation of a Line Tangent to the Graph of a Function

The equation of a tangent line to a curve of the function f( x ) at x=a is derived from the point-slope form of a line, y=m( x− x 1 )+ y 1 . The slope of the line is the slope of the curve at x=a and is therefore equal to f ′ (a), the derivative of f( x ) at x=a. The coordinate pair of the point on the line at x=a is (a,f(a)).
If we substitute into the point-slope form, we have
The point-slope formula that demonstrates that m = f(a), x1 = a, and y_1 = f(a).
The equation of the tangent line is
y=f'(a)( x−a )+f(a)

Finding the Equation of a Line Tangent to a Function at a Point

Find the equation of a line tangent to the curve f(x)= x 2 −4x at x=3.
Solution
Using:
f'(a)= lim h→0 f( a+h )−f( a ) h
Substitute f(a+h)= (a+h) 2 −4(a+h) and f(a)= a 2 −4a.
f ′ (a)= lim h→0 (a+h)(a+h)−4(a+h)−( a 2 −4a) h          = lim h→0 a 2 +2ah+ h 2 −4a−4h− a 2 +4a h Remove parentheses.          = lim h→0 a 2 +2ah+ h 2 −4a −4h − a 2 +4a h Combine like terms.          = lim h→0 2ah+ h 2 −4h h          = lim h→0 h (2a+h−4) h Factor out h.          =2a+0−4 f ′ (a)=2a−4 Evaluate the limit. f ′ (3)=2(3)−4=2
Equation of tangent line at x=3:
y=f'(a)(x−a)+f(a) y=f'(3)(x−3)+f(3) y=2(x−3)+(−3) y=2x−9

Calculating and Interpreting Slope

In the examples we have seen so far, we have had the slope provided for us. However, we often need to calculate the slope given input and output values. Given two values for the input, x 1 and x 2 , and two corresponding values for the output, y 1 and y 2 —which can be represented by a set of points, ( x 1 ,   y 1 ) and ( x 2 ,   y 2 ) —we can calculate the slope m, as follows
m= change in output (rise) change in input (run) = Δy Δx = y 2 − y 1 x 2 − x 1
where Δy is the vertical displacement and Δx is the horizontal displacement. Note in function notation two corresponding values for the output y1 and y2 for the function f, y1=f(x1) and y2=f(x2), so we could equivalently write
m= f( x 2 )–f( x 1 ) x 2 – x 1
diagram indicates how the slope of the line between the points, ( x 1, y 1 ) and ( x 2, y 2 ), is calculated. Recall that the slope measures steepness. The greater the absolute value of the slope, the steeper the line is.
Graph depicting how to calculate the slope of a line
The slope of a function is calculated by the change in y divided by the change in x. It does not matter which coordinate is used as the ( x 2, y 2 ) and which is the ( x 1 , y 1 ), as long as each calculation is started with the elements from the same coordinate pair.

Finding the Slope of a Linear Function

If f(x) is a linear function, and ( 3,−2 ) and ( 8,1 ) are points on the line, find the slope. Is this function increasing or decreasing?
Solution
The coordinate pairs are ( 3,−2 ) and ( 8,1 ). To find the rate of change, we divide the change in output by the change in input.
m= change in output change in input = 1−(−2) 8−3 = 3 5
We could also write the slope as m=0.6. The function is increasing because m>0.

Finding the Population Change from a Linear Function

The population of a city increased from 23,400 to 27,800 between 2008 and 2012. Find the change of population per year if we assume the change was constant from 2008 to 2012.
Solution
The rate of change relates the change in population to the change in time. The population increased by 27,800−23,400=4,400 people over the four-year time interval. To find the rate of change, divide the change in the number of people by the number of years.
4,400 people 4 years =1,100 people year
So the population increased by 1,100 people per year.

Modeling Real-World Problems with Linear Functions

In the real world, problems are not always explicitly stated in terms of a function or represented with a graph. Fortunately, we can analyze the problem by first representing it as a linear function and then interpreting the components of the function. As long as we know, or can figure out, the initial value and the rate of change of a linear function, we can solve many different kinds of real-world problems.

Using a Linear Function to Determine the Number of Songs in a Music Collection

Marcus currently has 200 songs in his music collection. Every month, he adds 15 new songs. Write a formula for the number of songs, N, in his collection as a function of time, t, the number of months. How many songs will he own in a year?
Solution
The initial value for this function is 200 because he currently owns 200 songs, so N(0)=200, which means that b=200.
The number of songs increases by 15 songs per month, so the rate of change is 15 songs per month. Therefore we know that m=15. We can substitute the initial value and the rate of change into the slope-intercept form of a line.
We can write the formula N(t)=15t+200.
With this formula, we can then predict how many songs Marcus will have in 1 year (12 months). In other words, we can evaluate the function at t=12.
N(12)=15(12)+200           =180+200           =380
Marcus will have 380 songs in 12 months.

Using a Linear Function to Calculate Salary Plus Commission

Working as an insurance salesperson, Ilya earns a base salary plus a commission on each new policy. Therefore, Ilya’s weekly income, I, depends on the number of new policies, n, he sells during the week. Last week he sold 3 new policies, and earned $760 for the week. The week before, he sold 5 new policies and earned $920. Find an equation for I(n), and interpret the meaning of the components of the equation.
Solution
The given information gives us two input-output pairs: (3,760) and (5,920). We start by finding the rate of change.
m= 920−760 5−3   = $160 2 policies   =$80 per policy
Keeping track of units can help us interpret this quantity. Income increased by $160 when the number of policies increased by 2, so the rate of change is $80 per policy. Therefore, Ilya earns a commission of $80 for each policy sold during the week.
We can then solve for the initial value.
           I(n)=80n+b             760=80(3)+b when n=3,I(3)=760 760−80(3)=b             520=b
The value of b is the starting value for the function and represents Ilya’s income when n=0, or when no new policies are sold. We can interpret this as Ilya’s base salary for the week, which does not depend upon the number of policies sold.
We can now write the final equation.
I(n)=80n+520
Our final interpretation is that Ilya’s base salary is $520 per week and he earns an additional $80 commission for each policy sold.

Using Tabular Form to Write an Equation for a Linear Function

table relates the number of rats in a population to time, in weeks. Use the table to write a linear equation.
w, number of weeks 0 2 4 6
P(w), number of rats 1000 1080 1160 1240
Solution
We can see from the table that the initial value for the number of rats is 1000, so b=1000.
Rather than solving for m, we can tell from looking at the table that the population increases by 80 for every 2 weeks that pass. This means that the rate of change is 80 rats per 2 weeks, which can be simplified to 40 rats per week.
P(w)=40w+1000
If we did not notice the rate of change from the table we could still solve for the slope using any two points from the table. For example, using (2,1080) and (6,1240)
m= 1240−1080 6−2   = 160 4   =40