Search
Menu

OCR AS Maths B (MEI): Past Papers

Work through the OCR Mathematics B (MEI) archive and test whether a proposed model makes sense beyond its fitted points.

Quick Answer

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

A sixth-form student checking a mathematical model against measured values
Advertisement
Advertisement

Use residuals to evaluate a linear model

A model predicts a distance of seven metres after two seconds and thirteen metres after four seconds. The implied straight-line relation has slope three metres per second and intercept one metre. At three seconds it predicts ten metres. Suppose an independent measurement then gives nine and a half metres. The observed-minus-predicted residual is negative half a metre. One small residual is useful evidence, but it does not prove the model is linear over a longer period. Check measurements near the ends of the intended interval and inspect the residual pattern.

Representing Linear Functions

The function describing the train’s motion is a linear function, which is defined as a function with a constant rate of change. This is a polynomial of degree 1. There are several ways to represent a linear function, including word form, function notation, tabular form, and graphical form. We will describe the train’s motion as a function using each method.

Representing a Linear Function in Word Form

Let’s begin by describing the linear function in words. For the train problem we just considered, the following word sentence may be used to describe the function relationship.
  • The train’s distance from the station is a function of the time during which the train moves at a constant speed plus its original distance from the station when it began moving at constant speed.
The speed is the rate of change. Recall that a rate of change is a measure of how quickly the dependent variable changes with respect to the independent variable. The rate of change for this example is constant, which means that it is the same for each input value. As the time (input) increases by 1 second, the corresponding distance (output) increases by 83 meters. The train began moving at this constant speed at a distance of 250 meters from the station.

Representing a Linear Function in Function Notation

Another approach to representing linear functions is by using function notation. One example of function notation is an equation written in the slope-intercept form of a line, where x is the input value, m is the rate of change, and b is the initial value of the dependent variable.
Equation form y=mx+b Function notation f(x)=mx+b
In the example of the train, we might use the notation D(t) where the total distance D is a function of the time t. The rate, m, is 83 meters per second. The initial value of the dependent variable b is the original distance from the station, 250 meters. We can write a generalized equation to represent the motion of the train.
D(t)=83t+250

Representing a Linear Function in Tabular Form

A third method of representing a linear function is through the use of a table. The relationship between the distance from the station and the time is represented in diagram. From the table, we can see that the distance changes by 83 meters for every 1 second increase in time.
Table with the first row, labeled t, containing the seconds from 0, 1, 2, 3, and with the second row, labeled D (t), containing the meters 250, 333, 416, and 499. Each value in the first row increases by 1 second, and each value in the second row increases by 83 meters.
Tabular representation of the function D showing selected input and output values

Representing a Linear Function in Graphical Form

Another way to represent linear functions is visually, using a graph. We can use the function relationship from above, D(t)=83t+250, to draw a graph as represented in diagram. Notice the graph is a line. When we plot a linear function, the graph is always a line.
The rate of change, which is constant, determines the slant, or slope of the line. The point at which the input value is zero is the vertical intercept, or y-intercept, of the line. We can see from the graph that the y-intercept in the train example we just saw is (0,250) and represents the distance of the train from the station when it began moving at a constant speed.
This is a graph with y-axis labeled “Distance (m)” and x-axis labeled “Time (s).” The x-axis spans from 0 to 5 and is marked in increments of one. The y-axis spans from 0 to 500 and is marked in increments of one hundred. The graph shows an increasing function. As time increases, distance also increases. The line is graphed along the points (0, 250) and (1, 333)
The graph of D(t)=83t+250 . Graphs of linear functions are lines because the rate of change is constant.
Notice that the graph of the train example is restricted, but this is not always the case. Consider the graph of the line f(x)=2x+1. Ask yourself what numbers can be input to the function. In other words, what is the domain of the function? The domain is comprised of all real numbers because any number may be doubled, and then have one added to the product.

Using a Linear Function to Find the Pressure on a Diver

The pressure, P, in pounds per square inch (PSI) on the diver in diagram depends upon her depth below the water surface, d, in feet. This relationship may be modeled by the equation, P(d)=0.434d+14.696. Restate this function in words.
This figure shows a scuba diver.
(credit: Ilse Reijs and Jan-Noud Hutten)
Solution
To restate the function in words, we need to describe each part of the equation. The pressure as a function of depth equals four hundred thirty-four thousandths times depth plus fourteen and six hundred ninety-six thousandths.

Determining Whether a Linear Function Is Increasing, Decreasing, or Constant

The linear functions we used in the two previous examples increased over time, but not every linear function does. A linear function may be increasing, decreasing, or constant. For an increasing function, as with the train example, the output values increase as the input values increase. The graph of an increasing function has a positive slope. A line with a positive slope slants upward from left to right as in diagram(a). For a decreasing function, the slope is negative. The output values decrease as the input values increase. A line with a negative slope slants downward from left to right as in diagram(b). If the function is constant, the output values are the same for all input values so the slope is zero. A line with a slope of zero is horizontal as in diagram(c).
This figure shows three graphs labeled a, b, and c. Graph a shows an increasing function (f) along the x-axis and the y-axis which is labeled f of x. Graph b shows a decreasing function (f) along the x-axis and y-axis which is labeled f of x. Graph c shows a constant function (f) along the x-axis and y-axis which is labeled f of x. The constant function is horizontal. None of the graphs have any increments labeled on the x- or y-axis.

Deciding Whether a Function Is Increasing, Decreasing, or Constant

Studies from the early 2010s indicated that teens sent about 60 texts a day, while more recent data indicates much higher messaging rates among all users, particularly considering the various apps with which people can communicate.http://www.cbsnews.com/8301-501465_162-57400228-501465/teens-are-sending-60-texts-a-day-study-says/. For each of the following scenarios, find the linear function that describes the relationship between the input value and the output value. Then, determine whether the graph of the function is increasing, decreasing, or constant.
  1. ⓐThe total number of texts a teen sends is considered a function of time in days. The input is the number of days, and output is the total number of texts sent.
  2. ⓑA person has a limit of 500 texts per month in their data plan. The input is the number of days, and output is the total number of texts remaining for the month.
  3. ⓒA person has an unlimited number of texts in their data plan for a cost of $50 per month. The input is the number of days, and output is the total cost of texting each month.
Solution
Analyze each function.
  1. ⓐThe function can be represented as f(x)=60x where x is the number of days. The slope, 60, is positive so the function is increasing. This makes sense because the total number of texts increases with each day.
  2. ⓑThe function can be represented as f(x)=500−60x where x is the number of days. In this case, the slope is negative so the function is decreasing. This makes sense because the number of texts remaining decreases each day and this function represents the number of texts remaining in the data plan after x days.
  3. ⓒThe cost function can be represented as f(x)=50 because the number of days does not affect the total cost. The slope is 0 so the function is constant.

Interpreting Slope as a Rate of Change

In the examples we have seen so far, the slope was provided to us. However, we often need to calculate the slope given input and output values. Recall that 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.
m= change in output (rise) change in input (run) = Δy Δx = y 2 − y 1 x 2 − x 1
Note that in function notation we can obtain two corresponding values for the output y 1 and y 2 for the function f, y 1 =f( x 1 ) and y 2 =f( x 2 ), 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, or slant. The greater the absolute value of the slope, the steeper the slant is.
This graph shows how to calculate the slope of a line. The line is graphed on an x y coordinate plane. The x-axis is labeled from negative 1 to 6. The y-axis is labeled from negative 1 to 10. The line passes through several points, but two are marked specifcally. The first is labeled (x subscript 1, y subscript 1). It is located at the point (1, 5). The second point is labeled (x subscript 2, y subscript 2). It is located at the point (2, 8). There is a small arrow that runs horizontally from point (2, 8) to point (1, 8). This arrow is labeled x subscript 2 minus x subscript 1. There is a blue arrow that runs vertically from point (1, 5) to point (1, 8) and is labeled y subscript 2 minus y subscript 1. Off to the side is the equation m equals delta y divided by delta x which equals y subscript 2 minus y subscript 1 divided by x subscript 2 minus x subscript 1.
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=4400 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.

Writing and Interpreting an Equation for a Linear Function

Recall from Equations and Inequalities that we wrote equations in both the slope-intercept form and the point-slope form. Now we can choose which method to use to write equations for linear functions based on the information we are given. That information may be provided in the form of a graph, a point and a slope, two points, and so on. Look at the graph of the function f in diagram.
This graph shows a linear function graphed on an x y coordinate plane. The x axis is labeled from negative 2 to 8 and the y axis is labeled from negative 1 to 8. The function f is graph along the points (0, 7) and (4, 4).
We are not given the slope of the line, but we can choose any two points on the line to find the slope. Let’s choose (0,7) and (4,4).
m = y 2 − y 1 x 2 − x 1 = 4−7 4−0 = − 3 4
Now we can substitute the slope and the coordinates of one of the points into the point-slope form.
y− y 1 = m(x− x 1 ) y−4 = − 3 4 (x−4)
If we want to rewrite the equation in the slope-intercept form, we would find
y−4 = − 3 4 (x−4) y−4 = − 3 4 x+3 y = − 3 4 x+7
If we want to find the slope-intercept form without first writing the point-slope form, we could have recognized that the line crosses the y-axis when the output value is 7. Therefore, b=7. We now have the initial value b and the slope m so we can substitute m and b into the slope-intercept form of a line.
This image shows the equation f of x equals m times x plus b. It shows that m is the value negative three fourths and b is 7. It then shows the equation rewritten as f of x equals negative three fourths times x plus 7.
So the function is f(x)=− 3 4 x+7, and the linear equation would be y=− 3 4 x+7.

Writing an Equation for a Linear Function

Write an equation for a linear function given a graph of f shown in diagram.
This figure shows an increasing function graphed on an x y coordinate plane. The x axis is labeled from negative 10 to 10. The y axis is labeled from negative 10 to 10. The function passes through the points (0, 2) and (-2, -4). These points are not labeled on this graph.
Solution
Identify two points on the line, such as (0,2) and (−2,−4). Use the points to calculate the slope.
m = y 2 − y 1 x 2 − x 1 = −4−2 −2−0 = −6 −2 = 3
Substitute the slope and the coordinates of one of the points into the point-slope form.
y− y 1 = m(x− x 1 ) y−(−4) = 3(x−(−2)) y+4 = 3(x+2)
We can use algebra to rewrite the equation in the slope-intercept form.
y+4 = 3(x+2) y+4 = 3x+6 y = 3x+2

Writing an Equation for a Linear Cost Function

Suppose Ben starts a company in which he incurs a fixed cost of $1,250 per month for the overhead, which includes his office rent. His production costs are $37.50 per item. Write a linear function C where C( x ) is the cost for x items produced in a given month.
Solution
The fixed cost is present every month, $1,250. The costs that can vary include the cost to produce each item, which is $37.50. The variable cost, called the marginal cost, is represented by 37.5. The cost Ben incurs is the sum of these two costs, represented by C( x )=1250+37.5x.

Writing an Equation for a Linear Function Given Two Points

If f is a linear function, with f(3)=−2, and f(8)=1, find an equation for the function in slope-intercept form.
Solution
We can write the given points using coordinates.
f(3) = −2→(3,−2) f(8) = 1→(8,1)
We can then use the points to calculate the slope.
m = y 2 − y 1 x 2 − x 1 = 1−(−2) 8−3 = 3 5
Substitute the slope and the coordinates of one of the points into the point-slope form.
y− y 1 = m( x− x 1 ) y−(−2) = 3 5 (x−3)
We can use algebra to rewrite the equation in the slope-intercept form.
y+2 = 3 5 (x−3) y+2 = 3 5 x− 9 5 y = 3 5 x− 19 5

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 at the end of one 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.
This image shows the equation f of x equals m times x plus b. It shows that m is the value 15 and b is 200. It then shows the equation rewritten as N of t equals 15 times t plus 200.
We can write the formula N(t)=15t+200.
With this formula, we can then predict how many songs Marcus will have at the end of one 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 Based on 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 = $80perpolicy
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  whenn=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.
number of weeks, w 0 2 4 6
number of rats, P(w) 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

Graphing Linear Functions

Now that we’ve seen and interpreted graphs of linear functions, let’s take a look at how to create the graphs. There are three basic methods of graphing linear functions. The first is by plotting points and then drawing a line through the points. The second is by using the y-intercept and slope. And the third method is by using transformations of the identity function f(x)=x.

Graphing a Function by Plotting Points

To find points of a function, we can choose input values, evaluate the function at these input values, and calculate output values. The input values and corresponding output values form coordinate pairs. We then plot the coordinate pairs on a grid. In general, we should evaluate the function at a minimum of two inputs in order to find at least two points on the graph. For example, given the function, f(x)=2x, we might use the input values 1 and 2. Evaluating the function for an input value of 1 yields an output value of 2, which is represented by the point (1,2). Evaluating the function for an input value of 2 yields an output value of 4, which is represented by the point (2,4). Choosing three points is often advisable because if all three points do not fall on the same line, we know we made an error.

Graphing by Plotting Points

Graph f(x)=− 2 3 x+5 by plotting points.
Solution
Begin by choosing input values. This function includes a fraction with a denominator of 3, so let’s choose multiples of 3 as input values. We will choose 0, 3, and 6.
Evaluate the function at each input value, and use the output value to identify coordinate pairs.
x=0 f(0)=− 2 3 (0)+5=5⇒(0,5) x=3 f(3)=− 2 3 (3)+5=3⇒(3,3) x=6 f(6)=− 2 3 (6)+5=1⇒(6,1)
Plot the coordinate pairs and draw a line through the points. diagram represents the graph of the function f(x)=− 2 3 x+5.
This graph shows a decreasing function graphed on an x y coordinate plane. The x axis runs from negative 4 to 7 and the y axis runs from negative 2 to 7. The y axis is labeled f of x. The function passes through the points (0, 5), (3, 3) and (6, 1)
The graph of the linear function f(x)=− 2 3 x+5.

Graphing a Function Using y-intercept and Slope

Another way to graph linear functions is by using specific characteristics of the function rather than plotting points. The first characteristic is its y-intercept, which is the point at which the input value is zero. To find the y-intercept, we can set x=0 in the equation.
The other characteristic of the linear function is its slope.
Let’s consider the following function.
f(x)= 1 2 x+1
The slope is 1 2 . Because the slope is positive, we know the graph will slant upward from left to right. The y-intercept is the point on the graph when x=0. The graph crosses the y-axis at (0,1). Now we know the slope and the y-intercept. We can begin graphing by plotting the point (0,1). We know that the slope is the change in the y-coordinate over the change in the x-coordinate. This is commonly referred to as rise over run, m= rise run . From our example, we have m= 1 2 , which means that the rise is 1 and the run is 2. So starting from our y-intercept (0,1), we can rise 1 and then run 2, or run 2 and then rise 1. We repeat until we have a few points, and then we draw a line through the points as shown in diagram.
This graph shows how to calculate the rise over run for the slope on an x, y coordinate plane.  The x-axis runs from negative 2 to 7. The y-axis runs from negative 2 to 5. The line extends right and upward from point (0,1), which is the y-intercept.  A dotted line extends two units to the right from point (0, 1) and is labeled Run = 2.  The same dotted line extends upwards one unit and is labeled Rise =1.

Graphing by Using the y-intercept and Slope

Graph f(x)=− 2 3 x+5 using the y-intercept and slope.
Solution
Evaluate the function at x=0 to find the y-intercept. The output value when x=0 is 5, so the graph will cross the y-axis at (0,5).
According to the equation for the function, the slope of the line is − 2 3 . This tells us that for each vertical decrease in the “rise” of –2 units, the “run” increases by 3 units in the horizontal direction. We can now graph the function by first plotting the y-intercept on the graph in diagram. From the initial value (0,5) we move down 2 units and to the right 3 units. We can extend the line to the left and right by repeating, and then drawing a line through the points.
This graph shows a decreasing function graphed on an x y coordinate plane. The x-axis runs from negative 3 to 7, and the y-axis runs from negative 1 to 7. The function passes through the points (0,5); (3,3); and (6,1).  Arrows extend downward two units and to the right three units from each point to the next point.
Graph of f(x)=−2/3x+5 and shows how to calculate the rise over run for the slope.

Graphing a Function Using Transformations

Another option for graphing is to use a transformation of the identity function f(x)=x. A function may be transformed by a shift up, down, left, or right. A function may also be transformed using a reflection, stretch, or compression.

Vertical Stretch or Compression

In the equation f(x)=mx, the m is acting as the vertical stretch or compression of the identity function. When m is negative, there is also a vertical reflection of the graph. Notice in diagram that multiplying the equation of f(x)=x by m stretches the graph of f by a factor of m units if m>1 and compresses the graph of f by a factor of m units if 0<m<1. This means the larger the absolute value of m, the steeper the slope.
This graph shows seven versions of the function, f of x = x on an x, y coordinate plane. The x-axis runs from negative 8 to 8. The y-axis runs from negative 8 to 8. Seven multi-colored lines run through the point (0, 0). Starting with the lines in the top right quadrant and moving clockwise, the first line is f of x = 3 times x and has a slope of 3, the next line is f of x = 2 times x which has a slope of 2, the next line is f of x = x which has a slope of 1, the next line is f of x = x divided by 2 which has a slope of .5. The last line in this quadrant is f of x = x divided by 3 which has a slope of one third x. In the bottom right quadrant moving clockwise, the first line is f of x = negative x divided by 2, which has a slope of negative one half, the middle line is f of x = negative x which has a slope of negative 1, and the last line is f of x = negative 2 times x which has a slope of  negative 2.
Vertical stretches and compressions and reflections on the function f(x)=x

Vertical Shift

In f(x)=mx+b, the b acts as the vertical shift, moving the graph up and down without affecting the slope of the line. Notice in diagram that adding a value of b to the equation of f( x )=x shifts the graph of f a total of b units up if b is positive and |b| units down if b is negative.
This graph shows six versions of the function, f of x = x, on an x, y coordinate plane. The x-axis runs from negative 8 to 8, and the y axis runs negative 8 to 8. There are five lines parallel to each other. The first line extends from the bottom left quadrant to the upper right quadrant on the coordinate plane. This line shows f of x = x plus 4 which has a slope of 1 and a y-intercept at 4. The next line also extends from the bottom left quadrant to the upper right quadrant and shows f of x = x plus 2 which has a slope of 1 and a y-intercept at 2. The next and middle line, extends from the lower left quadrant, through the center of the graph at point (0, 0) to the upper right quadrant and shows f of x = x. The next line extends from the lower left quadrant, through the lower right quadrant to the upper right quadrant. This line shows f of x = x minus 2 which has a slope of 1 and a y-intercept at -2. The last line extends from the lower left quadrant, through the lower right quadrant to the upper right quadrant.This line shows f of x = x minus 4 which has a slope of 1 and a y-intercept at -4.
This graph illustrates vertical shifts of the function f(x)=x.
Using vertical stretches or compressions along with vertical shifts is another way to look at identifying different types of linear functions. Although this may not be the easiest way to graph this type of function, it is still important to practice each method.

Graphing by Using Transformations

Graph f(x)= 1 2 x−3 using transformations.
Solution
The equation for the function shows that m= 1 2 so the identity function is vertically compressed by 1 2 . The equation for the function also shows that b=−3 so the identity function is vertically shifted down 3 units. First, graph the identity function, and show the vertical compression as in diagram.
This graph shows two functions on an x, y coordinate plane. One shows an increasing function of y = x divided by 2 that runs through the points (0, 0) and (2, 1). The second shows an increasing function of y = x and runs through the points (0, 0) and (1, 1)).
The function, y=x, compressed by a factor of 1 2 .
Then show the vertical shift as in diagram.
This graph shows two functions on an x, y coordinate plane. The first is an increasing function of y = x divided by 2 and runs through the points (0, 0) and (2, 1).  The second shows an increasing function of y = x divided by 2 minus 3 and passes through the points (0, 3) and (2, -2).  An arrow pointing downward from the first function  to the second function reveals the vertical shift.
The function y= 1 2 x, shifted down 3 units.