Math 5390 Chapter 2
Math 5390 Chapter 2
Math 5390 Chapter 2
As described in the last chapter, a digital image can be considered as a big two-dimensional matrix.
As a image resolution increases, a digital image can be regarded as a discretization of a continuous
function defined on a two-dimensional rectangular domain. Mathematical image processing are
mainly based on two mathematical tools, namely, advanced linear algebra and advanced calculus.
In this chapter, we will review some basic mathematical concepts necessary for our discussions.
where Ãij is the (n − 1) × (n − 1) matrix obtained from removing row i and column j of A (called
the minor of the entry of A in row i, column j). The scalar det(A) is called the determinant of
A and is also denoted by |A|. The scalar
(−1)i+j det(Ãij )
1
Theorem 1.5. Let A be a square matrix, and let B be a matrix obtained by adding a multiple of
one row of A to another row of A. Then det(B) = det(A).
Definition 1.9. Let A be a n × n matrix. The polynomial f (t) = det(A − tIn ) is called the
characteristic polynomial of A.
Definition 1.10. Let A be a m × n matrix. We define the conjugate transpose or adjoint of
A to be the n × m matrix A∗ such that (A∗ )ij = Aji for all i, j.
Definition 1.11. Let A be a n × n matrix. A is said to be normal if AA∗ = A∗ A; in particular,
A is said to be unitary if AA∗ = A∗ A = In .
Definition 1.12. Let A and B be n × n matrices. A is said to be similar to B if there exists an
invertible matrix C such that B = C −1 AC. In particular, A is said to be unitarily equivalent
to B if C is unitary.
Definition 1.17. The product B −1 AB in Theorem 1.16 is said to be a Jordan canonical form
of A.
2
2 Vector calculus in Euclidean space Rn
In this short section, we shall introduce some basic concepts about the vector calculus, which are
widely used in engineering, physics and other areas requiring mathematics.
Consider the Euclidean space Rn , with a rectangular coordinate system formed by the x1 -, x2 -,
· · · , and xn -coordinate axis. The vector calculus is about some basic operations of a vector-valued
function in Rn .
For any given vector-valued function v(x) in Rn with n components, we shall write v(x) as
v = grad u = ∇u .
Example 2.1. Find the gradient of u for u(x1 , x2 , x3 ) = x21 + x22 + sin(πx3 ).
Divergence. For any given vector-valued function v = (v1 , v2 , · · · , vn )T , we can define a scalar
∂v1 ∂v2 ∂vn
function w(x) = ∂x 1
+ ∂x2
+ · · · + ∂xn
. This function is called the divergence of function v. And
we often write
∂v1 ∂v2 ∂vn
div v = + + ··· + ≡∇·v
∂x1 ∂x2 ∂xn
It is easy to verify that
This vector is called the curl vector of v or the vorticity of v. It may help remember the curl
operation if we compare it with the vector cross-product a × b.
Two dimensions
In two dimensions, curl operation is also frequently used. But its operation is very different from
three dimensions. For any given scalar function v(x, y), we define
∂v ∂v
curl v = ( , − )T .
∂y ∂x
Sometimes, we write
curl v = ∇⊥ v ,
3
as ∇ and ∇⊥ are orthogonal in the sense that
∇v · ∇⊥ v = 0 .
It is interesting to notice that the Euclidean norm of curl v is the same as the gradient ∇v. But
this is only valid in two dimensions. (Why?)
One can also define another curl operation in two dimensions. For any vector-valued function
v(x, y), we define
∂v2 ∂v1
curl v = − .
∂x ∂y
This maps a vector-valued function into a scalar function.
Example 2.3. Verify that the divergence of the curl of any vector-valued function v(x1 , x2 , x3 ) is
zero.
Solution. The student may work out the detail for
div curl v = ∇ · (∇ × v) = 0 .
• Think about the operation curl (div u). It does not make sense in 3D. What about this operation
in 2D ?
Example 2.4. For any vector-valued function v(x1 , x2 , x3 ), verify the following relation
∇ × (∇ × v) = ∇(∇ · v) − ∆v .
The following conclusions are widely used to simplify some mathematical models:
Theorem 2.5. If a vector-valued function v(x1 , x2 , x3 ) is divergence-free, that is, ∇ · v = 0, then
there exists a vector-valued function w(x1 , x2 , x3 ) such that
v(x1 , x2 , x3 ) = ∇ × w(x1 , x2 , x3 ) .
v(x1 , x2 , x3 ) = ∇φ(x1 , x2 , x3 ) .
Finally, the students may try themselves to verify the following property:
Example 2.6. For any scalar function u(x1 , x2 , · · · , xn ) and any vector-valued function v(x1 , x2 , · · · , xn ),
we have
∇ · (u v) = ∇u · v + u(∇ · v) .
4
What is the operation ∇ × (u v) ? Work out a convenient formula for evaluating such operation.
The following integration by parts formulae are widely used in deriving variational formulations
for various partial differential equations:
For two scalar functions u and v, we have
Z Z Z
uxi v dx = − u vxi dx + u v ni ds .
Ω Ω ∂Ω