Exploring Maths at Advanced Level
Exploring Maths at Advanced Level
when
you change the coefficients and ? You would need to draw dozens of graphs to get a good
feeling for what goes on. With these calculators you can draw as many as you like, changing the
coefficients selectively. Working this way helps you get out of the other big problem with advanced
level exams. Memorising methods is fine until you find a question you cant recall the method for.
That normally means most of them, because they never come up just like you were
expecting. Far better to understand what is going on and be able to see the
mathematics from different starting points, then you can work your way through even
when you cant decide which method to use. Maths is the method and you make
yourself a mathematician, by exploring. The HP Prime and HP39gII are the tools to
make that possible.
This book has a range of examples. Many of them will suggest areas of maths you can
explore. But remember, they are just examples. Use the ideas to explore any new area
of maths you are learning. By the time of your exam you will be so skilled in using the
calculator that it will be able to support you quickly and powerfully in the exam itself.
Exploring Maths at Advanced Level
Page | 4
2. Basic Operation
The Home Screen and the Suitcase (Prime) or Math (HP39gII) Menu
When you switch the calculator on, you are in the Home
screen. Here you can do any type of calculation. Not just
arithmetic, but using matrices, summing sequences,
calculus, complex numbers and so on. Pressing the Suitcase
(Prime) or Math (39gII) key shows you the menu of all of
the things you can do on the Home screen. Notice that the
Math menu has several sub menus, so make sure that the
MATH submenu is selected (by touching Math (Prime) or
pressing F1 (39gII)). Navigate with touch (Prime) or the
cursor. For details of syntax press the Help key (Prime) or
note that the bottom of the menu shows you how to enter
things when more than one input is needed (39gII).
Direct Entry versus Template Entry
On the HP39gII, to do a numeric differential we find the
command which tells us to enter an expression i.e. the
function, then a value, i.e. the value at which we are
calculating the differential, i.e. the slope.
Lets calculate the differential of
at . We know the
differential is
.
You will have used the X,T,,N key to enter the X, the
key for the power and the = key (shift and decimal point) to
set the value.
On the HP Prime we have templates for many
mathematical functions. Press the template key to the right
of the suitcase. Choose the differential. Use the X,T,,N
and the
You will need to explore different
families of functions:
Polynomial functions
(etc.)
Trigonometric functions
Reciprocal Functions
Exponential Functions
Maths Activities for the HP39gII and HP Prime
Page | 9
Now do the same thing for Linear functions whose
graphs are perpendicular.
Im sure you knew the relationships already. But this
will have helped you get used to entering and changing
functions and looking at their graphs.
Quadratic Functions
Next, you should explore Quadratic functions. There are three standard ways of expressing a
quadratic function:
1. Polynomial:
2. Factorised:
3. Completed square:
The first one is most familiar, but the factorised form gives the most information quickly (if the
quadratic can be factorised). The completed square form probably gives the most complete picture,
but the algebra involved in changing to this form is
trickier. The important thing is that all three give
different insights into the nature of the function. Your
calculator will not do the algebra for you, so you will
have to practice converting between these three forms
with pencil and paper.
Press Apps, select Function, then RESET/OK/START and
enter a function F1 in factorised form, say
press OK, then press Plot.
Press Menu, then Fcn. Select Root.
Now move the cursor so it is closer to the second root
(clicking left a fair few times will do it). Now press
Menu/Fcn/Root again.
The relationship between the roots and the factorised
form is pretty clear. Try a few more examples to make
sure.
Exploring Maths at Advanced Level
Page | 10
Now get a feel for the completed square form. Replace
your F1 with a function in completed square form, say
(use the
A horizontal stretch of :
+ve (increase) (
)
ve (decrease)
Exploring Maths at Advanced Level
Page | 12
Now you should explore every different function type. Start with a reciprocal function
and
ensure that you can translate and stretch it horizontally and vertically. Repeat with an exponential
function
Use the Matrix editor to enter the matrix of coefficients.
This matrix is already called M1 by the editor. Just click Edit to get started and use the cursor keys
and OK to enter each value. The Editor quickly works out the size of the matrix. When you are
finished, press Home.
To solve the problem we pre-multiply the solution
matrix, by the inverse of the coefficients matrix. So
create a second matrix M2 with the right hand sides of
the equations. This is a column matrix.
Use the matrix editor to enter M2.
Now we are ready to find the solutions
On the Home screen type
(use the
Maths Activities for the HP39gII and HP Prime
Page | 15
Press the Suitcase key (HP Prime) or the Math key (HP39gII) to find the Matrix section to see the
range of operations we can apply to our matrix.
Entering the matrices can be a bit time consuming, but
when they are entered you have an enormous amount
that you can do with the matrices. So, now explore the
other matrix functions available on the Math menu.
You can find the determinant.
You can find inverse matrices (notice that M2 has no
inverse, so will generate a syntax error if you try this).
(HP39gII) Here we have used the up cursor to highlight
the matrix and SHOW to see the matrix correctly.
HP Prime shows the matrix in textbook format by
default.
You can find Eigen Values and Vectors and do row and column operations. You should experiment to
get a feel for all of the available functions and operations.
Exploring Maths at Advanced Level
Page | 16
5. Sequences and Series
You will be very familiar with different continuous functions. You will have explored the relationship
between the function, its graph and tables of values. With your HP39gII you can get a feel for the
variation in functions which are not continuous, by exploring sequences and series.
Look at a simple sequence: 3, 5, 7, 9, 11, 13,
The first term is 3 and the rule is that each number is 2 more than the previous number (we have
and
).
(You may know this as an arithmetic progression with and ).
Lets look at this with the sequence app.
Press Apps, select Sequence then Reset/OK/Start
U1 is a sequence. We can enter its first term U1(1), its
second term U1(2) and a rule for the th term. You only
need to enter what is needed. The first and second terms
are not necessarily needed. In our case, we have a first
term and a rule.
Enter the first term U1(1)=3
Then navigate down to U1(N). Notice that options are
added for the (N-1) which we will need.
Use this to enter
as U1(N)=U1(N-1)+2
Press the Num key to see the sequence.
I pressed F4 to turn off the BIG font so you can see more of
the sequence.
Use the down arrow to see even more.
Notice that using the up arrow will not allow us to go back
further than the first term, because we entered a value for
U1(1) saying that this is where the sequence starts.
Maths Activities for the HP39gII and HP Prime
Page | 17
Now press Plot to see what the sequence looks like
graphically.
Press Shift Plot to see the plot setup options.
I have changed the plot type to Cobweb and increased the
end of the Y range (YRNG) to 50 to see more of the
sequence.
We have specified the sequence with a term-to-term rule. Now we can compare with a position to
term rule, i.e. a rule for the th term.
The first term is three and the sequence is increasing by
two for each extra position so the position-to-term rule
must be . Notice it must be
because the first term has zero 2s added on.
Press Symb and enter this rule as the second sequence U2.
Enter the rule as U2(N)=2(N-1)+3
(On the HP39gII notice that when you do this U2(1) and
U2(2) are greyed, because with a position-to-term rule,
any value can be calculated, so the initial terms are
irrelevant).
Press Num and compare the sequences.
This provides an excellent platform to explore different
sequences and practice finding position-to-term rules to
match term-to-term rules.
Now that we know the position-to-term rule, we can find values for the corresponding series.
Exploring Maths at Advanced Level
Page | 18
To find 3+5+7+9+11, we are summing terms in the
sequence from to
So, we find
(HP39gII) Press Math, navigate to Loop and choose
Note that on the menu, it tells you how to enter the
values. Click OK, then enter the expression
using the ALPHA key to enter the N. The var is N and the
limits are 1 then 5. Make sure to put the commas in
between each entry.
Now press ENTER to evaluate.
(This is how it appears with textbook display switched on).
HP Prime) Use the template key
Check that you agree with the result! (3+5+7+9+11 = 35)
You can easily change the values by using the cursor to
select the entry, then pressing Copy and editing. You
should explore the effect of making changes to the limits
and to the rule.
You can easily explore more complicated sequences. An
excellent example would be Fibonacci sequences.
1, 1, 2, 3, 5, 8, 13,
Here, we know the first and second terms and a rule that
each term is the sum of the preceding two.
Relaunch the sequence applet and reset it, ready to enter
the new sequence.
We have U1(1)=1, U1(2)=1 and U1(N)=U1(N-1)+U1(N-2)
Check that it has worked by looking at the table.
(Press Num)
Maths Activities for the HP39gII and HP Prime
Page | 19
A square is divided into quarters and one quarter is shaded. A quarter
of the opposite unshaded quarter is shaded. A quarter of this quarter
is shaded and so on as shown. What fraction of the original square is
shaded?
If the original square has unit area, then the shaded part is
That is, adding up the terms of the sequence with
So, see what happens to this value as increases.
Enter (
Press ab/c to see the outcome as a fraction.
Use the up arrow to COPY and EDIT the sum. Keep
increasing the last term to see how the sum is changing.
What value does it tend towards as the number of
terms increases?
Try to explain how you know that the shaded area must
be this fraction of the whole.
Exploring Maths at Advanced Level
Page | 20
6: Projectiles. Parametric Functions
We can set up graphs with variable coefficients. In this way we can explore the effect of changing
the coefficients. A good example of this is to graph a general projectile.
We know the horizontal equation of motion is
The vertical equation is
Where is the initial velocity, A the angle of projection, acceleration due to gravity and the time
taken.
So, we have two parametric equations with parameter
First, we enter the equations: (note that T is the parameter so use the X,T,,N key).
Press Apps, find Parametric, press Reset then OK, then Start
For X1(T) type ALPHA U T COS(ALPHA A) then OK
For Y1(T) type ALPHA U T SIN(ALPHA A) 0.5 ALPHA G T2 then OK
If you press Plot now, you will see nothing, since the value of
all of the variables defaults to zero. So, now we assign values
to the variables. First, we will take
Press HOME, type 9.8 press STO ALPHA G ENTER
Now choose some sensible values for the other variables,
(say):
30 STO ALPHA A ENTER
5 STO ALPHA U ENTER
Press (HP Prime) Shift Home Settings or (HP39gII) SHIFT
Modes and set the Angle Measure to degrees.
Now press Plot again.
Maths Activities for the HP39gII and HP Prime
Page | 21
We can use ZOOM Box to zoom in on the motion and use
TRACE to find key points.
We can go back to the original zoom level using ZOOM
Decimal.
Having set this up you can now explore changing the
variables. How much difference does it make if we double
the initial angle?
Press Home and 60 STO ALPHA A ENTER, then Plot.
We can solve sloping ground problems. For example,
suppose the projectile is launched from a point on a slope
with gradient 0.2. We can model this with a function
However, we are in parametric mode, so we
use the parameter T for X as and then
so we enter X2(T)=T and Y2(T)=0.2T.
Press Plot to look at the motion.
Now use zoom box to find out when the projectile lands.
First use zoom box to zoom in close on the landing point.
Then TRACE to find the value of T. You can increase the
precision by changing the T steps using SHIFT Plot. To 2 d.p.
the projectile lands after 7.82 seconds.
Finally you can even see what happens going back in time! Press SHIFT plot to Setup the plot. The T
range defaults to starting at time T=0, which is logical. But change the TRNG to start in the past e.g.
T=-2
Exploring Maths at Advanced Level
Page | 22
7. Statistics: Probability Distributions and Inference
For statistical work, you should use the three statistics applets:
1 variable statistics (for box plots, histograms etc. with central tendency and spread)
2 variable statistics (for scatter plots, correlation and regression)
Inference (for inferential statistics and confidence intervals)
Also, press Math and look at the following sub menus:
Distribution (binomial, normal, poisson, etc.)
Probability (permutations, combinations, random
numbers, etc.)
One Variable Data
Get started by entering some data for 2 single variable lists.
Apps/Statistics 1Var/Reset/OK/Start
For example, the ages of visitors to a swimming pool on
Friday are as follows:
{12, 13, 12, 12, 12, 12, 3, 38, 12, 13, 12, 13, 12, 12, 12, 13}
enter this under D1
and on Saturday are as follows:
{3, 56, 23, 12, 14, 15, 7, 5, 35, 28, 17, 2, 6, 15, 21}
enter this under D2
Press Symb and change Plot 1 and Plot 2 from Histogram to
BoxWhisker (notice the wide range of other plot types
experiment to see what they are like)
Also, enter D2 for the list associated with plot H2.
Press Plot (then Menu/Zoom/Autoscale) to compare the
two distributions.
Press Num and Stats to see the summary statistics.
(HP39gII) Press down to see mean and standard
deviation(s).
Click OK to exit the STATS view.
Maths Activities for the HP39gII and HP Prime
Page | 23
For grouped data use one list e.g. D1 for the values and a second list for the frequencies e.g. D2.
For example, here is a distribution showing the sizes of mens shoes:
Size 5 6 7 8 9 10 11 12 13
Frequency 7 13 21 35 39 28 21 8 1
Exploring Maths at Advanced Level
Page | 24
Two Variable Data
Start the 2 variable statistics applet: Apps/Statistics 2Var/RESET/OK/START
Enter some paired data, e.g. data comparing shoe size with handspan:
Shoe Size 6 9 11 9 10 12 9 7 5 12 9 7 8 9 4 8
Hand Span (cm)
18 23 25 22 26 27 24 23 19 28 21 22 20 24 19 20
Enter Shoe size as C1 and Handspan as C2
Press Symb and notice that the defualt is to plot C1
against C2 which is what we want.
Press Plot/Menu/Zoom/Autoscale to see a scatter plot
with the linear regression line, or on the HP Prime
simply drag the points into view.
Pressing Fit on the Symb screen will turn the line on and
off.
Press Num and Stats to see the summary statistics with
the correlation coefficient and covarience.
Notably, the correlation coefficient (t 2 d.p.)
shows a reasonably strong relationship.
Press OK to leave the stats screen.
Maths Activities for the HP39gII and HP Prime
Page | 25
Press Symb again and notice that the details for the regression
line are now shown.
The line is (to 3 s.f.) and our values (i.e.
the first list) showed shoe size. This suggests a model of the
relationship between show size and handspan as:
where handpsan and shoesize.
If we want to see if we would get a better fit with a different
model, then we can change the model with the Type options.
Navigate to the Type1 entry and choose Quadratic.
Press Num and Stats to calculate the statistics (many of which are
undefined in this new model) then press OK and press Symb again
to see the coefficients for the new model.
This gives us a new model of
where
handpsan and shoesize.
Press Plot to see the new model.
Exploring Maths at Advanced Level
Page | 26
Confidence Intervals
We have some data about the shoe sizes of thirty female maths students. We want to use this data
to answer the question, What is the mean shoe size for UK female maths students?
Here we are using a sample to infer something about the whole population. This is called inferential
statistics. The issue will be how confident we can be in the outcomes. We can say that with a given
level of probability, the mean will lie within a certain interval. At a 95% level of confidence, we can
calculate the range within which the mean will lie, with a probability of 0.95.
To do this, we need to know the mean and standard
deviation and the number of data values of the sample.
First, we enter the sample data into the 1 variable
statistics applet. Press Apps, choose Statistics 1Var then
Reset/OK/Start then enter the data into list D1
The data is: {2, 7, 6, 4, 5, 3, 4, 5, 6, 7, 4, 3, 5, 4, 4, 3, 5, 6, 6,
8, 6, 7, 8, 4, 3, 9, 5, 7, 6, 4}
Now start the inference applet:
Press Apps, choose Inference then Reset/OK/Start
Chhose to change the Method to Confidence Interval and
the Type to T-Int 1
Press Num to get the statistics we entered earlier.
Press Import/ IMPRT. Check that we will import list D1
from the Statistics 1Var applet (which it will be expecting)
and click OK
You can now see the sample mean , the sample standard
deviation and the number of sample data points . You
need to ch ange the confidence interval C to 0.95
Maths Activities for the HP39gII and HP Prime
Page | 27
Press F6 for CALC to make the calculations.
This tells us that the probability is 0.95 that the shoe
sizes of the whole population will fall between 4.55 and
5.85 (to 2 d.p.)
Press Plot to see this graphically.
As usual, experiment! See what impact changing the confidence interval has. Look at the other tests
available. Research them. See what difference they make.
Exploring Maths at Advanced Level
Page | 28
8. Calculus
It is important to remember that the HP39gII is a numeric calculator. The HP Prime has both numeric
and symbolic modes. This chapter lets you explore how calculus works using the numeric mode.
Differentiation
Lets explore the differential of
Press plot to see the graph.
Make sure that Trace is on (the little blob is showing
next to Trace) and move the cursor to the furthest right
hand/positive end of the visible graph. Now press Fcn and choose Slope.
Before you move the cursor, guess what the slope values will be as you move the cursor to the left
hand/negative end of the visible graph. When you have formed a good idea, move the cursor and
see.
Look to see the relationship between the value of the
slope and the value of . (It is easiest to see at key
points like the one shown where the slope is 4 and you
can see the value of is 2).
You can see the relationship more clearly by splitting
the screen. Press View/Views. Choose the second
option (Split Screen: Plot table).
Press Fcn and choose slope, then choose another value
of in the table and find the slope.
Jot down the pairs of values if and the corresponding
slopes that you have found and decide what function
shows the relationship between and the slope. Go
back to the Symb page and enter this function for
F2(X). Press Num and check that the values for F2(X)
are the same as the ones you jotted down.
Repeat this process with a range of functions. The sine function is very interesting. Make slight
changes to the functions and see what difference it makes.
(e.g. change
to
)
Get a good feel for the differential functions generated by different types of functions.
Maths Activities for the HP39gII and HP Prime
Page | 29
Integration
You can apply the same process to get a feel for the integral function. This time we are looking at the
area under the graph.
Launch and reset the function applet.
Enter the function
Decide what you think the area function (the integral) is,
Press Symb and enter it as F2(X). Press Num and check
that this generates the same values.
Press Plot and TRACE over F2(X) to check.
Again, do this with different types of functions. Make small changes to existing functions. The aim is
to get a feeling for how the area function varies. To be able to work out exactly what the function is
from this small amount of data would be very difficult for most functions. But the key point is to
experiment and get that all important feeling for how calculus works.
Exploring Maths at Advanced Level
Page | 30
Notes
Maths Activities for the HP39gII and HP Prime
Page | 31
For further information and educational support contact:
The Maths Zone
10 Staplehurst Road
London
SE13 5NB
T: (+44) (0)20 8318 6380
F: (+44) (0)20 8318 6610
[email protected]
www.themathszone.co.uk
www.hpgraphingcalc.org