Calculus
Calculus
∫ d
dx f (x ) d
dx f (x )
tan x sec2(x)
cot x –cosec2(x)
sec x ln (sec x + tan x )
ax ax ln(a)
1
1
a atan ( ax ) x 2 +a 2
2a ln ( x +a )
1 x −a
1
(x 2
> a 2
)
= − a1 acoth ( ax ) x 2 − a2
2a ln ( a −x )
1 a +x
1
(x 2 < a2)
= a1 atanh ( ax ) a − x
2 2
1
asin ( ax ) a 2 −x 2
1
asinh ( ax ) x +a 2
2
1
acosh ( ax ) x −a 2
2
Strategies…
Function of Strategy
[These also work if the top is a function of ax + b]
a2 − x 2
Substitute x = a sin θ
a −x
2 2
a2 + x 2 Substitute x = a tan θ
a2 + x 2 Substitute x = a sinh θ
x 2 − a2
x 2 − a2 Substitute x = a cosh θ
sech x Write in terms of exponentials and substitute u = ex
Rational function Substitute t = tan x2 , and then use the results
of sin x and/or 2t 1 −t2 2
sin x = cos x = dx = dt
cos x 1 + t2 1 + t2 1 + t2
x = cos θ
sinm x cosn x If n is odd Similar.
If neither are
Use the half-angle formulae to reduce the powers
odd
OR – expand into lots of sin nx using complex numbers!
Maths Revision Notes © Daniel Guetta, 2006
1
(ax + b ) px 2 + qx + r
Substitute ax + b = 1
u
eax cos x Convert cos x into the exponential form of a complex number
x2 Re-write it as −1 + 1 + x 2
1 + x2 1 + x2
Partial fractions:
Fraction Decompose into
f (x ) A B
+
(x + α ) (x + β ) x +α x +β
f (x ) Ax + B C
+
(x 2 + α)(x + β ) x2 + α x +β
f (x ) A B C X
+ + + ⋯ +
(x + α) (x + β ) (x + β )
n n
x + α x + β (x + β )
2
s =1
N +1
o Realise that NC s + NC s−1 = C s as follows:
N! N!
N
C s + NC s−1 = +
s ! (N − s ) ! (s − 1) ! (N − s + 1) !
(N − s + 1) N !+ sN !
=
s ! (N − s + 1) !
(N + 1) N ! (N + 1) ! N +1
= = = Cs
s ! (N − s + 1)! s ! (N + 1 − s ) !
o Simply feed it in
N
f (N +1)
= ( fg (N +1)
+f (N +1)
g ) + ∑ ( N +1C s ) ( f (s )g (N −s +1) )
s =1
o Realise that the first two terms are simply the thing inside the
summation at s = 0 and s = N + 1, and that therefore:
N +1
f (N +1)
= ∑ N +1C s f (s )g (N −s +1)
s =0
QED.
o
∫ sinn (x ) = ∫ cosn (x ) = 0 as long as n is an ODD NUMBER.
whole number whole number
of periods of periods
• Stirling’s Formula:
n n
o First, we note that ln (n !) = ∑ ln (x ) ~ ∫ ln(x )dx for large n. Now,
1
x =1
n
∫ 1
ln(x )dx = n ln n − n + 1 ~ n ln n − n for large n. This gives
∫
2
= e n ln n −ne −y / 2n
dy
−∞
∞
∫
2
n ln n −n
=e e −y / 2n
dy = n ne −n 2πn
−∞
• Differentiation of integrals:
b
o An integral ∫ a
f (x ) dx is a function of a and b. We can therefore
differentiate it with respect to either these two variables:
(∫ ) ≤∫
b 2 b b
fg dx f dx ∫ g 2 dx
2
a a a
To prove it:
b
o We know that ∫ ( f + λg ) dx ≥ 0 , because the function is positive
2
a
b b b
everywhere. So ∫ a
f 2 dx + 2λ ∫ fg dx + λ 2 ∫ g 2 dx ≥ 0 .
a a
b
o We can assume that ∫ a
f 2 dx ≠ 0 - otherwise, the both sides of the
1 + 2λ
∫ a
fg dx
+ λ2
∫a
g 2 dx
≥0
b b
∫ ∫
2 2
f dx f dx
a a
b
b 2 2 b
∫
1 + λ ab
fg dx ∫ fg dx
− λ 2 a + λ 2 ∫
a
g 2 dx
≥0
f 2 dx
b b
∫a ∫a ∫
2 2
f dx f dx
a
∫a ∫
2
g dx fg d x
≥ ab
b
f 2 dx
∫a ∫a
2
f d x
b
∫ g 2 dx
(∫ ) (∫ )
b 2 b 2
fg dx ≤ a
b f dx2
∫
a 2 a
f dx
a
(∫ )
b 2 b b
fg dx ≤ ∫ g 2 dx ∫ f 2 dx
a a a
• When doing simple multiple integrals in which the limits do not depend on each
other and the function can be separated into an x and a y component, a
simplification is possible:
(∫ )(∫ )
d b b d
∫ ∫
c a
g(x )h(y ) dx dy =
a
g(x )dx
c
h(y )dy
∫ ∫
2 2
• We can use an elegant trick to evaluate e −x dx . We first let I = e −x dx
−∞ −∞
∞
and we note that since x is a dummy variable, we can also say I = ∫ e −y dy . So
2
−∞
∞ ∞ ∞ −(x +y
2 2
) −(x +y
2 2
)
∫ e −y dy ∫ ∫ ∫
2 2
I2 = e −x dx = e dx dy = e dx dy
−∞ −∞ −∞
2D Plane
∫ ∫ ∫
2
e dx dy = e −r r dr dφ = π
r =0 φ =0
2D Plane
∫ ∫
−x 2 2
e dx = π and e −x dx = 1
2 π
−∞ 0
2
Since e −x is an even function
Thus, the normalised normal distribution is given by
(x −µ)2
1 − (if X ~ N (µ, σ) )
P(X = x ) = e 2σ2
2πσ 2