Review of The Mathematical Foundation: Lesson 1
Review of The Mathematical Foundation: Lesson 1
LEARNING OUTCOMES:
1. Familiarized the Derivatives and Integrals and Taylor Series
2. Explained the uses of Matrix and Vector
Function
A function written as y = f(x) associates a unique number y (dependent
variable) with each value of x (independent variable). A function can have more
than one independent variable.
Limit of a function
If a function f(x) comes arbitrarily close to a single number L as x
approaches a number a from either the right side or the left side, then the limit
of f(x) is said to approach L as x approaches a. Symbolically, the limit is
expressed by:
Derivatives of a function
The ordinary derivative, first derivative, or, simply, derivative of a function
𝑑𝑦 𝑑𝑓
y = f(x) at a point x = a in the domain of f(x) is denoted by , y', 𝑑𝑥 , or f'(a),
𝑑𝑥
and is defined as:
𝑑𝑦 𝑓 (𝑥 ) − 𝑓(𝑎)
| = 𝑓 ′ (𝑎) = lim
𝑑𝑥 𝑥=𝑎 𝑥→𝑎 𝑥−𝑎
𝑑𝑦 𝑑𝑦 𝑑𝑢
=( ) ( )
𝑑𝑥 𝑑𝑢 𝑑𝑥
Integral of a function
There are two types of integrals of a function of one variable, the
indefinite integral and the definite integral. The indefinite integral is the opposite
or inverse of the derivative and is therefore also referred to as the antiderivative.
𝑑𝑓(𝑥)
For instance, if g(x) is the derivative of f(x), that is, if g(x) = , then the
𝑑𝑥
antiderivative or indefinite integral of g(x) is f(x) and is written as:
f(x)=∫g(x)dx
𝑏
∫ 𝑓(𝑥 )𝑑𝑥 = 𝐹(𝑏) − 𝐹(𝑎)
𝑎
VECTORS
Vectors are quantities (mathematical or physical) that have two
attributes: magnitude and direction. In contrast, objects with a single attribute,
such as magnitude, are called scalars. Examples of scalars are mass, length,
and volume. Examples of vectors are force, momentum, and acceleration. One
way to denote a quantity that is a vector is by writing a letter with a small arrow
(or a short line) above the letter. Projections of the vector onto each of the
coordinate axes define the components of the vector.
Multiplication by a scalar
If [a] = [aij] is a matrix and α is a scalar, then α[a ij] = [αaij] is obtained by
multiplying every element or entry of the matrix by the number α.
Transpose of a matrix
The transpose operation of a matrix rearranges the matrix such that the
rows are switched into columns (or vice versa, the columns are switched into
rows).
Multiplication of matrices
The multiplication [c] = [a] [ b] of a matrix [a] times a matrix [ b] is defined
only when the number of columns of matrix [a] is equal to the number of rows
of the matrix [b]. There are no restrictions on the number of rows of [a] or the
number of columns of [b]. The result of the multiplication is a matrix [c] that has
the same number of rows as [a] and the same number of columns as [b].
Properties of Matrices
The following are general properties of matrices. The properties above
apply to subtraction as well.
• [a]+[b] = [b]+[a]
• ([a]+ [b]) + [c] = [a]+ ([b] + [c])
• α ([a] + [b]) = α.[a] + α.[b], where α. is a scalar
• (α.+ β).[a] = α.[a] + β [a], where a. and β are scalars
Determinant of a Matrix
The determinant of a matrix is often difficult to compute if the size of a
matrix is larger than (3 x 3) or (4 x 4). The determinant is a number. It is the
sum of all possible products formed by taking one element from each row and
each column and attaching the proper sign. The proper sign of each term is
found by writing the individual terms in each product and counting the number
of interchanges necessary to put the subscripts into the order 1, 2, ... , n. If the
number of such required interchanges is even, then the sign is + and if the
number of interchanges is odd, the sign is - . Formally, the determinant of a
matrix [a]nxn is denoted by det(a) or [a] and is defined as:
Note that the coefficients in Equation are all functions only of the
independent variable x. Examples of linear ODEs are:
𝑑𝑦 𝑑𝑥 𝑑2 𝑥
= 10x c 𝑑𝑡 +kx = - m𝑑𝑡 2
𝑑𝑥
Order of an ODE
The order of an ODE is determined by the order of the highest derivative
that appears in the equation. The order of an ODE can convey important
information. When an ODE is solved, arbitrary constants or integration
constants appear in the solution. The number of such constants that must be
determined is equal to the order of the ODE. For example, the solution to a
second-order ODE has two undetermined constants. This means that two
constraints must be specified in order to determine these two undetermined
constants. When the independent variable is position and the constraints are
specified at two different posit ions, the constraints are called boundary
conditions. When the independent variable is time and the constraints are
specified at a single instant of time, the constraints are called initial conditions.
Nonlinear ODE
An ODE is nonlinear if the coefficients in equation are functions of y or
its derivatives, if the right-hand side r is itself a nonlinear function of y, or if the
linear term a1(x)y is replaced with a nonlinear function of y. The following ODEs
are all examples of nonlinear ODEs:
𝑑2 𝑦
+ sin y = 4
𝑑𝑡 2
𝑑2 𝑦
y + 3y = 8
𝑑𝑡 2
𝑑𝑦 𝑑2 𝑦
( 𝑑𝑡 ) 𝑑𝑡 2 + y = 9
𝑑2 𝑦
+ 8y= tan y
𝑑𝑡 2
𝑑𝑓 (𝑥−𝑥0 )2 𝑑2 𝑓 (𝑥−𝑥0 )3 𝑑3 𝑓
f(x) = f(x0 )+ (x-x0) 𝑑𝑥 | 𝑥=𝑥0 + | + | +…
2! 𝑑𝑥 2
𝑥=𝑥0 3! 𝑑𝑥 3 𝑥=𝑥0
(𝑥−𝑥0 )𝑛 𝑑𝑛 𝑓
+ | + 𝑅𝑛 (𝑥)
𝑛! 𝑑𝑥 𝑛 𝑥=𝑥0
1 𝜕𝑓 𝜕𝑓
f (x,y) = f(x0, y0) + 1! [(𝑥 − 𝑥0 ) 𝜕𝑥| + 𝑦 − 𝑦0 ) 𝜕𝑥| ]
𝑥0 , 𝑦0 𝑥0 , 𝑦0
1 2
𝜕2𝑓 𝜕𝑓
+ (
[ 𝑥 − 𝑥0 ) | + 2(𝑥 − 𝑥0 )(𝑦 − 𝑦0 ) |
2! 𝜕𝑥 2 𝑥 𝜕𝑥 𝑥0 , 𝑦0
0 , 𝑦0
𝜕𝑓
+ (𝑦 − 𝑦0 )2 𝜕𝑥| ] +…+
𝑥0 , 𝑦0
𝑛
1 𝑛! 𝜕𝑛 𝑓
[∑ (𝑥 − 𝑥0 )𝑘 (𝑦 − 𝑦0 )𝑛−𝑘 𝑛 𝑛−𝑘 | ]
𝑛! 𝑘! (𝑛 − 𝑘)! 𝜕𝑥 𝜕𝑦 𝑥0 , 𝑦0
𝑘=0
⃗ l and l𝑈
where l𝑉 ⃗ l are the magnitudes of the vectors and θ is the angle between
the two vectors. The vectors are orthogonal to each other if ( 𝑉⃗ I𝑈⃗ ) = 0 (i.e. the
angle between them is π/2) and parallel if ( 𝑉⃗ I𝑈
⃗ ) = 1.
Inner product of sine and cosine functions
For sine and cosine functions the inner product over the interval [-π, π]
is given by (for k and m integers):
𝜋 0 𝑘 ≠𝑚
(sin(kx)|sin(mx)) = ∫−𝜋 𝑠𝑖𝑛(𝑘𝑥 )𝑠𝑖𝑛(𝑚𝑥 )𝑑𝑥 = { 𝑘= 𝑚
𝜋
𝜋 0 𝑘 ≠𝑚
(cos(kx)|cos(mx)) = ∫−𝜋 𝑐𝑜𝑠(𝑘𝑥 )𝑐𝑜𝑠(𝑚𝑥 )𝑑𝑥 = { 𝑘= 𝑚
𝜋
𝜋 𝑘 ≠𝑚
(sin(kx)|cos(mx)) = ∫−𝜋 𝑠𝑖𝑛(𝑘𝑥 )𝑐𝑜𝑠(𝑚𝑥 )𝑑𝑥 = 0 𝑘= 𝑚
Thus, sin kx and sin mx are orthogonal to each other for k not equal to
m but not orthogonal for k = m. Similarly, cos kx and cos mx are orthogonal to
each other for k not equal to m but not orthogonal for k = m. Finally, sin kx and
cos mx are orthogonal to each other regardless of whether or not k and m are
equal to each other (as long as they are both integers).
The inner product for sine and cosine functions over an arbitrary domain
[a,b] is given by (for k and m integers):
𝜋𝑘𝑥 𝜋𝑚𝑥 𝑏 𝜋𝑘𝑥 𝜋𝑚𝑥 0 𝑘 ≠𝑚
(sin( 𝐿 )|sin( 𝐿 )) = ∫𝑎 𝑠𝑖𝑛 ( 𝐿 ) 𝑠𝑖𝑛 ( 𝐿 ) 𝑑𝑥 = { 𝑘= 𝑚
𝐿
𝜋𝑘𝑥 𝜋𝑚𝑥 𝑏 𝜋𝑘𝑥 𝜋𝑚𝑥 0 𝑘 ≠𝑚
(cos( 𝐿 )|cos( 𝐿 )) = ∫𝑎 𝑐𝑜𝑠 ( 𝐿 ) 𝑐𝑜𝑠 ( 𝐿 ) 𝑑𝑥 = { 𝑘= 𝑚
𝐿
where L=(b-a)/2.
Activities: