WTW 164 - Calculus 2 Notes
WTW 164 - Calculus 2 Notes
[ ]
i j k
c⃗ = a1 a2 a 3
b1 b2 b 3
c⃗ =
[ ] [ ] [ ]
a 2 a3
b 2 b3
a a
i− 1 3 j+ 1 2 k
b 1 b3
a a
b1 b2
c⃗ =¿ a2 b3−a 3 b 2 ,−(a ¿ ¿ 1 b3−a3 b1) , a1 b2−a2 b 1> ¿ ¿
If we want to determine the vector equation of a line ( r ) , we need a point on the
line (r 0 ) and a vector that is parallel to the line ( v ). IF we have these, we can
determine the equation in the following form:
o r =r 0 +t v
If we let r =¿ x , y , z >¿ , r 0 =¿ x0 , y 0 , z 0 >+¿ and v=¿ ta , tb ,tc> ¿,
then:
¿ x , y , z> ¿< x 0 , y 0 , z0 >+ ¿ta , tb, tc>¿
Parametric expression for a vector line( r ) that goes through the point (r 0 ) and is
parallel to vector line ( v).
o x=x 0 +ta
o y= y 0+ tb
o z=z 0 +tc
If we rearrange the above equation to put “t” as the subject of the equation, we
obtain the symmetric equations as followed:
x−x 0
o t=
a
y− y 0
o t=
b
z−z 0
o t=
c
From the above, we can say that:
x−x 0 y− y 0 z−z 0
o = =
a b c
Planes
To determine the equation of a plane, we can use the following formula:
o n ∙ ( r−r 0 )=0
Where:
n is the line normal to the plane
r andr 0 are points on the plane
If two planes are parallel, then their normal vectors are parallel (can be written as a product
of each other)
o n1 =t n2
If two planes are perpendicular, the product of the dot product of the two vectors is 0
o ⃑ ⃑
v1 ∙ v 2=0
To determine the angle between two planes, we use the dot product of their normal vectors
divided by the length of their normal vectors:
⃑ ⃑
o n1 ∙ n2
cos ( θ )=
¿ n1∨¿ n2∨¿¿
To determine the distance between two planes, use the following formula
|n ∙ b| |a ( x1 −x 0 )+ b ( y 1− y 0 ) + c(z 1−z 0 )|
o
|n| |√ a2 +b 2+ c 2|
Where:
n is the normal vector in the form ¿ a , b , c >¿
b is a line in the plane in the form ¿ x 1−x 0 , y 1− y 0 , z 1−z 0 >¿o
If a plane is given in the form ax +by +cz =d , then the vector perpendicular to the plane is
given by ¿ a , b , c >¿
Unit 1.3 – Gaussian Elimination
The Goal of Gaussian elimination is to transform a matrix into the form form:
[ ]
1 ⋯ na
o ⋮ ⋱ ⋮b
0 ⋯ 1c
In this form, the diagonals much all equal 1
The values under the diagonal must all be zero (Upper Triangular form)
The values above the diagonal can be any real number
The values of a, b, c are real numbers
Row-echelon form. A matrix is in row-echelon form if it is in the form:
[ ]
1 ⋯ 0a
o ⋮ ⋱ ⋮b
0 ⋯ 1c
The diagonals much all equal 1
All other values must be zero.
The values of a, b, c are real numbers
Theorem 1.2:
⃑
Let [ A∨b ] be an augmented matrix with A in row-echelon form
The system us inconsistent (has no solutions) if A has a row of zeros and the
⃑
corresponding b value of the row is not zero. (e.g., [0 0 0∨6 ])
The system is consistent and has a unique solution if a ii ≠ 0 (i.e., none of the
diagonal entries values are zero)
The system is inconsistent and has an infinite many solutions if the number of non-
zero rows in A is less than the number of columns in A
[ ]
6 4 58
e.g. 9 2 37
0 0 00
What the results of a 3x3 matrix (set of three linear equations) means:
One unique solution:
The planes all intersect at a singular point
No solutions:
The planes are parallel to each other
Unique Solution Theorem
Let A be an n × n matrix. Then the following statements are equivalent (if one is true, all are
true)
⃑ ⃑
o The system [ A∨b ] has a unique solution for each column vector b
o A is row equivalent (can be reduced by row reduction to an upper triangular matrix
with non-zero diagonals)
o
⃑ ⃑
0 (The zero matrix) is the only solution of A∨0 ¿
Unit 1.4 – Matrix introduction
Row Matrix/Vector
If a matrix A, only has one row:
o A=[a1 a2 … an ]
Column Matrix/Vector
If a matrix A only has one column
[]
a1
a2
o
⋮
a3
o Then A is a column matrix or column vector
Definition
Let A=[a¿¿ ij ]¿ and B=[bij ] be two matricies of the same size, m× n . We say that A and B
are equal if all the corresponding entries are equal. That is:
o [ a ij ]=[ b¿¿ ij]¿ if and only ifa ij=bij
for all i=1,2 , … , mand j=1,2 ,… , n
Square Matrix
A square matrix is one that has an equal number of rows and columns. Therefore, n=m
Identity matrix
The identity matrix is a square matrix where the entries along the diagonals is 1 and all other
entries are zero
[ ] [ ]
1 0 0 0
⃑ 0 1 0 0
o I 4= 1 0 0 ⃑
I 3= 0 1 0
0 0 1 0
0 0 1
0 0 0 1
Zero Matrix
The zero matrix is a square matrix where all the values are 0
[ ] [ ]
0 0 0 0
⃑ 0 0 0
0 0 0 0 ⃑
o 0 4= 0= 0 0 0
0 0 0 0 3
0 0 0
0 0 0 0
Transpose Matrix
The transpose matrix A, denoted by AT is the matrix that is obtained by switching the rows
and columns of A
[ ]
2 3
o A= [ 2 1 4
3 8 5 ] T
A =1 8
4 5
Symmetrical Matrix
[ ]
1 5 8
o A= 5 3 4
8 4 7
o The transpose of a symmetrical matrix is identical to the original matrix
A=A T
[ ]
3 4 5
o 0 7 2
0 0 1
Lower Triangular Matrix
A lower triangular matrix is a square matrix that contains only zeros above the diagonal
[ ]
1 0 0
o 8 4 0
9 3 7
Diagonal Matrix
A diagonal matrix is a square matrix in which the entries outside of the diagonal are all zero
[ ]
7 0 0
o 0 8 0
0 0 5
Negative Matrix
The negative of matrix A , denoted by − A , and is the matrix whose entries are all the
opposite side of A
[ ] [ ]
5 9 −4 −5 −9 4
o A= −7 3 6 − A= 7 −3 −6
−2 8 −3 2 −8 3
Matrix addition
Given two matrices of the same size, A=[aij ] and B=[ b ij ] , the matrix A+ B is obtained by
adding the corresponding entries of A and B
o A= [ 42 −66 ] B=[−812 −37 ]
A+ B=[
16 3 ]
−6 1
o
A=
[ 126 −180 ]
6 A=
[ 3672 −108
0 1
] 2 A=[ 36 −90 ]
Properties of Scalar multiplication
Let A , B be two matrices of the same size and let r , s be real numbers.
o r ( A + B )=rA +rB (Distributive law)
o ( r + s ) A=rA+ sA (Distributive law)
o (rs ¿ A=r ( sA ) =s (rA ) (Associative law)
o 1 A= A (Multiplicative identity)
o ⃑
0 A=0 (Multiplicative zero)
o ( cA )T =c ( A )T (Transpose of a scalar multiplication)
Matrix multiplication
If A is an m× n matrix and B is an n × k matrix, then the product, C= AB is a m× k matrix
where entry c ij of C is the dot product of the i th row of A and the j th column of B given by.
o c ij =a i1 b1 j + ai 2 b 2 j +…+ a¿ bnj
[ ]
2 −1
A= [
3 −1 3
−1 5 2 ]
(2 ×3) B= 5 5 (3 × 2)
4 −1
AB=
[
( 3 )( 2 ) + (−1 ) ( 5 ) + ( 3 ) ( 4 ) ( 3 ) (−1 )+ (−1 )( 5 ) + ( 3 )(−1 )
(−1 )( 2 ) + ( 5 ) ( 5 ) + ( 2 ) ( 4 ) (−1 ) (−1 )+ ( 5 )( 5 )+ (2 )(−1 ) ]
AB=
31 24[
13 −11
]
(2 ×2)
( AB ) C= A ( BC ) (Associative Law)
A ( B +C ) =AB+ AC (Distributive law)
( A+ B ) C=AC+ BC (Distributive law)
( AB )T =( BT ) ( A T ) (Transpose of a product)
IA= A= AI (Multiplicative identity)
⃑ ⃑
0 A=0 (Zero element)
AB≠ BA (Not communitive)
The square ( An ¿ of a matrix is only possible for a square matrix (n × n)
Things to note
In general, AB≠ BA
⃑ ⃑ ⃑
if AB+ 0 , we cannot conclude that either A=0 or B=0
if AB=BC we cannot conclude that B=C
Unit 1.5 – Inverse of a square matrix
Inverse of a matrix
An n × n matrix A , is invertible (or nonsingular) when there exists an n × n matrix A−1 such
that
o A−1 A=A A−1=I n
If such a matrix exists, it is unique. The matrix A−1 is then called the inverse of A .
If such a matrix does not exist, we say that it is non-invertible or singular.
General Rules
Only a square matrix can have an inverse
It is not true that the inverse of a matrix consists of the inverse of the entries
Finding the inverse of a matrix
1. Argument A with the identity matrix I :[ A∨I ]
2. Transform A into reduced echelon form while simultaneously applying the same elementary
operations to I
3. If [ A|I ] reduces to [I ∨B] , then A−1=B . If not, then A is not invertible.
−1 T
A has an inverse and ( AT ) =( A−1 )
T
o
−1 n
o For any n ϵ Ν : ( A n ) =( A−1 )
o ¿
Proof for point 2, AB has an inverse and ( AB )−1=B−1 A−1
Since we know that ( AB )( AB )−1=I 2=I ,then if we prove that: ( AB ) ( B−1 A−1 ) =I ,we will
prove the statement.
o ¿ ( AB ) ( B−1 A −1 )
¿ A(BB ) A
−1 −1
o (Associative Law)
o ¿ ( A A ) ( B B )(Associative Law)
−1 −1
In general:
⃑
If A is invertible, then A ⃑x=b has a unique solution
o ⃑x= A−1 b⃑
Let A= [ ac bd ]
o If ad−bc ≠ 0, then A =
−1 1
[ d −b
ad−bc −c a ]
o If ad−bc=0, then A−1 does not exist.
Orthogonal matrices
A square matrix A is orthogonal if:
o A−1=A T or A AT =I
Diagonal matrix
1
If A=[ aij ]is a diagonal matrix and A is invertible, then A−1has diagonal entries and zero
aii
everywhere else.
[ ]
2 0 0
o If A= 0 3 0 then:
0 0 1
[ ]
1
0 0
2
o A−1= 1
0 0
3
0 0 1
Unit 1.6 – Determinants
Determinant of a 2 ×2 matrix
Let A= [ ac bd ]
det ( A )=| A|=ad−bc
o E.g. Let A= [
2 5
7 12 ]
o det ( A )=( 2 ) ( 12 )−( 5 ) ( 7 )
o det ( A )=−11
Minor
If A=[ aij ] is a square matrix, then the Minor M ij of the entry a ij is the determinant of the
matrix obtained after deleting the row i and column j from the matrix A
[ ]
a11 a12 a13
o Let A= a 21 a22 a23
a31 a32 a33
o M 21=
|
a 12 a13
a 32 a33 |
=a12 a 33−a13 a32
o M 21=a12 a33−a 13 a 32
Cofactor
i+ j
The cofactor C ij is defined as C ij =(−1 ) M ij
[ ]
a11 a12 a13
o Let A= a 21 a22 a23
a31 a32 a33
o C 13=(−1 )
1+3
M 13= (−1 )
4
|
a12 a 13
a32 a 33 |
=( 1)(a 12 a33−a13 a32)
[ ]
1 2 3
o E.g. Let A= −1 0 4
5 1 2
o det ( A )=a 11 C11 +a12 C12 +a13 C13
Theorem 3.5
Let A be an n × n matrix that is invertible. Then
1
o det ( A−1 ) =
det ( A )
Theorem 3.6 – Cramer’s rule
⃑
Let A ⃑x=b be a system of n linear equations with n unknows. We denote A j, the matrix
⃑
obtained by replacing the enters in the j th column of A by the entries in matrix b . If
det ( A)≠ 0, then the system has a unique solution
det ( A 1) det ( A 2 ) det ( A n )
o x 1= , x2= ,… , x n= .
det ( A ) det ( A ) det ( A )
Unique Solution Theorem
Let A be a n × n matrix. Then the following statements are equivalent (if one is true, all are
true)
⃑ ⃑
o The system [ A∨b ] has a unique solution for each column vector b
o A is row equivalent (can be reduced by row reduction to an upper triangular matrix
with non-zero diagonals)
o ⃑ ⃑
0 (The zero matrix) is the only solution of A∨0 ¿
o If A is invertible (Theorem 3.4)
o The determinant of A is non-zero (Theorem 3.4)
Geometric applications – Aera of a parallelogram
o
⃑
A=¿ y ¿=
x1
x2 [ ] y1
y2
o |det ( A)|=|x 1 y 2−x 2 y 2|unit s2
Geometric applications: Volume of a parallelepiped
Three vectors ⃑x , ⃑ ⃑ 3 3
y and z in R define a parallelepiped in R (3D).
Let A be a 3 ×3 matrix with column vectors ⃑x , ⃑ ⃑
y and z . The column of the parallelepiped is
given by the absolute value of the determinant of A
⃑⃑⃑
A=[ x y z ]
⃑ ⃑ ⃑
det ( A )=volume of the parallelepiped by x , y∧ z
Unit 2 – Integrals
Standard Integrals
Integral of a constant function
∫ c . dx=cx +C
Integral of a power function
1
∫[ f (x )]
n n+1
'
. f ( x ) . dx=
n+1
[ f ( x ) ] +C
∫ cos ( f ( x ) ) . f ( x ) . dx=sin ( f ( x ) ) +C
'
∫ sec ( f ( x ) ) . f ( x ) . dx=tan ( f ( x ) ) +C
2 '
ln ( x2 +1 )
∫ arctan ( x )=xarctan ( x ) − 2
+C
1 1 1
∫ cos 2 ( x ) . dx=∫ 2 ( 1+cos ( 2 x ) ) . dx= 2 x + 4 sin ( 2 x ) +C
1 1 1
∫ sin 2 (x) . dx=∫ 2 ( 1−cos ( 2 x ) ) . dx= 2 x− 4 sin ( 2 x )+ C
∫ tan2 ( x ) . dx=∫(sec2 (x)¿−1) .dx =tan (x)−x +C ¿
Odd powered trigonometric function
Use the following identities to solve:
2 2
cos ( x ) +sin ( x ) =1
. dx=arccos ( )
'
−f ( x ) f (x)
∫ +C
√ a −|f ( x )|
2 2 a
∫
f '(x)
a2 +|f ( x )|
1
. dx= arctan
a 2
f (x)
a
+C ( )
'
f (x)
∫ f ( x ) . dx=ln|f ( x)|+ C
Integral of hyperbolic functions
∫ sinh ( f ( x )) . f ( x ) . dx=cosh ( f ( x ) ) +C
'
∫ cosh ( f ( x ) ) . f ( x ) . dx=sinh ( f ( x ) ) +C
'
∫ sech ( f ( x ) ) . f ( x ) . dx=tanh ( f ( x ) ) +C
2 '
1
9∫ ¿ ¿
2
9 9
¿ ¿
2 2
but,
Type 2
o If √ a2 + x 2occurs in an integral, try substitution:
π π
x=atan ( θ ) ,− <θ<
2 2
Type 3
o If √ x 2−a2 occurs in an integral, try substitution:
π 3π
x=asec ( θ ) , 0 ≤θ < ∨π ≤θ<
2 2
Unit 2.7 – Area between two curves
For a graph such as the following:
∫ e y . dy
3
Unit 2.8 – Volume of a solid of revolution
Rotate about the x−axis :
√
b
L=∫ 1+
a
( )
dy 2
dx
dx OR
∫√
b
1+( ) dy
2
dx
L=
a dy
√
ds= 1+( ) dy 2
dx
. dx
√
ds= 1+( ) . dy
2
dx
dy
Unit 2.10 – Area of a surface of revolution
Rotated about the y−axis
√
b
SA=∫ 2 πy 1+
a
( )
dx 2
dy
dy
√
b
( )
2
dy
SA=∫ 2 πy 1+ dx
a dx
√
b
SA=∫ 2 πx 1+
a
( )
dy 2
dx
dx
√
b
( )
2
dx
SA=∫ 2 πx 1+ dy
a dy
Unit 3
Unit 3.1
Unit 3.2
Unit 3.3
Unit 4
Unit 4.1 – Parametric and Polar equations
Parametric curves
Find the tangent in terms of x and y . To do this, derive both x and y in terms of t. Then put
the derivatise over each other in the form below
' dy ' dx
o g (t )= f ( t )=
dt dt
dy
dt
o dy f ' ( t ) dx dy
= = =
dx g ' ( t ) dt dx
Horizontal tangent:
dy dx
o A horizontal tangent will exist where =0 AND ≠0
dt dt
Vertical tangent:
dx
o A vertical tangent will exist where =0
dt
Second derivative
o The second derivative is the derivative of the first derivative with respect to t over
dx
.
dt
2
d dy
dt dx [ ]
d y dx
=
2
d x dt
Area under the curve
o Let x=f (t )∧ y=g ( t ) . Then find f ' ( t ) . Change a andb to be in terms of t . Use the
following formula:
β
A=∫ g ( t ) . f ' ( t ) . dt – where f ( β )=f ( a ) and f ( α )=f (b)
α
Arclength
o Let x=f (t )∧ y=g ( t ) . Change a andb to be in terms of t . Use the following formula:
√(
β
) ( )
2 2
dx dy
L=∫
+ . dt where f ( β )=f ( a )∧f ( α )=f ¿ ¿)
α dt dt
Surface area rotated about the x−axis
o Let x=f (t )∧ y=g ( t ) . Change a andb to be in terms of t . Use the following formula:
√(
β
)( )
2 2
dx dy
S=2 π ∫ g (t) + . dt where f ( β )=f ( a )∧f ( α ) =f ¿ ¿)
α dt dt
Surface area rotated about the y−axis
o Let x=f (t )∧ y=g ( t ) . Change a andb to be in terms of t . Use the following formula:
√(
β
S=2 π ∫ f (t )
α dt ) ( )
dx 2 dy 2
+
dt
. dt where f ( β )=f ( a )∧f ( α )=f ¿ ¿)
Polar coordinates
Polar coordinates
o A point in polar space is represented by a distance and an angle. This angle is
measured clockwise from the x−axis . The standard formula for a polar coordinate
is: (r , θ)
Convert from polar to cartesian:
o x=rcos ( θ ) y=rsin ( θ ) 2 2
x + y =r
2
Polar equations:
o General formula: r =f (θ)
Tangent to polar curves
dy
dy dθ d
o r =f ( θ ) x=f (θ ) cos ( θ )=f (θ)sin (θ ) = = ¿¿
dx dx dθ
dθ
Horizontal tangent:
dy dx
o Where: =0 and ≠ 0
dθ dθ
Vertical tangent:
o Where:
dx
=0
dθ
Conic Sections
Parabola
o A parabola is a set of points that are equidistant from a fixed point F (focus) and a
fixed line (Directrix)
o General formula:
x 2=4 py
Where (0 , p) is the focus (in term
y=−p is the directrix
2
y =4 px
Where ( p , 0) is the focus (in term
x=− p is the directrix
Ellipse
o An ellipse is a set of points such that the sum of the distance to two fixed points F 1
and F 2 (foci) is a constant
o General formula:
2 2
x y
2
+ 2 =1
a b
Where the Foci is: ( ± c ,0 ) , where c=a2−b 2
Vertices at (± a , 0)
Hyperbola
o A hyperbola is a set of points such that the difference between the distance from
two fixed points F 1 and F 2 (foci) is a constant.
o General formula:
2 2
x y
2
− 2 =1
a b
Where the Foci is: ( ± c ,0 ) , where c=a2−b 2
Vertices at (± a , 0)
b
Asymptotes: y=± x
a
Unit 4.2 - Vector functions and Space Curves
Vector valued function
A function that for every t value in the domain ( t ϵ R ¿ , there exists a vector r denoted by:
^ g ( t ) ^j+h ( t ) k^
o r ( t )=¿ f ( t ) , g ( t ) , h ( t )> ¿ r ( t )=f ( t ) i+
Limit of a vector function:
o Provided the limit exists for each component of a function, then
lim r (t )=¿ lim f ( t ) , lim g (t ) , lim h ( t )> ¿
t →a t→a t →a t→a
Continuity
o A vector r is continuous at a lim r (t )=r ( a ) if and only if all component functions are
t →a
continuous at a .
Derivative of a vector function
o r ' ( t )=¿ f ' ( t ) , g ' ( t ) , h ' ( t ) >¿
Tangent line
' (t )
r
o T ( t )=
|r ' ( t )|
Unit 5
Partial derivative
Let f be a function of two variables z=f ( x , y ).
o The partial derivative of f with respect to x is given as the following:
∂f ∂z
f x ( x , y )= = =Dx f
∂x ∂x
To derive the function, you let x vary and fix y . This makes y
become a constant and you derive normally towards x.
o The partial derivative of f with respect to y is given as the following
∂f ∂ z
f y ( x , y )= = =D y f
∂y ∂ y
To derive the function, you let y vary and fix x . This makes x
become a constant and you derive normally towards y.
Higher order partial derivative
o 1st order:
f x ∨f y
nd
o 2 order:
f xx ∨f xy∨f yy∨f yx
In the above, you derive what is closest to f first and move
outwards.
Tangent Plane
Equation of the tangent plane to the surface z=f (x , y ) at the point P(x 0 , y 0 , z 0) is:
o z−z 0=f x ( x 0 , y 0 )( x −x0 ) + f y ( x 0 , y 0 ) ( y − y 0 )
Unit 6
Approximation of Functions by Polynomials
Taylor polynomials
o If f is n -times differentiable at c , then the polynomial below is the nth degree Taylor
polynomial of f at c .
'' ' '' n
f (c ) 2 f (c ) 3 f (c )
'
T n=f ( c ) + f ( x−c )+ ( x−c ) + ( x−c ) + …+ ( x−c )n
2! 3! n!
Maclaurin polynomial
o If the above is true and c=0. Then:
'' 2 ''' 3 n n
' f ( 0) x f ( 0) x f (0 ) x
M n ( x )=f ( 0 ) + f ( 0 ) x + + +…+
2! 3! n!