Maths Ai Study Guide
Maths Ai Study Guide
Maths Ai Study Guide
M AT H A I SL
www.ib.academy
Mathematics Applications and Interpretations SL
Study Guide
Available on www.ib.academy
Design Typesetting
TEX Academy
This work may not used for commercial purposes other than by IB Academy, or
parties directly licenced by IB Academy. If you acquired this guide by paying for
it, or if you have received this guide as part of a paid service or product, directly
or indirectly, we kindly ask that you contact us immediately.
Our Study Guides are put together by our teachers who worked tirelessly with students
and schools. The idea is to compile revision material that would be easy-to-follow for
IB students worldwide and for school teachers to utilise them for their classrooms.
Our approach is straightforward: by adopting a step-by-step perspective, students can
easily absorb dense information in a quick and efficient manner. With this format,
students will be able to tackle every question swiftly and without any difficulties.
For this guide, we supplement the new topics with relevant sections from our previous
Math Studies, SL and HL study resources, and with insights from our years of experience
teaching these courses. We illustrate theoretical concepts by working through IB-style
questions and break things down using a step-by-step approach. We also include detailed
instructions on how to use the TI-Nspire™ to solve problems; most of this is also quite
easily transferable to other GDC models.
The best way to apply what you have learned from the guides is with a study partner.
We suggest revising with a friend or with a group in order to immediately test the
information you gathered from our guides. This will help you not only process the
information, but also help you formulate your answers for the exams. Practice makes
better and what better way to do it than with your friends!
In order to maintain our Study Guides and to put forth the best possible material, we are
in constant collaboration with students and teachers alike. To help us, we ask that you
provide feedback and suggestions so that we can modify the contents to be relevant for
IB studies. We appreciate any comments and hope that our Study Guides will help you
with your revision or in your lessons. For more information on our material or courses,
be sure to check our site at www.ib.academy.
IB.Academy Team
If you would like to consider supporting our materials and be recognised for it,
send us an email to contact@ib.academy.
PRIOR LEARNING 0
0.1 Approximation
0.1.1 Rounding
In math you need to round almost all the time, so its important to know how to do it
correctly. To round any number you need to determine the following 2 things:
• If the digit is < 5, it stays the same. • A certain decimal place The word “estimate”
without further detail
e.g. 201.78095 rounded to:
• If the digit is ≥ 5, add +1 to the digit means “estimate to 1
→ 2 decimal places ⇒ 201.78 significant figure”.
→ 1 decimal place ⇒ 201.8 When nothing is
e.g. 201.78095 specified, always round
Round to the nearest 10 and 10,000th to 3 significant figures.
• A certain number of significant figures
Nearest 10 Rule: zeros to the left of the first
Look at the next digit → 1 non-zero digit are not significant
1 < 5 ⇒ 200
All other: numbers are significant
Nearest 10,000th (= 0.0001)
e.g. 0.0023045 rounded to:
Look at the next digit → 5
5 ≥ 5 ⇒ add +1 to 9 which carries over, → 2 significant figures ⇒ 0.0023
⇒ 201.7810. → 3 significant figures ⇒ 0.00230
→ 4 significant figures ⇒ 0.002305
5
PRIOR LEARNING Sets
0.3 Sets
Set any collection of things with a common property (capital letter, curly
brackets)
Natural numbers N = 0, 1, 2, 3 . . .
p
Real numbers R; all rational and irrational numbers (π, 2, etc.)
6
PRIOR LEARNING Algebra and equations 0
−2x − 3 ≥ 5
−2x ≥ 8
x ≤ −4
Bryan runs 1.1 km on the first day of his week-long training. Each successive
Example
day he runs 20% more than the previous day. How far does Bryan run on the
second day?
On the second day he will run 100% (1.1 km) + 20% of 1.1 km, so 120% of 1.1 km.
120
→ 120% of 1.1 km = × 1.1
100
= 1.32 km
7
PRIOR LEARNING Geometry and trigonometry
8
NUMBER AND ALGEBRA 1
x1 = x 61 = 6
x0 = 1 70 = 1
x m · x n = x m+n 45 · 46 = 411
xm 35
= x m−n = 35−4 = 31 = 3
xn 34
2
(x m )n = x m·n 105 = 1010
(x · y)n = x n · y n (2 · 4)3 = 23 · 43 and (3x)4 = 34 x 4
−1
1 1 3 4
x −1 = 5−1 = and =
x 5 4 3
−n 1 −5 1 1
x = 3 = =
xn 35 243
Logarithms are the inverse mathematical operation of exponents, like division is the
inverse mathematical operation of multiplication.
ax = b ⇔ x = loga b DB 1.5
This formula shows that the variable x in the power of the exponent becomes the subject
of your log equation, while the number a becomes the base of your logarithm. loga 0 = x is always
undefined (because
a x 6= 0)
In your exam you will only work with logarithms with bases of 10 and e. These have
special notations in which their base is not explicitly noted.
log10 x = log x
loge x = ln x
You can use logarithms to solve equations with unknowns in the power.
9
NUMBER AND ALGEBRA Sequences and series
Arithmetic sequence the next term is the previous number + the common
difference (d ).
e.g. 2, 4, 6, 8, 10, . . . d = +2 and 2, −3, −8, −13, . . . d = −5
To find the common difference d , subtract two consecutive terms of an
arithmetic sequence from the term that follows it, i.e. d = u(n+1) − un .
Use the following equations to calculate the n th term or the sum of n terms.
n
DB 1.2 un = u1 + (n − 1)d Sn = 2u1 + (n − 1)d
2
with u1 = a = 1st term d = common difference
Often the IB requires you to first find the 1st term and/or common difference.
Finding the first term u1 and the common difference d from other
terms.
In an arithmetic sequence u10 = 37 and u22 = 1. Find the common difference and the
first term.
10
NUMBER AND ALGEBRA Sequences and series 1
Geometric sequence the next term is the previous number multiplied by the
common ratio (r ).
1
e.g. 2, 4, 8, 16, 32, . . . r =2 and 25, 5, 1, 0.2, . . . r=
5
To find the common ratio, divide any term of an arithmetic sequence by the
u(n+1)
term that precedes it, i.e. r =
un
Use the following equations to calculate the n th term or the sum of n terms.
Similar to questions on Arithmetic sequences, you are often required to find the 1st term
and/or common ratio first. Generally the trickiest Geometric sequences questions are
those that ask you to find n.
11
NUMBER AND ALGEBRA Finance
Sigma notation is a way to represent the summation of any sequence — this means that it
can be used for both arithmetic or geometric series. The notation shows you the formula
that generates terms of a sequence and the upper and lower limits of the terms that you
want to add up in this sequence.
Last value of n
10
X
3n − 1 Formula
n=1
First value of n
10
X
e.g. 3n − 1 = (3 · 1) − 1 + (3 · 2) − 1 + (3 · 3) − 1 + · · · + (3 · 10) − 1 = 155
n=1
| {z } | {z } | {z } | {z }
n=1 n=2 n=3 n=10
1.3 Finance
I =P ×r ×n
This works like an arithmetic sequence; for each year that interest is counted over a
principle sum, a fixed interest rate is charged. This yearly interest is simply a percentage
of the principal sum.
.
$1500 is invested at 5.25% simple interest per year. How much interest would be
Example
I = 1500 × 0.0525 × 6
= $472.50
12
NUMBER AND ALGEBRA Finance 1
$1500 is invested at 5.25% per annum. The interest is compounded twice per year. How
much will it be worth after 6 years?
So FV = $2047.05
13
NUMBER AND ALGEBRA Finance
Jerome would like to save $300,000 to buy an apartment in 15 years’ time. If he can invest
at an 8% interest rate per year, how much money would he need to invest at the end of each
year to reach his goal?
14
NUMBER AND ALGEBRA Estimation and error 1
VA − V E
approximate value − exact value
Percentage error × 100
exact value
V − V
A E
× 100
VE
DB 1.6
.
John estimates a 119.423 cm piece of plywood to be 100 cm. What is the error?
Example
Error = VA − VE
= 100 − 119.423
= −19.423 ≈ −19.4
15
NUMBER AND ALGEBRA Simultaneous equations
You will be expected to y = 3x + 1 (1) and 2y = x − 1 (2); find the values of x and y
solve systems of up to
3 linear equations with
this method. IB ACADEMY IB ACADEMY IB ACADEMY
3 4
So x =− and y =−
5 5
In case you prefer to solve a pair of simultaneous equations by hand, there are two
methods you can use.
.
Elimination Substitution
Example
16
FUNCTIONS 2
Domain all possible x-values that a function can have. You can also think of Note that some
this as the ‘input’ into a mathematical model. questions will specify
the domain (often even
though the function as
Range all possible y-values that a function can give you. You can also think such could theoretically
of this as the ‘output’ of a mathematical model. have many other
x -value inputs). Make
sure that your answers
Coordinates uniquely determine the position of a point, given by (x, y). are within any given
domain; for example,
only sketch the graph
for the x -values
included in the domain
if you are asked to draw
.
1
Example
Domain: x 6= 0
(all real numbers except 0)
Range: y 6= 0
(all real numbers except 0)
Domain: x ∈R
(all real numbers)
Range: y ∈ R+
(all positive real numbers)
17
FUNCTIONS Basic concepts
y
2.1.2 Inverse functions y=x
f (x)
Even though the IB does not not expect your sketches to be completely precise, it is
important that key features are in the right place. These include:
As well as sketching these features, you will need to know how to identify them on given
graphs and on your GDC.
The intersection points are (−1.68, 1.19) and (2.41, −1.81). If you are sketching functions
f (x) and g (x), be sure to mark and label these points on your sketch.
18
FUNCTIONS Linear models 2
Linear functions make straight line graphs. Two elements you need to know to describe
a linear function are its slope/gradient (how steeply it is rising or decreasing) and its
y-intercept (the y-value when the function crosses the y-axis, so when x = 0).
y =m x + c y-intercept = (0, c)
with x
m = gradient (slope)
c = y-intercept
This is useful, because this way you can read the gradient (m) and y-intercept (c) directly
from the equation (or formulate a straight line equation yourself, if you know the value
of the gradient and y-intercept.)
You may also see a straight line equation written in two other forms:
ax + b y + d = 0 general form
y − y1 = m(x − x1 ) point-slope form
In these cases, it is best to rearrange the equation into the y = m x + c form discussed
above. You can do this by using the rules of algebra to make y the subject of the equation.
When you are not given the value of the gradient in a question, you can find it if you
know two points that should lie on your straight line. The gradient (m) can be calculated Make sure you
by substituting your two known coordinates (x1 , y1 ) and (x2 , y2 ) into the following substitute the y and
equation: x -coordinates in the
correct order!
rise y2 − y1
m= = DB 2.1
run x2 − x1
19
FUNCTIONS Linear models
Line L1 has a gradient of 5 and intersects line L2 at point A(1, 0). Find the equation of
L1
20
FUNCTIONS Linear models 2
When you know the equation of one straight line, you can use the value of its gradient,
m, to find equations of other straight lines that are parallel or perpendicular to it.
−1
Perpendicular lines meet at a 90° angle m2 =
m1
LineL1 has a gradient of 5 and intersects line L2 at point A(1, 0). Line L2 is
perpendicular to L1 . Find the equation of L2
21
FUNCTIONS Quadratic models
y = a x2 + b x + c = 0
axis of symmetry
The equation for the axis of symmetry can be found using the equation below where a, b
and c are the corresponding numbers from your quadratic equation written in the form
y = a x 2 + b x + c.
−b
DB 2.5 Axis of symmetry x= = x-coordinate of vertex
2a
Given that f (x) = x 2 − 2x − 15, find the coordinates of the vertex of f (x).
22
FUNCTIONS Polynomials 2
To ‘solve’ a quadratic function, you need to find its x-intercepts. You find these by setting
your quadratic equation equal to 0. When a x 2 + b x + c = 0 you can solve for x to find the
x-intercepts (or ‘roots’, or ‘solutions’ as they are also called interchangeably). Given that
quadratic equations have the shape of a parabola, they can have up to two x-intercepts; as
you can see when a quadratic equation is plotted, it often crosses the x-axis twice.
There are several methods to find the x-intercepts. In your exam you will primarily use
your GDC. Here we work through an example of factorisation.
Factorisation
1. Rearrange f (x) = 0 into the form Look for the pair of numbers that satisfy:
f (x) = (x + p)(x + q) p + q = −2 p = −5
⇒
pq = 15 q =3
so f (x) = (x − 5)(x + 3)
2.4 Polynomials
f (x) = a x n
.
Example
1
y = x3 y = 2x 2 − x 5
2
y y
x x
23
FUNCTIONS Polynomials
You can use the Polyrootfinder on your GDC to find roots of any polynomials.
Solve 3x 2 − 4x − 2 = 0
type of polynomial.
IB ACADEMY
so x = 1.72 or x = −0.387
24
FUNCTIONS Exponential models 2
with
horizontal asymptote at y = c (0, k + c)
•
y=c
m = y-intercept at (0, k + c)
x
y = 2x y = 3 · (2 x ) y = 2−x − 3 y = −2−x + 1
y y y y
3
x x
1
−2
x x
A population of rabbits is modelled by the function P (t ) = 24e0.19t , t ¾ 0, where P is Remember that e is just
a number (2.71828. . . ),
the population of rabbits and t is the time in months. After how many months does the
so treat it like any other
population reach 1 million?
number.
1. Set up an equation you are looking to 1000000 = 24e0.19t You get points on your
IB exam for writing out
solve
an equation like this!
25
FUNCTIONS Sinusoidal models
Trigonometric functions, sine and cosine, make sinusoidal shapes when graphed.
As with other functions, the height, width and position on the axes of a trigonometric
function is determined by its parameters. For sinusoidal models we describe these
parameters with special names; the vertical stretch is determined by the amplitude, the
horizontal stretch by the period and an upward/downward shift by the position of the
principle axis.
y period
y =a sin(b x) + d
with a
amplitude of a
principle axis at y = d y=d
360°
period of x
b
.
Transformations of y = cos x.
Example
y
2 y = 2 cos x
1 amplitude = 2
principle axis at y = 0
0 x 360◦
−1 period = = 360◦
1
−2
90° 180° 270° 360°
y
1 y = cos(4x) − 1
0 amplitude = 1
x principle axis at y = −1
−1
360◦
−2 period = = 90◦
4
−3
90° 180° 270° 360°
26
GEOMETRY AND 3
TRIGONOMETRY
y
Example
Surface area the sum of the areas of all faces (units2 ) Formulas for finding
surface areas and
volumes are in the data
Volume amount of space it occupies (units3 ) booklet.
27
GEOMETRY AND TRIGONOMETRY Lengths, areas and volumes
.
The length of the cylindrical part of a pencil is 12.3 cm
Example
l
0.7 cm
12.3 cm h
13.5 cm
h
= 1.5625
⇒ l = 1.25 cm
28
GEOMETRY AND TRIGONOMETRY Right-angled triangles 3
a2 = b 2 + c 2 Pythagoras’ theorem
opposite use
opposite
sin θ = SOH oten
hypotenuse p
hy
adjacent θ
cos θ = CAH
hypotenuse
adjacent
opposite
tan θ = TOA
adjacent
The IB particularly likes asking questions about special right-angled triangles which have
whole numbers for all the sides of the right triangles, so it is good to be familiar with the
following two triangles.
5 13
3 5
12
4
Make sure you read
exam questions
To solve problems using Pythagoras, SOH, CAH or TOA identify what information is
carefully to determine
given and asked. Then determine which of the equations contains all three elements and whether you are
solve for the unknown. looking for an acute
(less than 90°) or
obtuse (more than 90°)
angle. Sometimes they
specify this.
29
GEOMETRY AND TRIGONOMETRY Right-angled triangles
30°
12
1. Identify:
• info given • angle and adjacent given
• what you need to find • need to find opposite
2. Use SOH, CAH, TOA or Pythagoras to find TOA: Θ, adj & opp
the missing value.
c
Pythagoras: 3× length tan 30° =
SOH: Θ, opp & hyp 12
CAH: Θ, adj & hyp ⇒ c = 12 × tan 30°
TOA: Θ , adj & opp = 6.92
α = angle of elevation
α
β = angle of depression
30
GEOMETRY AND TRIGONOMETRY Right-angled triangles 3
3.2.1 3D applications
To find angles and the length of lines, use SOH, CAH, TOA and Pythagoras.
.
Example
7 cm
B C
m
O
3c
A 4 cm D
Find the length of AC. Find the angle that AE makes with the
base of the pyramid.
AC 2 = AD 2 + DC 2
Looking for angle E ÂO:
= 42 + 32 7
= 25 tan E ÂO =
p 2.5
⇒ AC = 25 7
⇒ E ÂO = tan−1
= 5 cm 2.5
= 70.3°
Find the length of AE .
Find the angle the base makes with
AE 2 = AD 2 + EO 2 E M , where M is the midpoint of C D .
1
(AO = AC = 2.5)
2 Looking for angle E M̂ O:
AE 2 = 2.52 + 72 7
tan E M̂ O =
= 55.25 OM
p 1
⇒ AE = 55.25 (O M = AD = 2 cm)
2
= 7.43 cm 7
tan E M̂ O =
2
−1 7
Find the angle AÊ C. ⇒ E M̂ O = tan
2
= 74.1°
AÊC = 2AÊO
2.5
tan AÊO =
7
2.5
⇒ AÊO = tan−1
7
= 19.65°
⇒ AÊC = 2 × 19.65
= 39.3°
31
GEOMETRY AND TRIGONOMETRY Non-right-angled triangles
Sine rule
a b c sin A sin B sin C
DB 3.2 = = also rearranged as = =
sin A sin B sin C a b c
Use this rule when you know:
a
B B
a
b
A
c
b c
A
b
a
Area of a triangle
1
Area = a b sin C
2
Use this rule when you know:
a
C
b
32
GEOMETRY AND TRIGONOMETRY Circles 3
.
Example
∠C = 180° − 40° − 73° = 67° m z
6k
Find b. 35° x
a b 10 km
=
sin A sin B Find z .
27 b
=
sin 40° sin 73° z 2 = 62 + 102 − 2 · 6 · 10 · cos 35°
27 z 2 = 37.70
b= · sin 73° = 40.169 ≈ 40.2 cm
sin 40°
Find c. z = 6.14 km
Find ∠x.
c a
= 6 6.14
sin C sin A =
27 sin x sin 35°
c= × sin 67° = 38.7 cm
sin 40° sin x = 0.56
Find the area.
x = sin−1 (0.56) = 55.91°
1
Area = · 27 · 40 · 2 · sin 67°
2
= 499.59 ≈ 500 cm2
3.4 Circles
ϑ
Arc length = × 2πr DB 3.4
360
ϑ
Area of a sector = × πr 2
360 sector
ϑ = angle in degrees, r = radius arc
33
GEOMETRY AND TRIGONOMETRY Voronoi diagrams
With a Voronoi diagram you can divide a plane into regions based on a set of sites in it.
The partitioning is made based minimal distance to the sites.
Cell a region containing all the points for which the enclosed site is the
closest one. Each cell encloses a single site
34
GEOMETRY AND TRIGONOMETRY Voronoi diagrams 3
To construct a Voronoi diagram based on a set of sites, you need to find the boundaries
between the cells that will enclose each of them. These edges lie along the perpendicular
bisectors between neighbouring sites. Finding these perpendicular bisectors is referred to
as a form of nearest neighbour interpolation.
Perpendicular bisector the line passing through the midpoint between two
points and at a 90°angle to the line segment that connects them
Nearest neighbour interpolation finding the site closest to any given point
Voronoi diagrams
Points A(2, 8), B(7, 6), C (11, 10), D(6, 1) and E(10, 6) represent restaurants of a pizza
chain in a city.
y
B E
D
x
(b) Hence, find the equation of the perpendicular bisector of points B and D.
To optimise delivery, pizza orders are always distributed to the closest restaurant.
(d) Sam lives at point S(11, 2). Which pizza place will prepare Sam’s pizza?
35
GEOMETRY AND TRIGONOMETRY Voronoi diagrams
5. Sketch y
B E
S
×
D
x
6. Use Voronoi diagram to determine which The pizza place closest to Sam is E,
cell a given point falls into therefore Sam’s order would be prepared
at and delivered from E.
36
GEOMETRY AND TRIGONOMETRY Voronoi diagrams 3
3.5.2 Applications
Voronoi diagrams can be used to model problems in for example ecology, meteorology or
urban planning. You should be familiar with the so-called toxic waste dump problem.
.
The following Voronoi diagram shows the centres of neighbouring urban hubs
Example
in a region.
What is the best place for the local government to place its toxic waste dump?
We assume that you want to place a toxic waste dump furthest away from any site.
This is easy to find using a Voronoi diagram. You would place the dump on the
vertex from which the radius to the nearest site is largest.
In this case, point A would be the best location for the region’s toxic waste dump.
37
GEOMETRY AND TRIGONOMETRY Voronoi diagrams
38
STATISTICS AND 4
PROBABILITY
Population the entire group from which statistical data is drawn (and which
the statistics obtained represent).
Sampling bias when not all members of a population have an equal chance
of being picked; can result in a sample not being representative of the
population (e.g. convenience samples are likely to be biased)
39
STATISTICS AND PROBABILITY Descriptive statistics
x 3 6 7 13
Example data set: 6, 3, 6, 13, 7, 7 in a table:
frequency 1 2 2 1
P
fx
P
the sum of the data x
DB 4.3 Mean the average value, x̄ = = = P
no. of data points n f
3 + 6 + 6 + 7 + 7 + 13 1 · 3 + 2 · 6 + 2 · 7 + 1 · 13
e.g. x̄ = = =7
6 1+2+2+1
Median the middle value when the data set is ordered low to high. Even
number of values: the median is the average of the two middle values.
1
Find for larger values as n + .
2
e.g. data set from low to high: 3, 6, 6, 7, 7, 13
6+7
median = = 6.5
2
Adding a constant to all the values in a data set or multiplying the entire data set by a
constant influences the mean and standard deviation values in the following way:
40
STATISTICS AND PROBABILITY Descriptive statistics 4
4.2.1 Quartiles
Outlier any point lower than Q1 − 1.5 ×IQR and larger than Q3 + 1.5 ×IQR
.
30, 75, 125, 55, 60, 75, 65, 65, 45, 120, 70, 110.
Find the range, the median, the lower quartile, the upper quartile and the
interquartile range.
First always rearrange data into ascending order: 30, 45, 55, 60, 65, 65, 70, 75, 75, 110, 120, 125
1. The range:
125 − 30 = 95 cm
2. The median: there are 12 values so the median is between the 6th and 7th value.
65 + 70
= 67.5 cm
2
3. The lower quartile: there are 12 values so the lower quartile is between the 3rd
and 4th value.
55 + 60
= 57.5 cm
2
4. The upper quartile: there are 12 values so the lower quartile is between the 9th
and 10th value.
75 + 110
= 92.5 cm
2
5. The IQR
92.5 − 57.5 = 35 cm
41
STATISTICS AND PROBABILITY Descriptive statistics
Cumulative frequency the sum of the frequency for a particular class and
the frequencies for all the classes below it
Age 17 18 19 20 21
No. of students 21 45 93 61 20 A cumulative frequency table summarises the
Cumulative freq. 21 66 159 220 240 cumulative frequencies for a data set.
42
STATISTICS AND PROBABILITY Descriptive statistics 4
For your exam you will need to know how to find the value of Q1 , Q2 and Q3 using a
cumulative frequency graph. First, determine the percentage of the quartile in question.
Second, divide the total cumulative frequency of the graph (i.e. the total sample size) by
100 and multiply by the corresponding percentage. Then, you will have found the
frequency (y-value) at which 25% for Q1 / 50% for Q2 / 75% for Q3 of the sample is
represented. To find the x-value, find the corresponding x-value for the previously
identified y-value.
.
12
10
Length (cm)
20 40 60 80 100 120
Number of fish
Frequency of fish 20–30 30–40 40–50 50–60 60–70 70–80 80–90 90–100 100–110 110–120
Length of fish 2 3 5 7 11 5 6 9 1 1
Cumulative f. 2 5 10 17 28 33 39 48 49 50
43
STATISTICS AND PROBABILITY Descriptive statistics
Plot on cumulative frequency chart. Remember to use the midpoint of the date, e.g.,
.
Example
25 for 20–30.
55
Cumulative frequency 50
45
40
35
30
25
20
15
10
5
0 25 35 45 55 65 75 85 95 105 115
Frequency of fish
55
50
Cumulative frequency
45
40
35
30 Q1 25% of 50 = 12.5 → 48
25 Q2 50% of 50 = 25 → 62
20
15 Q3 75% of 50 = 37.5 → 83
10
5
Q1 Q2 Q3
0 25 35 45 55 65 75 85 95 105 115
Frequency of fish
20 48 62 83 120
44
STATISTICS AND PROBABILITY Descriptive statistics 4
off
on 1: One-Variable Statistics
Press , go to Press menu , choose
Lists and Spreadsheets. 4: Statistics
Enter x -values in L1 and, 1: Stat Calculations
if applicable, frequencies
in L2
45
STATISTICS AND PROBABILITY Bivariate statistics
Bivariate statistics are about relationships between two different variables. You can plot
your individual pairs of measurements as (x, y) coordinates on a scatter diagram.
Analysing bivariate data allows you to assess the relationship between the two measured
variables; we describe this relationship as correlation.
Scatter diagrams
x x x
Through statistical methods, we can predict a mathematical model that would best
describe the relationship between the two measured variables; this is called regression.
For your exam you will only have to focus on linear relationships, so only straight line
graphs and equations. These so-called regression equations can be found using the GDC.
46
STATISTICS AND PROBABILITY Bivariate statistics 4
Besides simply estimating the correlation between two variables from a scatter diagram,
you can calculate values that will describe it in standardised ways. One of these is
Pearson’s correlation coefficient (r ).
Pearson’s correlation coefficient used to assess the strength of a linear relationship between
two variables (−1 ≤ r ≤ 1)
r = 0 means no correlation.
r = ±1 means a perfect positive/negative correlation.
Interpretation of r -values:
r −value 0 < |r | ≤ 0.25 0.25 < |r | ≤ 0.50 0.50 < |r | ≤ 0.75 0.75 < |r | < 1
correlation very weak weak moderate strong
Remember that
correlation 6=
Calculate r while finding the regression equation on your GDC. Make sure that STAT
causation.
DIAGNOSTICS is turned ON (can be found in the MODE settings), otherwise the r -value will
not appear.
When asked to “comment on” an r -value make sure to include both, whether the
correlation is:
1. positive / negative
and
2. strong / moderate / weak / very weak
47
STATISTICS AND PROBABILITY Bivariate statistics
mean point
The line of best fit
should pass through
2. Use the mean point to draw a best fit line 0 + 1 + 2 + ... + 8
the mean point.
x̄ = = 3.56
9
23.5 + 25 + . . . + 37.5
ȳ = = 30
9
3. Find the equation of the regression line y = 1.83x + 22.7
using GDC
off
on Enter
Press , got to Press menu
X list: A [];
“Lists and 4: Statistics
Y list: B[];
Spreadsheets” 1: Stat Calculations
1st Result Column: C[]
3: Linear Regression (mx+b)
Enter x -values in one
column (e.g A) and Press OK
IB ACADEMY
48
STATISTICS AND PROBABILITY Bivariate statistics 4
Maths 81 75 30 18 55 70 93 89 89 75
Physics 53 70 24 23 32 38 88 96 71 42
1. Fill out a table of ranks for all the data. Maths 4 5.5 9 10 8 7 1 2.5 2.5 5.5
The ranks of tied values are the means of Physics 5 4 10 8 9 7 2 1 3 6
the ranks they would have had if they
were different
+page
Press OK
Press doc menu
Press
4: Insert 4: Stats
rs = 0.920749
6: Lists and Spreadsheets 1: So there is a strong
Stat Calculations
Enter table of ranks into positive relationship
2: Two-variable
two columns (e.g A and B) between students’ Maths
Statistics
and Physics grades.
Enter X and Y Lists
49
STATISTICS AND PROBABILITY Chi-squared test
4.4.1 Independence
1. State the null and alternative hypotheses H0 : gender and employment grade are
independent
H1 : gender and employment grade are
not independent
50
STATISTICS AND PROBABILITY Chi-squared test 4
Enter data into GDC Enter dimensions of matrix Enter the data as a matrix
sto→
to fit your data. Be sure
menu press ctrl and var
Press you do not include the
7: Matrices & Vectors Give matrix a name by
totals, so in this case you
1: Create typing it after the arrow
have a 2 × 3 matrix
1: Matrix OK
(e.g. a)
Press ≈
press enter
6: Statistics
Matrix (in this case a) χ 2 = 180.03, and
7: Statistical Tests
Press OK p -value = 8.08 × 10−40
2
8: χ 2-way Test
5. The critical value is 4.605. Use the 180.03 > 4.605 You will always be given
critical value or the p -value to comment → so we reject the null hypothesis; the critical value in
on your result. gender and employment grade are not exam questions.
independent.
Reject null hypothesis if:
χ 2 > critical value
or
p -value < significance level
51
STATISTICS AND PROBABILITY Chi-squared test
County 1526
Lars 758
Swix 1780
Silkyway 847
Trickers 1089
Total 6000
1. State the null and alternative hypotheses H0 : chocolate bar sales are uniformly
distributed
H1 : at least one of the chocolate bar
sales does not fit a uniform distribution
52
STATISTICS AND PROBABILITY Chi-squared test 4
So Chi-square value
χ 2 = 645.808, and
p -value =
−16
4.440 89 × 10
53
STATISTICS AND PROBABILITY T-test
4.5 T-test
The t -test is another type of statistical test that can be used to compare two groups. To
apply a t -test, the variables you are testing should be normally distributed. Generally
speaking, you can assume that this will be the case in exam questions that ask you to
conduct a t -test.
Although there are
several different t -tests
(and different names
for them!), we address
only the type that you t-test tells you whether there is a significant difference between two groups
will need for your
by comparing their means
exam. This is also
referred to as an
Independent Samples One-tailed test statistical significance is assessed only in one direction from a
t -test, Student t -test or reference value (i.e. whether one mean is larger than the other or vice
unpaired t -test.
versa)
Depending on what a question or task is asking of you, you will have to determine
whether to use a one- or two-tailed test.
A popcorn producer wants to compare the effect of two different fertilisers on the
number of usable corn kernels yielded. They measure the average number of usable
kernels per corncob in a random sample taken from two batches, each treated with a
different fertiliser.
Fertiliser A Fertiliser B
Use a t -test to determine whether the two fertilisers have a significantly different effect
on corn kernel yield.
1. State the null and alternative hypotheses H0 : the means of kernels treated by
fertiliser A and fertiliser B are equal
(µ 1 = µ2 )
H1 : the means of kernels treated by
fertiliser A and fertiliser B are not equal
(µ 1 6= µ2 )
54
STATISTICS AND PROBABILITY T-test 4
So t = 4.838, and
p -value < 0.00001
55
STATISTICS AND PROBABILITY Probability
4.6 Probability
As apples cannot be bananas this is mutually exclusive, therefore P (A∪ B) = P (A) + P (B)
and P (A ∩ B) = 0. It is also an exhaustive event as there is no other options apart from
apples and bananas. If I bought some oranges the same diagram would then be not
DB 4.6 exhaustive (oranges will lie in the sample space).
56
. STATISTICS AND PROBABILITY Probability 4
Yellow apples
A B
A: apples
B: yellow fruit
This is not mutually exclusive as both apples and bananas are yellow fruits. Here we are
interested in the intersect P (A ∩ B) of apples and yellow fruit, as a yellow apple is in both
sets P (A ∩ B) = P (A) + P (B) − P (A ∪ B).
.
A B
A: apples
B: yellow fruit
This is a union of two sets: apple and yellow fruit. When an event is
exhaustive the
probability of the union
The union of events A and B is: is 1.
• when A happens;
• when B happens;
• when both A and B happen P (A ∪ B) = P (A) + P (B) − P (A ∩ B). DB 3.7
.
A B
A: apples
B: yellow fruit
57
STATISTICS AND PROBABILITY Probability
.
What is the probability of picking an apple given I pick a yellow fruit?
Example
Yellow apples
A B
A: apples
B: yellow fruit
This is “conditional” probability in a single event. Do not use the formula in the
0.2 1
formula booklet. Here we are effectively narrowing the sample space = = .
(0.2 + 0.4) 3
You can think of it like removing the non yellow apples from the fruit bowl before
choosing.
P (A ∩ B)
Conditional probability P (A|B) = .
P (B)
Independent events two events are independent if the fact that A occurs
does not affect the probability of B occurring.
For independent events P (A ∩ B) = P (A) × P (B)
58
STATISTICS AND PROBABILITY Probability 4
Probabilities for successive events can be expressed through tree diagrams. In general, if
you are dealing with a question that asks for the probability of:
• one event and another, you multiply
• one event or another, you add
.
Two disks are randomly drawn without replacement from a stack of 4 red and 5
Example
8 R B and R: × = branches).
5 9 8 72
9 B
4 5 4 20
B B and R: × =
8 9 8 72
What is the probability to draw one red and one blue disk?
P (one red and one blue)
P (R) and P (B) or P (B) and P (R)
What is the probability of picking a blue disc given that at least one red disk is
picked?
5
P (a blue disk) 10
P (blue disk | at least one red disk) = = 9 =
P (at least one red disk) 13 13
18
59
STATISTICS AND PROBABILITY Probability distributions
Once tabulated we can use the probability distribution to find the expected value. It is
best to think of this as the average value you would get if you repeated the action many
times.
Probability distributions
A fair coin is tossed twice, X is the number of heads obtained. Find the expected
number of heads obtained on two throws of the coin.
P (X = x) always equals 1
The sum of
X : E(X )
X
3. Find the expected value of E(X ) = xP (X = x)
1 1 1
=0· +1· +2· =1
4 2 4
So if you toss a coin twice, you expect to
get heads once.
60
STATISTICS AND PROBABILITY Probability distributions 4
The domain of X must be specified, as the sum of the probabilities must equal 1.
Binomial distribution is used in situations with only 2 possible outcomes (e.g. success or
failure) and lots of trials.
Using GDC
In your exam you will be expected to find probabilities from binomial distributions
using your GDC. There are two different functions that you can use for this. For both
you will need to know the number of trials (n), the probability of success ( p) and the
expected number of successes (r ).
Use Binompdf (n, p, r ) for questions asking for the probability of an exact outcome,
P (X = r ).
Use Binomcdf (n, p, r ) for questions asking for the probability of a range of consecutive
values, P (X ≤ r ).
Note that by default Binomcdf only calculates P (X ≤ r ) or in words “at most the value of
r ”. Therefore you must remember to transform the function depending on the wording
in the questions : On some of the newer
61
STATISTICS AND PROBABILITY Probability distributions
A fair coin is flipped 10 times. Find the probability of flipping less than 4 heads.
P (X < 4) = P (X ≤ 3)
Press enter
62
STATISTICS AND PROBABILITY Probability distributions 4
Mean Standard x
(µ) deviation
(σ)
We can use normal distributions to find the probability of obtaining a certain value or a
range of values. This can be found using the area under the curve; the area under the
bell-curve between two x-values always corresponds to the probability for getting an
x-value in this range. The total area under the normal distribution is always 1. This is
because the total probability of getting any x-value adds up to 1 (or, in other words, you
are 100% certain that your x-value will lie somewhere on the x-axis below the bell-curve).
Using GDC
Use your GDC to answer questions dealing with normal distributions. You will either
need to find probabilities for given x-values or x-values for given probabilities. In both
cases, you will need to know the mean (µ) and standard deviation (σ) for the given
example. These will be given in the question.
Most calculators assume that ρ is to the left of x. When the area/probability you
are given is to the right of x, subtract it from 1 to get the ρ to use in invnorm.
63
STATISTICS AND PROBABILITY Probability distributions
The weights of pears are normally distributed with mean = 110 g and
standard deviation = 8 g.
Find the percentage of pears that weigh between 100 g and 130 g
Sketch
Indicate:
mean = 110 g
lower bound = 100 g
upper bound = 130 g
64
STATISTICS AND PROBABILITY Probability distributions 4
Sketch
8% = 0.08
So m = 121, which means that 8% of the pears weigh more than 121 g.
65
STATISTICS AND PROBABILITY Probability distributions
The weights of pears are normally distributed with µ = 110 g and σ = 8 g. 250 pears
are weighed. Find the expected number of pears that weigh less than 105 g.
66
CALCULUS 5
5.1 Differentiation
As you have learnt in the unit on functions, a straight line graph has a gradient. This
gradient describes the rate at which the graph is changing and using it we can tell how
steep the line will be when plotted on a graph. In fact, gradients can be found for any
function; the special thing about linear functions is that their gradient is always the same
(given by m in y = m x + c).
Non-linear functions however, will have changing gradients. Their steepness will be
different at different x-values. This is where calculus comes in handy; we can use
differentiation to derive a function using which we can find the gradient for any value of
x. Two types of notation are used for calculus.
67
CALCULUS Differentiation
5.1.1 Polynomials
As functions forming curved lines, the gradients of polynomials are changing at each
point. You can find the derivative function ( f 0 (x)) for any polynomial function ( f (x))
using the principles explained below.
2 1
e.g. y = 3x 2 , y = 121x 5 + 7x 3 + x or y = 4x 3 + 2x 3
dy
DB 5.3 Principles y = f (x) = a x n ⇒ = f 0 (x) = na x n−1
dx
When differentiating it is useful to first rewrite the polynomial function into a form that
is easy to differentiate. Practically this means that you may need to use the laws of
exponents before (or after) differentiation to simplify the function.
5
For example, y = seems difficult to differentiate, but using the laws of exponents we
x3
5
know that y = = 5x −3 . Having the equation in this form allows you to apply the
x3
same principles as you would use to differentiate any other polynomial.
68
. CALCULUS Differentiation 5
f (x) f 0 (x)
Example
5 −→ 0
x2 −→ 2 · 1x 2−1 = 2x
4x 3 −→ 3 · 4x 3−1 = 12x 2
Tangent a straight line that touches a curve at one single point. At that
point, the gradient of the curve is equal to the gradient of the tangent.
−1
slope of normal =
slope of tangent
y
f (x)
tangent
normal
69
CALCULUS Differentiation
70
CALCULUS Differentiation 5
71
CALCULUS Differentiation
Turning points occur when a graph reaches a local maximum (top) or minimum (dip).
This occurs when the derivative f 0 (x) = 0.
Use the graph (GDC) to see whether a turning point is a maximum or minimum.
y
D
•
• A C•
f 0 (x) f (x) is
B A − decreasing
•
x B 0 at local minimum
C + increasing
D 0 at local maximum
Plot the function Find the local maximum Approach the turning point
off
point: you are trying to find with
Press on , go to
the cursor.
“Graph” Press menu
Click once to the left of the
Enter the function 6: Analyze Graph
turning point and drag the
f1(x)= 5x + 11x2 + x
3
3: Maximum
selection to the right,
beyond the turning point.
Click again.
72
CALCULUS Differentiation 5
5.1.4 Optimisation
As we saw in the previous section, differentiation is useful for identifying maximum and
minimum points of different functions. We can apply this knowledge to many real life
problems in which we may seek to find maximum or minimum values; this is referred to
as optimisation.
The most important
thing to remember is
that at a maximum or
Determine the max/min value with certain constraints minimum point
f 0 (x) = 0. So often if a
question asks you to
The sum of the height h and base x of a triangle is 40 cm. Find an expression for the find a maximum/
area in terms of x , hence find the maximum area of the triangle. minimum value, just
writing down f 0 (x) = 0
1. First write expression(s) for constraints x + h = 40 can score you points.
followed by an expression for the actual h = 40 − x
calculation. Combine two expressions so
1
that you are left with one variable. A= xh
2
1
= x(40 − x)
2
1
= − x 2 + 20x
2
2. Differentiate the expression dA
= −x + 20
dx
3. The derivative = 0, solve for x −x + 20 = 0
x = 20
73
CALCULUS Integration
5.2 Integration
As you can see, every time you integrate the power on your variable will increase by 1;
this is opposite of what happens with differentiation, when you subtract 1. Whenever
you integrate you also add +C to this function. This accounts for any constant that may
Whenever you have been lost while differentiating.
differentiate any
constants that were in
the original function, In order to determine the value of C , you need to fill in a point that lies on the curve to
f (x), become 0 in the set up an equation with which you can solve for C . This is called a boundary condition.
derivative function,
f 0 (x).
Finding indefinite integrals
Z Z Z
1. Separate summed parts 2 2
(optional)
12x − 2 dx = 12x dx + −2 dx
Z Z
2. Integrate 2
f (x) = 12x dx + −2 dx =
12 3
x − 2x + C
3
Note that this is the 3. Fill in values of x and f (x) to find C Since f (−1) = 1,
same thing you do
3
when finding the 4(−1) − 2(−1) + C = 1
y -intercept, c , for a C =3
linear function – see
Functions: Linear
So: f (x) = 4x 3 − 2x + 3
models.
74
CALCULUS Integration 5
If there are limit values indicated on your integral, you are looking to find a definite
integral. This means that these values will be used to find a numeric answer rather than a
function. The notation for definite integrals is:
Zb
f (x) dx
a
A definite integral corresponds to the area of a region enclosed by the curve y = f (x) and
the x-axis, where f (x)>0.
f (x)
a b x
1 1
f (x) = x 2 +
5 2
Find the area enclosed between f (x), the x -axis and the lines x = 2 and x = 6.
IB ACADEMY IB ACADEMY
75
CALCULUS Integration
x0 x1 x2 x3 x4 x5 x6
The sum of the areas of the individual trapezoids serves as an approximation for the area
under the curve. This can be found using the formula:
Z b
1 b −a
DB 5.8 y dx ≈ h (y0 + yn ) + 2(y1 + y2 + ... + yn−1 ) where h =
a 2 n
1. Find h 10 − 2
h=
4
h =2
2. Find all relevant y -values (these form the In this case, we substitute the x -values at
parallel sides of the trapezoids). the trapezoid boundaries into f (x).
With 4 trapezoids, x = 2, 4, 6, 8, 10
y0 is the height at the lower boundary, yn
at the upper boundary
yn f (x) y -value
y0 f (2) 2.5
y1 f (4) 8.5
y2 f (6) 18.5
y3 f (8) 32.5
y4 f (10) 50.5
76
CALCULUS Integration 5
77