IB Math HL Notes
IB Math HL Notes
HL Maths notes
1 Algebra
1.1 Sequences and Series
Arithmetic progressions
• Tn = Un = a + (n − 1)d.
• A sequence is an A.P if Tn − Tn−1 = d = constant.
n n
• Sn = 2 (a + l) = 2 (2a + (n − 1)d).
• Tn = Sn − Sn−1 .
Geometric progressions
• Tn = arn−1 .
Tn
• A sequence is a G.P if Tn−1 = r = constant.
a(1−r n )
• Sn = 1−r .
a
• |r| < 1 =⇒ S∞ = 1−r .
1.2 Summation
n
P
For ur , the number of terms is (n − m + 1).
r=m
n
X n
X n
X
(xr ± yr ) = xr ± yr
r=1 r=1 r=1
n
X n
X
kur = k ur
r=1 r=1
n
X n
X m−1
X
ur = ur − ur
r=m r=1 r=1
Useful sums:
n
X 1
r= n(n + 1)
r=1
2
n
X 1
r2 = n(n + 1)(2n + 1)
r=1
6
n n
X X 1
r3 = ( r)2 = n2 (n + 1)2
r=1 r=1
4
1
Robert Martin
• If the vertical line x = a cuts the graph at one point only, then f is a function. If it cuts more than once,
give an example.
• If a function passes the horizontal line test, it will have an inverse.
• The inverse is just a reflection of the graph in the line y = x.
• Rgf = Rg |(Dg = Rf ).
• (g ◦ f )−1 (x) = (f −1 ◦ g −1 )(x).
• f f −1 (x) may not necessarily intersect with f −1 f (x), it depends on the domain.
2
Robert Martin
2.1 Graphs
• To transform, TSST. (translate and stretch)x then (translate and stretch)y.
2.2 Polynomials
• For a polynomial of degree n:
– The sum of individual roots = − an−1
an
an−2
– The sum of (choose 2) roots = an
– The sum of (choose 3) roots = − an−3
an
– The product of roots, i.e the sum of (choose n) roots = (−1)n aano
• A polynomial of degree n has a maximum of n roots, but some of these may be complex.
(x − h)2 + (y − k)2 = r2
• To simplify an expression with trig, it may help to use the half angle formula.
3
Robert Martin
• If the determinant of the 3 × 3 matrix is zero, then there is no unique solution (i.e either no solutions or
infinite solutions).
• This links to planes, since the Cartesian equation of a plane is ax + by + cz = d.
3 Vectors
−−→
• A vector AB can be represented by a straight line, with an arrow, joining A and B.
• A vector can also be denoted with a lower case letter, e.g a, which is written with a tilde below it.
−→
• A position vector defines the position of a point relative to the origin. a = OA.
x
• The Cartesian form of a vector: r = xi + yj + zk, or r = y
z
p
• |r| = x2 + y 2 + z 2
r
• A unit vector: r̂ = |r|
−−→ −
−→ −−
→
µOA+λOB
• The Ratio Thoerem: OP = µ+λ
• a · a = |a|2 .
• Most algebra works, except for cancellation and division.
4
Robert Martin
• a⊥b ⇐⇒ a · b = 0.
a1 b1
• a2 · b2 = a1 b1 + a2 b2 + a3 b3 .
a3 b3
• a · (a × b) = 0.
a1 b1 a2 b3 − b2 a3
• a2 × b2 = −(a1 b3 − b1 a3 ). Cover top find det, cover mid find negative det, cover bot find det.
a3 b3 a1 b2 − b1 a2
−−→ −→ −−→ −→
• Area ∆ABC = 21 |AB||AC| sin θ = 12 |AB × AC|.
−−→
• The length of the horizontal projection of a onto b = ON = |a||b̂| cos θ = a · b̂
• The length of the vertical projection is given by |AN | = |a × b̂|
• The horizontal projection vector is then u = (a · b̂)b̂, which is the same as the resolved component of a
parallel to b.
• The vector equation of a line uses a position vector a of a fixed point on l, and a direction vector d parallel
to l, to find the position vector of any point on the line (r).
• λ is a real parameter, which means that the vector equation of a line is not unique.
5
Robert Martin
• To get the parametric form, we write the equation as column vectors then equate components:
x = a1 + λd1 ,
y = a2 + λd2 , λ ∈ R
z = a3 + λd3 ,
• To get the Cartesian form, make λ the subject then eliminate it.
x−a1
x = a1 + λd1 ,
d1 = λ,
x − a1 y − a2 z − a3
y−a2
y = a2 + λd2 , =⇒ d2 = λ,
=⇒ = = (= λ)
z−a3
d1 d2 d3
z = a3 + λd3 = λ
d3
• The lines are skew ⇐⇒ the direction vectors aren’t parallel and there aren’t unique values of λ and µ.
·d2
• The acute angle between two lines is given by cos−1 | |dd11||d2|
|.
3.5 Planes
−→ −→
AP ⊥n =⇒ AP · n = 0 =⇒ (r − a) · n = 0.
• The scalar product form of the vector equation of the plane is r · n = a · n, where a is a fixed point on
the plane.
• n can be found by taking the cross product of two known vectors parallel to the plane.
• The shortest distance between the origin and the plane: |d| = |a · n̂|
• The parametric form of the vector equation of the plane:
Π : r = a + λd1 + µd2 , λ, µ ∈ R
• By expanding the scalar product form, we can arrive at the Cartesian form:
x a
r · n = y · b = ax + by + cz = D
z c
• A line will be parallel to a plane if it is perpendicular to n, i.e n · d = 0 and there is no common point.
6
Robert Martin
• If not parallel, it will intersect at a point, which can be found by substituting the line equation into the
plane equation.
d·n
• The acute angle between l and Π: sin θ = | |d||n| |
• When planes intersect, their Cartesian forms can be combined to form a system of simultaneous equations
– If there is a unique solution, the planes intersect at a point.
– If there are infinitely many solutions, the planes intersect in a line.
– If there are no solutions, the three planes do not intersect.
4 Calculus
4.1 Differentiation
• If the limit of the denominator of a rational function is zero, you cannot substitute to find the limit: either
‘juggle’ or use l’Hopital’s rule, e.g:
sin x cos x
lim = lim =1
x→0 x x→0 1
• Special derivatives:
d
dx (sec x) = sec x tan x
d
dx (csc x) = − csc x cot x
d
dx (cot x) = − csc2 x
d √ 1
dx (arcsin x) = 1−x2
d 1
dx (arccos x) = − √1−x 2
d 1
dx (arctan x) = 1+x2
d x
dx (a ) = ax ln a
d 1
dx (loga x) = x ln a
dy
• f (x) is an increasing function on (a, b) if dx ≥ 0 on that interval, or a strictly increasing function
dy
if dx > 0.
d2 y
• f (x) is concave upwards on (a, b) if dx2 > 0.
• If the derivative at a point is zero, the function is stationary.
• If the derivative at a point is ∞, there is a vertical line.
d2 y d2 y
• For a point of inflexion, dx2 = 0 AND the sign of dx2 changes, i.e concativity changes.
7
Robert Martin
• In kinematics especially:
dv dv ds dv
a= = · =v
dt dx dt ds
4.2 Integration
(px + q)n+1
Z
(px + q)n dx = +C
p(n + 1)
(f (x))n+1
Z
f 0 (x)(f (x))n dx = +C
n+1
f 0 (x)
Z
dx = ln |f (x)| + C
f (x)
x−1
Z Z
1
dx = + C = ln | ln |x|| + C
x ln x ln x
Z
tan x dx = ln | sec x| + C
Z
sec x dx = ln | sec x + tan x| + C
Z
csc x dx = − ln | csc x + cot x| + C
Z
1 1 x+k
dx = arctan( )+C
(x + k)2 + a2 a a
Z
1 x+k
p dx = arcsin( )+C
a2 − (x + k)2 a
8
Robert Martin
• Integration by substitution:
1. Replace dx by dx
dt · dt.
2. Substitute by replacing all x with g(t).
Then: f (x) dx = f (g(t)) dx
R R
dt · dt
• Integration by parts:
R R
udv = uv − vdu
• To choose which one to differentiate, use LIATE: Logs, Inverse trig, Algebraic, Trig, Exponentials.
Z √
3
√ Z π3
π 3
arctan x dx = − tan y dy
0 3 0
Rb
• The area between the curve and the axis is always a |f (x)|dx.
Rb
• The area between two curves is always a y1 − y2 dx.
• The volume of revolution: Z b
V =π y 2 dx
a
• A and B are independent if P (A|B) = P (A), so if they are independent P (A ∩ B) = P (A)P (B).
9
Robert Martin
• There are n independent trials, two possible outcomes (either ‘success’ or ‘failure’), with constant proba-
bility of success p, X is the number of ‘successes’.
• The Binomial distribution is a combination of n Bernoulli trials.
• For P (X ≤ x), we find P (X = 0) + P (X = 1) + P (X = 2) + ... + P (X = x).
e−λ λx
X ∼ P o(λ) P (X = x) = E(X) = Var(X) = λ
x!
• For a random variable in time or space, if there is no chance of simultaneous events, the events are
independent, and the events have a constant probability of occuring, it is a Poisson process.
• λ is the parameter, and defines the number of events in a given time/space.
• If X ∼ P o(λ) and Y ∼ P o(µ), then X + Y ∼ P o(λ + µ).
10
Robert Martin
11
Robert Martin
• The Z score represents the number of standard deviations away from the mean.
• To find c given P (X < c) = p, use invNorm.
• If X ∼ N (µ1 , σ12 ) and Y ∼ N (µ2 , σ22 ), then aX + bY also has a normal distribution.
5.6 Sampling
• If X is a random variable, X1 , X2 , X3 , ..., Xn are a sample of n independent observations.
• The sample mean:
X1 + X2 + ... + Xn
X̄ =
n
X1 + X2 + ... + Xn nE(X)
E(X̄) = E = = E(X) = µ
n n
σ2
X1 + X2 + ... + Xn 1 nVar(X)
Var X̄ = Var = 2 Var(X1 + X2 + ... + Xn ) = 2
=
n n n n
• The Central Limit Theorem states that, for a large sample size (n ≥ 50), the sample mean/sum of a
sample from any distribution (e.g not normal), will approximately follow the normal distribution.
12
Robert Martin
5.7 Estimators
• An estimator is a test statistic T based on observed data that estimates an unknown parameter θ.
• The estimator is unbiased if E(T ) = θ.
• The sample mean is an unbiased estimator of µ since E(X̄) = µ.
n−1 2
• However, the sample variance is not an unbiased estimator for σ 2 since E(Sn2 ) = n σ .
• If we have a large sample from any population (µ and σ 2 unknown), we can use the CLT.
sn−1 sn−1
CI = x̄ − Zk √ , x̄ + Zk √
n n
• If the population is normal but we do not know the variance, we use the t-distribution.
X̄ − µ
T = sn−1/√n
follows a t-distribution with n − 1 degrees of freedom.
sn−1 sn−1
CI = x̄ − tk √ , x̄ + tk √
n n
13
Robert Martin
e.g
H0 : µ = 3
H1 : µ > 3
X̄ − µ
Test statistic: Z = σ/√n
• P (Type I Error) = P (H0 rejected|H0 true) = α%. i.e P (Type I Error) = significance level.
• P (Type II Error) = P (H0 accepted|H1 true).
• For example, for H0 : µ = µ0 H1 : µ = µ1 ,
P (Type II Error) = P (H0 accepted|H1 true) = P (X̄ < critical value |X̄ ∼ N (µ1 , σ 2 ))
14
Robert Martin
5.10 PGFs
X
G(t) = E(tX ) = tx P (X = x)
G(1) = 1
X
G0 (t) = xtx−1 P (X = x) ∴ E(X) = G0 (1)
X
G00 (t) = x(x − 1)tx−2 P (X = x)
X X
G00 (1) = x2 P (X = x) − xP (X = x) = E(X 2 ) − E(X)
∴ E(X 2 ) = G00 (1) + G0 (1)
∴ Var(X) = G00 (1) + G0 (1) − [G0 (1)]2
x 0 1
P (X = x) q p
X
GX (t) = tx P (X = x) = q + pt
n n
GY (t) = E(tY ) = E(tX1 +...+Xn ) = E(tX ) = [GX (t)] = (q + pt)n
Poisson
e−λ λx
If X ∼ P o(λ), P (X = x) = x! .
X
G(t) = E(tX ) = tx P (X = x)
X e−λ λx
= tx
x!
X (λt)x
= e−λ = e−λ eλt = eλ(t−1) .
x!
Geometric
If X ∼ Geo(p), P (X = x) = pq x−1 .
X
G(t) = E(tX ) = tx P (X = x)
X
= tx pq x−1
= pt + pt2 q + pt3 q 2 + pt4 q 3 + ... + ptn q n−1 + ...
a pt
S∞ = =
1−r 1 − qt
15
Robert Martin
Negative Binomial
• A bivariate sample consists of pairs of data (x1 , y1 ). For a bivariate sample, the above points do not
apply.
( x)2
P P
xy − nx̄ȳ Sxy X
2
r= pP =p , where Sxx = x −
n
P
( x2 − nx̄2 )( y 2 − nȳ 2 ) Sxx Syy
• If r = 0, there is no linear relationship, but it does not imply that X and Y are independent.
• r is independent of the units, and does not show any causality.
• In maths, controlled variable = independent variable.
• The y-on-x regression line y = a + bx will always pass through (x̄, ȳ).
Sxy
y − ȳ = b(x − x̄), where b =
Sxx
• The x-on-y regression line is denoted by x = c + dy.
√
bd = r2 r = ± bd, the sign depends on whether the gradient is positive or negative.
• We can statistically test evidence of a correlation by assuming both variables follow a bivariate normal
distribution with correlation coefficient ρ:
H0 : ρ = 0
H1 : ρ 6= 0
r
n−2
Test statistic: T = r ∼ tn−2
1 − r2
Sig level = 5%, two tailed.
Reject H0 if |T | > invt(0.975, n − 2)
r
n−2
Note: T = r (sub in values)
1 − r2
Since |T | = 0.08 > invt(0.975, n − 2), we reject H0 and conclude that there is significant evidence at the
5% level that there is a correlation between...
16
Robert Martin
6 Complex numbers
6.1 Forms of complex numbers
• The Cartesian form of a complex number: z = x + iy. This relates a complex number to its real and
imaginary parts. x = Re(z), y = Im(z).
• The Polar form, a.k.a the trigonometric form or modulus-argument form:
• We can then write complex numbers in the exponential or Euler form: z = reiθ , for θ in radians.
Complex conjugates
– (z ∗ )∗ = z
– (z + w)∗ = z ∗ + w∗
– (zw)∗ = z ∗ w∗ =⇒ (z n )∗ = (z ∗ )n
– z + z ∗ = 2Re(z)
– z − z ∗ = 2iIm(z)
– zz ∗ = x2 + y 2 = |z|2
– z ∗ = r2 /z
17
Robert Martin
3
cos 3θ = Re(cos 3θ + i sin 3θ) = Re((cos θ + i sin θ) ) (by De Moivre’s Theorem).
But using a binomial expansion, (cos θ + i sin θ)3 = cos3 θ + 3 cos2 θ(i sin θ) + 3 cos θ(i sin θ)2 + (i sin θ)3
cos 3θ = Re(cos3 θ + 3 cos2 θ(i sin θ) + 3 cos θ(i sin θ)2 + (i sin θ)3 )
=⇒ cos 3θ = cos3 θ + 3 cos θ(i sin θ)2 = cos3 θ − cos θ(1 − cos2 θ)
18
Robert Martin
6.4 Polynomials
• A quadratic will have complex roots if the discriminant b2 − 4ac < 0.
• In general, the complex roots of a quadratic with real coefficients will always be a conjugate pair.
• A cubic will either have 3 real roots or 1 real root and 2 conjugate complex roots. If we know one of the
complex roots, we know its conjugate and can multiply out. Long division will help us find the real root.
• Alternatively, use k = 0, ±1, ±2, ... in order to make sure that arguments will be within the principal
range.
• Note that each of the roots will form on a unit circle.
7 Miscellaneous
• (a ± b)3 = a3 ± 3a2 b + 3ab2 ± b3
• a3 + b3 = (a + b)(a2 − ab + b2 )
• a3 − b3 = (a − b)(a2 + ab + b2 )
• |x + 3||x + 2| = |(x + 3)(x + 2)|
19