Sums to products
Pythagoras
sin2 A + cos2 A = 1
sec2 A = 1 + tan2 A
csc2 A = 1 + cot2 A
sin A + sin B
sin A sin B
cos A + cos B
cos A cos B
=
=
=
=
2 sin A+B
cos AB
2
2
A+B
2 cos 2 sin AB
2
2 cos A+B
cos AB
2
2
AB
2 sin A+B
sin
2
2
Sums of angles
sin(A B) = sin A cos B cos A sin B
cos(A B) = cos A cos B sin A sin B
tan Atan B
tan(A B) = 1tan
A tan B
Double angles
Products to sums
2 sin A cos B = sin(A + B) + sin(A B)
2 cos A cos B = cos(A + B) + cos(A B)
2 sin A sin B = cos(A B) cos(A + B)
Polar form
Triple angles
cos x =
sin x =
eix +eix
2
eix eix
2i
ix
If t = tan 2 , then:
sin =
2t
,
1+t2
cos =
1t2
,
1+t2
and d =
2dt
1+t2
Logarithms
Definition
If y = ax then x = loga y (log y to base a).
loge w may be written ln w (or sometimes log w).
Properties
log(ab/c) = log a + log b log c
log(xa ) = a log x
Change of base
logb a =
logc a
logc b
Complex form
log(a + ib) = log
b
a2 + b2 + i tan1
a
Complex numbers
p
The complex number z = x + iy = r(cos + i sin ) has modulus |z| = x2 + y 2 = r and
y
x
argument arg z = such that sin = |z|
and cos = |z|
. (x, y, r, are real numbers.)
Uncertainty
Expectation of a random variable
xf (x)dx
E(X) =
Z
E(g(X)) =
g(x)f (x)dx
f (t)dt
F (x) =
Bayes Theorem
Pr(A|B) =
Pr(B|A)Pr(A)
Pr(B|A)Pr(A) + Pr(B|not A)Pr(not A)
Probability distributions
Distribution
Uniform
Exponential
Normal
2
x 2
1
1
fX (x) = 2
e 2 ( )
x
,
=
=
=
=
=
n 2n
(all x)
(all x)
x
1 x2! + x4! x6! + . . . + (1)
+ ...
(all x)
(2n)!
x3
2x5
17x7
x + 3 + 15 + 315 + . . .
(|x| < 2 )
3
x5
x2n+1
x + 12 x3 + 13
+ . . . + 135...(2n1)
+ ...
(|x| < 1)
24 5
246...(2n) 2n+1
x3
x5
x7
n x2n+1
x 3 + 5 7 + . . . + (1) 2n+1 + . . .
(|x| < 1)
x2
x3
x4
n xn+1
x 2 + 3 4 + . . . + (1) n+1 + . . .
(1 < x 1)
Table of derivatives
Table of integrals
function
derivative
f (x)g(x)
f 0 (x)g(x) + f (x)g 0 (x)
0
f (x)
(x)g 0 (x)
(g 6= 0) f (x)g(x)f
g(x)
g(x)2
xn
nxn1
1
x12
x
1
ln x
x
1
loga x
x ln a
ecx
cecx
x
a
(a > 0) ax ln a
sin x
cos x
cos x
sin x
tan x
sec2 x
csc x
csc x cot x
sec x
sec x tan x
1
arcsin x
1x2
1
arccos x
1x
2
1
arctan x
1+x2
function
integral
n+1
n
x
(n 6= 1) xn+1
1
ln |x|
x
x
e
ex
0
f (x)
ln |f (x)|
f (x)
sin x
cos x
cos x
sin x
tan x
ln |sec x|
csc x
ln |csc x cot
x|
= ln tan x2
sec x
ln |sec x + tan x|
= ln tan( 4 + x2 )
cot x
ln |sin x|
1
1
(|x| < a) 2a
ln a+x
a2 x2
ax
1
1
(|x| > a) 2a
ln xa
x2 a2
x+a
x
1
1
arctan
a2 +x2
a
a
x
1
(|x|
<
a)
arcsin
a
a2 x2
1
ln(x
+
x 2 + a2 )
a2 +x2
1
(|x| > a) ln x + x2 a2
2
2
x a
Numerical methods
f 0 (x)
f 0 (x)
f 0 (x)
f 00 (x)
f (x+h)f (x)
h
f (x)f (xh)
h
f (x+h)f (xh)
2h
f (x+h)2f (x)+f (xh)
h2
(first forward
(first backward
(first central
(second forward
difference)
difference)
difference)
difference)
Eulers method
To solve y 0 = f (x, y) given initial point (x0 , y0 ) and step length h (i.e. xn = x0 + nh):
yn+1 = yn + hf (xn , yn )
n = 0, 1, 2, . . .
Integration by parts
Z
dv
u dx = uv
dx
Z
v
du
dx
dx
p(x)dx.
Partial fractions
If p(x) is a polynomial of degree lower than that of the denominator, a, b, c, . . . are given
constants and A, B, C, . . . are constants to be determined:
Simplest form:
A
B
C
p(x)
=
+
+
+ ...
(x a)(x b)(x c) . . .
xa xb xc
Repeated factors:
p(x)
B1
B2
A
B3
+
+
=
+
(x a)(x b)3
x a x b (x b)2 (x b)3
Irreducible quadratic factors:
A
Bx + C
p(x)
=
+
(x a)(x2 + bx + c)
x a x2 + bx + c
The cover-up rule: Take the value of x found by putting a linear denominator factor
equal to zero; the numerator constant will be obtained by substituting this value into the LHS
expression but with the relevant factor covered up (i.e. deleted). Where there are repeated
linear factors this process will give the numerator constant for the denominator of highest
degree (e.g. B3 in the example above).
Vectors
A vector is usually printed in boldface type v or in handwriten form with a lower tilde: v
b
b
ai + bj + ck
or
or
c
c
a
p
br cq
v w = b q = cp ar
c
r
aq bp
v.
The projection of u onto v is given by p = uv
vv
Matrices
2x2 matrix inverse
1
a b
c d
d c
=
b a
a b
c d
a b
det
= ad bc
c d