Professional Documents
Culture Documents
Dr. Manoj BR
Assistant Professor
Department of Electronics & Electrical Engineering
Indian Institute of Technology Guwahati
Mathematical Foundations
: approaches
: in an algorithm Assign to variable the new value
: The value of that leads to the maximum value of
: The value of that leads to the minimum value of
: that is, the remainder when is divided by (e.g.: 7 mod 5 =2)
: logarithm base , or natural logarithm of
: logarithm base 10 of
: logarithm base 2 of
: Vector of length solely of 1’s
: Matrix whose diagonal elements are and off-diagonal elements are 0
: Euclidean norm of vector
Determinant of ( is a matrix )
: Cardinality of set i.e., the number of (possible non distinct) discrete elements in it
Calligraphic font generally denotes sets or lists
Scalars
, defining a real-valued scalar
, defining a natural number scalar
Vectors: A dimensional vector is assumed to be a column vector. Vector is denoted by bold font
,
, ,…..,
Example: If then
,
1norm:
Euclidean (2norm):
norm:
Examples – consider a vector 𝑥2
1norm:
¿|𝒙|∨¿1 ¿
2norm :
𝑥1
norm:
¿|𝒙|∨
¿ 2¿
Vector norms
Example- consider a vector
1norm: 1
2norm:
norm:
Pictorial representation of all the - norms
Inner product
Example
Example
, (Cauchy-Schwarz inequality)
Vectors are orthogonal (perpendicular to each other) 𝑥3
Example:
0 01 10 0
Example: then
Spectral norm (2-norm)
• Spectral radius is 25
• Spectral norm is
Frobenius norm:
Example: . Then
Linear independence
A set of vectors is linearly independent if no vector in the set can be written as a linear
combination of any of the others
Example: and are linearly independent since they are not multiples of each other and
cannot be 0 other than
Rank
If the vectors are linearly independent they are called the basis for the subspace
are subspaces of ?
Let and
But
while
These are not equal polynomials so the condition does not hold for
are subspaces of V?
Solution: Yes, a subspace
Let ,
Thus,
Properties
1. is a symmetric matrix
Solution:
Diagonal entries of are called the singular values. They are positive, real, and sorted
: : :n
Rank The number of non-zero singular values
Steps for getting SVD for a Matrix
1. The ordering of the vectors comes from the ordering of the singular values (largest to
smallest)
The eigenvalues of are 25, 9, and 0, and since is symmetric we know that the eigenvectors will
be orthogonal
For reduced matrix is so,
For the last eigenvector, we could compute unit vector perpendicular to and by
Properties
Trace[] =
Det() =
If a matrix is diagonal, then its eigenvalues are simply the non-zero entries on the diagonal, and
the eigenvectors are the unit vectors parallel to the coordinate axes
Eigenvalue decomposition
Eigenvector given by
Eigenvalue decomposition and SVD
SVD of
: ; ; =
= adjoint of
If is not square (or if does not exist because the columns of are not linearly
If is non-singular , then
(or)
Example: Find inverse of ?
We know that:
0=
Vector derivative identities
Then,
Steps
………………….., (
…………..
………
=
( ……….+ ……….+ )
………
If is symmetric, then
()
Example: Let
Solution:
……. …
Example:
is the Hessian matrix, the matrix of second order derivatives of , here evaluated at
Example: then find the Hessian matrix?
…….
………..
……………
Orthogonality of and
Least square problems with several variables
Projection
Error vector:
Solution
The error vector must be perpendicular to each column …… of
or
(OR)
Projection
Projection matrix
If
then,
Solution:
References
https://www.youtube.com/watch?v=QVKj3LADCnA&list=PL49CF3715CB9EF31D