IB Maths Activities with HP Prime
IB Maths Activities with HP Prime
Chris Olley
Exploring IB Maths at Diploma Level
Contents
Introduction ............................................................................................................................................ 2
1. Studying for the International Baccalaureate Diploma Maths with an HP Prime .............................. 3
2. The Home Screen and the Toolkit ....................................................................................................... 4
3. The Computer Algebra System (CAS) .................................................................................................. 7
4. Working with Apps .............................................................................................................................. 9
5. Graphs and Functions ....................................................................................................................... 11
6. Solving Simultaneous Equation: Using Matrices............................................................................... 16
7. Sequences and Series........................................................................................................................ 18
8. Statistics: Probability Distributions and Inference............................................................................ 22
9. Calculus ............................................................................................................................................. 28
10: Identities. Sometimes True, Always True, Never True ................................................................... 30
11: Parametric Functions: Exploring Projectiles ................................................................................... 32
12 Using Your HP Prime in IBO Diploma Exams .................................................................................... 36
Introduction
This book is aimed at students studying for the International Baccalaureate Diploma with advanced
Maths using an HP Prime calculator. The aim is to provide a range of activities which will help you
become a confident user of the calculator while developing your skills in different mathematical
topics. This book is not a replacement for the manual, it is not the best way to quickly find out to do
something specific. Use the manual or search the web. Also, there is no attempt to cover the entire
course, however there is a good range of topics covered. The power of this technology is in its
capacity to generate lots of mathematical information very quickly, so you can get a good feeling for
mathematical ideas. Mathematics needs to be explored and with your HP Prime you can get under
the skin of the ideas you need to learn about. I hope that you will try out the activities in this book
and get into the spirit of exploration that you can then use in all of the topics you need to study.
Page | 2
IB Maths Activities HP Prime
The big message for IB Diploma level maths students, is that you can use this
machine in your exams (those for which a calculator is allowed). I would
assume you have bought the calculator because you know this. It is really
important that you do not think that the calculator will answer the exam
questions for you. You actually have to do the steps in the process.
However, the main source of difficulty in an advanced level exam is making
small errors along the way. With this calculator you can quickly calculate the
solution and check that you have done it correctly and be able to move on
confidently. Knowing the answer first is often a very helpful way of deciding
what steps to take. Also, being able to see different representations of an
object quickly, helps you decide what the solution could be. With HP Prime
you can draw graphs and see tables of values of different types of functions, which you can zoom in
and out of, make calculations on, even do numeric integration and differentiation.
So, it won’t tell you how to solve the problem, but will get you confidently to a solution with a range
of better ways of seeing. HP Prime is a fantastically powerful tool and all of the evidence from
different countries where graphing calculators are used in exams says that if you can use it properly,
then it will give you an advantage.
However, it’s not just in the exam that the calculator is useful. While you are learning maths, it is
vital that you get a good intuitive feeling about how maths works. HP Prime is a fantastic tool for
exploring mathematics. What happens to the graph of a quadratic 𝑦 = 𝑎𝑥 2 + 𝑏𝑥 + 𝑐 when you
change the coefficients 𝑎, 𝑏 and 𝑐? You would need to draw dozens of graphs to get a good feeling
for what goes on. With HP Prime 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 can’t recall the method for. That normally
means most of them, because they never come up just like you were expecting. Far better is 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 can’t decide which method to use. Maths is the
method and you make yourself a mathematician by exploring. The HP Prime is the best tool 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.
Page | 3
Exploring IB Maths at Diploma Level
Pressing the Toolkit key b gives the menu for all of the operations you can do on the Home
screen. Notice the different menus available. To start with, look at the math menu (touch Math
onscreen). This menu has several sub menus to explore. To find out how everything works, there is a
comprehensive help system. Choose the function you want. It will be entered in the command line.
Now press the Help key ^ to see what you need to enter and an example.
Using Numbers
You can decide how results are presented using S +
H. Notably you can set the angle mode and the
accuracy of results. Also, notice that you can change the
language that the calculator works in.
1
Calculate the inverse sin of 2 in the default mode (radians)
then change the setting to degrees. Tap your first entry and
press copy, press the Eagain. It will be re-evaluated
in Radians.
Page | 4
IB Maths Activities HP Prime
If you are doing Physics and/or Chemistry as well, then you will be tempted to check the Units and
Const menus as well. Press Units using shift + template S + c to find both menus. Here,
you will find a comprehensive set of important constants that scientists need to know. Also, if you
make calculations with units, the answer will be given in the correct units. This is very powerful for
scientific work. Explore the possibilities using compound units that you know. Again, enter a
calculation, decide what you think the answer should be, then press Enter E.
Page | 5
Exploring IB Maths at Diploma Level
Template Entry
To enter a number of important and popular functions you can use the template key c
On the HP Prime there are templates for many mathematical functions. You should explore them
now and see that you can make them work as you would expect.
Page | 6
IB Maths Activities HP Prime
Number Calculations
Use the CAS when you want to work with symbolic algebra or when you want an exact answer. The
CAS will naturally report answers to calculations as fractions. A good example where this makes a
difference is working with logarithms. With the template key c choose the logarithm template.
Enter log 3 81 and press E.
1
Now try log 3 . You were expecting the answer -2 but
9
LN(9)
instead you get − LN(3) . This is because CAS shows you
the steps in the calculation. So, you can see it is using
the change of base formula. This can be very useful in
exploring how things work. However, if you just want
the answer, press simplif (for simplify).
Try these again in the Home calculator H to see the difference. Also, look for the LOG command
in the toolkit b.
Note: you can change how much the CAS simplifies when your press E in the CAS settings
S+C
Symbolic Operations
On the home screen we calculate the differential of 𝑥 3 .
Do this again in the CAS.
Page | 7
Exploring IB Maths at Diploma Level
As before, use the template key c and choose the differential. Use d and the 𝑥 𝑦 key to
enter the expression then press E. Notice that d enters a lower case x. This is very
important. In CAS all variables are lower case. This
distinguishes them from the use of letters in the Home
screen, where letters are unknowns, which can be given
values.
CAS is an extremely powerful tool for exploration and you should explore any new functions you are
studying in this way.
Page | 8
IB Maths Activities HP Prime
The home screen is where you do calculations. You can always get back to the home screen by
pressing the Home button H. Pretty much everything else happens through Apps. Press the
Apps key and scroll down the list. You will see most of your advanced level topics are covered. All of
the Apps work the same way. The Symb @ Plot # and Num $ keys show you the three
representations of all the maths you can explore with Apps. Symb is for the algebraic view, Plot
shows the graph view and Num shows the numeric or table view. Different Apps start in different
views according to the maths, for example graphing Apps start in Symb mode, so you can enter a
function, but Statistics Apps start in Num mode, so you can enter the data. The bar at the top of the
screen tells you which App is running at any time. If you start up a new App, all of your data from
the last App you were using is saved automatically and you can come back to it any time.
There are lots of settings/setup screens, so you need to decide what you want to set up.
The Home and CAS screens have their own settings for operations affecting the whole calculator.
The settings for any App can be found with Symb @ Plot # and Num $. These settings
only apply within the App you are running (shown in the bar at the top of the screen).
Finally, you can change the way the screen is organised using
the View Vkey. For example, you can split the screen and
see the graph and a table of values at the same time.
Page | 9
Exploring IB Maths at Diploma Level
Page | 10
IB Maths Activities HP Prime
Parallel
Perpendicular
Just type 3, press on screen for the X (or press the d key or
press A + *), then +, then 1, then press OK.
(Notice that the F1 now has a tick next to it, which means that
when we choose Plot or Num modes, F1 will show up. You can
touch the tick to turn it on and off).
Try a function for F2 which will be parallel to F1. The cursor has
already moved down to F2, so you can type this directly. Now
press the Plot key to see if you are correct.
Press the @ key, make sure the cursor is on the F2 line and try
a new function for F2. Keep trying different functions until you are
sure you know the relationship between the gradients.
Page | 11
Exploring IB Maths at Diploma Level
I’m 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 + 𝑏𝑥 + 𝑐
2. Factorised: 𝑓(𝑥) = (𝑥 + 𝑎)(𝑥 + 𝑏)
3. Completed square: 𝑓(𝑥) = (𝑎𝑥 + 𝑏)2 + 𝑐
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 can do the algebra for you (using CAS), but
you should practice converting between these three
forms with pencil and paper.
Page | 12
IB Maths Activities HP Prime
You will need to do some exploration before you can be sure of the relationship between the roots,
the extremum and the values of 𝑎, 𝑏 and 𝑐 in 𝑓(𝑥) = (𝑎𝑥 + 𝑏)2 + 𝑐, so keep going until you are
quite sure. Then test your theory on new functions in this form.
Now you should be ready to take on the task of exploring the effect of changing 𝑎, 𝑏 and 𝑐 in the
form 𝑓(𝑥) = 𝑎𝑥 2 + 𝑏𝑥 + 𝑐 . Work on each one independently. The effect of changing the 𝑐 is quite
straightforward. The effect of changing the 𝑎 is a bit counter-intuitive. However, just changing the 𝑏
on its own is quite hard to describe. So, spend some time exploring until you are quite sure you have
a good theory that you can describe accurately and simply.
Polynomials
Now you should explore other functions. Firstly, get a feel for
cubic functions. Remember that different algebraic forms
give different insights into the nature of the function. It is
quite hard to imagine the graph of a cubic in the form
𝑓(𝑥) = 𝑎𝑥 3 + 𝑏𝑥 2 + 𝑐𝑥 + 𝑑 but much easier in the form
𝑓(𝑥) = (𝑥 + 𝑎)(𝑥 + 𝑏)(𝑥 + 𝑐), so factorising first, if
possible, is always a good thing.
Try some quartic and quintic functions as well, to get a feeling for the differences between different
polynomial functions.
Other Functions
You should explore rational/reciprocal, trigonometric and
exponential functions in the same way. Then explore
composite functions (like 𝑓(𝑥) = 𝑒 sin(𝑥) ) and the inverses of
functions.
When you have a good feel for the general shape and
position of these functions, you can explore how the graphs
of functions can be manipulated generally.
Page | 13
Exploring IB Maths at Diploma Level
1
For example, start with a reciprocal function 𝑓(𝑥) = 𝑥 and ensure that you can translate and stretch
it horizontally and vertically. Repeat with an exponential function 𝑓(𝑥) = 𝑎 𝑥 and use
HOME/Sto/ALPHA/A to change the value of A.
Page | 14
IB Maths Activities HP Prime
Piecewise functions
We can graph piecewise functions i.e. ones that are defined differently over different parts of their
domain.
For example, we can graph a function for which 𝑓(𝑥) = 2𝑥 when 𝑥 < 1 and 𝑓(𝑥) = 2 when 𝑥 ≥ 1
2𝑥 𝑥<1
We write this function as 𝑓(𝑥) = {
2 𝑥≥1
(Reset/OK/Start)
For F1(X) you should use the template menu c and enter 2X then the domain X<2 using the
menu with S + cthen enter 2 with domain x1 and E
Finally press Plot to see the effect. You should explore setting up different piecewise functions.
To set up piecewise functions with more than 2 parts needs the PIECEWISE() function. However this
can only be used if the calculator is in algebraic entry mode. Go to settings H and on page 1
change the Entry mode to Algebraic (by default it is set to ‘Textbook’). Now go back to the Function
App Symb page and type e.g. PIECEWISE(X,X<1,2X,X=1,3X,X>1). It works with up to 8 parts like this.
To save typing, you can use the toolkit menu b and navigate to the PIECEWISE function.
Page | 15
Exploring IB Maths at Diploma Level
This matrix is already called M1 by the editor. Just press 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.
Page | 16
IB Maths Activities HP Prime
Press the Toolkit key b to find the Matrix section of the Math menu to see the range of
operations we can apply to our matrix.
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.
Page | 17
Exploring IB Maths at Diploma Level
The first term is 3 and the rule is that each number is 2 more than the previous number (we have
𝑢1 = 3 and 𝑢𝑛 = 𝑢𝑛−1 + 2).
I pressed F4 to turn off the BIG font so you can see more of
the sequence.
Page | 18
IB Maths Activities HP Prime
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.
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.
Page | 19
Exploring IB Maths at Diploma Level
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.
Page | 20
IB Maths Activities HP Prime
1 1 1
If the original square has unit area, then the shaded part is + + +⋯
4 16 64
1 𝑛
That is, adding up the terms of the sequence with 𝑢𝑛 = ( )
4
1 𝑛
Enter ∑11 (4)
Try to explain how you know that the shaded area must
be this fraction of the whole.
Page | 21
Exploring IB Maths at Diploma Level
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)
Apps/Statistics 1Var/Reset/OK/Start
{12, 13, 12, 12, 12, 12, 3, 38, 12, 13, 12, 13, 12, 12, 12, 13}
enter this under D1
{3, 56, 23, 12, 14, 15, 7, 5, 35, 28, 17, 2, 6, 15, 21}
enter this under D2
Page | 22
IB Maths Activities HP Prime
For grouped data use one list e.g. D1 for the values and a second list for the frequencies e.g. D2.
Page | 23
Exploring IB Maths at Diploma Level
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
Pressing Fit on the Symb screen will turn the line on and
off.
Page | 24
IB Maths Activities HP Prime
Press @again and notice that the details for the regression line
are now shown.
The line is 𝑓(𝑥) = 1.14𝑥 + 12.9 (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:
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.
Page | 25
Exploring IB Maths at Diploma Level
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.
Page | 26
IB Maths Activities HP Prime
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
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.)
As usual, experiment! See what impact changing the confidence interval has. Look at the other tests
available. Research them. See what difference they make.
Page | 27
Exploring IB Maths at Diploma Level
9. Calculus
It is important to remember that the HP Prime has both numeric and symbolic modes. This section
lets you explore how calculus works using the numeric mode.
Differentiation
Let’s explore the differential of 𝑓(𝑥) = 𝑥 2 . The differential is the function which gives values of the
slope of the original function at all values of 𝑥.
Apps/Function/Reset/OK/Start
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.
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 𝑓(𝑥) = 𝑥 2 to 𝑓(𝑥) = 𝑥 2 + 1)
Get a good feel for the differential functions generated by different types of functions.
Page | 28
IB Maths Activities HP Prime
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 𝑓(𝑥) = 𝑥 2 and Plot it.
Press Menu then Fcn and select Signed area. The cursor will already be at the origin, if not, move it
there. Press OK. Now move the cursor to 𝑥 = 1 and click OK.
Now repeat the process starting from 𝑥 = 0 to 𝑥 = 2 … then from 𝑥 = 0 to 𝑥 = 3
𝑥 0 1 2 3
Area from 1 8 27
0
0 to 𝑥 3 3 3
Decide what you think the area function (the integral) is,
Press @ and enter it as F2(X). Press $ and check
that this generates the same values.
Page | 29
Exploring IB Maths at Diploma Level
So:
1. Click !
2. Select Advanced Graphing
3. Type the statement into the line for S1
4. Click #
5. Press Menu then Defn (you can drag the graph into a
more suitable position if you like)
6. Click @ to edit the statement, press backspace to
delete, then type the next statement and continue as
before.
The graph for 3𝑥 + 1 = 16 is a graph of 𝑥 = 5. These two statements are the same. The solution is
𝑥=5
Page | 30
IB Maths Activities HP Prime
Activity 1
Test these statements with the Advanced Graphing App. Are they sometimes, always or never true?
In each case, if it is sometimes true, what is/are the solution(s)? If it is always true, then the
statement is an identity, so re-write it with the identity symbol. If it is never true, explain why.
Activity 2
Use the advanced graphing App to construct your own examples in each of these three categories.
Equation
Identity Mapping
With solution(s) Without solution(s)
Page | 31
Exploring IB Maths at Diploma Level
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 you can use the d key).
If you press Plot now, you will see nothing, since the value of
all of the variables defaults to zero. So, we assign values to the
variables. First, we will take 𝑔 = 9.8
30 STO A A E
5 STO A U E
Page | 32
IB Maths Activities HP Prime
Use TRACE to find key points in the motion. For example find
the time at the highest point and when the projectile lands
again. You can pinch and scroll to zoom in on these points.
We can go back to the original zoom level using
Menu/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?
Two Projectiles
Now we can add a second projectile to explore when and where projectiles may meet. We can allow
for the possibility that either starts at a different height by
adding another variable to the vertical equation.
Press @ . Make sure the cursor in the line for X1(T) and press
Edit. Use the cursor to move to the beginning of the equation
and add H+ to make the equation Y1(T)=H+U*T*SIN(A)-.5*G*T²
and press OK
(You can use Copy, Paste and Edit, or you can just type directly).
Page | 33
Exploring IB Maths at Diploma Level
Now explore:
(Keep returning to the home screen and trying new values for B
using e.g. 40 STO A B E)
Experiment to find the value of B which makes the collision exactly on the ground.
Inclined Planes
In the home screen set a gradient for the plane e.g. K=0.2 using
0.2 STO A K E
Remember:
Page | 34
IB Maths Activities HP Prime
U and V are the initial speed and A and B the angle of projection of the two projectiles.
H and J are the initial height above the ground for the two projectiles.
One final parameter you can explore in your model is time. This is the parameter T which links the
two parametric equations, so it is an independent variable. You will have noticed that the inclined
plane does not extend to the end of the screen. This is because the domain for T is pre-set, so the
calculator does not have to calculate too many values of X and Y. Pressing S+#gives access
to this setting. The range of T (T Rng) is initial set form 0 to 12. We can see what happens if we go
back in time by changing the initial setting to -12. (Use the +/- key m not the subtract key)
Be careful not to set the range too large or the graph will take
some time to draw.
You now have a model with two projectiles with variable initial
height and a variable inclined plane able to move in positive
and negative time.
Page | 35
Exploring IB Maths at Diploma Level
It is important to be aware that you are allowed to use your HP Prime in the IBO diploma examinations.
So, you should practice using your calculator when you prepare for your exams. There are certain
functions which are not allowed in the Exam and your teachers will be responsible for making sure
that your calculator complies with the rules. The most important restriction is that CAS functions are
not allowed, however, many other facilities need to be turned off as well.
So, when you are getting ready for your exam and practicing with past papers, we would recommend
that you set your calculator as it must be in the exam. To do this, you set an exam mode. A VERY
important point to note is that if you set a password protected exam mode and forget the password,
then your calculator will be permanently set. BEWARE!
Now press Config and select options to select (and therefore block) as follows.
Press the + next to system Apps to show more options. Then the + next to Statistics 2Var.
Now select:
PredX
PredY
… scroll down to …
Linear Solver
Triangle Solver
Linear Explorer
Quadratic Explorer
Trig Explorer
Geometry
Advanced Graphing
Page | 36
IB Maths Activities HP Prime
… scroll down to …
User Apps
Physics
CAS
Notes and Programs
New Notes and Programs
You can choose how long you want the exam mode to
last with the Timeout option. Choose a short period of
time. DO NOT set a password. Now press Start and the
exam mode will start. You know you are in exam mode
because the top of the screen is now orange.
HP Prime is an amazingly powerful tool. If you are well practiced and used to using it in exam
conditons working with exam questions, then you are sure to find it very helpful. But, do not forget,
it will not answer the questions for you, it will simply support you to be an effective mathematician
and to free up some thinking space. So, work hard at your maths and you will be successful. We wish
you the very best for your International Baccalaureate Diploma with advanced Maths exams and
your future work in mathematics.
Page | 37
Exploring IB Maths at Diploma Level
10 Staplehurst Road
London
SE13 5NB
www.themathszone.co.uk
www.hpgraphingcalc.org
Page | 38