SlideShare a Scribd company logo
1 of 8
Download to read offline
EENGM0014 Mathematics for Signal Processing and
Communications
Tutorial 6
Soon Yau Cheong
University of Bristol
25 Nov 2016
Soon Yau Cheong (University of Bristol) EENGM0014 Mathematics for Signal Processing and Communications25 Nov 2016 1 / 8
Taylor Series Expansion at nominal point x*
F(x) = F(x∗
) +
d
dx
F(x)|x=x∗ (x − x∗
)
+
1
2
d2
dx2
F(x)|x=x∗ (x − x∗
)2
+ ...
+
1
n!
dn
dxn
F(x)|x=x∗ (x − x∗
)n
In matrix form :
F(x) = F(x∗
) + F(x)T
|x=x∗ (x − x∗
)
+
1
2
(x − x∗
)T 2
F(x)|x=x∗ (x − x∗
) + ...
Soon Yau Cheong (University of Bristol) EENGM0014 Mathematics for Signal Processing and Communications25 Nov 2016 2 / 8
Example : Approximate F(x)=sin(x) at x*=0
F(x) = sin(0) + cos(0)(x − 0) −
1
2
sin(0)(x − 0)2
−
1
6
cos(0)(x − 0)3
+ ...
= x −
1
6
x3
+ ...
Soon Yau Cheong (University of Bristol) EENGM0014 Mathematics for Signal Processing and Communications25 Nov 2016 3 / 8
Replace ∆x = x − x∗
into
F(x) = F(x∗
) + F(x)T
|x=x∗ (x − x∗
)
+
1
2
(x − x∗
)T 2
F(x)|x=x∗ (x − x∗
) + ...
We get
F(x∗
+ ∆x) = F(x∗
) + F(x)T
|x=x∗ (∆x)
+
1
2
(∆x)T 2
F(x)|x=x∗ (∆x) + ...
Soon Yau Cheong (University of Bristol) EENGM0014 Mathematics for Signal Processing and Communications25 Nov 2016 4 / 8
Derivative of linear matrix transform
Y ∈ Rn, X ∈ Rn, A ∈ Rm×n
Y = AX



y1
...
yn


 =



a11 a12 . . . a1n
...
...
...
...
am1 am2 . . . amn






x1
...
xn



yi =
n
j=1
aij xj ⇒
∂yi
∂xk
= aik
x Y =



∂y1
∂x1
∂y1
∂x2
. . . ∂y1
∂xn
...
...
...
...
∂ym
∂x1
∂y1
∂x2
. . . ∂ym
∂xn


 =



a11 a12 . . . a1n
...
...
...
...
am1 am2 . . . amn



x Y = A
Soon Yau Cheong (University of Bristol) EENGM0014 Mathematics for Signal Processing and Communications25 Nov 2016 5 / 8
Derivative of Quadratic Form
Given a square matrix A ∈ Rn×n and a vector X ∈ Rn, the scalar value
XT AX is called quadratic form
XT
AX =
n
i=1
xi (AX)i =
n
i=1
xi
n
j=1
aij xj =
n
i=1
n
j=1
aij xi xj
∂(XT AX)
∂xk
=
n
i=1
aikxi +
n
j=1
akj xj = (AT
X)k + (AX)k
if A is symmetric
(XT
AX) = 2AX
2
(XT
AX) = 2AT
= 2A
Soon Yau Cheong (University of Bristol) EENGM0014 Mathematics for Signal Processing and Communications25 Nov 2016 6 / 8
Hessian and Shape of Quadratic Function
We can tell the shape of quadratic function from Hessian and its
eigenvalue and eigenvectors
1 local minimum if Hessian is positive definite. Vice versa, local
maximum if Hessian is negative definite (see lecture note)
2 the gradient is steepest in the direction of eigenvectors of Hessian
with the largest eigenvalue (see solution of question 2 in problem
sheet week9 and Chapter 8 in ”Neural Network Design” 2nd ed by
Martin Hagan)
Soon Yau Cheong (University of Bristol) EENGM0014 Mathematics for Signal Processing and Communications25 Nov 2016 7 / 8
Examples
F(X) = x2
1 + x1x2 + x2
2 =
1
2
XT 2 1
1 2
X
Find eigenvalue and eigenvectors of Hessian of F(X)
λ1 = 1, v1 = [1 − 1]T
, λ2 = 3, v1 = [1 1]T
Soon Yau Cheong (University of Bristol) EENGM0014 Mathematics for Signal Processing and Communications25 Nov 2016 8 / 8

More Related Content

What's hot

Bab 11 matriks SPM 2015
Bab 11 matriks SPM 2015Bab 11 matriks SPM 2015
Bab 11 matriks SPM 2015aloysiusapat
 
Quadratic functions and Equations.pdf
Quadratic functions and Equations.pdfQuadratic functions and Equations.pdf
Quadratic functions and Equations.pdfDr. Subhash Unhale
 
Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 021 ...
Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 021 ...Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 021 ...
Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 021 ...Matthew Leingang
 
5 1 quadratic transformations
5 1 quadratic transformations5 1 quadratic transformations
5 1 quadratic transformationslothomas
 
6.6 Graphing Inequalities In Two Variables
6.6 Graphing Inequalities In Two Variables6.6 Graphing Inequalities In Two Variables
6.6 Graphing Inequalities In Two Variablesguestd1dc2e
 
Quadratic Function by Robert & Phillip
Quadratic Function by Robert & PhillipQuadratic Function by Robert & Phillip
Quadratic Function by Robert & PhillipHope Scott
 
6.6 analyzing graphs of quadratic functions
6.6 analyzing graphs of quadratic functions6.6 analyzing graphs of quadratic functions
6.6 analyzing graphs of quadratic functionsJessica Garcia
 
Mathematics 9 Quadratic Functions (Module 1)
Mathematics 9 Quadratic Functions (Module 1)Mathematics 9 Quadratic Functions (Module 1)
Mathematics 9 Quadratic Functions (Module 1)Juan Miguel Palero
 
Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 ...
Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 ...Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 ...
Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 ...Matthew Leingang
 
Quadratic Function by Jasmine & Cristina
Quadratic Function by Jasmine & CristinaQuadratic Function by Jasmine & Cristina
Quadratic Function by Jasmine & CristinaHope Scott
 
Quadratic equations and function
Quadratic equations and functionQuadratic equations and function
Quadratic equations and functionMelchor Cachuela
 
Math 4 6
Math 4 6Math 4 6
Math 4 6dears11
 
Module1 exponential functions
Module1  exponential functionsModule1  exponential functions
Module1 exponential functionsdionesioable
 
Grafica funciones cuadráticas
Grafica funciones cuadráticasGrafica funciones cuadráticas
Grafica funciones cuadráticasbibliotecalcr
 
6. 1 graphing quadratics
6. 1 graphing quadratics6. 1 graphing quadratics
6. 1 graphing quadraticsJessica Garcia
 
Modeling with Quadratics
Modeling with QuadraticsModeling with Quadratics
Modeling with QuadraticsPLeach
 

What's hot (20)

Bab 11 matriks SPM 2015
Bab 11 matriks SPM 2015Bab 11 matriks SPM 2015
Bab 11 matriks SPM 2015
 
Quadratic functions and Equations.pdf
Quadratic functions and Equations.pdfQuadratic functions and Equations.pdf
Quadratic functions and Equations.pdf
 
Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 021 ...
Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 021 ...Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 021 ...
Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 021 ...
 
Tree, function and graph
Tree, function and graphTree, function and graph
Tree, function and graph
 
5 1 quadratic transformations
5 1 quadratic transformations5 1 quadratic transformations
5 1 quadratic transformations
 
6.6 Graphing Inequalities In Two Variables
6.6 Graphing Inequalities In Two Variables6.6 Graphing Inequalities In Two Variables
6.6 Graphing Inequalities In Two Variables
 
Quadratic Function by Robert & Phillip
Quadratic Function by Robert & PhillipQuadratic Function by Robert & Phillip
Quadratic Function by Robert & Phillip
 
6.6 analyzing graphs of quadratic functions
6.6 analyzing graphs of quadratic functions6.6 analyzing graphs of quadratic functions
6.6 analyzing graphs of quadratic functions
 
QUADRATIC FUNCTIONS
QUADRATIC FUNCTIONSQUADRATIC FUNCTIONS
QUADRATIC FUNCTIONS
 
Quadratic functions
Quadratic functionsQuadratic functions
Quadratic functions
 
Mathematics 9 Quadratic Functions (Module 1)
Mathematics 9 Quadratic Functions (Module 1)Mathematics 9 Quadratic Functions (Module 1)
Mathematics 9 Quadratic Functions (Module 1)
 
Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 ...
Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 ...Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 ...
Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 ...
 
Quadratic Function by Jasmine & Cristina
Quadratic Function by Jasmine & CristinaQuadratic Function by Jasmine & Cristina
Quadratic Function by Jasmine & Cristina
 
Quadratic equations and function
Quadratic equations and functionQuadratic equations and function
Quadratic equations and function
 
Math 4 6
Math 4 6Math 4 6
Math 4 6
 
Module1 exponential functions
Module1  exponential functionsModule1  exponential functions
Module1 exponential functions
 
QMC: Undergraduate Workshop, Molecular Dynamics - A Sampling Problem - Anton ...
QMC: Undergraduate Workshop, Molecular Dynamics - A Sampling Problem - Anton ...QMC: Undergraduate Workshop, Molecular Dynamics - A Sampling Problem - Anton ...
QMC: Undergraduate Workshop, Molecular Dynamics - A Sampling Problem - Anton ...
 
Grafica funciones cuadráticas
Grafica funciones cuadráticasGrafica funciones cuadráticas
Grafica funciones cuadráticas
 
6. 1 graphing quadratics
6. 1 graphing quadratics6. 1 graphing quadratics
6. 1 graphing quadratics
 
Modeling with Quadratics
Modeling with QuadraticsModeling with Quadratics
Modeling with Quadratics
 

Similar to tutorial6

Slides: On the Chi Square and Higher-Order Chi Distances for Approximating f-...
Slides: On the Chi Square and Higher-Order Chi Distances for Approximating f-...Slides: On the Chi Square and Higher-Order Chi Distances for Approximating f-...
Slides: On the Chi Square and Higher-Order Chi Distances for Approximating f-...Frank Nielsen
 
Fixed Point Theorem in Fuzzy Metric Space Using (CLRg) Property
Fixed Point Theorem in Fuzzy Metric Space Using (CLRg) PropertyFixed Point Theorem in Fuzzy Metric Space Using (CLRg) Property
Fixed Point Theorem in Fuzzy Metric Space Using (CLRg) Propertyinventionjournals
 
On the solvability of a system of forward-backward linear equations with unbo...
On the solvability of a system of forward-backward linear equations with unbo...On the solvability of a system of forward-backward linear equations with unbo...
On the solvability of a system of forward-backward linear equations with unbo...Nikita V. Artamonov
 
Actuarial Science Reference Sheet
Actuarial Science Reference SheetActuarial Science Reference Sheet
Actuarial Science Reference SheetDaniel Nolan
 
Scattering theory analogues of several classical estimates in Fourier analysis
Scattering theory analogues of several classical estimates in Fourier analysisScattering theory analogues of several classical estimates in Fourier analysis
Scattering theory analogues of several classical estimates in Fourier analysisVjekoslavKovac1
 
Chapter 3 – Random Variables and Probability Distributions
Chapter 3 – Random Variables and Probability DistributionsChapter 3 – Random Variables and Probability Distributions
Chapter 3 – Random Variables and Probability DistributionsJasonTagapanGulla
 
Statistics (1): estimation Chapter 3: likelihood function and likelihood esti...
Statistics (1): estimation Chapter 3: likelihood function and likelihood esti...Statistics (1): estimation Chapter 3: likelihood function and likelihood esti...
Statistics (1): estimation Chapter 3: likelihood function and likelihood esti...Christian Robert
 
On fixed point theorem in fuzzy metric spaces
On fixed point theorem in fuzzy metric spacesOn fixed point theorem in fuzzy metric spaces
On fixed point theorem in fuzzy metric spacesAlexander Decker
 
comm_ch02_random_en.pdf
comm_ch02_random_en.pdfcomm_ch02_random_en.pdf
comm_ch02_random_en.pdfssuser87c04b
 
Finance Enginering from Columbia.pdf
Finance Enginering from Columbia.pdfFinance Enginering from Columbia.pdf
Finance Enginering from Columbia.pdfCarlosLazo45
 
IVR - Chapter 1 - Introduction
IVR - Chapter 1 - IntroductionIVR - Chapter 1 - Introduction
IVR - Chapter 1 - IntroductionCharles Deledalle
 
Density theorems for anisotropic point configurations
Density theorems for anisotropic point configurationsDensity theorems for anisotropic point configurations
Density theorems for anisotropic point configurationsVjekoslavKovac1
 
A focus on a common fixed point theorem using weakly compatible mappings
A focus on a common fixed point theorem using weakly compatible mappingsA focus on a common fixed point theorem using weakly compatible mappings
A focus on a common fixed point theorem using weakly compatible mappingsAlexander Decker
 
11.a focus on a common fixed point theorem using weakly compatible mappings
11.a focus on a common fixed point theorem using weakly compatible mappings11.a focus on a common fixed point theorem using weakly compatible mappings
11.a focus on a common fixed point theorem using weakly compatible mappingsAlexander Decker
 
Fixed points of contractive and Geraghty contraction mappings under the influ...
Fixed points of contractive and Geraghty contraction mappings under the influ...Fixed points of contractive and Geraghty contraction mappings under the influ...
Fixed points of contractive and Geraghty contraction mappings under the influ...IJERA Editor
 

Similar to tutorial6 (20)

tutorial4
tutorial4tutorial4
tutorial4
 
Tutorial7
Tutorial7Tutorial7
Tutorial7
 
Slides: On the Chi Square and Higher-Order Chi Distances for Approximating f-...
Slides: On the Chi Square and Higher-Order Chi Distances for Approximating f-...Slides: On the Chi Square and Higher-Order Chi Distances for Approximating f-...
Slides: On the Chi Square and Higher-Order Chi Distances for Approximating f-...
 
QMC: Undergraduate Workshop, Introduction to Monte Carlo Methods with 'R' Sof...
QMC: Undergraduate Workshop, Introduction to Monte Carlo Methods with 'R' Sof...QMC: Undergraduate Workshop, Introduction to Monte Carlo Methods with 'R' Sof...
QMC: Undergraduate Workshop, Introduction to Monte Carlo Methods with 'R' Sof...
 
Fixed Point Theorem in Fuzzy Metric Space Using (CLRg) Property
Fixed Point Theorem in Fuzzy Metric Space Using (CLRg) PropertyFixed Point Theorem in Fuzzy Metric Space Using (CLRg) Property
Fixed Point Theorem in Fuzzy Metric Space Using (CLRg) Property
 
On the solvability of a system of forward-backward linear equations with unbo...
On the solvability of a system of forward-backward linear equations with unbo...On the solvability of a system of forward-backward linear equations with unbo...
On the solvability of a system of forward-backward linear equations with unbo...
 
Actuarial Science Reference Sheet
Actuarial Science Reference SheetActuarial Science Reference Sheet
Actuarial Science Reference Sheet
 
Scattering theory analogues of several classical estimates in Fourier analysis
Scattering theory analogues of several classical estimates in Fourier analysisScattering theory analogues of several classical estimates in Fourier analysis
Scattering theory analogues of several classical estimates in Fourier analysis
 
Chapter 3 – Random Variables and Probability Distributions
Chapter 3 – Random Variables and Probability DistributionsChapter 3 – Random Variables and Probability Distributions
Chapter 3 – Random Variables and Probability Distributions
 
QMC: Operator Splitting Workshop, Using Sequences of Iterates in Inertial Met...
QMC: Operator Splitting Workshop, Using Sequences of Iterates in Inertial Met...QMC: Operator Splitting Workshop, Using Sequences of Iterates in Inertial Met...
QMC: Operator Splitting Workshop, Using Sequences of Iterates in Inertial Met...
 
Statistics (1): estimation Chapter 3: likelihood function and likelihood esti...
Statistics (1): estimation Chapter 3: likelihood function and likelihood esti...Statistics (1): estimation Chapter 3: likelihood function and likelihood esti...
Statistics (1): estimation Chapter 3: likelihood function and likelihood esti...
 
On fixed point theorem in fuzzy metric spaces
On fixed point theorem in fuzzy metric spacesOn fixed point theorem in fuzzy metric spaces
On fixed point theorem in fuzzy metric spaces
 
CONTINUITY ON N-ARY SPACES
CONTINUITY ON N-ARY SPACESCONTINUITY ON N-ARY SPACES
CONTINUITY ON N-ARY SPACES
 
comm_ch02_random_en.pdf
comm_ch02_random_en.pdfcomm_ch02_random_en.pdf
comm_ch02_random_en.pdf
 
Finance Enginering from Columbia.pdf
Finance Enginering from Columbia.pdfFinance Enginering from Columbia.pdf
Finance Enginering from Columbia.pdf
 
IVR - Chapter 1 - Introduction
IVR - Chapter 1 - IntroductionIVR - Chapter 1 - Introduction
IVR - Chapter 1 - Introduction
 
Density theorems for anisotropic point configurations
Density theorems for anisotropic point configurationsDensity theorems for anisotropic point configurations
Density theorems for anisotropic point configurations
 
A focus on a common fixed point theorem using weakly compatible mappings
A focus on a common fixed point theorem using weakly compatible mappingsA focus on a common fixed point theorem using weakly compatible mappings
A focus on a common fixed point theorem using weakly compatible mappings
 
11.a focus on a common fixed point theorem using weakly compatible mappings
11.a focus on a common fixed point theorem using weakly compatible mappings11.a focus on a common fixed point theorem using weakly compatible mappings
11.a focus on a common fixed point theorem using weakly compatible mappings
 
Fixed points of contractive and Geraghty contraction mappings under the influ...
Fixed points of contractive and Geraghty contraction mappings under the influ...Fixed points of contractive and Geraghty contraction mappings under the influ...
Fixed points of contractive and Geraghty contraction mappings under the influ...
 

tutorial6

  • 1. EENGM0014 Mathematics for Signal Processing and Communications Tutorial 6 Soon Yau Cheong University of Bristol 25 Nov 2016 Soon Yau Cheong (University of Bristol) EENGM0014 Mathematics for Signal Processing and Communications25 Nov 2016 1 / 8
  • 2. Taylor Series Expansion at nominal point x* F(x) = F(x∗ ) + d dx F(x)|x=x∗ (x − x∗ ) + 1 2 d2 dx2 F(x)|x=x∗ (x − x∗ )2 + ... + 1 n! dn dxn F(x)|x=x∗ (x − x∗ )n In matrix form : F(x) = F(x∗ ) + F(x)T |x=x∗ (x − x∗ ) + 1 2 (x − x∗ )T 2 F(x)|x=x∗ (x − x∗ ) + ... Soon Yau Cheong (University of Bristol) EENGM0014 Mathematics for Signal Processing and Communications25 Nov 2016 2 / 8
  • 3. Example : Approximate F(x)=sin(x) at x*=0 F(x) = sin(0) + cos(0)(x − 0) − 1 2 sin(0)(x − 0)2 − 1 6 cos(0)(x − 0)3 + ... = x − 1 6 x3 + ... Soon Yau Cheong (University of Bristol) EENGM0014 Mathematics for Signal Processing and Communications25 Nov 2016 3 / 8
  • 4. Replace ∆x = x − x∗ into F(x) = F(x∗ ) + F(x)T |x=x∗ (x − x∗ ) + 1 2 (x − x∗ )T 2 F(x)|x=x∗ (x − x∗ ) + ... We get F(x∗ + ∆x) = F(x∗ ) + F(x)T |x=x∗ (∆x) + 1 2 (∆x)T 2 F(x)|x=x∗ (∆x) + ... Soon Yau Cheong (University of Bristol) EENGM0014 Mathematics for Signal Processing and Communications25 Nov 2016 4 / 8
  • 5. Derivative of linear matrix transform Y ∈ Rn, X ∈ Rn, A ∈ Rm×n Y = AX    y1 ... yn    =    a11 a12 . . . a1n ... ... ... ... am1 am2 . . . amn       x1 ... xn    yi = n j=1 aij xj ⇒ ∂yi ∂xk = aik x Y =    ∂y1 ∂x1 ∂y1 ∂x2 . . . ∂y1 ∂xn ... ... ... ... ∂ym ∂x1 ∂y1 ∂x2 . . . ∂ym ∂xn    =    a11 a12 . . . a1n ... ... ... ... am1 am2 . . . amn    x Y = A Soon Yau Cheong (University of Bristol) EENGM0014 Mathematics for Signal Processing and Communications25 Nov 2016 5 / 8
  • 6. Derivative of Quadratic Form Given a square matrix A ∈ Rn×n and a vector X ∈ Rn, the scalar value XT AX is called quadratic form XT AX = n i=1 xi (AX)i = n i=1 xi n j=1 aij xj = n i=1 n j=1 aij xi xj ∂(XT AX) ∂xk = n i=1 aikxi + n j=1 akj xj = (AT X)k + (AX)k if A is symmetric (XT AX) = 2AX 2 (XT AX) = 2AT = 2A Soon Yau Cheong (University of Bristol) EENGM0014 Mathematics for Signal Processing and Communications25 Nov 2016 6 / 8
  • 7. Hessian and Shape of Quadratic Function We can tell the shape of quadratic function from Hessian and its eigenvalue and eigenvectors 1 local minimum if Hessian is positive definite. Vice versa, local maximum if Hessian is negative definite (see lecture note) 2 the gradient is steepest in the direction of eigenvectors of Hessian with the largest eigenvalue (see solution of question 2 in problem sheet week9 and Chapter 8 in ”Neural Network Design” 2nd ed by Martin Hagan) Soon Yau Cheong (University of Bristol) EENGM0014 Mathematics for Signal Processing and Communications25 Nov 2016 7 / 8
  • 8. Examples F(X) = x2 1 + x1x2 + x2 2 = 1 2 XT 2 1 1 2 X Find eigenvalue and eigenvectors of Hessian of F(X) λ1 = 1, v1 = [1 − 1]T , λ2 = 3, v1 = [1 1]T Soon Yau Cheong (University of Bristol) EENGM0014 Mathematics for Signal Processing and Communications25 Nov 2016 8 / 8