You are on page 1of 103

# math guide - 34.

1
34. MATHEMATICAL TOOLS
***** This contains additions and sections by Dr. Andrew Sterian.
• We use math in almost every problem we solve. As a result the more relevant top-
ics of mathematics are summarized here.
• This is not intended for learning, but for reference.
34.1 INTRODUCTION
• This section has been greatly enhanced, and tailored to meet our engineering
requirements.
• The section outlined here is not intended to teach the elements of mathematics,
but it is designed to be a quick reference guide to support the engineer required to use
techniques that may not have been used recently.
• For those planning to write the first ABET Fundamentals of Engineering exam,
the following topics are commonly on the exam.
- straight line equations - slop and perpendicular
- conics, circles, ellipses, etc.
- matrices, determinants, adjoint, inverse, cofactors, multiplication
- limits, L’Hospital’s rule, small angle approximation
- integration of areas
- complex numbers, polar form, conjugate, addition of polar forms
- maxima, minima and inflection points
- first-order differential equations - guessing and separation
- second-order differential equation - linear, homogeneous, non-homogeneous,
second-order
- triangles, sine, cosine, etc.
- integration - by parts and separation
- solving equations using inverse matrices, Cramer’s rule, substitution
- eigenvalues, eigenvectors
- dot and cross products, areas of parallelograms, angles and triple product
- divergence and curl - solenoidal and conservative fields
- centroids
- integration of volumes
math guide - 34.2
- integration using Laplace transforms
- probability - permutations and combinations
- mean, standard deviation, mode, etc.
- log properties
- taylor series
- partial fractions
- basic coordinate transformations - cartesian, cylindrical, spherical
- trig identities
- derivative - basics, natural log, small angles approx., chain rule, partial fractions
34.1.1 Constants and Other Stuff
• A good place to start a short list of mathematical relationships is with greek let-
ters
lower case
α
β
γ
δ
ε
ζ
η
θ
ι
κ
λ
µ
ν
ξ
ο
π
ρ
σ
τ
υ
φ
χ
ψ
ω
upper case
Α
Β
Γ

Ε
Ζ
Η
Θ
Ι
Κ
Λ
Μ
Ν
Ξ
Ο
Π
Ρ
Σ
Τ
Υ
Φ
Χ
Ψ

name
alpha
beta
gamma
delta
epsilon
zeta
eta
theta
iota
kappa
lambda
mu
nu
xi
omicron
pi
rho
sigma
tau
upsilon
phi
chi
psi
omega
math guide - 34.3
Figure 34.1 The greek alphabet
• The constants listed are amount some of the main ones, other values can be
derived through calculation using modern calculators or computers. The values are typi-
cally given with more than 15 places of accuracy so that they can be used for double preci-
sion calculations.
Figure 34.2 Some universal constants
34.1.2 Basic Operations
• These operations are generally universal, and are described in sufficient detail for
our use.
• Basic properties include,
Figure 34.3 Basic algebra properties
e 2.7182818 1
1
n
-- - +
\ .
| |
n
n ∞ →
lim natural logarithm base = = =
π 3.1415927 pi = =
γ 0.57721566 Eulers constant = =
a b + b a + =
a b c + ( ) ab ac + =
a bc ( ) ab ( )c = a b c + ( ) + a b + ( ) c + =
commutative
distributive
associative
math guide - 34.4
34.1.2.1 - Factorial
• A compact representation of a series of increasing multiples.
Figure 34.4 The basic factorial operator
34.1.3 Exponents and Logarithms
• The basic properties of exponents are so important they demand some sort of
mention
Figure 34.5 Properties of exponents
• Logarithms also have a few basic properties of use,
n! 1 2 3 4 … n ⋅ ⋅ ⋅ ⋅ ⋅ =
0! 1 =
x
n
( ) x
m
( ) x
n m +
=
x
n
( )
x
m
( )
---------- x
n m –
=
x
n
( )
m
x
n m ⋅
=
x
0
1 , if x is not 0 =
x
p – 1
x
p
----- =
xy ( )
n
x
n
( ) y
n
( ) =
x
1
n
---
x
n
=
x
m
n
----
x
m
n
=
x
y
-- n
x
n
y
n
------- =
math guide - 34.5
Figure 34.6 Definitions of logarithms
• All logarithms observe a basic set of rules for their application,
Figure 34.7 Properties of logarithms
34.1.4 Polynomial Expansions
• Binomial expansion for polynomials,
x log y = x 10
y
=
The basic base 10 logarithm:
log
n
x y = x n
y
=
The basic base n logarithm:
x ln log
e
x y = = x e
y
=
The basic natural logarithm (e is a constant with a value found near the start of this section:
log
n
xy ( ) log
n
x ( ) log
n
y ( ) + =
log
n
x
y
--
\ .
| |
log
n
x ( ) log
n
– y ( ) =
log
n
x
y
( ) ylog
n
x ( ) =
log
n
x ( )
log
m
x ( )
log
m
n ( )
------------------- =
A θ ∠ ( ) ln A ( ) ln θ 2πk + ( )j + =
k I ∈
log
n
1 ( ) 0 =
log
n
n ( ) 1 =
math guide - 34.6
Figure 34.8 A general expansion of a polynomial
34.1.5 Practice Problems
1. Are the following expressions equivalent?
2. Simplify the following expressions.
a x + ( )
n
a
n
na
n 1 –
x
n n 1 – ( )
2!
--------------------a
n 2 –
x
2
… x
n
+ + + + =
A 5 B + ( ) C – 5A B C – + = a)
A B +
C D +
--------------
A
C
----
B
D
---- + = b)
ab ( ) log a ( ) log b ( ) log + = c)
5 5
4
( ) 5
5
= d)
3 4 ( ) log 16 ( ) log = e)
x 6 + ( ) x 6 – ( ) x
2
36 + = f)
10
5 ( ) log 10
5
------ = g)
x 1 + ( )
6
x 1 + ( )
2
------------------- x
2
2x 1 + + =
h)
x x 2 + ( )
2
3x – a)
x 3 + ( ) x 1 + ( )x
2
x 1 + ( )
2
x
--------------------------------------- b)
x
3
( ) log
c)
64
16
------
d)
15
21
------
3
28
------ + e)
5
3
---
8
9
---
\ .
| |
h)
5
4
-- -
\ .
| |
5
--------
i)
y 4 + ( )
3
y 2 – ( ) j)
x
2
y k)
x 1 +
x 2 +
------------ 4 = l)
x
2
y
3
( )
4
f)
4x
2
8y
4
– g)
math guide - 34.7
3. Simplify the following expressions.
4. Simplify the following expressions.
A B +
AB
-------------
a)
AB
A B +
-------------
b)
x
4
y
5
( )
x
2
---------------
\ .
|
| |
3
c)
x
5
( ) log x
3
( ) log +
d)
A B +
AB
-------------
A
AB
-------
B
AB
------- +
1
B
---
1
A
--- + = =
a)
AB
A B +
-------------
b)
x
4
y
5
( )
x
2
---------------
\ .
|
| |
3
x
2
y
5
( )
3
x
6
y
15
= =
c)
x
5
( ) log x
3
( ) log + 5 x ( ) log 3 x ( ) log + 8 x ( ) log = =
d)
(ans.
cannot be simplified
n x
2
( ) log m x
3
( ) log x
4
( ) log – + a)
a)
(ans.
n x
2
( ) log m x
3
( ) log x
4
( ) log – +
2n x ( ) log 3m x ( ) log 4 x ( ) log – +
2n 3m 4 – + ( ) x ( ) log
2n 3m 4 – + ( ) x ( ) log
math guide - 34.8
5. Rearrange the following equation so that only ‘y’ is on the left hand side.
6. Find the limits below.
y x +
y z +
----------- x 2 + =
(ans. y x +
y z +
----------- x 2 + =
y x + x 2 + ( ) y z + ( ) =
y x + xy xz 2y 2z + + + =
y xy – 2y – xz 2z x – + =
y x – 1 – ( ) xz 2z x – + =
y
xz 2z x – +
x – 1 –
-------------------------- =
t
3
5 +
5t
3
1 +
----------------
\ .
|
| |
t 0 →
lim
t
3
5 +
5t
3
1 +
----------------
\ .
|
| |
t ∞ →
lim
a)
b)
t
3
5 +
5t
3
1 +
----------------
\ .
|
| |
t 0 →
lim
0
3
5 +
5 0 ( )
3
1 +
----------------------- 5 = =
t
3
5 +
5t
3
1 +
----------------
\ .
|
| |
t ∞ →
lim

3
5 +
5 ∞ ( )
3
1 +
------------------------

3
5 ∞ ( )
3
-------------- 0.2 = = =
a)
b)
(ans.
math guide - 34.9
34.2 FUNCTIONS
34.2.1 Discrete and Continuous Probability Distributions
Figure 34.9 Distribution functions
34.2.2 Basic Polynomials
• The quadratic equation appears in almost every engineering discipline, therefore
is of great importance.
P m ( )
n
t \ .
| |
p
t
q
n t –
t m ≤

= q 1 p – = q p 0 1 , [ ] ∈ ,
Binomial
P m ( )
λ
t
e
λ –
t!
------------
t m ≤

= λ 0 >
Poisson
P m ( )
r
t \ .
| |
s
n t – \ .
| |
r s +
n \ .
| |
------------------------
t m ≤

=
Hypergeometric
P x ( )
1

---------- e
t
2

t d
∞ –
x

=
Normal
ax
2
bx c + + 0 a x r
1
– ( ) x r
2
– ( ) = =
r
1
r
2
,
b – b
2
4ac – ±
2a
-------------------------------------- =
math guide - 34.10
• Cubic equations also appear on a regular basic, and as a result should also be con-
sidered.
Figure 34.11 Cubic equations
• On a few occasions a quartic equation will also have to be solved. This can be
done by first reducing the equation to a quadratic,
Figure 34.12 Quartic equations
Q
3b a
2

9
----------------- =
x
3
ax
2
bx c + + + 0 x r
1
– ( ) x r
2
– ( ) x r
3
– ( ) = =
R
9ab 27c – 2a
3

54
--------------------------------------- =
S R Q
3
R
2
+ +
3
= T R Q
3
R
2
+ –
3
=
r
1
S T
a
3
--- – + = r
2
S T +
2
------------
a
3
-- - –
j 3
2
--------- S T – ( ) + = r
3
S T +
2
------------
a
3
-- - –
j 3
2
--------- S T – ( ) – =
First, calculate,
Then the roots,
y
3
by
2
– ac 4d – ( )y 4bd c
2
– a
2
d – ( ) + + 0 =
x
4
ax
3
bx
2
cx d + + + + 0 x r
1
– ( ) x r
2
– ( ) x r
3
– ( ) x r
4
– ( ) = =
First, solve the equation below to get a real root (call it ‘y’),
Next, find the roots of the 2 equations below,
r
1
r
2
, z
2 a a
2
4b – 4y + +
2
-------------------------------------------
\ .
|
| |
z
y y
2
4d – +
2
------------------------------
\ .
|
| |
+ + 0 = =
r
3
r
4
, z
2 a a
2
4b – 4y + –
2
-------------------------------------------
\ .
|
| |
z
y y
2
4d – –
2
------------------------------
\ .
|
| |
+ + 0 = =
math guide - 34.11
34.2.3 Partial Fractions
• The next is a flowchart for partial fraction expansions.
Figure 34.13 The methodolgy for solving partial fractions
• The partial fraction expansion for,
has a polynomial numerator
and denominator
is the
order of the
numerator >=
denominator?
yes
no
use long division to
reduce the order of the
numerator
Find roots of the denominator
and break the equation into
partial fraction form with
unknown values
Done
OR
use algebra technique use limits technique.
If there are higher order
roots (repeated terms)
then derivatives will be
required to find solutions
math guide - 34.12
Figure 34.14 A partial fraction example
• Consider the example below where the order of the numerator is larger than the
denominator.
x s ( )
1
s
2
s 1 + ( )
---------------------
A
s
2
----
B
s
---
C
s 1 +
----------- + + = =
C s 1 + ( )
1
s
2
s 1 + ( )
---------------------
\ .
| |
s 1 – →
lim 1 = =
A s
2 1
s
2
s 1 + ( )
---------------------
\ .
| |
s 0 →
lim
1
s 1 +
-----------
s 0 →
lim 1 = = =
B
d
ds
----- s
2 1
s
2
s 1 + ( )
---------------------
\ .
| |
s 0 →
lim
d
ds
-----
1
s 1 +
-----------
\ .
| |
s 0 →
lim s 1 + ( )
2 –
– [ ]
s 0 →
lim 1 – = = = =
math guide - 34.13
Figure 34.15 Solving partial fractions when the numerator order is greater than the
denominator
• When the order of the denominator terms is greater than 1 it requires an expanded
partial fraction form, as shown below.
Figure 34.16 Partial fractions with repeated roots
x s ( )
5s
3
3s
2
8s 6 + + +
s
2
4 +
-------------------------------------------- =
This cannot be solved using partial fractions because the numerator is 3rd order
and the denominator is only 2nd order. Therefore long division can be used to
reduce the order of the equation.
s
2
4 + 5s
3
3s
2
8s 6 + + +
5s 3 +
5s
3
20s +
3s
2
12s – 6 +
3s
2
12 +
12s – 6 –
This can now be used to write a new function that has a reduced portion that can be
solved with partial fractions.
x s ( ) 5s 3
12s – 6 –
s
2
4 +
---------------------- + + = solve
12s – 6 –
s
2
4 +
----------------------
A
s 2j +
-------------
B
s 2j –
------------- + =
F s ( )
5
s
2
s 1 + ( )
3
------------------------ =
5
s
2
s 1 + ( )
3
------------------------
A
s
2
----
B
s
---
C
s 1 + ( )
3
-------------------
D
s 1 + ( )
2
-------------------
E
s 1 + ( )
---------------- + + + + =
math guide - 34.14
• We can solve the previous problem using the algebra technique.
Figure 34.17 An algebra solution to partial fractions
34.2.4 Summation and Series
• The notation is equivalent to assuming
and are integers and . The index variable is a placeholder whose name does not
matter.
• Operations on summations:
5
s
2
s 1 + ( )
3
------------------------
A
s
2
----
B
s
---
C
s 1 + ( )
3
-------------------
D
s 1 + ( )
2
-------------------
E
s 1 + ( )
---------------- + + + + =
A s 1 + ( )
3
Bs s 1 + ( )
3
Cs
2
Ds
2
s 1 + ( ) Es
2
s 1 + ( )
2
+ + + +
s
2
s 1 + ( )
3
------------------------------------------------------------------------------------------------------------------------------------------ =
s
4
B E + ( ) s
3
A 3B D 2E + + + ( ) s
2
3A 3B C D E + + + + ( ) s 3A B + ( ) A ( ) + + + +
s
2
s 1 + ( )
3
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- =
0 1 0 0 1
1 3 0 1 2
3 3 1 1 1
3 1 0 0 0
1 0 0 0 0
A
B
C
D
E
0
0
0
0
5
=
A
B
C
D
E
0 1 0 0 1
1 3 0 1 2
3 3 1 1 1
3 1 0 0 0
1 0 0 0 0
1 –
0
0
0
0
5
5
15 –
5
10
15
= =
5
s
2
s 1 + ( )
3
------------------------
5
s
2
----
15 –
s
---------
5
s 1 + ( )
3
-------------------
10
s 1 + ( )
2
-------------------
15
s 1 + ( )
---------------- + + + + =
x
i
i a =
b

x
a
x
a 1 +
x
a 2 +
… x
b
+ + + + a
b b a ≥ i
x
i
i a =
b

x
i
i b =
a

=
math guide - 34.15
• Some common summations:
for both real and complex .
for both real and complex . For , the summation
does not converge.
αx
i
i a =
b

α x
i
i a =
b

=
x
i
i a =
b

y
j
j a =
b

+ x
i
y
i
+ ( )
i a =
b

=
x
i
i a =
b

x
i
i b 1 + =
c

+ x
i
i a =
c

=
x
i
i a =
b

\ .
|
|
| |
y
j
j c =
d

\ .
|
|
| |
x
i
y
j
j c =
d

i a =
b

=
i
i 1 =
N

1
2
---N N 1 + ( ) =
α
i
i 0 =
N 1 –

1 α
N

1 α –
---------------- α 1 ≠ ,
N α , 1 =
¹
¦
´
¦
¦
= α
α
i
i 0 =

1
1 α –
------------ = α 1 < , α α 1 ≥
math guide - 34.16
34.2.5 Practice Problems
1. Convert the following polynomials to multiplied terms as shown in the example.
2. Solve the following equation to find ‘x’.
3. Reduce the following expression to partial fraction form.
x
2
2x 1 + + x 1 + ( ) x 1 + ( ) =
a)
e.g.,
x
2
2x – 1 +
b)
x
2
1 –
c)
x
2
1 +
d)
x
2
x 10 + +
e)
f)
2x
2
8x + 8 – =
(ans.
2x
2
8x + 8 – =
x
2
4x 4 + + 0 =
x 2 + ( )
2
0 =
x 2 – 2 – , =
x 4 +
x
2
8x +
-----------------
x 4 +
x
2
8x +
-----------------
x 4 +
x x 8 + ( )
-------------------
A
x
---
B
x 8 +
------------ +
Ax 8A Bx + +
x
2
8x +
--------------------------------- = = =
(ans.
1 ( )x 4 + A B + ( )x 8A + =
8A 4 =
A 0.5 =
1 A B + = B 0.5 =
x 4 +
x
2
8x +
-----------------
0.5
x
-------
0.5
x 8 +
------------ + =
math guide - 34.17
34.3 SPATIAL RELATIONSHIPS
34.3.1 Trigonometry
• The basic trigonometry functions are,
• Graphs of these functions are given below,
θ
x
y
r
θ sin
y
r
--
1
θ csc
----------- = =
θ cos
x
r
--
1
θ sec
----------- = =
θ tan
y
x
--
1
θ cot
-----------
θ sin
θ cos
------------ = = =
Pythagorean Formula:
r
2
x
2
y
2
+ =
0° 90° 180° 270° 360° -90° -180° -270° 450°
1
-1
Sine - sin
math guide - 34.18
0° 90° 180° 270° 360° -90° -180° -270° 450°
1
-1
Cosine - cos
Tangent - tan
0° 90° 180° 270° 360° -90° -180° -270° 450°
1
-1
Cosecant - csc
0° 90° 180° 270° 360° -90° -180° -270° 450°
1
-1
math guide - 34.19
• NOTE: Keep in mind when finding these trig values, that any value that does not
lie in the right hand quadrants of cartesian space, may need additions of ±90° or ±180°.
Secant - sec
0° 90° 180° 270° 360° -90° -180° -270° 450°
1
-1
Cotangent - cot
0° 90° 180° 270° 360° -90° -180° -270° 450°
1
-1
math guide - 34.20
• Now a group of trigonometric relationships will be given. These are often best
used when attempting to manipulate equations.
θ
A
θ
B
θ
C
a
b
c
c
2
a
2
b
2
2ab θ
c
cos – + =
Cosine Law:
Sine Law:
a
θ
A
sin
--------------
b
θ
B
sin
--------------
c
θ
C
sin
-------------- = =
math guide - 34.21
• Numerical values for these functions are given below.
θ – ( ) sin θ sin – = θ – ( ) cos θ cos = θ – ( ) tan θ tan – =
θ
1
θ
2
± ( ) sin θ
1
θ
2
cos sin θ
1
cos θ
2
sin ± =
θ
1
θ
2
± ( ) cos θ
1
cos θ
2
cos θ
1
sin θ
2
sin
+

=
θ
1
θ
2
± ( ) tan
θ
1
tan θ
2
tan ±
1 θ
1
tan θ
2
tan
+

------------------------------------- =
θ
1
θ
2
± ( ) cot
θ
1
cot θ
2
cot 1
+

θ
2
tan θ
1
tan ±
------------------------------------- =
θ sin θ 90° – ( ) cos 90° θ – ( ) cos etc. = = =
θ
2
--- sin
1 θ cos –
2
--------------------- ± =
θ
2
--- cos
1 θ cos +
2
--------------------- ± =
θ
2
--- tan
θ sin
1 θ cos +
---------------------
1 θ cos –
θ sin
--------------------- = =
-ve if in left hand quadrants
θ cos ( )
2
θ sin ( )
2
+ 1 =
2θ ( ) sin 2 θ θ cos sin =
2θ ( ) cos θ cos ( )
2
θ sin ( )
2
+ = OR
OR
θ θ sin θ cos θ tan
-90
-60
-45
-30
0
30
45
60
90
-1.0
-0.866
-0.707
-0.5
0
0.5
0.707
0.866
1.0
0.0
0.5
0.707
0.866
1
0.866
0.707
0.5
0.0
-infinity
-1
0
1
infinity
(deg)
math guide - 34.22
• These can also be related to complex exponents,
34.3.2 Hyperbolic Functions
• The basic definitions are given below,
• some of the basic relationships are,
θ cos
e

e
j – θ
+
2
---------------------- = θ sin
e

e
j – θ

2j
--------------------- =
x ( ) sinh
e
x
e
x –

2
------------------ hyperbolic sine of x = =
x ( ) cosh
e
x
e
x –
+
2
------------------ hyperbolic cosine of x = =
x ( ) tanh
x ( ) sinh
x ( ) cosh
-------------------
e
x
e
x –

e
x
e
x –
+
------------------ hyperbolic tangent of x = = =
x ( ) csch
1
x ( ) sinh
------------------
2
e
x
e
x –

------------------ hyperbolic cosecant of x = = =
x ( ) sech
1
x ( ) cosh
-------------------
2
e
x
e
x –
+
------------------ hyperbolic secant of x = = =
x ( ) coth
x ( ) cosh
x ( ) sinh
-------------------
e
x
e
x –
+
e
x
e
x –

------------------ hyperbolic cotangent of x = = =
math guide - 34.23
• Some of the more advanced relationships are,
• Some of the relationships between the hyperbolic, and normal trigonometry func-
tions are,
34.3.2.1 - Practice Problems
x – ( ) sinh x ( ) sinh – =
x – ( ) cosh x ( ) cosh =
x – ( ) tanh x ( ) tanh – =
x – ( ) csch x ( ) csch – =
x – ( ) sech x ( ) sech =
x – ( ) coth x ( ) coth – =
x y ± ( ) sinh x ( ) y ( ) cosh sinh x ( ) y ( ) sinh cosh ± =
x y ± ( ) cosh x ( ) y ( ) cosh cosh x ( ) y ( ) sinh sinh ± =
x y ± ( ) tanh
x ( ) tanh y ( ) tanh ±
1 x ( ) y ( ) tanh tanh ±
----------------------------------------------- =
x cosh ( )
2
x sinh ( )
2
– x sech ( )
2
x tanh ( )
2
+ x coth ( )
2
x csch ( )
2
– 1 = = =
jx ( ) sin j x ( ) sinh =
jx ( ) cos x ( ) cosh =
jx ( ) tan j x ( ) tanh =
j x ( ) sin jx ( ) sinh =
x ( ) cos jx ( ) cosh =
j x ( ) tan jx ( ) tanh =
math guide - 34.24
1. Find all of the missing side lengths and corner angles on the two triangles below.
2. Simplify the following expressions.
3. Solve the following partial fraction
34.3.3 Geometry
• A set of the basic 2D and 3D geometric primitives are given, and the notation
used is described below,
10°
3
5
3 5
θ cos θ cos θ θ sin sin – =
s 3j + ( ) s 3j – ( ) s 2j + ( )
2
=
(ans.
θ cos θ cos θ θ sin sin – θ θ + ( ) cos 2θ ( ) cos = =
s 3j + ( ) s 3j – ( ) s 2j + ( )
2
s
2
9j
2
– ( ) s
2
4js 4j
2
+ + ( ) =
s
4
4js
3
4j
2
s
2
9j
2
s
2
– 9j
2
4js – 9j
2
4j
2
– + +
s
4
4j ( )s
3
5 ( )s
2
36j ( )s 36 – ( ) + + + +
4
x
2
3x 2 + +
-------------------------- =
Note: there was a typo here, so
1
x 0.5 +
----------------
4
x
2
3x 2 + +
--------------------------
A
x 1 +
------------
B
x 2 +
------------ +
Ax 2A Bx B + + +
x
2
3x 2 + +
-------------------------------------------
2A B + ( ) A B + ( )x +
x
2
3x 2 + +
------------------------------------------------- = = =
(ans.
2A B + 4 2B – B + B – = = =
A B + 0 = A B – =
B 4 – = A 4 =
4
x 1 +
------------
4 –
x 2 +
------------ +
math guide - 34.25
A contained area =
P perimeter distance =
V contained volume =
S surface area =
x y z , , centre of mass =
x y z , , centroid =
I
x
I
y
I
z
, , moment of inertia of area (or second moment of inertia) =
I
x
y
2
A d
A

the second moment of inertia about the y-axis = =
I
y
x
2
A d
A

the second moment of inertia about the x-axis = =
I
xy
xy A d
A

the product of inertia = =
J
O
r
2
A d
A

x
2
y
2
+ ( ) A d
A

I
x
I
y
+ The polar moment of inertia = = = =
x
x A d
A

A d
A

------------- centroid location along the x-axis = =
y
y A d
A

A d
A

------------- centroid location along the y-axis = =
AREA PROPERTIES:
math guide - 34.26
Rectangle/Square:
a
b
I
x
ba
3
12
-------- =
A ab =
P 2a 2b + =
Centroid: Moment of Inertia
x
b
2
--- =
y
a
2
--- =
I
y
b
3
a
12
-------- =
x
y
I
x
ba
3
3
-------- =
Moment of Inertia
I
y
b
3
a
3
-------- =
I
xy
0 = I
xy
b
2
a
2
4
----------- =
math guide - 34.27
Triangle:
a
b
I
x
bh
3
36
-------- =
A
bh
2
------ =
P =
Centroid:
Moment of Inertia
x
a b +
3
------------ =
y
h
3
--- =
I
y
bh
36
------ a
2
b
2
ab – + ( ) =
h
θ
x
y
I
x
bh
3
12
-------- =
Moment of Inertia
I
y
bh
12
------ a
2
b
2
ab – + ( ) =
I
xy
bh
2
72
-------- 2a b – ( ) = I
xy
bh
2
24
-------- 2a b – ( ) =
Circle:
I
x
πr
4
4
-------- =
A πr
2
=
P 2πr =
Centroid:
Moment of Inertia
x r =
y r =
I
y
πr
4
4
-------- =
r
x
y
I
x
=
Moment of Inertia
I
y
=
I
xy
0 =
I
xy
=
J
z
Mr
2
2
---------- =
Mass Moment of Inertia
math guide - 34.28
Half Circle:
I
x
π
8
---
8

------ –
\ .
| |
r
4
=
A
πr
2
2
-------- =
P πr 2r + =
Centroid: Moment of Inertia
x r =
y
4r

------ =
I
y
πr
4
8
-------- =
x
y
r
I
x
πr
4
8
-------- =
Moment of Inertia
I
y
πr
4
8
-------- =
I
xy
0 = I
xy
0 =
r
Quarter Circle:
I
x
0.05488r
4
=
A
πr
2
4
-------- =
P
πr
2
----- 2r + =
Centroid:
Moment of Inertia
x
4r

------ =
y
4r

------ = I
y
0.05488r
4
=
x
y
I
x
πr
4
16
-------- =
Moment of Inertia
I
y
πr
4
16
-------- =
I
xy
0.01647 – r
4
=
I
xy
r
4
8
---- =
math guide - 34.29
r
Circular Arc:
I
x
=
A
θr
2
2
-------- =
P θr 2r + =
Centroid:
Moment of Inertia
x
2r
θ
2
--- sin

----------------- =
y 0 =
I
y
=
x
y
θ
I
x
r
4
8
---- θ θ sin – ( ) =
Moment of Inertia
I
y
r
4
8
---- θ θ sin + ( ) =
I
xy
= I
xy
0 =
math guide - 34.30
Ellipse:
I
x
πr
1
3
r
2
4
------------- =
A πr
1
r
2
=
P 4r
1
1
r
1
2
r
2
2
+
a
-------------------- θ sin ( )
2

0
π
2
---

dθ =
Centroid:
Moment of Inertia
x r
2
=
y r
1
= I
y
πr
1
r
2
3
4
------------- =
r
1
x
y
r
2
P 2π
r
1
2
r
2
2
+
2
---------------- ≈
I
x
=
Moment of Inertia
I
y
=
I
xy
= I
xy
=
math guide - 34.31
Half Ellipse:
I
x
0.05488r
2
r
1
3
=
A
πr
1
r
2
2
------------- =
P 2r
1
1
r
1
2
r
2
2
+
a
-------------------- θ sin ( )
2

0
π
2
---

dθ 2r
2
+ =
Centroid:
Moment of Inertia
x r
2
=
y
4r
1

-------- =
I
y
0.05488r
2
3
r
1
=
r
1
x
y
r
2
P π
r
1
2
r
2
2
+
2
---------------- 2r
2
+ ≈
I
x
πr
2
r
1
3
16
------------- =
Moment of Inertia
I
y
πr
2
3
r
1
16
------------- =
I
xy
0.01647r
1
2
r
2
2
– = I
xy
r
1
2
r
2
2
8
--------- =
math guide - 34.32
Quarter Ellipse:
I
x
=
A
πr
1
r
2
4
------------- =
P r
1
1
r
1
2
r
2
2
+
a
-------------------- θ sin ( )
2

0
π
2
---

dθ 2r
2
+ =
Centroid:
Moment of Inertia
x
4r
2

-------- =
y
4r
1

-------- =
I
y
=
r
1
x
y
r
2
P
π
2
---
r
1
2
r
2
2
+
2
---------------- 2r
2
+ ≈
I
x
πr
2
r
1
3
=
Moment of Inertia
I
y
πr
2
3
r
1
=
I
xy
= I
xy
r
2
2
r
1
2
8
--------- =
Parabola:
I
x
=
A
2
3
---ab =
P
b
2
16a
2
+
2
---------------------------
b
2
8a
------
4a b
2
16a
2
+ +
b
----------------------------------------
\ .
|
| |
ln + =
Centroid:
Moment of Inertia
x
b
2
--- =
y
2a
5
------ =
I
y
=
a
x
y
b
I
x
=
Moment of Inertia
I
y
=
I
xy
= I
xy
=
math guide - 34.33
• A general class of geometries are conics. This for is shown below, and can be
used to represent many of the simple shapes represented by a polynomial.
Half Parabola:
I
x
8ba
3
175
------------ =
A
ab
3
------ =
P
b
2
16a
2
+
4
---------------------------
b
2
16a
---------
4a b
2
16a
2
+ +
b
----------------------------------------
\ .
|
| |
ln + =
Centroid: Moment of Inertia
x
3b
8
------ =
y
2a
5
------ =
I
y
19b
3
a
480
--------------- =
a
x
y
b
I
x
2ba
3
7
------------ =
Moment of Inertia
I
y
2b
3
a
15
------------ =
I
xy
b
2
a
2
60
----------- = I
xy
b
2
a
2
6
----------- =
math guide - 34.34
Ax
2
2Bxy Cy
2
2Dx 2Ey F + + + + + 0 =
Conditions
A B C 0 = = =
straight line
B 0 A , C = =
circle
B
2
AC – 0 <
ellipse
B
2
AC – 0 =
parabola
B
2
AC – 0 >
hyperbola
math guide - 34.35
I
x
r
x
2
V d
V

the moment of inertia about the x-axis = =
I
y
r
y
2
V d
V

the moment of inertia about the y-axis = =
x
x V d
V

V d
V

------------- centroid location along the x-axis = =
y
y V d
V

V d
V

------------- centroid location along the y-axis = =
VOLUME PROPERTIES:
I
z
r
z
2
V d
V

the moment of inertia about the z-axis = =
z
z V d
V

V d
V

------------- centroid location along the z-axis = =
math guide - 34.36
Parallelepiped (box):
I
x
M a
2
b
2
+ ( )
12
--------------------------- =
V abc =
S 2 ab ac bc + + ( ) =
Centroid:
Moment of Inertia
x
a
2
-- - =
y
b
2
-- - = I
y
M a
2
c
2
+ ( )
12
--------------------------- =
c
x
y
a
b
z
c
2
--- = I
z
M b
2
a
2
+ ( )
12
--------------------------- =
z
I
x
=
Moment of Inertia
I
y
=
I
z
=
J
x
=
Mass Moment of Inertia
J
y
=
J
z
=
Sphere:
I
x
2Mr
2
5
------------- =
V
4
3
---πr
3
=
S 4πr
2
=
Centroid:
Moment of Inertia
x r =
y r =
I
y
2Mr
2
5
------------- =
x
y
r
z r =
I
z
2Mr
2
5
------------- =
z
I
x
=
Moment of Inertia
I
y
=
I
z
=
J
x
2Mr
2
5
------------- =
Mass Moment of Inertia
J
y
2Mr
2
5
------------- =
J
z
2Mr
2
5
------------- =
math guide - 34.37
Hemisphere:
I
x
83
320
-------- -Mr
2
=
V
2
3
---πr
3
=
S =
Centroid:
Moment of Inertia
x r =
y
3r
8
----- =
I
y
2Mr
2
5
------------- =
x
y
r
z r =
I
z
83
320
-------- -Mr
2
=
z
I
x
=
Moment of Inertia
I
y
=
I
z
=
Cap of a Sphere:
I
x
=
V
1
3
---πh
2
3r h – ( ) =
S 2πrh =
Centroid:
Moment of Inertia
x r =
y =
I
y
=
x
y
r
z r =
I
z
=
z
h
I
x
=
Moment of Inertia
I
y
=
I
z
=
math guide - 34.38
Cylinder:
I
x
M
h
2
12
------
r
2
4
---- +
\ .
| |
=
V hπr
2
=
S 2πrh 2πr
2
+ =
Centroid:
Moment of Inertia
x r =
y
h
2
-- - =
I
y
Mr
2
2
---------- =
x
y
r
z r =
I
z
M
h
2
12
------
r
2
4
---- +
\ .
| |
=
z
h
I
x
M
h
2
3
-----
r
2
4
---- +
\ .
| |
=
Moment of Inertia
I
y
=
I
z
M
h
2
3
-----
r
2
4
---- +
\ .
| |
=
J
x
M 3r
2
h
2
+ ( )
12
------------------------------ =
Mass Moment of Inertia
J
y
Mr
2
2
---------- =
J
z
M 3r
2
h
2
+ ( )
12
------------------------------ =
Cone:
I
x
M
3h
3
80
--------
3r
2
20
-------- +
\ .
| |
=
V
1
3
---πr
2
h =
S πr r
2
h
2
+ =
Centroid:
Moment of Inertia
x r =
y
h
4
--- =
I
y
3Mr
2
10
------------- =
x
y
r
z r =
I
z
M
3h
3
80
--------
3r
2
20
-------- +
\ .
| |
=
z
h
I
x
=
Moment of Inertia
I
y
=
I
z
=
math guide - 34.39
Tetrahedron:
I
x
=
V
1
3
---Ah =
Centroid:
Moment of Inertia
x =
y
h
4
--- =
I
y
=
x
y
z =
I
z
=
z
h
A
I
x
=
Moment of Inertia
I
y
=
I
z
=
Torus:
I
x
=
V
1
4
---π
2
r
1
r
2
+ ( ) r
2
r
1
– ( )
2
=
S π
2
r
2
2
r
1
2
– ( ) =
Centroid:
Moment of Inertia
x r
2
=
y
r
2
r
1

2
---------------
\ .
| |
=
I
y
=
x
y
r
1
z r
2
=
I
z
=
z
r
2
I
x
=
Moment of Inertia
I
y
=
I
z
=
math guide - 34.40
Ellipsoid:
I
x
=
V
4
3
---πr
1
r
2
r
3
=
S =
Centroid:
Moment of Inertia
x r
1
=
y r
2
=
I
y
=
x
y
r
1
z r
3
=
I
z
=
z
r
2
r
3
I
x
=
Moment of Inertia
I
y
=
I
z
=
Paraboloid:
I
x
=
V
1
2
---πr
2
h =
S =
Centroid:
Moment of Inertia
x r =
y =
I
y
=
x
y
r
z r =
I
z
=
z
h
I
x
=
Moment of Inertia
I
y
=
I
z
=
math guide - 34.41
34.3.4 Planes, Lines, etc.
• The most fundamental mathematical geometry is a line. The basic relationships
are given below,
• If we assume a line is between two points in space, and that at one end we have a
local reference frame, there are some basic relationships that can be derived.
m
y
2
y
1

x
2
x
1

---------------- =
the slope using two points
m
perpendicular
1
m
---- =
a slope perpendicular to a line
y mx b + =
defined with a slope and intercept
x
a
---
y
b
-- - + 1 =
as defined by two intercepts
math guide - 34.42
• The relationships for a plane are,
x
2
y
2
z
2
, , ( )
x
1
y
1
z
1
, , ( )
x
0
y
0
z
0
, , ( )
x
y
z
θ
α
θ
β
θ
γ
d
d x
2
x
1
– ( )
2
y
2
y
1
– ( )
2
z
2
z
1
– ( )
2
+ + =
θ
α
x
2
x
1

d
----------------
\ .
| |
acos = θ
β
y
2
y
1

d
----------------
\ .
| |
acos = θ
γ
z
2
z
1

d
---------------
\ .
| |
acos =
θ
α
cos ( )
2
θ
β
cos ( )
2
θ
γ
cos ( )
2
+ + 1 =
x x
1

x
2
x
1

----------------
y y
1

y
2
y
1

----------------
z z
1

z
2
z
1

--------------- = =
The direction cosines of the angles are,
The equation of the line is,
x y z , , ( ) x
1
y
1
z
1
, , ( ) t x
2
y
2
z
2
, , ( ) x
1
y
1
z
1
, , ( ) – ( ) + =
Explicit
Parametric t=[0,1]
math guide - 34.43
34.3.5 Practice Problems
1. What is the circumferenece of a circle? What is the area? What is the ratio of the area to the cir-
cumference?
N
x
y
z
a
b
c
The explicit equation for a plane is,
Ax By Cz D + + + 0 =
A
1
a
--- = B
1
b
--- = C
1
c
-- - = D 1 – =
where the coefficients defined by the intercepts are,
P
1
x
1
y
1
z
1
, , ( ) =
P
3
x
3
y
3
z
3
, , ( ) =
P
2
x
2
y
2
z
2
, , ( ) =
The determinant can also be used,
det
x x
1
– y y
1
– z z
1

x x
2
– y y
2
– z z
2

x x
3
– y y
3
– z z
3

0 =
det
y
2
y
1
– z
2
z
1

y
3
y
1
– z
3
z
1

x x
1
– ( ) det
z
2
z
1
– x
2
x
1

z
3
z
1
– x
3
x
1

y y
1
– ( ) + ∴
det
x
2
x
1
– y
2
y
1

x
3
x
1
– y
3
y
1

z z
1
– ( ) + 0 =
The normal to the plane (through the origin) is,
x y z , , ( ) t A B C , , ( ) =
math guide - 34.44
2. What is the equation of a line that passes through the points below?
3. Find a line that is perpendicular to the line through the points (2, 1) and (1, 2). The perpendicu-
lar line passes through (3, 5).
4. Manipulate the following equations to solve for ‘x’.
5. Simplify the following expressions.
a) (0, 0) to (2, 2)
b) (1, 0) to (0, 1)
c) (3, 4) to (2. 9)
x
2
3x + 2 – =
a)
x sin x cos =
b)
x
2
3x + 2 – =
a)
x sin x cos =
b)
(ans.
x
2
3x 2 + + 0 =
x
3 – 3
2
4 1 ( ) 2 ( ) – ±
2 1 ( )
------------------------------------------------
3 – 9 8 – ±
2
----------------------------- -
3 – 1 ±
2
---------------- 1 – 2 – , = = = =
x sin
x cos
----------- 1 =
x tan 1 =
x 1 atan =
x … 135° – 45° 225° … , , , , =
2θ sin
2θ cos ( )
2
2θ sin
---------------------- 2θ sin +
\ .
| |
a)
2θ sin
2θ cos ( )
2
2θ sin
---------------------- 2θ sin +
\ .
| |
2θ cos ( )
2
2θ sin ( )
2
+ 1 = =
a)
(ans.
math guide - 34.45
6. A line that passes through the point (1, 2) and has a slope of 2. Find the equation for the line,
and for a line perpendicular to it.
34.4 COORDINATE SYSTEMS
34.4.1 Complex Numbers
• In this section, as in all others, ‘j’ will be the preferred notation for the complex
number, this is to help minimize confusion with the ‘i’ used for current in electrical engi-
neering.
• The basic algebraic properties of these numbers are,
(ans.
y mx b + =
m 2 =
given,
x 1 =
y 2 =
2 2 1 ( ) b + =
substituting
y 2x =
b 0 =
m
perp
1
m
---- – 0.5 – = =
perpendicular
y 0.5 – x =
math guide - 34.46
• We can also show complex numbers graphically. These representations lead to
alternative representations. If it in not obvious above, please consider the notation above
uses a cartesian notation, but a polar notation can also be very useful when doing large cal-
culations.
j 1 – = j
2
1 – =
The Complex Number:
a bj +
Complex Numbers:
where,
a and b are both real numbers
N a bj + =
Complex Conjugates (denoted by adding an asterisk ‘*’ the variable):
N* a bj – =
a bj + ( ) c dj + ( ) + a c + ( ) b d + ( )j + =
Basic Properties:
a bj + ( ) c dj + ( ) – a c – ( ) b d – ( )j + =
a bj + ( ) c dj + ( ) ⋅ ac bd – ( ) ad bc + ( )j + =
N
M
-----
a bj +
c dj +
--------------
N
M
---- -
N*
N*
-------
\ .
| |
a bj +
c dj +
--------------
\ .
| |
c dj –
c dj –
-------------
\ .
| |
ac bd +
c
2
d
2
+
------------------
c
2
d
2
+
------------------
\ .
| |
j + = = = =
math guide - 34.47
• We can also do calculations using polar notation (this is well suited to multiplica-
tion and division, whereas cartesian notation is easier for addition and subtraction),
CARTESIAN FORM
real
imaginary (j)
R
Ij
N R Ij + =
POLAR FORM
real
imaginary (j)
R
Ij
N A θ ∠ =
θ
A R
2
I
2
+ =
θ
I
R
---
\ .
| |
atan =
R A θ cos =
I A θ sin =
A amplitude =
θ phase angle =
math guide - 34.48
• Note that DeMoivre’s theorem can be used to find exponents (including roots) of
complex numbers
• Euler’s formula:
• From the above, the following useful identities arise:

34.4.2 Cylindrical Coordinates
• Basically, these coordinates appear as if the cartesian box has been replaced with
a cylinder,
A
1
θ
1
∠ ( )
A
2
θ
2
∠ ( )
---------------------
A
1
A
2
------
\ .
| |
θ
1
θ
2
– ( ) ∠ =
A
1
θ
1
∠ ( ) A
2
θ
2
∠ ( ) A
1
A
2
( ) θ
1
θ
2
+ ( ) ∠ =
A θ ∠ ( )
n
A
n
( ) nθ ( ) ∠ =
(DeMoivre’s theorem)
A θ ∠ A θ cos j θ sin + ( ) Ae

= =
e

θ cos j θ sin + =
θ cos
e

e
jθ –
+
2
---------------------- =
θ sin
e

e
jθ –

2j
--------------------- =
math guide - 34.49
34.4.3 Spherical Coordinates
• This system replaces the cartesian box with a sphere,
y
z
x
z
x
y
z
z
r
θ
x y z , , ( ) r θ z , , ( ) ↔
x r θ cos =
y r θ sin =
r x
2
y
2
+ =
θ
y
x
--
\ .
| |
atan =
math guide - 34.50
34.4.4 Practice Problems
1. Simplify the following expressions.
y
z
x
z
x
y
z
r
θ
x y z , , ( ) r θ φ , , ( ) ↔
x r θ φ cos sin =
y r θ φ sin sin =
r x
2
y
2
z
2
+ + =
θ
y
x
--
\ .
| |
atan =
φ
z r θ cos =
φ
z
r
--
\ .
| |
acos =
16
4j 4 + ( )
2
---------------------
a)
3j 5 +
4j 3 + ( )
2
---------------------
b)
3 5j + ( )4j
c)
j 1 – =
where,
math guide - 34.51
2. For the shape defined below,
34.5 MATRICES AND VECTORS
34.5.1 Vectors
• Vectors are often drawn with arrows, as shown below,
16
4j 4 + ( )
2
---------------------
16
16 – 32j 16 + +
-------------------------------------
16
32j
------- - 0.5j – = = =
a)
(ans.
3j 5 +
4j 3 + ( )
2
---------------------
3j 5 +
16 – 24j 9 + +
----------------------------------
3j 5 +
7 – 24j +
---------------------
7 – 24j –
7 – 24j –
---------------------
\ .
| |
35 – 141j – 72 +
49 576 +
---------------------------------------
37 141j –
625
----------------------- = = = =
b)
3 5j + ( )4j 12j 20j
2
+ 12j 20 – = =
c)
y x 2 + ( )
2
=
x
y
4
a) find the area of the shape.
b) find the centroid of the shape.
c) find the moment of inertia of the shape
origin
tail
terminus
A vector is said to have magnitude (length or
strength) and direction.
math guide - 34.52
• Cartesian notation is also a common form of usage.
• Vectors can be added and subtracted, numerically and graphically,
34.5.2 Dot (Scalar) Product
• We can use a dot product to find the angle between two vectors
x
y
z
x
y
z
i
j
k
i
j
k
becomes
A 2 3 4 , , ( ) =
B 7 8 9 , , ( ) =
A B + 2 7 + 3 8 + 4 9 + , , ( ) =
A B – 2 7 – 3 8 – 4 9 – , , ( ) =
Parallelogram Law
A
A
B
B
A+B
math guide - 34.53
• We can use a dot product to project one vector onto another vector.
• We can consider the basic properties of the dot product and units vectors.
F
1
2i 4j + =
F
2
5i 3j + =
x
y
θ cos
F
1
F
2

F
1
F
2
------------------ =
θ ∴
2 ( ) 5 ( ) 4 ( ) 3 ( ) +
2
2
4
2
+ 5
2
3
2
+
-------------------------------------------
\ .
|
| |
acos =
θ ∴
22
4.47 ( ) 6 ( )
-----------------------
\ .
| |
acos 32.5° = =
θ
F
1
3i – 4j 5k + + ( )N =
V 1j 1k + =
x
y
z
We want to find the component of
force F
1
that projects onto the
vector V. To do this we first con-
vert V to a unit vector, if we do
not, the component we find will
be multiplied by the magnitude
of V.
λ
V
V
V
------
1j 1k +
1
2
1
2
+
--------------------- 0.707j 0.707k + = = =
F
1
V
λ
V
F
1
• 0.707j 0.707k + ( ) 3i – 4j 5k + + ( )N • = =
F
1
V
∴ 0 ( ) 3 – ( ) 0.707 ( ) 4 ( ) 0.707 ( ) 5 ( ) + + 6N = =
V
F
1
F
1
V
math guide - 34.54
Unit vectors are useful when breaking up vector magnitudes and direction. As an exam-
ple consider the vector, and the displaced x-y axes shown below as x’-y’.
x
y
x’ y’
45°
60°
F 10N =
We could write out 5 vectors here, relative to the x-y axis,
x axis 2i =
y axis 3j =
x‘ axis 1i 1j + =
y‘ axis 1i – 1j + =
F 10N 60° ∠ 10 60° cos ( )i 10 60° sin ( )j + = =
None of these vectors has a magnitude of 1, and hence they are not unit vectors. But, if
we find the equivalent vectors with a magnitude of one we can simplify many tasks.
In particular if we want to find the x and y components of F relative to the x-y axis we
can use the dot product.
λ
x
1i 0j + = (unit vector for the x-axis)
F
x
λ
x
F • 1i 0j + ( ) 10 60° cos ( )i 10 60° sin ( )j + [ ] • = =
∴ 1 ( ) 10 60° cos ( ) 0 ( ) 10 60° sin ( ) + 10N 60° cos = =
This result is obvious, but consider the other obvious case where we want to project a
vector onto itself,
math guide - 34.55
λ
F
F
F
------
10 60°i cos 10 60°j sin +
10
--------------------------------------------------------- 60°i cos 60°j sin + = = =
Incorrect - Not using a unit vector
F
F
F F • =
10 60° cos ( )i 10 60° sin ( )j + ( ) 10 60° cos ( )i 10 60° sin ( )j + ( ) • =
10 60° cos ( ) 10 60° cos ( ) 10 60° sin ( ) 10 60° sin ( ) + =
100 60° cos ( )
2
60° sin ( )
2
+ ( ) 100 = =
Using a unit vector
F
F
F λ
F
• =
10 60° cos ( )i 10 60° sin ( )j + ( ) 60° cos ( )i 60° sin ( )j + ( ) • =
10 60° cos ( ) 60° cos ( ) 10 60° sin ( ) 60° sin ( ) + =
10 60° cos ( )
2
60° sin ( )
2
+ ( ) 10 = =
Correct
Now consider the case where we find the component of F in the x’ direction. Again,
this can be done using the dot product to project F onto a unit vector.
u
x'
45°i cos 45°j sin + =
F
x'
F λ
x'
• 10 60° cos ( )i 10 60° sin ( )j + ( ) 45° cos ( )i 45° sin ( )j + ( ) • = =
10 60° cos ( ) 45° cos ( ) 10 60° sin ( ) 45° sin ( ) + =
10 60° 45° cos cos 60° 45° sin sin + ( ) 10 60° 45° – ( ) cos ( ) = =
Here we see a few cases where the dot product has been applied to find the vector pro-
jected onto a unit vector. Now finally consider the more general case,
math guide - 34.56
V
1
V
2
θ
1
θ
2
x
y
V
2
V1
V
2
V1
V
2
θ
2
θ
1
– ( ) cos =
Next, we can manipulate this expression into the dot product form,
First, by inspection, we can see that the component of V
2
(projected) in the direction
of V
1
will be,
V
2
θ
1
θ
2
cos cos θ
1
θ
2
sin sin + ( ) =
V
2
θ
1
i cos θ
1
j sin + ( ) θ
2
i cos θ
2
j sin + ( ) • [ ] =
V
2
V
1
V
1
---------
V
2
V
2
--------- • V
2
V
1
V
2

V
1
V
2
------------------
V
1
V
2

V
1
------------------ V
2
λ
V
1
• = = = =
Or more generally,
V
2
V1
V
2
θ
2
θ
1
– ( ) cos V
2
V
1
V
2

V
1
V
2
------------------ = =
V
2
∴ θ
2
θ
1
– ( ) cos V
2
V
1
V
2

V
1
V
2
------------------ =
θ
2
θ
1
– ( ) cos ∴
V
1
V
2

V
1
V
2
------------------ =
*Note that the dot product also works in 3D, and similar proofs are used.
math guide - 34.57
34.5.3 Cross Product
• First, consider an example,
• The basic properties of the cross product are,
F 6.43i – 7.66j 0k + + ( )N =
d 2i 0j 0k + + ( )m =
M d F ×
i j k
2m 0m 0m
6.43N – 7.66N 0N
= =
NOTE: note that the cross prod-
uct here is for the right hand
rule coordinates. If the left
handed coordinate system is
used F and d should be
reversed.
M ∴ 0m0N 0m 7.66N ( ) – ( )i 2m0N 0m 6.43N – ( ) – ( ) – j + =
2m 7.66N ( ) 0m 6.43N – ( ) – ( )k 15.3k mN ( ) =
NOTE: there are two things to note about the solution. First, it is a vector. Here
there is only a z component because this vector points out of the page, and a
result is positive, because the positive sense is defined by the vector system.
In this right handed system find the positive rotation by pointing your right
hand thumb towards the positive axis (the ‘k’ means that the vector is about
the z-axis here), and curl your fingers, that is the positive direction.
math guide - 34.58
• When using a left/right handed coordinate system,
• The properties of the cross products are,
The cross (or vector) product of two vectors will yield a new vector perpendicular
to both vectors, with a magnitude that is a product of the two magnitudes.
V
1
V
2
V
1
V
2
×
V
1
V
2
× y
1
z
2
z
1
y
2
– ( )i z
1
x
2
x
1
z
2
– ( )j x
1
y
2
y
1
x
2
– ( )k + + =
V
1
V
2
×
i j k
x
1
y
1
z
1
x
2
y
2
z
2
=
V
1
V
2
× x
1
i y
1
j z
1
k + + ( ) x
2
i y
2
j z
2
k + + ( ) × =
We can also find a unit vector normal ‘n’ to the vectors ‘V1’ and ‘V2’ using
a cross product, divided by the magnitude.
λ
n
V
1
V
2
×
V
1
V
2
×
--------------------- =
The positive orientation of angles and moments about an axis can be determined
by pointing the thumb of the right hand along the axis of rotation. The fingers
curl in the positive direction.
x
y
z
+
z
x
y
+
y
z
x
+
math guide - 34.59
34.5.4 Triple Product
34.5.5 Matrices
• Matrices allow simple equations that drive a large number of repetitive calcula-
tions - as a result they are found in many computer applications.
• A matrix has the form seen below,
The cross product is distributive, but not associative. This allows us to collect terms
in a cross product operation, but we cannot change the order of the cross product.
r
1
F × r
2
F × + r
1
r
2
+ ( ) F × = DISTRIBUTIVE
r F × F r × ( ) – =
NOT ASSOCIATIVE r F × F r × ≠
but
When we want to do a cross product, followed by a dot product (called the mixed triple
product), we can do both steps in one operation by finding the determinant of the follow-
ing. An example of a problem that would use this shortcut is when a moment is found
about one point on a pipe, and then the moment component twisting the pipe is found
using the dot product.
d F × ( ) u •
u
x
u
y
u
z
d
x
d
y
d
z
F
x
F
y
F
z
=
math guide - 34.60
• Matrix operations are available for many of the basic algebraic expressions,
examples are given below. There are also many restrictions - many of these are indicated.
a
11
a
21
… a
n1
a
12
a
22
… a
n2
… … … …
a
1m
a
2m
… a
nm
n columns
m rows
If n=m then the matrix is said to be square.
Many applications require square matrices.
We may also represent a matrix as a 1-by-3
for a vector.
A 2 = B
3 4 5
6 7 8
9 10 11
= C
12 13 14
15 16 17
18 19 20
= D
21
22
23
= E
24 25 26
=
A B +
3 2 + 4 2 + 5 2 +
6 2 + 7 2 + 8 2 +
9 2 + 10 2 + 11 2 +
=
B D + not valid =
B C +
3 12 + 4 13 + 5 14 +
6 15 + 7 16 + 8 17 +
9 18 + 10 19 + 11 20 +
=
B A –
3 2 – 4 2 – 5 2 –
6 2 – 7 2 – 8 2 –
9 2 – 10 2 – 11 2 –
=
B D – not valid =
B C +
3 12 – 4 13 – 5 14 –
6 15 – 7 16 – 8 17 –
9 18 – 10 19 – 11 20 –
=
math guide - 34.61
A B ⋅
3 2 ( ) 4 2 ( ) 5 2 ( )
6 2 ( ) 7 2 ( ) 8 2 ( )
9 2 ( ) 10 2 ( ) 11 2 ( )
=
D E ⋅ 21 24 22 25 23 26 ⋅ + ⋅ + ⋅ =
Multiplication/Division
B D ⋅
3 21 4 22 5 23 ⋅ + ⋅ + ⋅ ( )
6 21 7 22 8 23 ⋅ + ⋅ + ⋅ ( )
9 21 10 22 11 23 ⋅ + ⋅ + ⋅ ( )
=
B
A
---
3
2
-- -
4
2
---
5
2
-- -
6
2
-- -
7
2
---
8
2
-- -
9
2
-- -
10
2
----- -
11
2
----- -
=
B C ⋅
3 12 4 15 5 18 ⋅ + ⋅ + ⋅ ( ) 3 13 4 16 5 19 ⋅ + ⋅ + ⋅ ( ) 3 14 4 17 5 20 ⋅ + ⋅ + ⋅ ( )
6 12 7 15 8 18 ⋅ + ⋅ + ⋅ ( ) 6 13 7 16 8 19 ⋅ + ⋅ + ⋅ ( ) 6 14 7 17 8 20 ⋅ + ⋅ + ⋅ ( )
9 12 10 15 11 18 ⋅ + ⋅ + ⋅ ( ) 9 13 10 16 11 19 ⋅ + ⋅ + ⋅ ( ) 9 14 10 17 11 20 ⋅ + ⋅ + ⋅ ( )
=
Note: To multiply matrices, the first matrix must have the same number
of columns as the second matrix has rows.
B
C
----
B
D
----
D
B
---- etc , , , not allowed (see inverse) =
math guide - 34.62
B 3
7 8
10 11
4
6 8
9 11
5
6 7
9 10
⋅ + ⋅ – ⋅ 3 3 – ( ) 4 6 – ( ) 5 3 – ( ) ⋅ + ⋅ – ⋅ 0 = = =
D E , not valid (matrices not square) =
Determinant
7 8
10 11
7 11 ⋅ ( ) 8 10 ⋅ ( ) – 3 – = =
6 8
9 11
6 11 ⋅ ( ) 8 9 ⋅ ( ) – 6 – = =
6 7
9 10
6 10 ⋅ ( ) 7 9 ⋅ ( ) – 3 – = =
B
T
3 6 9
4 7 10
5 8 11
=
E
T
24
25
26
=
D
T
21 22 23
=
Transpose
math guide - 34.63
B
7 8
10 11
6 8
10 11

6 7
9 10
4 5
10 11

3 5
9 11
3 4
9 10

4 5
7 8
3 5
6 8

3 4
6 7
T
=
D invalid (must be square) =
The matrix of determinant to
the left is made up by get-
ting rid of the row and col-
umn of the element, and
then finding the determi-
nant of what is left. Note
the sign changes on alter-
nating elements.
B
1 – B
B
--------- =
Inverse
D
1 –
invalid (must be square) =
In this case B is singular, so the
inverse is undetermined, and the
matrix is indeterminate.
D B
x
y
z
⋅ =
To solve this equation for
x,y,z we need to move
B to the left hand side.
To do this we use the
inverse.
B
1 –
D B
1 –
B
x
y
z
⋅ ⋅ =
B
1 –
D I
x
y
z

x
y
z
= =
math guide - 34.64
• The eigenvalue of a matrix is found using,
34.5.6 Solving Linear Equations with Matrices
• We can solve systems of equations using the inverse matrix,
B I ⋅ I B ⋅ B = =
1
1 0
0 1
1 0 0
0 1 0
0 0 1
etc=I , , ,
B
1 –
B ⋅ I =
Identity Matrix
This is a square matrix that is the matrix equivalent to ‘1’.
D I ⋅ I D ⋅ D = =
A λI – 0 =
2 x 4 y 3 z ⋅ + ⋅ + ⋅ 5 =
9 x 6 y 8 z ⋅ + ⋅ + ⋅ 7 =
11 x 13 y 10 z ⋅ + ⋅ + ⋅ 12 =
2 4 3
9 6 8
11 13 10
x
y
z
5
7
12
=
Write down the matrix, then rearrange, and solve.
Given,
x
y
z

2 4 3
9 6 8
11 13 10
1 –
5
7
12
= =
math guide - 34.65
• We can solve systems of equations using Cramer’s rule (with determinants),
34.5.7 Practice Problems
1. Perform the matrix operations below.
2 x 4 y 3 z ⋅ + ⋅ + ⋅ 5 =
9 x 6 y 8 z ⋅ + ⋅ + ⋅ 7 =
11 x 13 y 10 z ⋅ + ⋅ + ⋅ 12 =
A
2 4 3
9 6 8
11 13 10
=
Write down the coefficient and parameter matrices,
Given,
x
5 4 3
7 6 8
12 13 10
A
------------------------------ = =
B
5
7
12
=
Calculate the determinant for A (this will be reused), and calculate the determinants
for matrices below. Note: when trying to find the first parameter ‘x’ we replace the
first column in A with B.
y
2 5 3
9 7 8
11 12 10
A
------------------------------ = =
z
2 4 5
9 6 7
11 13 12
A
------------------------------ = =
math guide - 34.66
2. Perform the vector operations below,
4. Solve the following equations using any technique,
5. Solve the following set of equations using a) Cramer’s rule and b) an inverse matrix.
1 2 3
4 5 6
7 8 9
10
11
12
=
1 2 3
4 2 6
7 8 9
=
Multiply
Determinant
1 2 3
4 2 6
7 8 9
1 –
=
Inverse
1 2 3
4 5 6
7 8 9
10
11
12
68
167
266
=
1 2 3
4 2 6
7 8 9
36 =
1 2 3
4 2 6
7 8 9
1 –
0.833 – 0.167 0.167
0.167 0.333 – 0.167
0.5 0.167 0.167 –
=
ANS.
A
1
2
3
= B
6
2
1
=
Cross Product
Dot Product
A B × =
A B • =
A B × 4 – 17 10 – , , ( ) =
A B • 13 =
ANS.
2x 3y – 6z + 3 – =
5x 2y – 4z + 1 – =
6x 7y 5z + + 2 – =
x= 0.273
y= -0.072
z= -0.627
ANS.
2x 3y + 4 =
5x 1y + 0 =
math guide - 34.67
6. Perform the following matrix calculation. Show all work.
7. Perform the matrix calculations given below.
(ans.
a)
b)
2 3
5 1
x
y
4
0
=
x
4 3
0 1
2 3
5 1
----------------
4
13 –
--------- = = y
2 4
5 0
2 3
5 1
----------------
20 –
13 –
---------
20
13
----- - = = =
x
y
2 3
5 1
1 –
4
0
1 5 ( ) –
3 ( ) – 2
T
2 3
5 1
--------------------------------
4
0
1 3 –
5 – 2
13 –
-------------------
4
0
1
13
----- - –
\ .
| |
4
20 –
4
13
----- - –
20
13
----- -
= = = = =
A B C
D E F
G H I
X
Y
Z
L
M
N
+
T
A B C
D E F
G H I
X
Y
Z
L
M
N
+
T
AX BY CZ + +
DX EY FZ + +
GX YH IZ + +
L
M
N
+
T
AX BY CZ L + + +
DX EY FZ M + + +
GX YH IZ N + + +
T
= =
(ans.
AX BY CZ L + + + DX EY FZ M + + + GX YH IZ N + + +
=
A B C
D E F
G H I
X
Y
Z
=
a)
A B C
D E F
G H I
X Y Z
=
b)
math guide - 34.68
8. Find the dot product, and the cross product, of the vectors A and B below.
9. Perform the following matrix calculations.
B
p
q
r
= A
x
y
z
=
A B ×
i j k
x y z
p q r
i yr zq – ( ) j zp xr – ( ) k xq yp – ( ) + +
yr zq –
zp xr –
xq yp –
= = =
A B • xp yq zr + + =
(ans.
a)
a
b
c
T
d e f
g h k
m n p
b)
a b
c d
1 –
c)
a b
c d
a
b
c
T
d e f
g h k
m n p
a b c
d e f
g h k
m n p
ad bg cm + + ( ) ae bh cn + + ( ) af bk cp + + ( )
= =
b)
a b
c d
1 –
a b
c d
a b
c d
-------------------
d c –
b – a
-------------------
d
------------------
c –
------------------
b –
------------------
a
------------------
= = =
c)
a b
c d
(ans.
a)
math guide - 34.69
10. Find the value of ‘x’ for the following system of equations.
11. Perform the matrix calculations given below.
x 2y 3z + + 5 =
x 4y 8z + + 0 =
4x 2y z + + 1 =
1 2 3
1 4 8
4 2 1
x
y
z
5
0
1
=
(ans.
x
5 2 3
0 4 8
1 2 1
1 2 3
1 4 8
4 2 1
------------------
5 4 16 – ( ) 2 8 0 – ( ) 3 0 4 – ( ) + +
1 4 16 – ( ) 2 32 1 – ( ) 3 2 16 – ( ) + +
----------------------------------------------------------------------------------
60 – 16 12 – +
12 – 62 42 – +
----------------------------------
56 –
8
--------- 7 – = = = = =
A B C
D E F
G H I
X
Y
Z
=
a)
A B C
D E F
G H I
X Y Z
=
b)
det
A B
C D
=
c)
A B
C D
A
=
d)
A B
C D
1 –
=
e)
math guide - 34.70
12. Solve the following set of equations with the specified methods.
34.6 CALCULUS
• NOTE: Calculus is very useful when looking at real systems. Many students are
turned off by the topic because they "don’t get it". But, the secret to calculus is to remem-
ber that there is no single "truth" - it is more a loose collection of tricks and techniques.
Each one has to be learned separately, and when needed you must remember it, or know
where to look.
34.6.1 Single Variable Functions
34.6.1.1 - Differentiation
• The basic principles of differentiation are,
3x 5y + 7 =
4x 6y – 2 =
a) Inverse matrix
b) Cramer’s rule
c) Gauss-Jordan row reduction
d) Substitution
math guide - 34.71
• Differentiation rules specific to basic trigonometry and logarithm functions
d
dx
------ uv ( ) u ( )
d
dx
------ v ( ) v ( )
d
dx
------ u ( ) + =
d
dx
------ u
n
( ) nu
n 1 –
( )
d
dx
------ u ( ) =
Both u, v and w are functions of x, but this is not shown for brevity.
d
dx
------ C ( ) 0 =
d
dx
------
u
v
---
\ .
| |
v
v
2
-----
\ .
| |
d
dx
------ u ( )
u
v
2
-----
\ .
| |
d
dx
------ v ( ) – =
d
dx
------ Cu ( ) C ( )
d
dx
------ u ( ) =
d
dx
------ u v … + + ( )
d
dx
------ u ( )
d
dx
----- - v ( ) … + + =
Also note that C is used as a constant, and all angles are in radians.
d
dx
------ uvw ( ) uv ( )
d
dx
------ w ( ) uw ( )
d
dx
------ v ( ) vw ( )
d
dx
----- - u ( ) + + =
d
dx
------ y ( )
d
du
------ y ( )
d
dx
------ u ( ) chain rule = =
d
dx
------ u ( )
1
d
du
------ x ( )
-------------- =
d
dx
------ y ( )
d
du
------ y ( )
d
du
------ x ( )
-------------- =
math guide - 34.72
• L’Hospital’s rule can be used when evaluating limits that go to infinity.
• Some techniques used for finding derivatives are,
d
dx
----- - u sin ( ) u cos ( )
d
dx
------ u ( ) =
d
dx
----- - u cos ( ) u sin – ( )
d
dx
------ u ( ) =
d
dx
----- - u tan ( )
1
u cos
-----------
\ .
| |
2
d
dx
------ u ( ) =
d
dx
----- - u sec ( ) u u sec tan ( )
d
dx
----- - u ( ) =
d
dx
----- - u cot ( ) u csc – ( )
2 d
dx
------ u ( ) =
d
dx
----- - u sinh ( ) u cosh ( )
d
dx
------ u ( ) =
d
dx
----- - u csc ( ) u u cot csc – ( )
d
dx
------ u ( ) =
d
dx
----- - u cosh ( ) u sinh ( )
d
dx
------ u ( ) =
d
dx
------ e
u
( ) e
u
( )
d
dx
------ u ( ) =
d
dx
------ u tanh ( ) u sech ( )
2 d
dx
------ u ( ) =
d
dx
------ x ln ( )
1
x
--- =
f x ( )
g x ( )
----------
\ .
| |
x a →
lim
d
dt
-----
\ .
| |
f x ( )
d
dt
-----
\ .
| |
g x ( )
---------------------
\ .
|
|
|
| |
x a →
lim
d
dt
---- -
\ .
| |
2
f x ( )
d
dt
---- -
\ .
| |
2
g x ( )
------------------------
\ .
|
|
|
| |
x a →
lim … = = =
math guide - 34.73
34.6.1.2 - Integration
• Some basic properties of integrals include,
• Some of the trigonometric integrals are,
Leibnitz’s Rule, (notice the form is similar to the binomial equation) can be used for
d
dx
------
\ .
| |
n
uv ( )
d
dx
------
\ .
| |
0
u ( )
d
dx
------
\ .
| |
n
v ( )
n
1 \ .
| |
d
dx
----- -
\ .
| |
1
u ( )
d
dx
----- -
\ .
| |
n 1 –
v ( ) + =
n
2 \ .
| |
d
dx
------
\ .
| |
2
u ( )
d
dx
----- -
\ .
| |
n 2 –
v ( ) …
n
n \ .
| |
d
dx
----- -
\ .
| |
n
u ( )
d
dx
----- -
\ .
| |
0
v ( ) + +
finding the derivatives of multiplied functions.
In the following expressions, u, v, and w are functions of x. in addition to this, C is a
constant. and all angles are radians.
C x d

ax C + =
Cf x ( ) x d

C f x ( ) x d

=
u v w … + + + ( ) x d

u x d

v x d

w x d

… + + + =
u v d

uv v u d

– integration by parts = =
f Cx ( ) x d

1
C
---- f u ( ) u d

=
F f x ( ) ( ) x d

F u ( )
d
du
------ x ( ) u d

F u ( )
f' x ( )
----------- u d

= =
x
n
x d

x
n 1 +
n 1 +
------------ C + =
e
x
x d

e
x
C + =
u f x ( ) =
1
x
--- x d

x C + ln =
a
x
x d

a
x
a ln
-------- C + =
u Cx =
math guide - 34.74
• Some other integrals of use that are basically functions of x are,
x x d sin

x cos – C + =
x x d cos

x sin C + =
x sin ( )
2
x d

x x cos sin x +
2
------------------------------- – C + =
x cos ( )
2
x d

x x cos sin x +
2
------------------------------- C + =
x sin ( )
3
x d

x x sin ( )
2
2 + ( ) cos
3
-------------------------------------------- – C + =
x cos ( )
3
x d

x sin x cos ( )
2
2 + ( )
3
-------------------------------------------- C + =
x cos ( )
4
x d

3x
8
------
2x sin
4
-------------
4x sin
32
------------- C + + + =
x x sin ( ) cos
n
x d

x sin ( )
n 1 +
n 1 +
------------------------ - C + =
x sinh x d

x cosh C + =
x cosh x d

x sinh C + =
x tanh x d

x cosh ( ) ln C + =
x ax ( ) x d cos

ax ( ) cos
a
2
-------------------
x
a
--- ax ( ) sin C + + =
x
2
ax ( ) x d cos

2x ax ( ) cos
a
2
--------------------------
a
2
x
2
2 –
a
3
------------------- ax ( ) sin C + + =
math guide - 34.75
x
n
x d

x
n 1 +
n 1 +
------------ C + =
a bx + ( )
1 –
x d

a bx + ln
b
----------------------- C + =
a bx
2
+ ( )
1 –
x d

1
2 b – ( )a
----------------------
a 2 b – +
a x b – –
---------------------------
\ .
| |
ln C a 0 b 0 < , > , + =
x a bx
2
+ ( )
1 –
x d

bx
2
a + ( ) ln
2b
---------------------------- C + =
x
2
a bx
2
+ ( )
1 –
x d

x
b
---
a
b ab
-------------
x ab
a
-------------
\ .
| |
atan – C + =
a
2
x
2
– ( )
1 –
x d

1
2a
------
a x +
a x –
------------
\ .
| |
ln C a
2
x
2
> , + =
a bx + ( )
1 –
x d

2 a bx +
b
---------------------- C + =
x x
2
a
2
± ( )
1
2
--- –
x d

x
2
a
2
± C + =
a bx cx
2
+ + ( )
1 –
x d

1
c
------ a bx cx
2
+ + x c
b
2 c
---------- + + ln C c 0 > , + =
a bx cx
2
+ + ( )
1 –
x d

1
c –
----------
2cx – b –
b
2
4ac –
------------------------- asin C c 0 < , + =
CORRECT??
math guide - 34.76
a bx + ( )
1
2
---
x d

2
3b
------ a bx + ( )
3
2
---
=
a bx + ( )
1
2
---
x d

2
3b
------ a bx + ( )
3
2
---
=
x a bx + ( )
1
2
---
x d

2 2a 3bx – ( ) a bx + ( )
3
2
---
15b
2
----------------------------------------------------- – =
1 a
2
x
2
+ ( )
1
2
---
x d

x 1 a
2
x
2
+ ( )
1
2
---
x
1
a
2
----- x
2
+
\ .
| |
1
2
---
+
\ .
|
|
| |
ln
a
--------------------------------------------- +
2
----------------------------------------------------------------------------------- =
x 1 a
2
x
2
+ ( )
1
2
---
x d

a
1
a
2
----- x
2
+
\ .
| |
3
2
---
3
---------------------------- =
x
2
1 a
2
x
2
+ ( )
1
2
---
x d

ax
4
------
1
a
2
----- x
2
+
\ .
| |
3
2
---
8
8a
2
--------x 1 a
2
x
2
+ ( )
1
2
---

x
1
a
2
----- x
2
+
\ .
| |
1
2
---
+
\ .
|
|
| |
ln
8a
3
--------------------------------------------- – =
1 a
2
x
2
– ( )
1
2
---
x d

1
2
--- x 1 a
2
x
2
– ( )
1
2
---
ax ( ) asin
a
--------------------- + =
x 1 a
2
x
2
– ( )
1
2
---
x d

a
3
---
1
a
2
----- x
2

\ .
| |
3
2
---
– =
x
2
a
2
x
2
– ( )
1
2
---
x d

x
4
--- a
2
x
2
– ( )
3
2
---

1
8
-- - x a
2
x
2
– ( )
1
2
---
a
2 x
a
---
\ .
| |
asin + + =
1 a
2
x
2
+ ( )
1
2
--- –
x d

1
a
--- x
1
a
2
----- x
2
+
\ .
| |
1
2
---
+ ln =
1 a
2
x
2
– ( )
1
2
--- –
x d

1
a
--- ax ( ) asin
1
a
--- ax ( ) acos – = =
math guide - 34.77
• Integrals using the natural logarithm base ‘e’,
34.6.2 Vector Calculus
• When dealing with large and/or time varying objects or phenomenon we must be
able to describe the state at locations, and as a whole. To do this vectors are a very useful
tool.
• Consider a basic function and how it may be represented with partial derivatives.
e
ax
x d

e
ax
a
------- C + =
xe
ax
x d

e
ax
a
2
------- ax 1 – ( ) C + =
math guide - 34.78
• Gauss’s or Green’s or divergence theorem is given below. Both sides give the
flux across a surface, or out of a volume. This is very useful for dealing with magnetic
fields.
y f x y z , , ( ) =
d ( )y
x ∂

\ .
| |
f x y z , , ( )
\ .
| |
dx
y ∂

\ .
| |
f x y z , , ( )
\ .
| |
dy
z ∂

\ .
| |
f x y z , , ( )
\ .
| |
dz + + =
d ( )y
x ∂

\ .
| |
dx
y ∂

\ .
| |
dy
z ∂

\ .
| |
dz + + f x y z , , ( ) =
We can write this in differential form, but the right hand side must contain partial
derivatives. If we separate the operators from the function, we get a simpler form.
We can then look at them as the result of a dot product, and divide it into two vec-
tors.
d ( )y
x ∂

i
y ∂

j
z ∂

k + +
\ .
| |
dxi dyj dzk + + ( ) • f x y z , , ( ) =
d ( )y ∇ dX • [ ]f x y z , , ( ) =
d ( )y ∇f x y z , , ( ) dX • =
d ( )y ∇f x y z , , ( ) dX θ cos =
We then replace these vectors with the operators below. In this form we can manipu-
late the equation easily (whereas the previous form was very awkward).
In summary,

x ∂

i
y ∂

j
z ∂

k + + = ∇ F • the divergence of function F =
∇ F × the curl of function F =
F F
x
i F
y
j F
z
k + + =
∇ F • ( ) V d
V

FdA
A

°
=
where,
V A , a volume V enclosed by a surface area A =
F a field or vector value over a volume =
math guide - 34.79
• Stoke’s theorem is given below. Both sides give the flux across a surface, or out
of a volume. This is very useful for dealing with magnetic fields.
34.6.3 Differential Equations
• Solving differential equations is not very challenging, but there are a number of
forms that need to be remembered.
• Another complication that often occurs is that the solution of the equations may
vary depending upon boundary or initial conditions. An example of this is a mass spring
combination. If they are initially at rest then they will stay at rest, but if there is some dis-
turbance, then they will oscillate indefinitely.
• We can judge the order of these equations by the highest order derivative in the
equation.
• Note: These equations are typically shown with derivatives only, when integrals
occur they are typically eliminated by taking derivatives of the entire equation.
• Some of the terms used when describing differential equations are,
ordinary differential equations - if all the derivatives are of a single variable. In the
example below ’x’ is the variable with derivatives.
first-order differential equations - have only first-order derivatives,
∇ F × ( ) A d
A

FdL
L

°
=
where,
A L , A surface area A, with a bounding parimeter of length L =
F a field or vector value over a volume =
d
dt
-----
\ .
| |
2
x
d
dt
-----
\ .
| |
x + y = e.g.,
d
dt
-----
\ .
| |
x
d
dt
-----
\ .
| |
y + 2 = e.g.,
math guide - 34.80
second-order differential equations - have at least on second derivative,
higher order differential equations - have at least one derivative that is higher than
second-order.
partial differential equations - these equations have partial derivatives
• Note: when solving these equations it is common to hit blocks. In these cases
backtrack and try another approach.
• linearity of a differential equation is determined by looking at the dependant vari-
ables in the equation. The equation is linear if they appear with an exponent other than 1.
34.6.3.1 - First-order Differential Equations
• These systems tend to have a relaxed or passive nature in real applications.
• Examples of these equations are given below,
• Typical methods for solving these equations include,
guessing then testing
separation
d
dt
-----
\ .
| |
2
x
d
dt
---- -
\ .
| |
y + 2 = e.g.,
y'' y' 2 + + 5x =
linear
y'' ( )
2
y' 2 + + 5x =
non-linear
y'' y' ( )
3
2 + + 5x =
non-linear
y'' y' ( ) sin 2 + + 5x =
non-linear
eg.
y' 2xy
2
4x
3
– + 0 =
y' 2y – 0 =
math guide - 34.81
homogeneous
34.6.3.1.1 - Guessing
• In this technique we guess at a function that will satisfy the equation, and test it to
see if it works.
• The previous example showed a general solution (i.e., the value of ’C’ was not
found). We can also find a particular solution.
34.6.3.1.2 - Separable Equations
• In a separable equation the differential can be split so that it is on both sides of
the equation. We then integrate to get the solution. This typically means there is only a sin-
gle derivative term.
y' y + 0 = the given equation
y Ce
t –
= the guess
now try to substitute into the equation
y' Ce
t –
– =
y' y + Ce
t –
– Ce
t –
+ 0 = = therefore the guess worked - it is correct
y Ce
t –
=
y Ce
t –
= a general solution
y 5e
t –
= a particular solution
math guide - 34.82
34.6.3.1.3 - Homogeneous Equations and Substitution
• These techniques depend upon finding some combination of the variables in the
equation that can be replaced with another variable to simplify the equation. This tech-
nique requires a bit of guessing about what to substitute for, and when it is to be applied.
dx
dy
------ y
2
2y 3 + + + 0 =
e.g.,
dx ∴ y
2
– 2y – 3 – ( )dy =
x ∴
y
3

3
-------- y
2
– 3y – C + =
dx
dy
------ x + 0 =
e.g.,
1
x
--- –
\ .
| |
dx ∴ dy =
x – ( ) ln ∴ y =
math guide - 34.83
34.6.3.2 - Second-order Differential Equations
• These equations have at least one second-order derivative.
• In engineering we will encounter a number of forms,
- homogeneous
- nonhomogeneous
34.6.3.2.1 - Linear Homogeneous
• These equations will have a standard form,
dy
dx
------
y
x
-- 1 – =
e.g., the equation given
u
y
x
-- =
the substitution chosen
dy
dx
------ u 1 – =
u x
du
dx
------ + ∴ u 1 – =
du
dx
------ ∴
1 –
x
------ =
du
dx
------ – ∴
1
x
--- =
u – ∴ x ( ) ln C + =
Put the substitution in and solve the differential equation,
Substitute the results back into the original substitution equation to get rid of ’u’,
y
x
-- – x ( ) ln C + =
y ∴ x x ( ) ln – Cx – =
math guide - 34.84
• An example of a solution is,
34.6.3.2.2 - Nonhomogeneous Linear Equations
• These equations have the general form,
d
dt
-----
\ .
| |
2
y A
d
dt
-----
\ .
| |
y By + + 0 =
d
dt
-----
\ .
| |
2
y 6
d
dt
-----
\ .
| |
y 3y + + 0 =
y e
Bt
=
e.g.,
Guess,
d
dt
-----
\ .
| |
y Be
Bt
=
d
dt
-----
\ .
| |
2
y B
2
e
Bt
=
substitute and solve for B,
B
2
e
Bt
6Be
Bt
3e
Bt
+ + 0 =
B
2
6B 3 + + 0 =
B 3 – 2.449j + 3 – 2.449j – , =
substitute and solve for B,
y e
3 – 2.449j + ( )t
=
y e
3 – t
e
2.449jt
=
y e
3 – t
2.449t ( ) cos j 2.449t ( ) sin + ( ) =
Note: if both the roots are the same,
y C
1
e
Bt
C
2
te
Bt
+ =
math guide - 34.85
• to solve these equations we need to find the homogeneous and particular solu-
tions and then add the two solutions.
• Consider the example below,
d
dt
-----
\ .
| |
2
y A
d
dt
-----
\ .
| |
y By + + Cx =
y y
h
y
p
+ =
d
dt
-----
\ .
| |
2
y A
d
dt
-----
\ .
| |
y B + + 0 =
to find yh solve,
to find yp guess at a value of y and then test for validity, A good table of guesses is,
A
Cx form
C
Guess
Ax B + Cx D +
e
Ax
Ce
Ax
B Ax ( ) sin C Ax ( ) sin D Ax ( ) cos +
Cxe
Ax
B Ax ( ) cos
Cx Ax ( ) sin xD Ax ( ) cos +
or
or
math guide - 34.86
34.6.3.3 - Higher Order Differential Equations
34.6.3.4 - Partial Differential Equations
• Partial difference equations become critical with many engineering applications
involving flows, etc.
d
dt
-----
\ .
| |
2
y
d
dt
-----
\ .
| |
y 6y – + e
2x –
=
First solve for the homogeneous part,
d
dt
-----
\ .
| |
2
y
d
dt
-----
\ .
| |
y 6y – + 0 =
B
2
e
Bx
Be
Bx
6e
Bx
– + 0 =
try
y e
Bx
=
d
dt
-----
\ .
| |
y Be
Bx
=
d
dt
-----
\ .
| |
2
y B
2
e
Bx
=
B
2
B 6 – + 0 =
B 3 – 2 , =
y
h
e
3x –
e
2x
+ =
Next, solve for the particular part. We will guess the function below.
y Ce
2x –
=
d
dt
-----
\ .
| |
y 2C – e
2x –
=
d
dt
-----
\ .
| |
2
y 4Ce
2x –
=
4Ce
2x –
2C – e
2x –
6Ce
2x –
– + e
2x –
=
4C 2C – 6C – 1 =
C 0.25 =
y
p
0.25e
2x –
=
Finally,
y e
3x –
e
2x
0.25e
2x –
+ + =
math guide - 34.87
34.6.4 Other Calculus Stuff
• The Taylor series expansion can be used to find polynomial approximations of
functions.
34.6.5 Practice Problems
1. Find the derivative of the function below with respect to time.
2. Solve the following differential equation, given the initial conditions at t=0s.
f x ( ) f a ( ) f' a ( ) x a – ( )
f'' a ( ) x a – ( )
2
2!
------------------------------- …
f
n 1 – ( )
a ( ) x a – ( )
n 1 –
n 1 – ( )!
------------------------------------------------ + + + + =
3t
2 t + ( )
2
------------------ e
2t
+
(ans. d
dt
---- -
\ .
| |
3t
2 t + ( )
2
------------------ e
2t
+
\ .
| |
d
dt
-----
\ .
| |
3t 2 t + ( )
2 –
( )
d
dt
-----
\ .
| |
e
2t
( ) + 3 2 t + ( )
2 –
6t 2 t + ( )
3 –
– 2e
2t
+ = =
x'' 4x' 4x + + 5t = x
0
0 = x'
0
0 =
math guide - 34.88
3. Find the following derivatives.
(ans. homogeneous solution:
x'' 4x' 4x + + 0 =
guess:
x
h
e
At
= x
h
' Ae
At
= x
h
'' A
2
e
At
=
0 ( ) 4 A ( ) 4 At B + ( ) + + 5t =
A
2
e
At
4Ae
At
4e
At
+ + 0 A
2
4A 4 + + A 2 + ( ) A 2 + ( ) = = =
A
5
4
--- 1.25 = =
x
p
At B + =
x
h
C
1
e
2t –
C
2
te
2t –
+ =
particular solution:
guess:
x
p
' A = x
p
'' 0 =
4A 4B + ( ) 4A ( )t + 0 ( ) 5 ( )t + =
4 1.25 ( ) 4B + 0 = B 1.25 – =
x
p
1.25t 1.25 – =
combine and solve for constants:
x t ( ) x
h
x
p
+ C
1
e
2t –
C
2
te
2t –
1.25t 1.25 – + + = =
C
2
1.25 =
C
1
1.25 =
for x(0) = 0
0 C
1
e
2 0 ( ) –
C
2
0 ( )e
2 0 ( ) –
1.25 0 ( ) 1.25 – + + C
1
1.25 – = =
2 – C
1
C
2
1.25 + + 0 2 – 1.25 ( ) C
2
1.25 + + = =
for (d/dt)x(0) = 0
0 2 – ( )C
1
e
2 0 ( ) –
2 – ( )C
2
0 ( )e
2 0 ( ) –
C
2
e
2 0 ( ) –
1.25 + + + =
x t ( ) 1.25e
2t
1.25te
2t
1.25t 1.25 – + + =
d
dt
----- t sin t cos + ( )
a)
d
dt
----- t 2 + ( )
2 –
( )
b)
d
dt
----- 5te
8t
( )
c)
d
dt
---- - 5 t ln ( )
d)
math guide - 34.89
4. Find the following integrals
5. Find the following derivative.
d
dt
---- - t sin t cos + ( )
d
dt
----- t sin ( )
d
dt
---- - t cos ( ) + t cos t sin – = =
a)
d
dt
----- t 2 + ( )
2 –
( ) 2 – t 2 + ( )
3 –
=
b)
d
dt
---- - 5te
8t
( ) 5e
8t
40te
8t
+ =
c)
d
dt
---- - 5 t ln ( )
5
t
--- =
d)
(ans.
6

t
2
dt
a)
14

e
7t
dt
b)
0.5t ( ) sin t d

c)
5
x
--- x d

d)
6

t
2
dt 6
t
3
3
----
\ .
| |
2t
3
C + = =
a)
14

e
7t
dt 14
e
7t
7
------
\ .
| |
C + 2e
7t
C + = =
b)
0.5t ( ) sin t d

0.5t ( ) cos –
0.5
-------------------------- C + 2 0.5t ( ) cos – C + = =
c)
5
x
--- x d

5 x ( ) ln C + =
d)
(ans.
d
dt
---- - 5te
4t
t 4 + ( )
3 –
+ ( )
math guide - 34.90
6. Find the following derivatives.
7. Solve the following integrals.
8. Solve the following differential equation.
d
dx
------
1
x 1 +
------------
\ .
| |
d
dt
----- e
t –
2t 4 – ( ) sin ( )
a)
b)
d
dx
------
1
x 1 +
------------
\ .
| |
1 –
x 1 + ( )
2
------------------- =
d
dt
----- e
t –
2t 4 – ( ) sin ( ) e
t –
– 2t 4 – ( ) sin 2e
t –
2t 4 – ( ) cos + =
a)
b)
(ans.
e
2t
t d

θ sin 3θ cos + ( ) θ d

a)
b)
e
2t
t d

0.5e
2t
C + =
θ sin 3θ cos + ( ) θ d

θ cos –
1
3
--- 3θ sin C + + =
a)
b)
(ans.
x'' 5x' 3x + + 3 = x 0 ( ) 1 =
x' 0 ( ) 1 =
math guide - 34.91
9. Set up an integral and solve it to find the volume inside the shape below. The shape is basically
a cone with the top cut off.
x'' 5x' 3x + + 3 = x 0 ( ) 1 = x' 0 ( ) 1 =
Homogeneous:
(ans.
Particular:
A
2
5A 4 + + 0 =
A
5 – 25 16 – ±
2
------------------------------------
5 – 3 ±
2
---------------- 4 – 1 – , = = =
x
h
C
1
e
4t –
C
2
e
t –
+ =
x
p
A = x'
p
0 = x''
p
0 =
0 5 0 ( ) 3A + + 3 = A 1 =
x
p
1 =
Initial values:
x x
h
x
p
+ C
1
e
4t –
C
2
e
t –
1 + + = =
x' 4C –
1
e
4t –
C
2
e
t –
– =
1 4C –
1
1 ( ) C
2
1 ( ) – =
1 C
1
1 ( ) C
2
1 ( ) 1 + + = C
1
C
2
– =
4 C
2
– ( ) C
2
+ 1 – = C
2
1
3
--- =
C
1
1
3
--- – =
x
1
3
--- – e
4t – 1
3
---e
t –
1 + + =
math guide - 34.92
10. Solve the first order non-homogeneous differential equation below. Assume the system starts
at rest.
11. Solve the second order non-homogeneous differential equation below.
a
b
c
x
y
z
(ans.
V V d

A x d
0
a

= =
r b
c b –
a
-----------
\ .
| |
x + =
A πr
2
π b
c b –
a
-----------
\ .
| |
x +
\ .
| |
2
πb
2

c b –
a
-----------
\ .
| |
x π
c b –
a
-----------
\ .
| |
2
x
2
+ + = = =
V πb
2

c b –
a
-----------
\ .
| |
x π
c b –
a
-----------
\ .
| |
2
x
2
+ +
\ .
| |
x d
0
a

=
V πb
2
x π
c b –
a
-----------
\ .
| |
x
2 π
3
---
c b –
a
-----------
\ .
| |
2
x
3
+ +
0
a
=
V πb
2
a π
c b –
a
-----------
\ .
| |
a
2 π
3
---
c b –
a
-----------
\ .
| |
2
a
3
+ + =
V πb
2
a π c b – ( )a
π
3
--- c b – ( )
2
a
2
+ + =
2x' 4x + 5 4t sin =
2x'' 4x' 2x + + 5 = where, x 0 ( ) 2 =
x' 0 ( ) 0 =
math guide - 34.93
34.7 NUMERICAL METHODS
• These techniques approximate system responses without doing integrations, etc.
34.7.1 Approximation of Integrals and Derivatives from Sampled Data
• This form of integration is done numerically - this means by doing repeated cal-
culations to solve the equation. Numerical techniques are not as elegant as solving differ-
ential equations, and will result in small errors. But these techniques make it possible to
solve complex problems much faster.
• This method uses forward/backward differences to estimate derivatives or inte-
grals from measured data.
T T
y
i 1 –
y
i 1 +
t
i
y
i
t
i 1 –
t
i 1 +
y t ( )
y t
i
( )
t
i 1 –
t
i

y
i
y
i 1 –
+
2
---------------------
\ .
| |
t
i
t
i 1 –
– ( ) ≈
T
2
--- y
i
y
i 1 –
+ ( ) =
d
dt
-----y t
i
( )
y
i
y
i 1 –

t
i
t
i 1 –

---------------------
\ .
| |

y
i 1 +
y
i

t
i 1 +
t
i

---------------------
\ .
| |
1
T
--- y
i
y
i 1 –
– ( )
1
T
--- y
i 1 +
y
i
– ( ) = = =
d
dt
-----
\ .
| |
2
y t
i
( )
1
T
--- y
i 1 +
y
i
– ( )
1
T
--- y
i
y
i 1 –
– ( ) –
T
----------------------------------------------------------------- ≈
2 – y
i
y
i 1 –
y
i 1 +
+ +
T
2
--------------------------------------------- =
math guide - 34.94
34.7.2 Euler First-order Integration
• We can also estimate the change resulting from a derivative using Euler’s equa-
tion for a first-order difference equation.
34.7.3 Taylor Series Integration
• Recall the basic Taylor series,
• When h=0 this is called a MacLaurin series.
• We can integrate a function by,
y t h + ( ) y t ( ) h
d
dt
-----y t ( ) + ≈
x t h + ( ) x t ( ) h
d
dt
-----
\ .
| |
x t ( )
1
2!
---- -h
2 d
dt
---- -
\ .
| |
2
x t ( )
1
3!
---- -h
3 d
dt
---- -
\ .
| |
3
x t ( )
1
4!
---- -h
4 d
dt
---- -
\ .
| |
4
x t ( ) … + + + + + =
d
dt
-----
\ .
| |
x 1 x
2
t
3
+ + =
d
dt
-----
\ .
| |
x
0
0 =
x
0
0 =
h 0.1 =
t (s)
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
x(t)
0
d/dt x(t)
0
math guide - 34.95
34.7.4 Runge-Kutta Integration
• The equations below are for calculating a fourth order Runge-Kutta integration.
34.7.5 Newton-Raphson to Find Roots
• When given an equation where an algebraic solution is not feasible, a numerical
solution may be required. One simple technique uses an instantaneous slope of the func-
tion, and takes iterative steps towards a solution.
• The function f(x) is supplied by the user.
x t h + ( ) x t ( )
1
6
--- F
1
2F
2
2F
3
F
4
+ + + ( ) + =
F
1
hf t x , ( ) =
F
2
hf t
h
2
--- + x
F
1
2
------ + ,
\ .
| |
=
F
3
hf t
h
2
--- + x
F
2
2
------ + ,
\ .
| |
=
F
4
hf t h + x F
3
+ , ( ) =
where,
x = the state variables
f = the differential function
t = current point in time
h = the time step to the next integration point
x
i 1 +
x
i
f x
i
( )
d
dx
------f x
i
( )
\ .
| |
----------------------- – =
math guide - 34.96
• This method can become divergent if the function has an inflection point near the
root.
• The technique is also sensitive to the initial guess.
• This calculation should be repeated until the final solution is found.
34.8 LAPLACE TRANSFORMS
• The Laplace transform allows us to reverse time. And, as you recall from before
the inverse of time is frequency. Because we are normally concerned with response, the
Laplace transform is much more useful in system analysis.
• The basic Laplace transform equations is shown below,
34.8.1 Laplace Transform Tables
• Basic Laplace Transforms for operational transformations are given below,
F s ( ) f t ( )e
st –
t d
0

=
where,
F s ( ) the function in terms of the Laplace s =
f t ( ) the function in terms of time t =
math guide - 34.97
• A set of useful functional Laplace transforms are given below,
Kf t ( )
f
1
t ( ) f
2
t ( ) f
3
– t ( ) … + +
df t ( )
dt
-----------
d
2
f t ( )
dt
2
--------------
d
n
f t ( )
dt
n
--------------
f t ( ) t d
0
t

f t a – ( )u t a – ( ) a 0 > ,
f at ( ) a 0 > ,
tf t ( )
t
n
f t ( )
f t ( )
t
--------
Kf s ( )
f
1
s ( ) f
2
s ( ) f
3
– s ( ) … + +
sf s ( ) f 0

( ) –
s
2
f s ( ) sf 0

( ) –
df 0

( )
dt
------------------ –
s
n
f s ( ) s
n 1 –
f 0

( ) – s
n 2 – df 0

( )
dt
------------------ – … –
d
n
f 0

( )
dt
n
-------------------- –
f s ( )
s
---------
e
as –
f s ( )
1
a
-- -f
s
a
---
\ .
| |
df s ( ) –
ds
---------------
1 – ( )
nd
n
f s ( )
ds
n
---------------
f u ( ) u d
s

e
at –
f t ( )
f s a – ( )
TIME DOMAIN
FREQUENCY DOMAIN
math guide - 34.98
• Laplace transforms can be used to solve differential equations.
A
t
e
at –
ωt ( ) sin
ωt ( ) cos
te
at –
e
at –
ωt ( ) sin
e
at –
ωt ( ) cos
A
s a –
-----------
A
s a – ( )
2
------------------
A
s α βj – +
-----------------------
A
complex conjugate
s α βj + +
------------------------------------- - +
A
s α βj – + ( )
2
-------------------------------
A
complex conjugate
s α βj + + ( )
2
-------------------------------------- +
A
s
---
1
s
2
----
1
s a +
-----------
ω
s
2
ω
2
+
-----------------
s
s
2
ω
2
+
-----------------
1
s a + ( )
2
-------------------
ω
s a + ( )
2
ω
2
+
--------------------------------
s a +
s a + ( )
2
ω
2
+
--------------------------------
Ae
at –
Ate
at –
2 A e
αt –
βt θ + ( ) cos
2t A e
αt –
βt θ + ( ) cos
TIME DOMAIN FREQUENCY DOMAIN
math guide - 34.99
34.9 z-TRANSFORMS
• For a discrete-time signal , the two-sided z-transform is defined by
. The one-sided z-transform is defined by . In
both cases, the z-transform is a polynomial in the complex variable .
• The inverse z-transform is obtained by contour integration in the complex plane
. This is usually avoided by partial fraction inversion tech-
niques, similar to the Laplace transform.
• Along with a z-transform we associate its region of convergence (or ROC). These
are the values of for which is bounded (i.e., of finite magnitude).
x n [ ]
X z ( ) x n [ ]z
n –
n ∞ – =

= X z ( ) x n [ ]z
n –
n 0 =

=
z
x n [ ]
1
j2π
-------- X z ( )z
n 1 –
dz

°
=
z X z ( )
math guide - 34.100
• Some common z-transforms are shown below.
Table 1: Common z-transforms
Signal z-Transform
ROC
1 All
x n [ ] X z ( )
δ n [ ] z
u n [ ]
1
1 z
1 –

----------------
z 1 >
nu n [ ]
z
1 –
1 z
1 –
– ( )
2
-----------------------
z 1 >
n
2
u n [ ]
z
1 –
1 z
1 –
+ ( )
1 z
1 –
– ( )
3
-----------------------------
z 1 >
a
n
u n [ ]
1
1 az
1 –

-------------------
z a >
na
n
u n [ ]
az
1 –
1 az
1 –
– ( )
2
--------------------------
z a >
a
n
– ( )u n – 1 – [ ]
1
1 az
1 –

-------------------
z a <
na
n
– ( )u n – 1 – [ ]
az
1 –
1 az
1 –
– ( )
2
--------------------------
z a <
ω
0
n ( ) cos u n [ ]
1 z
1 –
ω
0
cos –
1 2z
1 –
ω
0
cos – z
2 –
+
-------------------------------------------------
z 1 >
ω
0
n ( ) sin u n [ ]
z
1 –
ω
0
sin
1 2z
1 –
ω
0
cos – z
2 –
+
-------------------------------------------------
z 1 >
a
n
ω
0
n ( ) cos u n [ ]
1 az
1 –
ω
0
cos –
1 2az
1 –
ω
0
cos – a
2
z
2 –
+
----------------------------------------------------------
z a >
math guide - 34.101
• The z-transform also has various properties that are useful. The table below lists
properties for the two-sided z-transform. The one-sided z-transform properties can be
derived from the ones below by considering the signal instead of simply .
Table 2: Two-sided z-Transform Properties
Property Time Domain z-Domain ROC
Notation
Linearity At least the intersec-
tion of and
Time Shifting
That of , except
if and
if
z-Domain Scaling
Time Reversal
z-Domain
Differentiation
Table 1: Common z-transforms
Signal z-Transform
ROC
x n [ ] X z ( )
a
n
ω
0
n ( ) sin u n [ ]
az
1 –
ω
0
sin
1 2az
1 –
ω
0
cos – a
2
z
2 –
+
----------------------------------------------------------
z a >
n!
k! n k – ( )!
-----------------------u n [ ]
z
k –
1 z
1 –
– ( )
k 1 +
------------------------------
z 1 >
x n [ ]u n [ ] x n [ ]
x n [ ]
x
1
n [ ]
x
2
n [ ]
X z ( )
X
1
z ( )
X
2
z ( )
r
2
z r
1
< <
ROC
1
ROC
2
αx
1
n [ ] βx
2
n [ ] + αX
1
z ( ) βX
2
z ( ) +
ROC
1
ROC
2
x n k – [ ]
z
k –
X z ( )
X z ( )
z 0 = k 0 >
z ∞ = k 0 <
a
n
x n [ ] X a
1 –
z ( )
a r
2
z a r
1
< <
x n – [ ]
X z
1 –
( )
1
r
1
---- z
1
r
2
---- < <
nx n [ ]
z –
dX z ( )
dz
--------------
r
2
z r
1
< <
math guide - 34.102
34.10 FOURIER SERIES
• These series describe functions by their frequency spectrum content. For example
a square wave can be approximated with a sum of a series of sine waves with varying
magnitudes.
• The basic definition of the Fourier series is given below.
34.11 TOPICS NOT COVERED (YET)
• To ensure that the omissions are obvious, I provide a list of topics not covered
below. Some of these may be added later if their need becomes obvious.
• Frequency domain - Fourier, Bessel
Convolution At least the intersec-
tion of and
Multiplication At least
Initial value theo-
rem
causal
Table 2: Two-sided z-Transform Properties
Property Time Domain z-Domain ROC
x
1
n [ ]*x
2
n [ ] X
1
z ( )X
2
z ( )
ROC
1
ROC
2
x
1
n [ ]x
2
n [ ]
1
j2π
-------- X
1
v ( )X
2
z
v
--
\ .
| |
v
1 –
dv

°
r
1l
r
2l
z r
1u
r
2u
< <
x n [ ] x 0 [ ] X z ( )
z ∞ →
lim =
f x ( )
a
0
2
----- a
n
nπx
L
---------
\ .
| |
cos b
n
nπx
L
---------
\ .
| |
sin +
n 1 =

+ =
a
n
1
L
--- f x ( )
nπx
L
---------
\ .
| |
cos x d
L –
L

= b
n
1
L
--- f x ( )
nπx
L
---------
\ .
| |
sin x d
L –
L

=
math guide - 34.103
34.12 REFERENCES/BIBLIOGRAPHY
Spiegel, M. R., Mathematical Handbook of Formulas and Tables, Schaum’s Outline Series,
McGraw-Hill Book Company, 1968.

math guide - 34.2

- integration using Laplace transforms - probability - permutations and combinations - mean, standard deviation, mode, etc. - log properties - taylor series - partial fractions - basic coordinate transformations - cartesian, cylindrical, spherical - trig identities - derivative - basics, natural log, small angles approx., chain rule, partial fractions

34.1.1 Constants and Other Stuff
• A good place to start a short list of mathematical relationships is with greek letters

name lower case α β γ δ ε ζ η θ ι κ λ µ ν ξ ο π ρ σ τ υ φ χ ψ ω upper case Α Β Γ ∆ Ε Ζ Η Θ Ι Κ Λ Μ Ν Ξ Ο Π Ρ Σ Τ Υ Φ Χ Ψ Ω alpha beta gamma delta epsilon zeta eta theta iota kappa lambda mu nu xi omicron pi rho sigma tau upsilon phi chi psi omega

math guide - 34.3

Figure 34.1

The greek alphabet

• The constants listed are amount some of the main ones, other values can be derived through calculation using modern calculators or computers. The values are typically given with more than 15 places of accuracy so that they can be used for double precision calculations.

1 n e = 2.7182818 = lim  1 + -- = natural logarithm base n n → ∞ π = 3.1415927 = pi γ = 0.57721566 = Eulers constant 1radian = 57.29578°

Figure 34.2

Some universal constants

34.1.2 Basic Operations
• These operations are generally universal, and are described in sufficient detail for our use. • Basic properties include,

commutative distributive associative

a+b = b+a a ( b + c ) = ab + ac a ( bc ) = ( ab )c a + (b + c) = (a + b) + c

Figure 34.3

Basic algebra properties

4 34.= x n – m m (x ) (x ) n m n n m n+m x = 1 .1.1.1 .Factorial • A compact representation of a series of increasing multiples. .4 The basic factorial operator 34.3 Exponents and Logarithms • The basic properties of exponents are so important they demand some sort of mention (x )( x ) = x (x ) ---------.math guide . n! = 1 ⋅ 2 ⋅ 3 ⋅ 4 ⋅ … ⋅ n 0! = 1 Figure 34. if x is not 0 x –p 0 x = x m --n 1 -n n x x m 1= ---p x n n n = n = x n⋅m ( xy ) = ( x ) ( y ) n x = nx -----y n y Figure 34.5 Properties of exponents • Logarithms also have a few basic properties of use.2.34.

1.math guide .4 Polynomial Expansions • Binomial expansion for polynomials. logn ( xy ) = log n ( x ) + log n ( y ) x logn  .34.6 Definitions of logarithms • All logarithms observe a basic set of rules for their application.5 The basic base 10 logarithm: log x = y The basic base n logarithm: log n x = y x = n y x = 10 y The basic natural logarithm (e is a constant with a value found near the start of this section: ln x = log e x = y x = e y Figure 34. = log n ( x ) – logn ( y )  y log n ( x ) = ylogn ( x ) log m ( x ) log n ( x ) = -----------------logm ( n ) ln ( A ∠θ ) = ln ( A ) + ( θ + 2πk )j k∈I y logn ( n ) = 1 logn ( 1 ) = 0 Figure 34.7 Properties of logarithms 34. .

8 A general expansion of a polynomial 34.= --.+ --.5 Practice Problems 1.a x +…+x 2! Figure 34.3  9  5 - 4 ------5 (y + 4) (y – 2) x y x+1 ----------. a) b) c) d) e) f) g) x ( x + 2 ) – 3x 2 ( x + 3 ) ( x + 1 )x -------------------------------------(x + 1) x 3 log ( x ) 64 ----16 15 --------.= x 2 + 2x + 1 -----------------(x + 1) 2 2 2. Are the following expressions equivalent? a) b) c) d) e) f) g) h) A ( 5 + B ) – C = 5A + B – C A+B A B ------------.1.+ 321 28 (x y ) 2 2 3 4 4 2 2 h) i) 5  8 -.= 4 x+2 2 3 j) k) l) 4x – 8y .6 ( a + x ) = a + na n n n–1 n( n – 1 ) n – 2 2 n x + ------------------. Simplify the following expressions.math guide .C+D C D log ( ab ) = log ( a ) + log ( b ) 5(5 ) = 5 4 5 3 log ( 4 ) = log ( 16 ) ( x + 6 ) ( x – 6 ) = x + 36 log ( 5 ) 10 = ----10 5 6 ( x + 1 ) .34.-.

A.  x2  d) log ( x 5 ) + log ( x 3 ) (ans.+ -----. Simplify the following expressions.+ -.= -----.AB AB AB B A AB b) -----------A + B cannot be simplified 4 5 c)  ( x y )  -------------.math guide .7 3. a) n log ( x ) + m log ( x ) – log ( x ) 2 3 4 (ans.34.= -. a) n log ( x ) + m log ( x ) – log ( x ) 2n log ( x ) + 3m log ( x ) – 4 log ( x ) ( 2n + 3m – 4 ) log ( x ) ( 2n + 3m – 4 ) log ( x ) 2 3 4 .B1 1 a) A + B -----------. Simplify the following expressions.  x2  3 = (x y ) = x y 2 5 3 6 15 d) log ( x 5 ) + log ( x 3 ) = 5 log ( x ) + 3 log ( x ) = 8 log ( x ) 4. a) A + B -----------AB AB b) -----------A+B 4 5 3 c)  ( x y )  -------------.

y+x ---------.math guide . Rearrange the following equation so that only ‘y’ is on the left hand side.= 0. a)  t3 + 5  lim  ---------------- t → 0 5t 3 + 1  t3 + 5  lim  ---------------- t → ∞ 5t 3 + 1 b) (ans.= x + 2 y+z (ans.2 lim  3 3 t → ∞ 5t 3 + 1 5(∞) + 1 5(∞) . Find the limits below.34. a) b) 3  t3 + 5  0 +5 lim  ---------------- = ---------------------.8 5.= x + 2 y+z y + x = (x + 2)(y + z) y + x = xy + xz + 2y + 2z y – xy – 2y = xz + 2z – x y ( – x – 1 ) = xz + 2z – x xz + 2z – x y = ------------------------–x–1 6. y+x ---------.= -------------.= 5 3 t → 0 5t 3 + 1 5(0) + 1 3 3  t3 + 5  ∞ +5 ∞ ---------------- = ----------------------.

therefore is of great importance.9 34.10 Quadratic equation .9 Distribution functions 34.2 FUNCTIONS 34.1 Discrete and Continuous Probability Distributions Binomial P(m) = Poisson P(m) = t≤m t≤m ∑  t p q   n λe -----------t! t –λ t n–t q = 1–p q.2.2 Basic Polynomials • The quadratic equation appears in almost every engineering discipline.2. ax + bx + c = 0 = a ( x – r 1 ) ( x – r 2 ) 2 – b ± b – 4ac r 1.math guide . 1 ] ∑ λ>0 Hypergeometric  r  s   t   n – t P ( m ) = ∑ ---------------------- r + s t≤m  n  1 x –t2 P ( x ) = ---------. r 2 = -------------------------------------2a 2 Figure 34.∫ e dt 2π –∞ Normal Figure 34. p ∈ [ 0.34.

math guide . This can be done by first reducing the equation to a quadratic.r 2 = ----------. 3b – a Q = ----------------9 2 3 2 9ab – 27c – 2a R = -------------------------------------54 3 S = 3 R+ Q +R 3 2 T = 3 R– Q +R 3 2 Then the roots. r 2 = z +  2 2     2 3 2 2 2 4 3 2  a – a 2 – 4b + 4y  y – y2 – 4d r 3.  a + a 2 – 4b + 4y  y + y2 – 4d ------------------------------------------- z +  ----------------------------. x + ax + bx + cx + d = 0 = ( x – r 1 ) ( x – r 2 ) ( x – r 3 ) ( x – r 4 ) First.– -.+ -------. z +  ----------------------------. x + ax + bx + c = 0 = ( x – r 1 ) ( x – r 2 ) ( x – r 3 ) First. and as a result should also be considered.34. find the roots of the 2 equations below.( S – T ) 2 3 2 S+T a j 3 .r 3 = ----------.10 • Cubic equations also appear on a regular basic. a r 1 = S + T – -3 S+T a j 3 .12 Quartic equations . solve the equation below to get a real root (call it ‘y’). = 0 2 2     2 Figure 34. r 4 = z +  -----------------------------------------. y – by + ( ac – 4d )y + ( 4bd – c – a d ) = 0 Next.11 Cubic equations • On a few occasions a quartic equation will also have to be solved. calculate.– -.( S – T ) 2 3 2 Figure 34.– -------. = 0 r 1.

math guide - 34.11

34.2.3 Partial Fractions
• The next is a flowchart for partial fraction expansions.

is the order of the numerator >= denominator?

yes

use long division to reduce the order of the numerator

no Find roots of the denominator and break the equation into partial fraction form with unknown values OR use limits technique. If there are higher order roots (repeated terms) then derivatives will be required to find solutions use algebra technique

Done

Figure 34.13 The methodolgy for solving partial fractions • The partial fraction expansion for,

math guide - 34.12

A B 1 Cx ( s ) = -------------------- = ---- + -- + ---------2 2 s s+1 s s (s + 1) 1 C = lim ( s + 1 )  --------------------  2   s → –1 s (s + 1) 1 2 A = lim s  --------------------   2  s→0 s (s + 1)

= 1

1= lim ---------- = 1 s+1 s→0 d- 1 = lim ----  ----------  s → 0 ds  s + 1 = lim [ – ( s + 1 ) ] = – 1
s→0 –2

d- 2 1 B = lim ---- s  --------------------   2  s → 0 ds s (s + 1)

Figure 34.14 A partial fraction example • Consider the example below where the order of the numerator is larger than the denominator.

math guide - 34.13

5s + 3s + 8s + 6 x ( s ) = ------------------------------------------2 s +4 This cannot be solved using partial fractions because the numerator is 3rd order and the denominator is only 2nd order. Therefore long division can be used to reduce the order of the equation. 5s + 3 s +4
2

3

2

5s + 3s + 8s + 6 3 5s + 20s 3s – 12s + 6 2 3s + 12
2

3

2

– 12s – 6 This can now be used to write a new function that has a reduced portion that can be solved with partial fractions.

– 12s – 6 x ( s ) = 5s + 3 + --------------------2 s +4

solve

– 12s – 6 A B --------------------- = ------------ + -----------2 s + 2j s – 2j s +4

Figure 34.15 Solving partial fractions when the numerator order is greater than the denominator • When the order of the denominator terms is greater than 1 it requires an expanded partial fraction form, as shown below.

5 F ( s ) = ----------------------3 2 s (s + 1) 5 A -C D E ----------------------- = ---- + B + ------------------ + ------------------ + --------------3 2 3 2 (s + 1) 2 s (s + 1) s (s + 1) s (s + 1)

Figure 34.16 Partial fractions with repeated roots

math guide .14 • We can solve the previous problem using the algebra technique. • Operations on summations: b a ∑ xi i=a = ∑ xi i=b . 5 A -C D E ----------------------.+ -----------------.34.2.17 An algebra solution to partial fractions 34.+ -----------------. The index variable i is a placeholder whose name does not matter.+ -------.+ --------------3 2 3 2 (s + 1) 2 s (s + 1) s (s + 1) s (s + 1) A ( s + 1 ) + Bs ( s + 1 ) + Cs + Ds ( s + 1 ) + Es ( s + 1 ) = ----------------------------------------------------------------------------------------------------------------------------------------3 2 s (s + 1) 4 3 2 3 3 2 2 2 2 s ( B + E ) + s ( A + 3B + D + 2E ) + s ( 3A + 3B + C + D + E ) + s ( 3A + B ) + ( A ) = -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------3 2 s (s + 1) 0 1 3 3 1 1 3 3 1 0 0 0 1 0 0 0 1 1 0 0 1 2 1 0 0 A 0 B 0 C = 0 D 0 E 5 A 0 1 B 1 3 C = 3 3 D 3 1 E 1 0 0 0 1 0 0 0 1 1 0 0 1 2 1 0 0 –1 0 5 0 – 15 0 = 5 0 10 5 15 5 5 – 15 5 10 15 ----------------------.+ --------------3 2 3 2 (s + 1) 2 s s (s + 1) (s + 1) s (s + 1) Figure 34.+ -----------------.= --.4 Summation and Series b • The notation ∑ xi i=a is equivalent to x a + x a + 1 + x a + 2 + … + x b assuming a and b are integers and b ≥ a .= ---.+ B + -----------------.

α = 1  ∞ ∑α i=0 i 1 = ----------.math guide . For α ≥ 1 . α < 1 for both real and complex α . .15 b b ∑ αxi i=a b = α ∑ xi i=a b b ∑ xi + ∑ yj i=a b j=a c = ∑ ( xi + yi ) i=a c ∑ xi + ∑ i=a i = b+1 xi = ∑ xi i=a b d  b  d   x  y =  ∑ i  ∑ j i = a  j = c  ∑ ∑ xi yj i=a j=c • Some common summations: N ∑i i=1 N–1 1 = -..N ( N + 1 ) 2  1 – αN  ---------------.34. ∑  i=0 N. the summation 1–α does not converge. α ≠ 1 i α =  1–α for both real and complex α .

5 Practice Problems 1.= ------------------. 2x + 8x = – 8 x + 4x + 4 = 0 2 (x + 2) = 0 x = – 2.g. Reduce the following expression to partial fraction form. – 2 2 2 3. 2x + 8x = –8 2 (ans. a) b) c) x + 2x + 1 = ( x + 1 ) ( x + 1 ) x – 2x + 1 x –1 x +1 2 2 2 2 d) e) f) x + x + 10 2 2.0.= A + ----------.. e.= Ax + 8A + Bx --------------------------------2 2 x(x + 8) x x+8 x + 8x x + 8x ( 1 )x + 4 = ( A + B )x + 8A 8A = 4 A = 0. x+4 Bx + 4---------------.16 34.5 x+4 ---------------.math guide . Convert the following polynomials to multiplied terms as shown in the example.5 + ---------------. Solve the following equation to find ‘x’.= 0.34.5 2 x x+8 x + 8x .5 1 = A+B B = 0.2. x + 4---------------2 x + 8x (ans.

3 SPATIAL RELATIONSHIPS 34.34.1 Trigonometry • The basic trigonometry functions are.= ---------r csc θ x 1cos θ = .17 34. Sine .= ---------.sin 1 -270° -180° -90° 0° -1 90° 180° 270° 360° 450° .= ----------x cot θ cos θ Pythagorean Formula: r = x +y 2 2 2 r y θ x • Graphs of these functions are given below. y 1sin θ = .math guide .3.= ---------r sec θ y 1sin θ tan θ = .

math guide .csc 1 -270° -180° -90° 0° -1 90° 180° 270° 360° 450° .tan 1 -270° -180° -90° 0° -1 90° 180° 270° 360° 450° Cosecant .18 Cosine .cos 1 -270° -180° -90° 0° -1 90° 180° 270° 360° 450° Tangent .34.

math guide .34. may need additions of ±90° or ±180°.19 Secant .sec 1 -270° -180° -90° 0° -1 90° 180° 270° 360° 450° Cotangent . that any value that does not lie in the right hand quadrants of cartesian space. .cot 1 -270° -180° -90° 0° -1 90° 180° 270° 360° 450° • NOTE: Keep in mind when finding these trig values.

20 Cosine Law: c = a + b – 2ab cos θ c c Sine Law: b c a ------------. .= ------------.= ------------sin θ A sin θ B sin θ C θB θC θA b 2 2 2 a • Now a group of trigonometric relationships will be given.34.math guide . These are often best used when attempting to manipulate equations.

0 -0. θ (deg) -90 -60 -45 -30 0 30 45 60 90 sin θ -1.5 0.5 0. sin ( θ 1 ± θ 2 ) = sin θ 1 cos θ 2 ± cos θ 1 sin θ 2 cos ( θ1 ± θ 2 ) = cos θ 1 cos θ 2 − sin θ 1 sin θ 2 + tan θ 1 ± tan θ 2 tan ( θ 1 ± θ 2 ) = -----------------------------------1 − tan θ 1 tan θ 2 + cot θ 1 cot θ2 − 1 + cot ( θ 1 ± θ 2 ) = -----------------------------------tan θ 2 ± tan θ 1 θ -------------------sin -.707 0.34.= ± 1 + cos θ -------------------2 2 θ sin θ 1 – cos θ tan -.21 sin ( – θ ) = – sin θ cos ( – θ ) = cos θ tan ( – θ ) = – tan θ sin θ = cos ( θ – 90° ) = cos ( 90° – θ ) = etc.0 0.707 0.5 0 0.866 1.0 tan θ -infinity -1 0 1 infinity .math guide .0 cos θ 0.707 -0.866 1 0.707 0.= -------------------2 1 + cos θ sin θ ( cos θ ) + ( sin θ ) = 1 2 2 OR OR sin ( 2θ ) = 2 sin θ cos θ cos ( 2θ ) = ( cos θ ) + ( sin θ ) 2 2 -ve if in left hand quadrants • Numerical values for these functions are given below.= ± 1 – cos θ 2 2 θ cos -.866 -0.5 0.866 0.= -------------------.

math guide .= hyperbolic sine of x 2 e +e cosh ( x ) = ----------------.= hyperbolic cosine of x 2 sinh ( x ) e –e tanh ( x ) = -----------------.= ----------------.= hyperbolic cosecant of x x –x sinh ( x ) e –e 1 2 sech ( x ) = -----------------.= ----------------. e +e cos θ = --------------------2 jθ –jθ e –e sin θ = --------------------2j jθ –j θ 34.= hyperbolic tangent of x x –x cosh ( x ) e +e 1 2 csch ( x ) = ----------------. e –e sinh ( x ) = ----------------.34.= hyperbolic cotangent of x x –x sinh ( x ) e –e x –x x –x x –x x –x • some of the basic relationships are.= ----------------. .= hyperbolic secant of x x –x cosh ( x ) e +e cosh ( x ) e +e coth ( x ) = -----------------.22 • These can also be related to complex exponents.2 Hyperbolic Functions • The basic definitions are given below.= ----------------.3.

( cosh x ) – ( sinh x ) = ( sech x ) + ( tanh x ) = ( coth x ) – ( csch x ) = 1 sinh ( x ± y ) = sinh ( x ) cosh ( y ) ± cosh ( x ) sinh ( y ) cosh ( x ± y ) = cosh ( x ) cosh ( y ) ± sinh ( x ) sinh ( y ) tanh ( x ) ± tanh ( y )tanh ( x ± y ) = ---------------------------------------------1 ± tanh ( x ) tanh ( y ) • Some of the relationships between the hyperbolic.2.23 sinh ( – x ) = – sinh ( x ) cosh ( –x ) = cosh ( x ) tanh ( – x ) = – tanh ( x ) csch ( – x ) = – csch ( x ) sech ( – x ) = sech ( x ) coth ( –x ) = – coth ( x ) • Some of the more advanced relationships are. 2 2 2 2 2 2 sin ( jx ) = j sinh ( x ) cos ( jx ) = cosh ( x ) tan ( jx ) = j tanh ( x ) j sin ( x ) = sinh ( jx ) cos ( x ) = cosh ( jx ) j tan ( x ) = tanh ( jx ) 34. and normal trigonometry functions are.Practice Problems .math guide .34.3.1 .

cos θ cos θ – sin θ sin θ = cos ( θ + θ ) = cos ( 2θ ) ( s + 3j ) ( s – 3j ) ( s + 2j ) = ( s – 9j ) ( s + 4js + 4j ) s + 4js + 4j s – 9j s – 9j 4js – 9j 4j s + ( 4j )s + ( 5 )s + ( 36j )s + ( – 36 ) 4 3 2 4 3 2 2 2 2 2 2 2 2 2 2 2 2 3.+ ----------x+1 x+2 2A + B = 4 = – 2B + B = –B 34. Find all of the missing side lengths and corner angles on the two triangles below.= ----------. cos θ cos θ – sin θ sin θ = ( s + 3j ) ( s – 3j ) ( s + 2j ) = 2 (ans.5 (ans. and the notation used is described below.math guide . AB4 -------------------------. Simplify the following expressions. 5 3 10° 5 3 2.+ ----------.34. Solve the following partial fraction 4 -------------------------.3 Geometry • A set of the basic 2D and 3D geometric primitives are given. so --------------an acceptable answer is also. . x + 0.= 2 x + 3x + 2 1 Note: there was a typo here.24 1.3.= Ax + 2A + Bx + B = ( 2A + B ) + ( A + B )x -----------------------------------------------------------------------------------------2 2 2 x+1 x+2 x + 3x + 2 x + 3x + 2 x + 3x + 2 A+B = 0 A = –B B = –4 A = 4 4 –4 ----------.

y. I y. y. I z = moment of inertia of area (or second moment of inertia) AREA PROPERTIES: Ix = ∫y A 2 dA = the second moment of inertia about the y-axis Iy = ∫x A 2 dA = the second moment of inertia about the x-axis I xy = ∫ xy dA A = the product of inertia JO = ∫r A 2 dA = ∫ (x A 2 + y ) dA = I x + I y = The polar moment of inertia 2 ∫ x dA A x = -----------.= centroid location along the y-axis ∫ dA A .math guide .25 A = contained area P = perimeter distance V = contained volume S = surface area x. z = centroid I x.= centroid location along the x-axis ∫ dA A ∫ y dA A y = -----------. z = centre of mass x.34.

26 Rectangle/Square: A = ab P = 2a + 2b y a x b Moment of Inertia (about origin axes): ba I x = -------3 b a I y = -------3 I xy b a= ---------4 2 2 3 3 Centroid: b x = -2 a y = -2 Moment of Inertia (about centroid axes): ba I x = -------12 3 3 b a I y = -------12 I xy = 0 .34.math guide .

( a + b – ab ) 12 bh I xy = -------.( 2a – b ) 72 2 bh 2 2 I y = ----.math guide .27 Triangle: bh A = ----2 P = y a θ h x b Centroid: a+b x = ----------3 h y = -3 Moment of Inertia (about centroid axes): bh I x = -------36 3 Moment of Inertia (about origin axes): bh I x = -------12 3 bh 2 2 I y = ----.( 2a – b ) 24 2 Circle: A = πr 2 y r P = 2πr x Moment of Inertia Moment of Inertia (about centroid axes): (about origin axes): πr I x = ------4 πr I y = ------4 I xy = 0 4 Centroid: x = r y = r Mass Moment of Inertia (about centroid): Mr J z = --------2 2 Ix = Iy = I xy = 4 .( a + b – ab ) 36 bh I xy = -------.34.

– ----.28 Half Circle: πr A = ------2 P = πr + 2r 2 y r x Centroid: x = r 4r y = ----3π Moment of Inertia (about centroid axes): π 8.05488r 4 Moment of Inertia (about origin axes): 4 πr I x = ------16 πr I y = ------16 4 4 I xy = – 0.01647 r 4 I xy r = ---8 4 .+ 2r 2 2 y r x Centroid: 4r x = ----3π 4r y = ----3π Moment of Inertia (about centroid axes): I x = 0.05488r I y = 0. r  8 9π πr I y = ------8 I xy = 0 4 Moment of Inertia (about origin axes): πr I x = ------8 πr I y = ------8 I xy = 0 4 4 Quarter Circle: πr A = ------4 πr P = ----.4 I x =  -.34.math guide .

29 Circular Arc: θr A = ------2 P = θr + 2r 2 y r x θ Centroid: θ 2r sin -2 x = ---------------3θ y = 0 Moment of Inertia (about centroid axes): Ix = Iy = I xy = Moment of Inertia (about origin axes): rI x = --.( θ + sin θ ) 8 I xy = 0 4 4 .34.math guide .( θ – sin θ ) 8 r I y = ---.

math guide .( sin θ ) dθ a 2 2 2 x r 1 + r2 P ≈ 2π --------------2 Centroid: x = r2 y = r1 Moment of Inertia Moment of Inertia (about centroid axes): (about origin axes): πr 1 r 2 I x = -----------4 3 πr 1 r 2 I y = -----------4 I xy = 3 2 Ix = Iy = I xy = .34.30 Ellipse: A = πr 1 r 2 P = 4r 1 ∫ π -2 y r1 r2 0 r1 + r 2 2 1 – ------------------.

05488r 2 r 1 3 Moment of Inertia (about origin axes): πr 2 r 1 I x = -----------16 3 πr 2 r 1 I y = -----------16 2 2 r1 r2 I xy = --------8 3 I y = 0.34.05488r 2 r 1 I xy = – 0.+ 2r 2 2 Centroid: x = r2 4r 1 y = ------3π Moment of Inertia (about centroid axes): Ix = 3 0.01647r 1 r 2 2 2 .31 Half Ellipse: πr 1 r 2 A = -----------2 P = 2r 1 ∫ 2 π -2 y 0 + 2 1 – ------------------.( sin θ ) dθ + 2r 2 a 2 2 r1 2 r2 r1 r2 x r 1 + r2 P ≈ π --------------.math guide .

math guide .--------------------------------------P = 2 b 8a   2 2 2 y a x b Centroid: b x = -2 2a y = ----5 Moment of Inertia (about centroid axes): Ix = Iy = I xy = Moment of Inertia (about origin axes): Ix = Iy = I xy = .--------------.ab 3 2 2  b b + 16a --------------------------.ln  4a + b + 16a - .( sin θ ) dθ + 2r 2 a 2 2 r1 2 r2 r1 r2 x π r 1 + r2 P ≈ -.32 Quarter Ellipse: πr 1 r 2 A = -----------4 r1 ∫ 2 π -2 y P = 0 + 2 1 – ------------------.+ ----.+ 2r 2 2 2 Centroid: 4r 2 x = ------3π 4r 1 y = ------3π Moment of Inertia (about centroid axes): Ix = Iy = I xy = Moment of Inertia (about origin axes): I x = πr 2 r 1 I y = πr 2 r 1 I xy r2 r1 = --------8 2 2 3 3 Parabola: 2 A = -.34.

and can be used to represent many of the simple shapes represented by a polynomial.+ -------.math guide .ln  --------------------------------------. 4 16a  b  2 2 2 2 2 y a x b Centroid: 3b x = ----8 2a y = ----5 Moment of Inertia Moment of Inertia (about centroid axes): (about origin axes): 3 3 8ba 2ba I x = ----------I x = ----------175 7 19b a I y = -------------480 I xy b a= ---------60 2 2 3 2b a I y = ----------15 I xy b a= ---------6 2 2 3 • A general class of geometries are conics.34. 4a + b + 16a P = --------------------------.33 Half Parabola: ab A = ----3 b + 16a b . This for is shown below. .

34 Ax + 2Bxy + Cy + 2Dx + 2Ey + F = 0 Conditions A = B = C = 0 B = 0.math guide . A = C 2 B – AC < 0 2 B – AC = 0 2 B – AC > 0 straight line circle ellipse parabola hyperbola 2 2 .34.

= centroid location along the y-axis ∫ dV V ∫ z dV V z = -----------.= centroid location along the z-axis ∫ dV V .34.math guide .= centroid location along the x-axis dV ∫ V ∫ y dV V y = -----------.35 VOLUME PROPERTIES: Ix = ∫ rx V 2 dV = the moment of inertia about the x-axis Iy = Iz = ∫ ry V 2 dV = the moment of inertia about the y-axis ∫ rz V 2 dV = the moment of inertia about the z-axis ∫ x dV V x = -----------.

34.πr 3 S = 4πr 2 y r z x Moment of Inertia (about centroid axes): 2Mr I x = -----------5 2Mr I y = -----------5 2Mr I z = -----------5 2 2 Centroid: Moment of Inertia (about origin axes): Ix = Iy = Iz = Mass Moment of Inertia (about centroid): 2Mr J x = -----------5 2Mr J y = -----------5 2Mr J z = -----------5 2 2 x = r y = r z = r 2 2 .math guide .36 Parallelepiped (box): V = abc S = 2 ( ab + ac + bc ) b c y z x a Centroid: a x = -2 b y = -2 c z = -2 Moment of Inertia (about centroid axes): M(a + b ) I x = -------------------------12 M(a + c ) I y = -------------------------12 M(b + a ) I z = -------------------------12 2 2 2 2 2 2 Moment of Inertia (about origin axes): Ix = Iy = Iz = Mass Moment of Inertia (about centroid): Jx = Jy = Jz = Sphere: 4 3 V = -.

πh ( 3r – h ) 3 y h z r S = 2πrh x Centroid: Moment of Inertia (about centroid axes): Ix = Iy = Iz = Moment of Inertia (about origin axes): Ix = Iy = Iz = x = r y = z = r .math guide .34.πr 3 y z S = r x Centroid: Moment of Inertia (about centroid axes): 83.Mr 320 2Mr I y = -----------5 2 Moment of Inertia (about origin axes): Ix = Iy = Iz = x = r 3r y = ---8 z = r 83.2 I z = -------.2 I x = -------.37 Hemisphere: 2 3 V = -.Mr 320 Cap of a Sphere: 1 2 V = -.

+ -------  80 20  3Mr I y = -----------10 2 3 2 Moment of Inertia (about origin axes): Ix = Iy = 3h 3r I z = M  -------.+ --.rI z = M  ----.rI x = M  ---.  12 4  Mr I y = --------2 2 2 2 Mass Moment of Inertia (about centroid): M ( 3r + h ) J x = ----------------------------12 Mr J y = --------2 2 2 2 x = r h y = -2 z = r h .+ --.+ --.rI x = M  ----.πr h 3 S = πr r + h 2 2 y z h r x Centroid: x = r h y = -4 z = r Moment of Inertia (about centroid axes): 3h 3r I x = M  -------.math guide .  3 4 Iy = 2 2 2 2 Centroid: Moment of Inertia (about centroid axis): h .+ -------  80 20  3 2 Iz = .  12 4  h.38 Cylinder: V = hπr 2 y r h S = 2πrh + 2πr 2 z x Moment of Inertia (about origin axis): h .34.+ --.  3 4 2 2 M ( 3r + h ) J z = ----------------------------12 2 2 Cone: 1 2 V = -.rI z = M  ---.

  2  z = r2 .Ah 3 y h A Centroid: Moment of Inertia (about centroid axes): Ix = Iy = Iz = z x Moment of Inertia (about origin axes): Ix = Iy = Iz = x = h y = -4 z = Torus: 1 2 2 V = -.π ( r 1 + r 2 ) ( r 2 – r 1 ) 4 y r2 z r1 x Moment of Inertia (about centroid axes): Ix = Iy = Iz = Moment of Inertia (about origin axes): Ix = Iy = Iz = S = π ( r2 – r1 ) 2 2 2 Centroid: x = r2 r2 – r1 y =  -------------.39 Tetrahedron: 1 V = -.math guide .34.

34.πr h 2 y h z r x S = Centroid: Moment of Inertia (about centroid axes): Ix = Iy = Iz = Moment of Inertia (about origin axes): Ix = Iy = Iz = x = r y = z = r .math guide .40 Ellipsoid: 4 V = -.πr 1 r 2 r 3 3 y r2 z r3 r1 x Moment of Inertia (about centroid axes): Ix = Iy = Iz = Moment of Inertia (about origin axes): Ix = Iy = Iz = S = Centroid: x = r1 y = r2 z = r3 Paraboloid: 1 2 V = -.

a b defined with a slope and intercept a slope perpendicular to a line the slope using two points as defined by two intercepts • If we assume a line is between two points in space. and that at one end we have a local reference frame.+ -. etc. there are some basic relationships that can be derived.41 34. Lines.math guide .= 1 .34. . • The most fundamental mathematical geometry is a line.3. y = mx + b 1 m perpendicular = --m y2 – y1 m = --------------x2 – x1 x y -.4 Planes. The basic relationships are given below.

  d  2 2 ( x 0. y – y1 z – z1 x – x1 --------------. y 0.1] • The relationships for a plane are.  d  ( cos θ α ) + ( cos θ β ) + ( cos θ γ ) = 1 The equation of the line is.34. y 2.= --------------. y 2.= -------------x2 – x1 y2 – y1 z2 – z1 ( x. y 1.  d  2 z2 – z1 θ γ = acos  -------------. x2 – x1 θ α = acos  --------------. y 1. y 1. z 2 ) – ( x 1. z ) = ( x 1. . z 1 ) ) Explicit Parametric t=[0. z 1 ) d = ( x2 – x1 ) + ( y2 – y1 ) + ( z2 – z1 ) 2 2 2 d ( x 2.42 y θβ ( x 1. z 0 ) y2 – y1 θ β = acos  --------------. y. z 1 ) + t ( ( x 2.math guide . z 2 ) θγ θα x z The direction cosines of the angles are.

y 2. y. What is the circumferenece of a circle? What is the area? What is the ratio of the area to the circumference? . z 2 ) P 3 = ( x 3.3. B . z 1 ) where the coefficients defined by the intercepts are. C ) 34. x – x1 y – y1 z – z1 det x – x 2 y – y 2 z – z 2 = 0 x – x3 y – y3 z – z3 ∴det y2 – y1 z2 – z1 y3 – y1 z3 – z1 ( x – x 1 ) + det z2 – z1 x2 – x1 z3 – z1 x3 – x1 ( y – y1 ) c a x b + det x2 – x1 y2 – y1 x3 – x1 y3 – y1 ( z – z1 ) = 0 The normal to the plane (through the origin) is. ( x.34. z 3 ) z The determinant can also be used. z ) = t ( A . Ax + By + Cz + D = 0 P 1 = ( x 1.math guide .43 y The explicit equation for a plane is. y 3. 1 A = -a 1 B = -b 1 C = -c D = –1 N P 2 = ( x 2.5 Practice Problems 1. y 1.

math guide . 0) to (0. Simplify the following expressions.= 1 cos x tan x = 1 x = atan 1 x = …. 1) and (1. a) ( cos 2θ ) sin 2θ  --------------------. 45°. 2) b) (1. 0) to (2. 5). – 2 2(1 ) 2 2 b) sin x = cos x sin x ---------. What is the equation of a line that passes through the points below? a) (0. 2). –135°. 9) 3. a) x 2 + 3x = – 2 x + 3x + 2 = 0 – 3 ± 3 – 4( 1)( 2 ) –3± 9–8 –3±1 x = -----------------------------------------------. 225°.= ----------------------------. Manipulate the following equations to solve for ‘x’.+ sin 2θ  sin 2θ  2 2 2 (ans. Find a line that is perpendicular to the line through the points (2.= – 1. The perpendicular line passes through (3.+ sin 2θ = ( cos 2θ ) + ( sin 2θ ) = 1  sin 2θ  2 .44 2.= --------------. 1) c) (3. a) x 2 + 3x = – 2 b) sin x = cos x (ans. 4) to (2. … 5.34. 4. a) ( cos 2θ ) 2 2 sin 2θ  --------------------.

. and for a line perpendicular to it.1 Complex Numbers • In this section.5 m y = – 0.math guide . y = mx + b m = 2 x = 1 y = 2 substituting 2 = 2(1) + b y = 2x perpendicular 1 m perp = – --. ‘j’ will be the preferred notation for the complex number. A line that passes through the point (1. 2) and has a slope of 2.34.4 COORDINATE SYSTEMS 34.= – 0. Find the equation for the line. given. (ans.4. • The basic algebraic properties of these numbers are.5 x b = 0 34.45 6. as in all others. this is to help minimize confusion with the ‘i’ used for current in electrical engineering.

46 The Complex Number: j = Complex Numbers: a + bj where.= ---.34. N* = a – bj . N* =  a + bj  c – dj = ac + bd +  bc – ad j . These representations lead to alternative representations.-------------------------------------------2 2 2  c + dj  c – dj  2 M c + dj M  N* c +d c +d • We can also show complex numbers graphically.= ------------. but a polar notation can also be very useful when doing large calculations.math guide . please consider the notation above uses a cartesian notation. a and b are both real numbers –1 j = –1 2 Complex Conjugates (denoted by adding an asterisk ‘*’ the variable): N = a + bj Basic Properties: ( a + bj ) + ( c + dj ) = ( a + c ) + ( b + d )j ( a + bj ) – ( c + dj ) = ( a – c ) + ( b – d )j ( a + bj ) ⋅ ( c + dj ) = ( ac – bd ) + ( ad + bc )j N a + bj N --------.------------. If it in not obvious above.

math guide . whereas cartesian notation is easier for addition and subtraction).47 CARTESIAN FORM Ij imaginary (j) N = R + Ij R real A = R +I 2 2 R = A cos θ I = A sin θ Iθ = atan  -. .34.  R POLAR FORM Ij imaginary (j) N = A ∠θ θ R real A = amplitude θ = phase angle • We can also do calculations using polar notation (this is well suited to multiplication and division.

the following useful identities arise: jθ – jθ e +e cos θ = --------------------2 e –e sin θ = --------------------2j jθ – jθ 34.48 A ∠θ = A ( cos θ + j sin θ ) = Ae jθ ( A 1 ∠θ 1 ) ( A 2 ∠θ 2 ) = ( A 1 A 2 ) ∠( θ 1 + θ 2 ) ( A 1 ∠θ 1 ) A1 -------------------.34.2 Cylindrical Coordinates • Basically.4.=  ----- ∠( θ 1 – θ 2 )  A 2 ( A 2 ∠θ 2 ) ( A ∠θ ) = ( A ) ∠( nθ ) n n (DeMoivre’s theorem) • Note that DeMoivre’s theorem can be used to find exponents (including roots) of complex numbers jθ • Euler’s formula: e = cos θ + j sin θ • From the above. these coordinates appear as if the cartesian box has been replaced with a cylinder.math guide . .

.  x 34.4. z ) z z z y x x y θ r = x +y 2 2 r x = r cos θ y = r sin θ y θ = atan  .3 Spherical Coordinates • This system replaces the cartesian box with a sphere.49 z ( x.34. y. θ. z ) ↔ ( r.math guide .

34. z ) ↔ ( r.4. Simplify the following expressions. θ.4 Practice Problems 1. j = –1 . φ ) z φ r z y x x y 2 θ r = x +y +z 2 2 x = r sin θ cos φ y = r sin θ sin φ z = r cos θ y θ = atan  .math guide . y.  r 34. a) b) c) 16 -------------------2 ( 4j + 4 ) 3j + 5 -------------------2 ( 4j + 3 ) ( 3 + 5j )4j where.50 z ( x.  x z φ = acos  .

b) find the centroid of the shape.5j 2 – 16 + 32j + 16 32j ( 4j + 4 ) 3j + 5 3j + 5 3j + 5 -------------------b) -------------------.= -----------------------------------. a) 16 16 16-------------------. as shown below.= --------------------------------. – 7 – 24j = – 35 – 141j + 72 = 37 – 141j -----------------------------------------------------------2 – 16 + 24j + 9 – 7 + 24j  – 7 – 24j 49 + 576 625 ( 4j + 3 ) c) ( 3 + 5j )4j = 12j + 20j 2 = 12j – 20 2. head terminus A vector is said to have magnitude (length or strength) and direction.1 Vectors • Vectors are often drawn with arrows.5 MATRICES AND VECTORS 34.34.51 (ans. origin tail .= --------------------. y a) find the area of the shape.5. x 4 y = (x + 2) 2 34. For the shape defined below.= – 0. c) find the moment of inertia of the shape about the centroid.math guide .= ------.

5. 3 + 8. numerically and graphically. 8. 4 – 9 ) Parallelogram Law A B B A+B A 34.52 • Cartesian notation is also a common form of usage. A = ( 2. 4 + 9 ) A – B = ( 2 – 7.34. 4 ) B = ( 7. 3 – 8. y x z becomes y k j i j z x k i • Vectors can be added and subtracted. 3.2 Dot (Scalar) Product • We can use a dot product to find the angle between two vectors .math guide . 9 ) A + B = ( 2 + 7.

707j + 0. x 1j + 1k V= ----.math guide . the component we find will be multiplied by the magnitude of V. z We want to find the component of force F1 that projects onto the vector V.707k V 2 2 1 +1 F 1 = ( – 3i + 4j + 5k )N V = 1j + 1k y F1 λV F 1V = λ V • F 1 = ( 0.5°  ( 4. = 32. .= -------------------.34.707j + 0.  2 2 + 4 2 5 2 + 3 2 22 ∴θ = acos  ---------------------.707k ) • ( – 3i + 4j + 5k )N ∴F 1V = ( 0 ) ( – 3 ) + ( 0. if we do not.47 ) ( 6 ) θ F2 = 5i + 3j F1 = 2i + 4j x • We can use a dot product to project one vector onto another vector. To do this we first convert V to a unit vector.707 ) ( 5 ) = 6N V F 1V • We can consider the basic properties of the dot product and units vectors.= 0.707 ) ( 4 ) + ( 0.53 y F1 • F2 cos θ = ----------------F1 F2  ( 2 ) ( 5 ) + ( 4 )( 3)  ∴θ = acos  -----------------------------------------.

math guide . In particular if we want to find the x and y components of F relative to the x-y axis we can use the dot product. if we find the equivalent vectors with a magnitude of one we can simplify many tasks. and hence they are not unit vectors. As an example consider the vector.34. But. but consider the other obvious case where we want to project a vector onto itself. relative to the x-y axis. and the displaced x-y axes shown below as x’-y’. y y’ F = 10N x’ 45° 60° x We could write out 5 vectors here. x axis = 2i y axis = 3j x‘ axis = 1i + 1j y‘ axis = – 1i + 1j F = 10N ∠60° = ( 10 cos 60° )i + ( 10 sin 60° )j None of these vectors has a magnitude of 1.54 Unit vectors are useful when breaking up vector magnitudes and direction. λ x = 1i + 0j (unit vector for the x-axis) F x = λ x • F = ( 1i + 0j ) • [ ( 10 cos 60° )i + ( 10 sin 60° )j ] ∴ = ( 1 ) ( 10 cos 60° ) + ( 0 ) ( 10 sin 60° ) = 10N cos 60° This result is obvious. .

Again.34. this can be done using the dot product to project F onto a unit vector. = 10 ( ( cos 60° ) + ( sin 60° ) ) = 10 2 2 2 2 .math guide .= -------------------------------------------------------.= cos 60°i + sin 60°j F 10 Incorrect . u x' = cos 45°i + sin 45°j F x' = F • λ x' = ( ( 10 cos 60° )i + ( 10 sin 60° )j ) • ( ( cos 45° )i + ( sin 45° )j ) = ( 10 cos 60° ) ( cos 45° ) + ( 10 sin 60° ) ( sin 45° ) = 10 ( cos 60° cos 45° + sin 60° sin 45° ) = 10 ( cos ( 60° – 45° ) ) Here we see a few cases where the dot product has been applied to find the vector projected onto a unit vector.55 10 cos 60°i + 10 sin 60°j F λ F = ----.Not using a unit vector FF = F • F = ( ( 10 cos 60° )i + ( 10 sin 60° )j ) • ( ( 10 cos 60° )i + ( 10 sin 60° )j ) = ( 10 cos 60° ) ( 10 cos 60° ) + ( 10 sin 60° ) ( 10 sin 60° ) = 100 ( ( cos 60° ) + ( sin 60° ) ) = 100 Using a unit vector FF = F • λF = ( ( 10 cos 60° )i + ( 10 sin 60° )j ) • ( ( cos 60° )i + ( sin 60° )j ) = ( 10 cos 60° ) ( cos 60° ) + ( 10 sin 60° ) ( sin 60° ) Correct Now consider the case where we find the component of F in the x’ direction. Now finally consider the more general case.

V1 • V 2 V2 V1 = V 2 cos ( θ2 – θ 1 ) = V 2 ----------------V1 V2 V1 • V2 ∴ V 2 cos ( θ 2 – θ1 ) = V 2 ----------------V1 V2 V1 • V2 ∴ cos ( θ 2 – θ 1 ) = ----------------V 1 V2 *Note that the dot product also works in 3D.= V2 • λ V1 V1 V2 V1 V2 V1 Or more generally.34.56 y V2 V1 θ2 θ1 x V 2V1 First.= V 2 ----------------. V 2V1 = V 2 cos ( θ 2 – θ1 ) Next. . we can see that the component of V2 (projected) in the direction of V1 will be. and similar proofs are used.math guide .= ----------------. we can manipulate this expression into the dot product form. = V 2 ( cos θ 1 cos θ2 + sin θ 1 sin θ2 ) = V 2 [ ( cos θ 1 i + sin θ 1 j ) • ( cos θ 2 i + sin θ 2 j ) ] V1 V2 V 1 • V2 V1 • V2 = V 2 -------. by inspection.• -------.

F = ( – 6.43N ) ) j + ( 2m ( 7. that is the positive direction. and a rotation about this vector would rotate on the plane of the page. If the left handed coordinate system is used F and d should be reversed.34.66j + 0k )N d = ( 2i + 0j + 0k )m i M = d×F = j k NOTE: note that the cross product here is for the right hand rule coordinates.math guide . Second. • The basic properties of the cross product are.57 34. Here there is only a z component because this vector points out of the page. . it is a vector.66N 0N ∴M = ( 0m0N – 0m ( 7.43N ) )k = 15. In this right handed system find the positive rotation by pointing your right hand thumb towards the positive axis (the ‘k’ means that the vector is about the z-axis here). this result is positive.5. and curl your fingers. First.43N 7. 2m 0m 0m – 6. consider an example.66N ) )i – ( 2m0N – 0m ( – 6.66N ) – 0m ( –6.43i + 7.3k ( mN ) NOTE: there are two things to note about the solution. because the positive sense is defined by the vector system.3 Cross Product • First.

V1 × V2 λ n = -------------------V1 × V2 • When using a left/right handed coordinate system. y x z x + z y + z + x y • The properties of the cross products are. The positive orientation of angles and moments about an axis can be determined by pointing the thumb of the right hand along the axis of rotation.34. with a magnitude that is a product of the two magnitudes.math guide . V1 × V2 V1 V1 × V2 = ( x 1 i + y1 j + z1 k ) × ( x2 i + y 2 j + z 2 k ) i j k V1 × V2 = x1 y1 z1 x2 y2 z2 V 1 × V 2 = ( y 1 z 2 – z 1 y 2 )i + ( z 1 x 2 – x 1 z 2 )j + ( x 1 y 2 – y 1 x 2 )k V2 We can also find a unit vector normal ‘n’ to the vectors ‘V1’ and ‘V2’ using a cross product. .58 The cross (or vector) product of two vectors will yield a new vector perpendicular to both vectors. divided by the magnitude. The fingers curl in the positive direction.

but not associative.5.math guide . ux uy uz ( d × F) • u = dx dy dz F x F y Fz 34. but we cannot change the order of the cross product. • A matrix has the form seen below.59 The cross product is distributive. we can do both steps in one operation by finding the determinant of the following. An example of a problem that would use this shortcut is when a moment is found about one point on a pipe. .4 Triple Product When we want to do a cross product.34. followed by a dot product (called the mixed triple product).as a result they are found in many computer applications. This allows us to collect terms in a cross product operation. r 1 × F + r 2 × F = ( r 1 + r2 ) × F r×F≠F×r but r × F = –( F × r ) DISTRIBUTIVE NOT ASSOCIATIVE 34.5 Matrices • Matrices allow simple equations that drive a large number of repetitive calculations .5. and then the moment component twisting the pipe is found using the dot product.

60 n columns a 11 a21 … a n1 a 12 a22 … a n2 … … … … a 1m a 2m … a nm m rows If n=m then the matrix is said to be square.math guide . We may also represent a matrix as a 1-by-3 for a vector. Many applications require square matrices. A = 2 3 4 5 B = 6 7 8 9 10 11 12 13 14 C = 15 16 17 18 19 20 21 D = 22 23 E = 24 25 26 Addition/Subtraction 3+2 4+2 5+2 A+B = 6+2 7+2 8+2 9 + 2 10 + 2 11 + 2 B + D = not valid 3–2 4–2 5–2 B–A = 6–2 7–2 8–2 9 – 2 10 – 2 11 – 2 B – D = not valid 3 + 12 4 + 13 5 + 14 B + C = 6 + 15 7 + 16 8 + 17 9 + 18 10 + 19 11 + 20 3 – 12 4 – 13 5 – 14 B + C = 6 – 15 7 – 16 8 – 17 9 – 18 10 – 19 11 – 20 . • Matrix operations are available for many of the basic algebraic expressions.34. There are also many restrictions .many of these are indicated. examples are given below.

= 6 -A 2 9 -2 4 -2 7 -2 10 ----2 5 -2 8 -2 11 ----2 ( 3 ⋅ 21 + 4 ⋅ 22 + 5 ⋅ 23 ) B ⋅ D = ( 6 ⋅ 21 + 7 ⋅ 22 + 8 ⋅ 23 ) ( 9 ⋅ 21 + 10 ⋅ 22 + 11 ⋅ 23 ) D ⋅ E = 21 ⋅ 24 + 22 ⋅ 25 + 23 ⋅ 26 B⋅C = ( 3 ⋅ 12 + 4 ⋅ 15 + 5 ⋅ 18 ) ( 3 ⋅ 13 + 4 ⋅ 16 + 5 ⋅ 19 ) ( 3 ⋅ 14 + 4 ⋅ 17 + 5 ⋅ 20 ) ( 6 ⋅ 12 + 7 ⋅ 15 + 8 ⋅ 18 ) ( 6 ⋅ 13 + 7 ⋅ 16 + 8 ⋅ 19 ) ( 6 ⋅ 14 + 7 ⋅ 17 + 8 ⋅ 20 ) ( 9 ⋅ 12 + 10 ⋅ 15 + 11 ⋅ 18 ) ( 9 ⋅ 13 + 10 ⋅ 16 + 11 ⋅ 19 ) ( 9 ⋅ 14 + 10 ⋅ 17 + 11 ⋅ 20 ) B B -----. D. --..math guide .34. etc = not allowed (see inverse) .61 Multiplication/Division 3(2 ) 4(2 ) 5(2) A ⋅ B = 6(2 ) 7(2 ) 8(2) 9 ( 2 ) 10 ( 2 ) 11 ( 2 ) 3 -2 B -. the first matrix must have the same number of columns as the second matrix has rows.C D B Note: To multiply matrices. ..

62 Determinant B = 3⋅ 7 8 –4⋅ 6 8 +5⋅ 6 7 10 11 9 11 9 10 = ( 7 ⋅ 11 ) – ( 8 ⋅ 10 ) = – 3 = 3 ⋅ ( – 3 ) – 4 ⋅ ( –6 ) + 5 ⋅ ( – 3 ) = 0 7 8 10 11 6 8 9 11 6 7 9 10 = ( 6 ⋅ 11 ) – ( 8 ⋅ 9 ) = – 6 = ( 6 ⋅ 10 ) – ( 7 ⋅ 9 ) = – 3 D .math guide . E = not valid (matrices not square) Transpose 3 6 9 B = 4 7 10 5 8 11 T D = 21 22 23 T 24 E = 25 26 T .34.

so the inverse is undetermined. D = invalid (must be square) Inverse x D = B⋅ y z To solve this equation for x. and then finding the determinant of what is left.math guide . To do this we use the inverse.z we need to move B to the left hand side.34. Note the sign changes on alternating elements. D –1 = invalid (must be square) . and the matrix is indeterminate.y.63 Adjoint 7 8 10 11 B = – 4 5 10 11 4 5 7 8 – 6 8 10 11 3 5 9 11 – 3 5 6 8 6 7 9 10 – 3 4 9 10 3 4 6 7 T The matrix of determinant to the left is made up by getting rid of the row and column of the element. B D = B –1 –1 x ⋅B⋅ y z x x B D = I⋅ y = y z z –1 –1 B B= -------B In this case B is singular.

34. etc=I 0 1 0 0 1 • The eigenvalue of a matrix is found using. 0 1 0 . and solve. 2 4 3 x 5 = 7 9 6 8 y 11 13 10 z 12 x 2 4 3 ∴ y = 9 6 8 z 11 13 10 –1 5 7 = 12 . B⋅I = I⋅B = B D⋅I = I⋅D = D B –1 ⋅B = I 1 0 0 1 0. Given. 1. then rearrange.math guide .64 Identity Matrix This is a square matrix that is the matrix equivalent to ‘1’.6 Solving Linear Equations with Matrices • We can solve systems of equations using the inverse matrix. A – λI = 0 34. 2⋅x+4⋅y+3⋅z = 5 9⋅x+6⋅y+8⋅z = 7 11 ⋅ x + 13 ⋅ y + 10 ⋅ z = 12 Write down the matrix.5.

= A 2 5 3 9 7 8 11 12 10 y = ----------------------------. 2 4 3 9 6 8 11 13 10 5 7 12 A = B = Calculate the determinant for A (this will be reused). 5 4 3 7 6 8 12 13 10 x = ----------------------------.34.= A 34.math guide . .5. Note: when trying to find the first parameter ‘x’ we replace the first column in A with B.7 Practice Problems 1. Given. and calculate the determinants for matrices below. 2⋅x+4⋅y+3⋅z = 5 9⋅x+6⋅y+8⋅z = 7 11 ⋅ x + 13 ⋅ y + 10 ⋅ z = 12 Write down the coefficient and parameter matrices.65 • We can solve systems of equations using Cramer’s rule (with determinants).= A 2 4 5 9 6 7 11 13 12 z = ----------------------------. Perform the matrix operations below.

167 0.34.5 0. Solve the following equations using any technique. Perform the vector operations below. Solve the following set of equations using a) Cramer’s rule and b) an inverse matrix.167 – 0.167 = 0.math guide . 1 A = 2 3 6 B = 2 1 Cross Product Dot Product A×B = A•B = ANS.072 z= -0.333 0.167 –0.66 Multiply 1 2 3 10 4 5 6 11 = 7 8 9 12 Determinant 12 3 42 6 78 9 Inverse 12 3 42 6 78 9 –1 ANS.167 0. x= 0. A × B = ( – 4. 2x + 3y = 4 5x + 1y = 0 . 17. – 10 ) A • B = 13 4.627 5.833 0. 5x – 2y + 4z = – 1 6x + 7y + 5z = – 2 2x – 3y + 6z = – 3 ANS.167 2.273 y= -0. 1 2 3 10 68 = 167 4 5 6 11 7 8 9 12 266 = 1 2 3 4 2 6 7 8 9 = 36 = 1 2 3 4 2 6 7 8 9 –1 – 0.

= -------– 13 2 3 5 1 T 2 4 5 0 – 20 20 y = --------------.math guide .67 (ans. T A B C X L + M D E F Y GH I Z N (ans. Perform the matrix calculations given below.= -------.4 = -----------------=  – ----= 13  13 – 20 – 13 0 0 20 0 2 3 ----13 5 1 6. Perform the following matrix calculation. a) A B C X D E F Y = GH I Z b) A B C D E F X Y Z = GH I .34. Show all work. A B C X L + M D E F Y GH I Z N T T T = AX + BY + CZ L + M DX + EY + FZ GX + YH + IZ N AX + BY + CZ + L = DX + EY + FZ + M GX + YH + IZ + N = AX + BY + CZ + L DX + EY + FZ + M GX + YH + IZ + N 7.= ----– 13 13 2 3 5 1 b) x = 2 3 y 5 1 –1 1 –3 1 –( 5 ) 4– ----–5 2 4 –( 3 ) 2 1- 4 4 = ------------------------------. 2 3 x = 4 5 1 y 0 a) 4 3 0 1 4x = --------------.

----------------ad – bc ad – bc c d adj . Find the dot product.34. a) a b c T d e f d e f g h k = a b c g h k = ( ad + bg + cm ) ( ae + bh + cn ) ( af + bk + cp ) mnp mnp = ad – bc b) a b c d c) a b c d –1 a b d –c d .----------------c d –b a = -----------------.68 8.= -----------------.–c ----------------. and the cross product.math guide .= ad – bc ad – bc ad – bc –b a a b ----------------. Perform the following matrix calculations. a) a b c T d e f g h k mnp b) a b c d c) a b c d –1 (ans. of the vectors A and B below. A • B = xp + yq + zr A×B = i j k x y z p q r = i ( yr – zq ) + j ( zp – xr ) + k ( xq – yp ) = yr – zq zp – xr xq – yp 9. x A = y z p B = q r (ans.

Perform the matrix calculations given below. a) A B C X D E F Y = GH I Z A B C D E F X Y Z = GH I det A B = C D A B C D A B C D A b) c) d) = –1 e) = .= ---------------------------------.= --------------------------------------------------------------------------------. 12 3 x 5 14 8 y = 0 42 1 z 1 5 2 3 0 4 8 1 2 1 5 ( 4 – 16 ) + 2 ( 8 – 0 ) + 3 ( 0 – 4 ) – 60 + 16 – 12 – 56 x = ----------------. Find the value of ‘x’ for the following system of equations.= – 7 1 ( 4 – 16 ) + 2 ( 32 – 1 ) + 3 ( 2 – 16 ) – 12 + 62 – 42 8 1 2 3 1 4 8 4 2 1 11.34. x + 2y + 3z = 5 x + 4y + 8z = 0 4x + 2y + z = 1 (ans.math guide .69 10.= -------.

1 . .it is more a loose collection of tricks and techniques. the secret to calculus is to remember that there is no single "truth" . Many students are turned off by the topic because they "don’t get it". Each one has to be learned separately.1.Differentiation • The basic principles of differentiation are. 34. 3x + 5y = 7 4x – 6y = 2 a) Inverse matrix b) Cramer’s rule c) Gauss-Jordan row reduction d) Substitution 34.34. or know where to look.6. Solve the following set of equations with the specified methods.70 12.math guide . But.1 Single Variable Functions 34.6 CALCULUS • NOTE: Calculus is very useful when looking at real systems. and when needed you must remember it.6.

( y ) d du ----.( y ) = ------------dx d----.( u ) dx dx dx dx ddd----.71 Both u.( Cu ) = ( C ) ----.( v ) .( v ) + ( vw ) ----.( u ) + ----. v and w are functions of x.( u n ) = ( nu n – 1 ) ----.( y ) = ----.34. u =  ---- ----.( uvw ) = ( uv ) ----.( C ) = 0 dx dd----.( u ) dx dx dx d.d----.( v ) + ( v ) ----.math guide .( w ) + ( uw ) ----.( y ) ----.( u ) dx dx ddd----. Also note that C is used as a constant.( u ) –  ---- ----.( u ) dx dx ddd----. and all angles are in radians.( x ) du d----.( uv ) = ( u ) ----. d----.( u ) = ------------dx d----.-v d u.( v ) + … dx dx dx dd----.( u + v + … ) = ----. but this is not shown for brevity.( u ) = chain rule dx du dx d1 ----. v  2 dx  2 dx dx v v dddd----.( x ) du • Differentiation rules specific to basic trigonometry and logarithm functions .

( cosh u ) = ( sinh u ) ----.( u ) dx dx dd----. = … x → a g ( x ) x → a  d  x → a  d  2  ---. 2 .math guide .( e u ) = ( e u ) ----.( u ) dx dx d----.34.( cos u ) = ( – sin u ) ----.( u ) dx dx dd----.( sinh u ) = ( cosh u ) ----.( u ) dx dx dd----.g ( x )   dt    ---- g ( x ) dt • Some techniques used for finding derivatives are.( u ) dx dx • L’Hospital’s rule can be used when evaluating limits that go to infinity. dd  ---- f ( x )    ---- f ( x )    dt    dt  f( x) lim  ---------- = lim  --------------------- = lim  ----------------------.( u )  cos u dx dx dd----.( u ) dx dx dd----.( sec u ) = ( tan u sec u ) ----.( cot u ) = ( – csc u ) 2 ----.( csc u ) = ( – csc u cot u ) ----.( u ) dx dx dd----.( tan u ) =  ----------- ----.( sin u ) = ( cos u ) ----.72 dd----.( tanh u ) = ( sech u ) 2 ----.( ln x ) = 1 -dx x dd----.( u ) dx dx dd----.( u ) dx dx d1 2 d----.

v. In the following expressions.+ C ln a x x ∫ e dx x = e +C • Some of the trigonometric integrals are.math guide . and all angles are radians. d. .1. and w are functions of x.n – 2 d.Integration • Some basic properties of integrals include.2 n d.du du f' ( x ) x ∫ x dx = -----------.( x ) du = ∫ ----------.∫ f ( u ) du C d F(u) ∫ F ( f ( x ) ) dx = ∫ F ( u ) -----.1 d.n d. ∫ C dx = ax + C = C ∫ f ( x ) dx = ∫ Cf ( x ) dx ∫ u dv ∫ ( u + v + w + … ) dx ∫ f ( Cx ) dx ∫ u dx + ∫ v dx + ∫ w dx + … = uv – ∫ v du = integration by parts 1 u = Cx = --.dx x 1 = ln x + C x a ∫ a dx = -------.n  n  ----- ( u )  ----- ( v ) + … +    ----- ( u )  ----- ( v )  dx  dx  n  dx  2  dx 34.2 .34.n  ----- ( uv ) =  ----- ( u )  ----- ( v ) +  n  ----- ( u )  ----- (v)  dx  dx  dx  dx  1  dx d. C is a constant. u.+ C n+1 n n+1 u = f(x) ∫ -.0 d.0 d. (notice the form is similar to the binomial equation) can be used for finding the derivatives of multiplied functions.n – 1 d.73 Leibnitz’s Rule. in addition to this.6.

+ C 3 3 2 ∫ x cos ( ax ) dx cos ( ax .x ) = -----------------.sin ( ax ) + C 2 a a 2 2 2 2x cos ( ax ) a x – 2 ∫ x cos ( ax ) dx = -------------------------.+ C 8 4 32 n+1 ( sin x ) n ∫ cos x ( sin x ) dx = -----------------------.+ ------------------.+ C 3 sin x ( ( cos x ) + 2 ) ∫ ( cos x ) dx = ------------------------------------------.sin ( ax ) + C 2 3 a a • Some other integrals of use that are basically functions of x are.74 ∫ sin x dx ∫ cos x dx ∫ ( sin x ) 2 = – cos x + C = sin x + C sin x cos x + x dx = – -----------------------------.+ C 2 2 3x sin 2x sin 4x dx = ----. .math guide .+ ------------.34.+ -.+ ------------.+ C n+1 ∫ ( cos x ) 4 ∫ sinh x dx ∫ cosh x dx ∫ tanh x dx = cosh x + C = sinh x + C = ln ( cosh x ) + C ∫ ( cos x ) 2 cos x ( ( sin x ) + 2 ) 3 ∫ ( sin x ) dx = – ------------------------------------------.+ C 2 sin x cos x + x dx = -----------------------------.

a > 0.+ C b x ±a +C 2 2 CORRECT?? ± a ) dx = 2 –1 2 1 – -2 ∫ ( a + bx + cx ∫ ( a + bx + cx 1 ) dx = -----.+ C.ln c 2 ba + bx + cx + x c + --------.34.+ C b 2 –1 1 a + 2 –b ) dx = --------------------.+ C n+1 n n+1 ∫ ( a + bx ) ∫ ( a + bx –1 ln a + bx dx = ----------------------. b < 0 2 ( – b )a  a – x – b  2 ln ( bx + a ) 2 –1 x ( a + bx ) dx = --------------------------.atan  -----------. c > 0 2 c 2 –1 1– 2cx – b) dx = --------.+ C.ln  -------------------------.asin -----------------------. a > x ∫ 2a  a – x ∫ ( a + bx ) ∫ x(x 2 –1 2 a + bx dx = ---------------------. + C  a  b b ab 1.a + x 2 2 –1 2 2 ( a – x ) dx = ----.– ------------.ln  ----------- + C. + C. c < 0 2 –c b – 4ac .+ C ∫ 2b ∫x 2 x a x ab 2 –1 ( a + bx ) dx = -.75 x ∫ x dx = -----------.math guide .

x ( a – x ) + a asin  --  a 8 4 2 2 1 – -2 1 -- 1 -2 2 3 -2 2 1 -2 2 1 12 2 ( 1 + a x ) dx = -.x ( 1 + a x ) – --------------------------------------------2 3 4 8a 8a 1 3 -2 2 ∫(1 – a 1 -2 2 2 1 asin ( ax ) x ) dx = -.asin ( ax ) = – -. ---. a2 + x  – -------.( a + bx ) 3b 2 2 ∫ ( a + bx ) dx = -----.ln x +  ---.– x  ∫  3  a2 ∫x 2 1 x 2 x 2 2 2 ( a – x ) dx = – -.x ( 1 – a x ) + -------------------2 a 1 -2 2 2 3 -- 1 -2 2 2 a 1.( a + bx ) 3b 1 -2 1 -2 3 -- 3 -- ∫ x ( a + bx ) 1 -2 2 ( 2a – 3bx ) ( a + bx ) dx = – ---------------------------------------------------2 15b 1 3 -2 --  1 x +  ---.math guide .+ x 2 2 ln  1  2   -a 2   2 2 1 -x ( 1 + a x ) + -------------------------------------------2 2 2 a ∫ ( 1 + a x ) dx = ---------------------------------------------------------------------------------2 1a  ---.34.acos ( ax ) a a .+ x  2  a x ( 1 + a x ) dx = --------------------------∫ 3 1 -2 2 2 --  1  x +  ---.76 2 2 ∫ ( a + bx ) dx = -----.( a – x ) + -.2 2 x ( 1 – a x ) dx = – -.+ x 2 2 3 1 1 ln   2   ---a 2   ax  ---18 2 2 2 2 2 2 2 2 ∫ x ( 1 + a x ) dx = ----.+ x  ∫  2  a a ∫(1 – a 1 – -2 2 2 1 1 x ) dx = -.

math guide - 34.77

• Integrals using the natural logarithm base ‘e’,

ax e ∫ e dx = ------- + C a ax e ∫ xe dx = ------- ( ax – 1 ) + C 2 a ax

ax

34.6.2 Vector Calculus
• When dealing with large and/or time varying objects or phenomenon we must be able to describe the state at locations, and as a whole. To do this vectors are a very useful tool. • Consider a basic function and how it may be represented with partial derivatives.

math guide - 34.78

y = f ( x, y, z ) We can write this in differential form, but the right hand side must contain partial derivatives. If we separate the operators from the function, we get a simpler form. We can then look at them as the result of a dot product, and divide it into two vectors. ∂ ∂ ∂ ( d )y =    f ( x, y, z ) dx +    f ( x, y, z ) dy +    f ( x, y, z ) dz   ∂ x    ∂ y    ∂ z  ∂ ∂ ∂ ( d )y =   dx +   dy +   dz f ( x, y, z )  ∂ x  ∂ y  ∂ z ∂ ∂ ∂ ( d )y =  i + j + k • ( dxi + dyj + dzk ) f ( x, y, z ) ∂x ∂y ∂z  We then replace these vectors with the operators below. In this form we can manipulate the equation easily (whereas the previous form was very awkward). ( d )y = [ ∇ • dX ]f ( x, y, z ) ( d )y = ∇f ( x, y, z ) • dX ( d )y = ∇f ( x, y, z ) dX cos θ In summary, ∇ = ∂ ∂ ∂ i+ j+ k ∂x ∂y ∂z ∇ • F = the divergence of function F ∇ × F = the curl of function F

F = F x i + F y j + Fz k

• Gauss’s or Green’s or divergence theorem is given below. Both sides give the flux across a surface, or out of a volume. This is very useful for dealing with magnetic fields.

∫ ( ∇ • F ) dV
V

=

∫ °FdA
A

where, V, A = a volume V enclosed by a surface area A F = a field or vector value over a volume

math guide - 34.79

• Stoke’s theorem is given below. Both sides give the flux across a surface, or out of a volume. This is very useful for dealing with magnetic fields.

∫ ( ∇ × F ) dA
A

=

∫ °FdL
L

where, A, L = A surface area A, with a bounding parimeter of length L F = a field or vector value over a volume

34.6.3 Differential Equations
• Solving differential equations is not very challenging, but there are a number of forms that need to be remembered. • Another complication that often occurs is that the solution of the equations may vary depending upon boundary or initial conditions. An example of this is a mass spring combination. If they are initially at rest then they will stay at rest, but if there is some disturbance, then they will oscillate indefinitely. • We can judge the order of these equations by the highest order derivative in the equation. • Note: These equations are typically shown with derivatives only, when integrals occur they are typically eliminated by taking derivatives of the entire equation. • Some of the terms used when describing differential equations are, ordinary differential equations - if all the derivatives are of a single variable. In the example below ’x’ is the variable with derivatives. dd- 2  ---- x +  ---- x = y  dt  dt

e.g.,

first-order differential equations - have only first-order derivatives, dd ---- x +  ---- y = 2  dt  dt

e.g.,

eg.math guide .34. y'' + y' + 2 = 5x ( y'' ) + y' + 2 = 5x y'' + ( y' ) + 2 = 5x y'' + sin ( y' ) + 2 = 5x 3 2 linear non-linear non-linear non-linear 34. The equation is linear if they appear with an exponent other than 1.these equations have partial derivatives • Note: when solving these equations it is common to hit blocks. partial differential equations .g.80 second-order differential equations .6.First-order Differential Equations • These systems tend to have a relaxed or passive nature in real applications.have at least on second derivative.have at least one derivative that is higher than second-order.3.1 .. In these cases backtrack and try another approach. dd ---- x +  ---- y = 2  dt  dt 2 e. guessing then testing separation . • linearity of a differential equation is determined by looking at the dependant variables in the equation. y' + 2xy – 4x = 0 y' – 2y = 0 2 3 • Typical methods for solving these equations include. • Examples of these equations are given below. higher order differential equations .

e.81 homogeneous 34.1. and test it to see if it works.math guide .6. We can also find a particular solution.. y = Ce y = 5e –t a general solution a particular solution –t 34.3.34.Guessing • In this technique we guess at a function that will satisfy the equation. This typically means there is only a single derivative term.1 .Separable Equations • In a separable equation the differential can be split so that it is on both sides of the equation. y' + y = 0 y = Ce –t the given equation the guess now try to substitute into the equation y' = –Ce –t –t –t y' + y = – Ce + Ce = 0 therefore the guess worked .6.1. .3.2 . the value of ’C’ was not found).it is correct y = Ce –t • The previous example showed a general solution (i. We then integrate to get the solution.

+ x = 0 dy 1 ∴ – -- dx = dy  x ∴ ln ( – x ) = y 34. . This technique requires a bit of guessing about what to substitute for.2 ∴x = ------.6.1.3.– y – 3y + C 3 3 2 e.34.3 .g.g.. dx ----.82 e. and when it is to be applied. dx ----.math guide ..Homogeneous Equations and Substitution • These techniques depend upon finding some combination of the variables in the equation that can be replaced with another variable to simplify the equation.+ y 2 + 2y + 3 = 0 dy ∴dx = ( – y – 2y – 3 )dy –y .

. • In engineering we will encounter a number of forms. .= ln ( x ) + C x ∴y = – x ln ( x ) – Cx 34.2.homogeneous . .Second-order Differential Equations • These equations have at least one second-order derivative.3. dy ----. y – .math guide . dy ----.1 .g.3.Linear Homogeneous • These equations will have a standard form.nonhomogeneous 34.83 e.= u – 1 dx du ∴u + x ----.34.= ----dx x du 1 ∴– ----.= y – 1 dx x y u = x the equation given the substitution chosen Put the substitution in and solve the differential equation.6.= u – 1 dx du –1 ∴----.2 .= -dx x ∴– u = ln ( x ) + C Substitute the results back into the original substitution equation to get rid of ’u’.6.

449j. e. – 3 – 2.84 d. y = C1e Bt + C 2 te Bt 34. y = e Bt d ---- y = Be Bt  dt d ---- y = B 2 e Bt  dt substitute and solve for B. d.6.2 d ---- y + A  ---- y + By = 0  dt  dt • An example of a solution is.449t ) ) Note: if both the roots are the same. ..Nonhomogeneous Linear Equations • These equations have the general form.2 d ---- y + 6  ---- y + 3y = 0  dt  dt Guess.g.3. B e + 6Be + 3e B + 6B + 3 = 0 B = – 3 + 2.2.449j )t – 3 t 2. y = e y = e y = e ( – 3 + 2.math guide .34.2 .449t ) + j sin ( 2.449jt 2 2 Bt Bt Bt 2 = 0 e –3 t ( cos ( 2.449j substitute and solve for B.

d.34. A good table of guesses is.2 d ---- y + A  ---- y + By = Cx  dt  dt • to solve these equations we need to find the homogeneous and particular solutions and then add the two solutions. . y = yh + yp to find yh solve.2 d  ---- y + A  ---- y + B = 0  dt  dt to find yp guess at a value of y and then test for validity.85 d. Cx form A Ax + B Ax e B sin ( Ax ) or B cos ( Ax ) Guess C Cx + D Ax Ax Ce Cxe C sin ( Ax ) + D cos ( Ax ) or Cx sin ( Ax ) + xD cos ( Ax ) • Consider the example below.math guide .

3 .Partial Differential Equations • Partial difference equations become critical with many engineering applications involving flows. y = e – 3x – 2x +e 2x + 0. .6. 2 yh = e – 3x +e 2x Next.25e – 2x 34. solve for the particular part.25e Finally. y = Ce – 2x d ---- y = – 2C e –2x  dt d ---- y = 4Ce –2x  dt 4Ce – 2x 2 + – 2C e – 2x – 6Ce – 2x = e – 2x 4C – 2C – 6C = 1 C = 0.3. etc.34.3.4 .86 d.math guide .Higher Order Differential Equations 34. We will guess the function below. d.2 d ---- y +  ---- y – 6y = 0  dt  dt try y = e Bx d ---- y = BeBx  dt d ---- y = B 2 e Bx  dt 2 B e 2 2 Bx + Be Bx – 6e Bx = 0 B +B–6 = 0 B = – 3.2 d ---- y +  ---- y – 6y = e –2x  dt  dt First solve for the homogeneous part.6.25 y p = 0.

6.87 34.----------------.math guide .6.+ e 2t =  ---- ( 3t ( 2 + t ) –2 ) +  ---- ( e 2t ) = 3 ( 2 + t ) –2 – 6t ( 2 + t ) –3 + 2e 2t 2  dt    dt  dt (2 + t) 2.4 Other Calculus Stuff • The Taylor series expansion can be used to find polynomial approximations of functions.+ e 2t 2 (2 + t) (ans.34.+ … + -----------------------------------------------2! ( n – 1 )! 2 (n – 1) n–1 34. f f'' ( a ) ( x – a ) ( a)(x – a) f ( x ) = f ( a ) + f' ( a ) ( x – a ) + -----------------------------. Solve the following differential equation.5 Practice Problems 1. x'' + 4x' + 4x = 5t x0 = 0 x' 0 = 0 .  d   3t dd---. given the initial conditions at t=0s. Find the derivative of the function below with respect to time. 3t ----------------.

25 ( 0 ) – 1.= 1.math guide .25te + 1. homogeneous solution: guess: x'' + 4x' + 4x = 0 At xh = e 2 At x h' = Ae At At At x h'' = A e 2 2 At A e + 4Ae + 4e xh = C1 e – 2t = 0 = A + 4A + 4 = ( A + 2 ) ( A + 2 ) + C 2 te – 2t particular solution: guess: x p = At + B x p' = A x p'' = 0 ( 0 ) + 4 ( A ) + 4 ( At + B ) = 5t ( 4A + 4B ) + ( 4A )t = ( 0 ) + ( 5 )t 5 A = -.( 5 ln t ) dt C 2 = 1.( ( t + 2 ) ) dt d8t c) ---.25t – 1.25 –2( 0) for (d/dt)x(0) = 0 2t 0 = ( – 2 )C 1 e 2t –2 ( 0 ) + ( – 2 )C 2 ( 0 )e + C2 e –2 ( 0 ) + 1.25 C 1 = 1.88 (ans.25 .( sin t + cos t ) dt d–2 b) ---. Find the following derivatives.25t – 1.25 combine and solve for constants: x ( t ) = xh + xp = C1 e for x(0) = 0 – 2t 4 ( 1.25 = C 1 – 1.25 3.25 ) + 4B = 0 B = – 1.25 –2 ( 0 ) 0 = C1 e + C 2 ( 0 )e + 1.25 = 0 = –2 ( 1.25e + 1.25 x ( t ) = 1.25 4 x p = 1.25 – 2 C 1 + C 2 + 1.25t – 1.25 ) + C 2 + 1. da) ---.34.25 + C 2 te –2 ( 0 ) – 2t + 1.( 5te ) dt dd) ---.

5 = 5 ln ( x ) + C 5.89 (ans.5t ) dt a) 2 d) ∫ -.( ( t + 2 ) ) = –2 ( t + 2 ) dt d8t 8t 8t c) ---.5t ) = ------------------------. + C = 2e + C  7 c) d) 7t ∫ sin ( 0.( sin t + cos t ) = ---.5t ) dt ∫ -. ddda) ---. d---.dx x 5 (ans.( sin t ) + ---.+ C = – 2 cos ( 0.( 5te 4t + ( t + 4 ) – 3 ) dt . Find the following integrals ∫ 6 t dt 7t b) ∫ 14 e dt c) ∫ sin ( 0.( cos t ) = cos t – sin t dt dt dt d–2 –3 b) ---.dx x 5 – cos ( 0.( 5te ) = 5e + 40te dt d5 d) ---.34. t3 a) ∫ 6 t dt = 6  --- = 2t + C  3 2 3 e7t 7t b) ∫ 14 e dt = 14  ----. Find the following derivative.( 5 ln t ) = -dt t 4.math guide .5t ) + C 0.

5e + C 1 = – cos θ + -. Solve the following integrals. ----------- dx  x + 1 d---.34. x'' + 5x' + 3x = 3 x( 0) = 1 x' ( 0 ) = 1 . a) ∫e 2t dt = 0. Solve the following differential equation. Find the following derivatives. a) ∫e 2t dt b) ∫ ( sin θ + cos 3θ ) dθ (ans.90 6.( e –t sin ( 2t – 4 ) ) dt b) (ans. a) d. a) d.sin 3θ + C 3 2t b) ∫ ( sin θ + cos 3θ ) dθ 8.( e –t sin ( 2t – 4 ) ) = – e –t sin ( 2t – 4 ) + 2e –t cos ( 2t – 4 ) dt b) 7.math guide .1 –1 ----.1 ----. ----------- = -----------------2  x + 1 dx (x + 1) d ---.

34. x'' + 5x' + 3x = 3 Homogeneous: A + 5A + 4 = 0 2 x( 0) = 1 x' ( 0 ) = 1 – 5 ± 25 – 16 –5±3 A = ----------------------------------.= ---------------. . The shape is basically a cone with the top cut off.math guide .e + -.= – 4. Set up an integral and solve it to find the volume inside the shape below. – 1 2 2 xh = C1 e Particular: xp = A x'p = 0 x'' p = 0 A = 1 – 4t + C2e –t 0 + 5 ( 0 ) + 3A = 3 xp = 1 Initial values: x = x h + xp = C1 e – 4t – 4t –t + C2 e + 1 C1 = –C2 1 = C1( 1 ) + C2( 1 ) + 1 x' = – 4C 1 e – C2e –t 1 = – 4C 1 ( 1 ) – C 2 ( 1 ) 4 ( – C2 ) + C2 = –1 1 – 4t 1 –t x = – -.e + 1 3 3 1 C 2 = -3 1 C 1 = – -3 9.91 (ans.

 a + -. ---------. x   a    a   a  V = c–b 2 2 c–b ∫0  πb + 2π  ----------- x + π  ----------- x  dx   a   a   a 2 a 2 c–b 2 π c–b 2 3 V = πb x + π  ---------. ---------.92 z b y x a c (ans. Solve the second order non-homogeneous differential equation below. x  a  c–b c–b c–b 2 2 2 A = πr = π  b +  ---------. x + -. Solve the first order non-homogeneous differential equation below. 2x' + 4x = 5 sin 4t 11. x = πb + 2π  ---------. x  a  3 a  c–b 2 π c– 2 V = πb a + π  ---------. 2x'' + 4x' + 2x = 5 where. V = ∫ dV = ∫0 A dx 2 2 a c–b r = b +  ---------.math guide . x + π  ---------.( c – b ) a 3 b 2 3 0 10. a  a  3 a π 2 2 2 V = πb a + π ( c – b )a + -. x( 0) = 2 x' ( 0 ) = 0 .34. Assume the system starts at rest.

( y i – y i – 1 ) dT T  ---- y ( t ) ≈ ----------------------------------------------------------------. ( t i – t i – 1 ) = -.y ( t i ) ≈  -------------------- =  --------------------i = -. 34. Numerical techniques are not as elegant as solving differential equations.( y i + 1 – y i )  ti – ti – 1   t i + 1 – ti  dt T T 1 1 -.( y i + 1 – y i ) – -. y(t) yi + 1 yi yi – 1 ti – 1 ti T ti T ti + 1 yi + yi – 1 T y ( t i ) ≈  -------------------.7. • This method uses forward/backward differences to estimate derivatives or integrals from measured data.( y i – y i – 1 ) = -. etc.7 NUMERICAL METHODS • These techniques approximate system responses without doing integrations.this means by doing repeated calculations to solve the equation.= – 2 y i + y i – 1 + y i + 1 -------------------------------------------i 2  dt T T 2 .math guide .1 Approximation of Integrals and Derivatives from Sampled Data • This form of integration is done numerically .93 34.34. But these techniques make it possible to solve complex problems much faster. and will result in small errors.( y i + y i – 1 ) ∫ti – 1   2 2 yi – yi – 1 yi + 1 – y d1 1 ---.

y ( t ) dt 34.8 0.h  ---- x ( t ) + ---.math guide .6 0.7 0.7.2 Euler First-order Integration • We can also estimate the change resulting from a derivative using Euler’s equation for a first-order difference equation.2 0.3 0.h  ---- x ( t ) + …  dt 2!  dt 3!  dt 4!  dt • When h=0 this is called a MacLaurin series. 1.9 x(t) 0 d/dt x(t) 0 h = 0.h  ---- x ( t ) + ---.3 d.3 1.4 d.4 x ( t + h ) = x ( t ) + h  ---- x ( t ) + ---.3 Taylor Series Integration • Recall the basic Taylor series.2 d 2 d1.4 0.94 34.1 0. • We can integrate a function by. dy ( t + h ) ≈ y ( t ) + h ---. d ---- x = 1 + x 2 + t 3  dt d ---- x = 0  dt 0 x0 = 0 t (s) 0 0.5 0.34.7.1 .

One simple technique uses an instantaneous slope of the function. f ( xi ) x i + 1 = x i – ---------------------d ----.34. 1 x ( t + h ) = x ( t ) + -.7. x ) F1 h F 2 = hf  t + --. x = the state variables f = the differential function t = current point in time h = the time step to the next integration point 34. and takes iterative steps towards a solution. x + F 3 ) where. x + -----  2 2 F 4 = hf ( t + h. x + -----  2 2 F2 h F 3 = hf  t + --.4 Runge-Kutta Integration • The equations below are for calculating a fourth order Runge-Kutta integration.7.( F 1 + 2F 2 + 2F 3 + F4 ) 6 F 1 = hf ( t.95 34.f ( x )  dx i  • The function f(x) is supplied by the user.5 Newton-Raphson to Find Roots • When given an equation where an algebraic solution is not feasible. . a numerical solution may be required.math guide .

96 • This method can become divergent if the function has an inflection point near the root. F(s) = where. 34. • The basic Laplace transform equations is shown below. And. the Laplace transform is much more useful in system analysis.8. .1 Laplace Transform Tables • Basic Laplace Transforms for operational transformations are given below.math guide . ∫0 f ( t )e ∞ – st dt f ( t ) = the function in terms of time t F ( s ) = the function in terms of the Laplace s 34. • The technique is also sensitive to the initial guess.34. • This calculation should be repeated until the final solution is found. as you recall from before the inverse of time is frequency.8 LAPLACE TRANSFORMS • The Laplace transform allows us to reverse time. Because we are normally concerned with response.

a > 0 tf ( t ) t f(t) f(t) ------t n ∫ f ( u ) du s • A set of useful functional Laplace transforms are given below.f -.97 TIME DOMAIN Kf ( t ) f1 ( t ) + f2 ( t ) –f3 ( t ) + … df ( t ) ----------dt d f(t ) ------------2 dt d f(t ) ------------n dt n 2 FREQUENCY DOMAIN Kf ( s ) f1 ( s ) + f2 ( s ) –f 3 ( s ) + … sf ( s ) – f ( 0 ) df ( 0 ) 2 – s f ( s ) – sf ( 0 ) – ----------------dt s f( s) – s f(s) -------s e – as n n–1 – – f(0 ) – s – n – 2 df ( 0 ) ----------------.34.a  a – df ( s ) -------------ds f(s) ( – 1 ) -------------n ds nd ∞ n f ( at ). a > 0 e – at t f( s) f(t) f(s – a) 1  s -.– … – d f ( 0 ) ------------------n dt dt – n – ∫0 f ( t ) dt f ( t – a )u ( t – a ). .math guide .

+ ------------------------------------. .math guide .98 TIME DOMAIN FREQUENCY DOMAIN A -s 1 ---2 s 1---------s+a ω ----------------2 2 s +ω s ----------------2 2 s +ω 1 -----------------2 (s + a) ω ------------------------------(s + a) + ω s+a ------------------------------(s + a) + ω 2 2 A t e – at sin ( ωt ) cos ( ωt ) te e e – at – at sin ( ωt ) cos ( ωt ) 2 – at 2 Ae – at A---------s–a A ----------------2 (s – a) cos ( βt + θ ) cos ( βt + θ ) A ----------------------.34.+ A ------------------------------------s + α + βj s + α – βj A -----------------------------.A 2 2 ( s + α – βj ) ( s + α + βj ) complex conjugate complex conjugate Ate – at 2Ae – αt 2t A e – αt • Laplace transforms can be used to solve differential equations.

. In both cases. The one-sided z-transform is defined by X ( z ) = –n ∑ x [ n ]z n=0 –n .99 34.∫ X ( z )z ° j2π niques.9 z-TRANSFORMS • For a discrete-time signal x [ n ] . of finite magnitude). • The inverse z-transform is obtained by contour integration in the complex plane n–1 1dz . These are the values of z for which X ( z ) is bounded (i. the two-sided z-transform is defined by ∞ ∞ X(z) = ∑ n = –∞ x [ n ]z .34.e. This is usually avoided by partial fraction inversion techx [ n ] = ------. similar to the Laplace transform.math guide . the z-transform is a polynomial in the complex variable z . . • Along with a z-transform we associate its region of convergence (or ROC).

math guide .34.100 • Some common z-transforms are shown below. Table 1: Common z-transforms Signal x[ n] δ[n] u[n] z-Transform X(z) 1 1 --------------–1 1–z z ---------------------–1 2 (1 – z ) z (1 + z ) ---------------------------–1 3 (1 – z ) 1 -----------------–1 1 – az az -------------------------–1 2 ( 1 – az ) 1 -----------------–1 1 – az az -------------------------–1 2 ( 1 – az ) 1 – z cos ω 0 -----------------------------------------------–1 –2 1 – 2z cos ω 0 + z z sin ω 0 -----------------------------------------------–1 –2 1 – 2z cos ω 0 + z 1 – az cos ω 0 --------------------------------------------------------–1 2 –2 1 – 2az cos ω 0 + a z –1 –1 –1 –1 –1 –1 –1 –1 ROC All z z >1 nu [ n ] z >1 n u[n ] 2 z >1 a u[n ] n z > a na u [ n ] n z > a ( – a )u [ – n – 1 ] n z < a ( – na )u [ – n – 1 ] n z < a cos ( ω 0 n ) u [ n ] z >1 sin ( ω 0 n ) u [ n ] z >1 a cos ( ω 0 n ) u [ n ] n z > a .

101 Table 1: Common z-transforms Signal x[ n] a sin ( ω 0 n ) u [ n ] n z-Transform X(z) az sin ω 0 --------------------------------------------------------–1 2 –2 1 – 2az cos ω 0 + a z z ----------------------------–1 k + 1 (1 – z ) –k –1 ROC z > a n! ---------------------. except z = 0 if k > 0 and z = ∞ if k < 0 a r2 < z < a r1 1 1 ---.u [ n ] k! ( n – k )! z >1 • The z-transform also has various properties that are useful.math guide . Table 2: Two-sided z-Transform Properties Property Notation Time Domain x[ n] x1 [ n ] x2 [ n ] Linearity αx 1 [ n ] + βx 2 [ n ] X(z) X1 ( z ) X2 ( z ) αX 1 ( z ) + βX 2 ( z ) z-Domain ROC r2 < z < r 1 ROC 1 ROC 2 At least the intersection of ROC 1 and ROC 2 Time Shifting x[ n – k] z X( z) –k That of X ( z ) .< z < ---r2 r1 r2 < z < r 1 z-Domain Scaling Time Reversal a x[ n] x [ –n ] nx [ n ] n X(a z) X(z ) dX ( z ) – z ------------dz –1 –1 z-Domain Differentiation .34. The one-sided z-transform properties can be derived from the ones below by considering the signal x [ n ]u [ n ] instead of simply x [ n ] . The table below lists properties for the two-sided z-transform.

For example a square wave can be approximated with a sum of a series of sine waves with varying magnitudes.+ 2 ∞ ∑ n=1 nπx nπx a n cos  -------.34. dx  L  L –L 34. dx  L  L –L 1 L nπx b n = -.Fourier.∫ f ( x ) cos  -------.math guide .11 TOPICS NOT COVERED (YET) • To ensure that the omissions are obvious.∫ f ( x ) sin  -------.  L   L  1 L nπx a n = -. v –1 dv  v j2π° x [ 0 ] = lim X ( z ) z→∞ At least r 1l r 2l < z < r 1u r 2u Initial value theorem 34. Bessel . I provide a list of topics not covered below. Some of these may be added later if their need becomes obvious.10 FOURIER SERIES • These series describe functions by their frequency spectrum content. • The basic definition of the Fourier series is given below.∫ X 1 ( v )X 2  . • Frequency domain .102 Table 2: Two-sided z-Transform Properties Property Convolution Time Domain x 1 [ n ]*x 2 [ n ] z-Domain X 1 ( z )X 2 ( z ) ROC At least the intersection of ROC 1 and ROC 2 Multiplication x 1 [ n ]x 2 [ n ] x [ n ] causal 1z ------. a0 f ( x ) = ---. + b n sin  -------.

M.103 34.math guide . 1968.. Schaum’s Outline Series. R. . Mathematical Handbook of Formulas and Tables.12 REFERENCES/BIBLIOGRAPHY Spiegel. McGraw-Hill Book Company.34.