SlideShare a Scribd company logo
Frechet Derivatives of Matrix Functions and 
Applications 
Samuel Relton 
samuel.relton@maths.man.ac.uk @sdrelton 
samrelton.com blog.samrelton.com 
Joint work with Nicholas J. Higham 
higham@maths.man.ac.uk @nhigham 
www.maths.man.ac.uk/~higham nickhigham.wordpress.com 
University of Manchester, UK 
September 4, 2014 
Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 1 / 23
Outline 
 Matrix Functions, their Derivatives, and the Condition Number 
 Elementwise Sensitivity 
 Physics: Nuclear Activation Sensitivity Problem 
 Dierential Equations: Predicting Algebraic Error in the FEM 
Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 2 / 23
Matrix Functions 
We are interested in functions f : Cnn7! Cnn e.g. 
Matrix Exponential eA = 
1X 
k=0 
Ak 
k! 
Matrix Cosine cos(A) = 
1X 
k=0 
(1)kA2k 
(2k)! 
Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 3 / 23
Matrix Functions 
We are interested in functions f : Cnn7! Cnn e.g. 
Matrix Exponential eA = 
1X 
k=0 
Ak 
k! 
Matrix Cosine cos(A) = 
1X 
k=0 
(1)kA2k 
(2k)! 
 De
ne f (A) by Taylor series when f is analytic 
 If A = XDX1 then f (A) = Xf (D)X1 
 Dierential equations: du 
dt = Au(t), u = etAu(0) 
 Use cos(A) and sin(A) for second order ODEs 
Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 3 / 23
Frechet Derivatives 
Let f : Cnn7! Cnn be a matrix function. 
De
nition (Frechet derivative) 
The Frechet derivative of f at A is the unique linear function 
Lf (A, ) : Cnn7! Cnn such that for all E 
f (A + E)  f (A)  Lf (A, E) = o(kEk). 
Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 4 / 23
Frechet Derivatives 
Let f : Cnn7! Cnn be a matrix function. 
De
nition (Frechet derivative) 
The Frechet derivative of f at A is the unique linear function 
Lf (A, ) : Cnn7! Cnn such that for all E 
f (A + E)  f (A)  Lf (A, E) = o(kEk). 
 Applications include manifold optimization, Markov models, 
bladder cancer, image processing, and network analysis 
 Higher order derivatives recently analyzed (Higham  R., 2014) 
Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 4 / 23
Sensitivity of Matrix Functions 
f 
f 
SA 
f (SA) 
SX 
f (SX ) 
Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 5 / 23
Sensitivity of Matrix Functions 
f 
f 
SA 
f (SA) 
SX 
f (SX ) 
The function f is well conditioned at A and 
ill conditioned at X 
Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 5 / 23
The Norm-wise Condition Number 
The two condition numbers for a matrix function are: 
condabs(f , A) = max 
kEk=1 
kLf (A, E)k, 
condrel(f , A) = max 
kEk=1 
kLf (A, E)k 
kAk 
kf (A)k 
. 
Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 6 / 23
Elementwise Sensitivity 
If we change just one element Aij , how is f (A) aected? 
Let Eij = 
 
ij 
 
, then the dierence between f (A) and f (A + Eij ) is 
kf (A)  f (A + Eij )k  kLf (A, Eij )k. 
 kLf (A, Eij )k gives the sensitivity in (i , j) component 
 Sometimes we want the t most sensitive elements for t = 5: 20 
Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 7 / 23
A simple algorithm 
To compute the most sensitive t entries of A: 
1 for i = 1: n 
2 for j = 1: n 
3 if Aij6= 0 
4 Compute and store kLf (A, Eij )k 
5 end if 
6 end for 
7 end for 
8 Take the largest t values of kLf (A, Eij )k 
Cost: Up to O(n5) 
ops since computing Lf (A, E) costs O(n3) 
ops 
Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 8 / 23
A simple algorithm 
To compute the most sensitive t entries of A: 
1 for i = 1: n 
2 for j = 1: n 
3 if Aij6= 0 
4 Compute and store kLf (A, Eij )k 
5 end if 
6 end for 
7 end for 
8 Take the largest t values of kLf (A, Eij )k 
Cost: Up to O(n5) 
ops since computing Lf (A, E) costs O(n3) 
ops 
 Trivially parallel but still very expensive when A is large 
 Speed this up using block norm estimation (work in progress) 
Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 8 / 23
The Nuclear Activation Sensitivity Problem 
 Chemical reactions: u0(t) = Au(t) 
 u(t) = eAtu(0) tells us the 
concentration of each element at time t 
 qT u(t) is the dosage at time t 
 Aij represents the reaction between 
elements i and j (so ignore Aij = 0) 
 Aij is subject to measurement error 
What happens to qT u(t) when it 
changes? 
Implications for safety in radiation exposure models etc. 
Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 9 / 23
Nuclear Activation Solution - 1 
If Aij is perturbed, this introduces a relative error in qT u(t) of 
jqT (etA+Eij  etA)u(0)j 
jqT etAu(0)j 
  
jqT Lex (tA, Eij )u(0)j 
jqT etAu(0)j 
Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 10 / 23
Nuclear Activation Solution - 1 
If Aij is perturbed, this introduces a relative error in qT u(t) of 
jqT (etA+Eij  etA)u(0)j 
jqT etAu(0)j 
  
jqT Lex (tA, Eij )u(0)j 
jqT etAu(0)j 
We note that: 
 The denominator is the same for all perturbations 
 This requires computing a derivative in all directions Aij6= 0 
 Can we improve upon this? 
Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 10 / 23
Nuclear activation solution - 2 
Using vec(AXB) = (BT 
A)vec(X) we see the sensitivity in direction Eij is 
jqT Lex (tA, Eij )u(0)j = j(u(0)T 
 qT )Kex (tA) vec(Eij )j. 
Therefore the sensitivity in ALL n2 directions is 
j[(u(0)T 
 qT )Kex (tA)]T j = jvec(Lex (tA, unvec(u(0) 
 q)T )T j. 
 Only 1 derivative needed for all sensitivities 
 Found 2 bugs in existing commercial software! 
 Extend for time dependent coecients A = A(t) 
Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 11 / 23
Predicting Algebraic Error in an ODE 
Let's solve the model ODE 
u00 = f (x), x 2 (0, 1), u(0) = u(1) = 0 
with the
nite element method using piecewise linear basis functions i . 
 Exact solution u(x) = e5(x0.5)2 
 e5=4 determines f (x) 
 Generate a grid of n = 19 equally spaced points xi 
 Generate system Ax = b where Aij = 
R 1 
0 ij and bi = f (xi ). 
A = diag(1, 2,1) in this case 
 Solve with CG iteration 
Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 12 / 23
Algebraic and discretization errors 
 Let Vh be our
nite element space (dimension 19) 
 Let uh 2 Vh be the best solution possible from Vh 
 Let uk 
est be our numerical solution corresponding to k iterations of CG 
Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 13 / 23
Algebraic and discretization errors 
 Let Vh be our
nite element space (dimension 19) 
 Let uh 2 Vh be the best solution possible from Vh 
 Let uk 
est be our numerical solution corresponding to k iterations of CG 
 The discretization error is u  uh 
 The algebraic error is uh  uk 
est 
 The total error is u  uk 
est = alg. err. + disc. err. 
 Sometimes alg err dominates the total err, how do we detect this? 
Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 13 / 23
Discretization error 
−3 Discretization Error 
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 
3.5 
3 
2.5 
2 
1.5 
1 
0.5 
0 
−0.5 
−1 
−1.5 
x 10 
u  uh 
Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 14 / 23
Algebraic Error - 8 CG iterations 
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 
0.015 
0.01 
0.005 
0 
−0.005 
−0.01 
−0.015 
Algebraic Error k = 8 
  
  
Alg. Err. 
Total Err. 
Nodes 9{11 highlighted 
Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 15 / 23
Algebraic Error - 9 CG iterations 
−3 Algebraic Error k = 9 
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 
5 
4 
3 
2 
1 
0 
−1 
−2 
−3 
−4 
−5 
x 10 
  
  
Alg. Err. 
Total Err. 
Nodes 9{11 highlighted 
Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 16 / 23
Elementwise sensitivity analysis 
 Taking f (A) = A1 we can calculate the sensitivity of each element 
 Lf (A, E) = A1EA1 so easily computed 
 Ignore Aij = 0 since the two basis elements don't overlap 
 Results plotted on the following heat map 
Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 17 / 23
Elementwise sensitivity analysis 
Most sensitive elements of A when computing A−1 in 1−norm 
  
  
2 4 6 8 10 12 14 16 18 
2 
4 
6 
8 
10 
12 
14 
16 
18 
0.6 
0.5 
0.4 
0.3 
0.2 
0.1 
0 
Row/Cols 9{11 in the middle 
Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 18 / 23

More Related Content

What's hot

Wireless Localization: Ranging (second part)
Wireless Localization: Ranging (second part)Wireless Localization: Ranging (second part)
Wireless Localization: Ranging (second part)
Stefano Severi
 
Over view of Laplace Transform and its Properties
Over view of Laplace Transform and its Properties Over view of Laplace Transform and its Properties
Over view of Laplace Transform and its Properties
Neel Shah
 
Distributed solution of stochastic optimal control problem on GPUs
Distributed solution of stochastic optimal control problem on GPUsDistributed solution of stochastic optimal control problem on GPUs
Distributed solution of stochastic optimal control problem on GPUs
Pantelis Sopasakis
 
Supervisory control of discrete event systems for linear temporal logic speci...
Supervisory control of discrete event systems for linear temporal logic speci...Supervisory control of discrete event systems for linear temporal logic speci...
Supervisory control of discrete event systems for linear temporal logic speci...
AmiSakakibara
 
Laplace Transform And Its Applications
Laplace Transform And Its ApplicationsLaplace Transform And Its Applications
Laplace Transform And Its Applications
Smit Shah
 
Presentation on laplace transforms
Presentation on laplace transformsPresentation on laplace transforms
Presentation on laplace transforms
Himel Himo
 
Markov Chain Monitoring - Application to demand prediction in bike sharing sy...
Markov Chain Monitoring - Application to demand prediction in bike sharing sy...Markov Chain Monitoring - Application to demand prediction in bike sharing sy...
Markov Chain Monitoring - Application to demand prediction in bike sharing sy...
Harshal Chaudhari
 
Parallelising Dynamic Programming
Parallelising Dynamic ProgrammingParallelising Dynamic Programming
Parallelising Dynamic Programming
Raphael Reitzig
 
An Introduction to Elleptic Curve Cryptography
An Introduction to Elleptic Curve CryptographyAn Introduction to Elleptic Curve Cryptography
An Introduction to Elleptic Curve Cryptography
Derek Callaway
 
Math*4 Laplace and Inverse laplace transform
Math*4 Laplace and Inverse laplace transformMath*4 Laplace and Inverse laplace transform
Math*4 Laplace and Inverse laplace transform
Mon Mon
 
Approximation algorithms
Approximation algorithmsApproximation algorithms
Approximation algorithms
Ganesh Solanke
 
LAPLACE TRANSFORM (Differential Equation)
LAPLACE TRANSFORM (Differential Equation)LAPLACE TRANSFORM (Differential Equation)
LAPLACE TRANSFORM (Differential Equation)
AfshanKhan51
 
Robust model predictive control for discrete-time fractional-order systems
Robust model predictive control for discrete-time fractional-order systemsRobust model predictive control for discrete-time fractional-order systems
Robust model predictive control for discrete-time fractional-order systems
Pantelis Sopasakis
 
Laplace transform
Laplace transformLaplace transform
Laplace transform
kishor pokar
 
Importance & Application of Laplace Transform
Importance & Application of Laplace TransformImportance & Application of Laplace Transform
Importance & Application of Laplace Transform
United International University
 
Circuit Network Analysis - [Chapter5] Transfer function, frequency response, ...
Circuit Network Analysis - [Chapter5] Transfer function, frequency response, ...Circuit Network Analysis - [Chapter5] Transfer function, frequency response, ...
Circuit Network Analysis - [Chapter5] Transfer function, frequency response, ...
Simen Li
 
A study of the worst case ratio of a simple algorithm for simple assembly lin...
A study of the worst case ratio of a simple algorithm for simple assembly lin...A study of the worst case ratio of a simple algorithm for simple assembly lin...
A study of the worst case ratio of a simple algorithm for simple assembly lin...narmo
 

What's hot (19)

Wireless Localization: Ranging (second part)
Wireless Localization: Ranging (second part)Wireless Localization: Ranging (second part)
Wireless Localization: Ranging (second part)
 
Over view of Laplace Transform and its Properties
Over view of Laplace Transform and its Properties Over view of Laplace Transform and its Properties
Over view of Laplace Transform and its Properties
 
Distributed solution of stochastic optimal control problem on GPUs
Distributed solution of stochastic optimal control problem on GPUsDistributed solution of stochastic optimal control problem on GPUs
Distributed solution of stochastic optimal control problem on GPUs
 
Supervisory control of discrete event systems for linear temporal logic speci...
Supervisory control of discrete event systems for linear temporal logic speci...Supervisory control of discrete event systems for linear temporal logic speci...
Supervisory control of discrete event systems for linear temporal logic speci...
 
Laplace Transform And Its Applications
Laplace Transform And Its ApplicationsLaplace Transform And Its Applications
Laplace Transform And Its Applications
 
Ac2 09-anti windup
Ac2 09-anti windupAc2 09-anti windup
Ac2 09-anti windup
 
Presentation on laplace transforms
Presentation on laplace transformsPresentation on laplace transforms
Presentation on laplace transforms
 
Markov Chain Monitoring - Application to demand prediction in bike sharing sy...
Markov Chain Monitoring - Application to demand prediction in bike sharing sy...Markov Chain Monitoring - Application to demand prediction in bike sharing sy...
Markov Chain Monitoring - Application to demand prediction in bike sharing sy...
 
Parallelising Dynamic Programming
Parallelising Dynamic ProgrammingParallelising Dynamic Programming
Parallelising Dynamic Programming
 
An Introduction to Elleptic Curve Cryptography
An Introduction to Elleptic Curve CryptographyAn Introduction to Elleptic Curve Cryptography
An Introduction to Elleptic Curve Cryptography
 
Math*4 Laplace and Inverse laplace transform
Math*4 Laplace and Inverse laplace transformMath*4 Laplace and Inverse laplace transform
Math*4 Laplace and Inverse laplace transform
 
Approximation algorithms
Approximation algorithmsApproximation algorithms
Approximation algorithms
 
LAPLACE TRANSFORM (Differential Equation)
LAPLACE TRANSFORM (Differential Equation)LAPLACE TRANSFORM (Differential Equation)
LAPLACE TRANSFORM (Differential Equation)
 
Robust model predictive control for discrete-time fractional-order systems
Robust model predictive control for discrete-time fractional-order systemsRobust model predictive control for discrete-time fractional-order systems
Robust model predictive control for discrete-time fractional-order systems
 
IROS 2013 talk
IROS 2013 talkIROS 2013 talk
IROS 2013 talk
 
Laplace transform
Laplace transformLaplace transform
Laplace transform
 
Importance & Application of Laplace Transform
Importance & Application of Laplace TransformImportance & Application of Laplace Transform
Importance & Application of Laplace Transform
 
Circuit Network Analysis - [Chapter5] Transfer function, frequency response, ...
Circuit Network Analysis - [Chapter5] Transfer function, frequency response, ...Circuit Network Analysis - [Chapter5] Transfer function, frequency response, ...
Circuit Network Analysis - [Chapter5] Transfer function, frequency response, ...
 
A study of the worst case ratio of a simple algorithm for simple assembly lin...
A study of the worst case ratio of a simple algorithm for simple assembly lin...A study of the worst case ratio of a simple algorithm for simple assembly lin...
A study of the worst case ratio of a simple algorithm for simple assembly lin...
 

Viewers also liked

Application of derivatives
Application of derivativesApplication of derivatives
Application of derivatives
Ravi Patel
 
Application of Derivatives
Application of DerivativesApplication of Derivatives
Application of Derivatives
Abdullah Al Mamun
 
Derivatives and it’s simple applications
Derivatives and it’s simple applicationsDerivatives and it’s simple applications
Derivatives and it’s simple applications
Rutuja Gholap
 
Application of derivative
Application of derivativeApplication of derivative
Application of Derivative 1
Application of Derivative 1Application of Derivative 1
Application of Derivative 1
Lakshmikanta Satapathy
 
Application of derivatives 2 maxima and minima
Application of derivatives 2  maxima and minimaApplication of derivatives 2  maxima and minima
Application of derivatives 2 maxima and minima
sudersana viswanathan
 
Lesson 10 techniques of integration
Lesson 10 techniques of integrationLesson 10 techniques of integration
Lesson 10 techniques of integration
Lawrence De Vera
 
AP Calculus BC Integration By Parts
AP Calculus BC Integration By PartsAP Calculus BC Integration By Parts
AP Calculus BC Integration By Parts
jaflint718
 
Application of partial derivatives with two variables
Application of partial derivatives with two variablesApplication of partial derivatives with two variables
Application of partial derivatives with two variables
Sagar Patel
 
Project application of derivatives ppt.docx
Project application of derivatives ppt.docxProject application of derivatives ppt.docx
Project application of derivatives ppt.docxTaraRocheleDaugherty
 
Application of derivatives
Application of derivativesApplication of derivatives
Application of derivativesindu thakur
 
The Application of Derivatives
The Application of DerivativesThe Application of Derivatives
The Application of Derivativesdivaprincess09
 
Applications of Derivatives
Applications of DerivativesApplications of Derivatives
Applications of Derivatives
Iram Khan
 
Application of derivatives
Application of derivatives Application of derivatives
Application of derivatives
Seyid Kadher
 

Viewers also liked (14)

Application of derivatives
Application of derivativesApplication of derivatives
Application of derivatives
 
Application of Derivatives
Application of DerivativesApplication of Derivatives
Application of Derivatives
 
Derivatives and it’s simple applications
Derivatives and it’s simple applicationsDerivatives and it’s simple applications
Derivatives and it’s simple applications
 
Application of derivative
Application of derivativeApplication of derivative
Application of derivative
 
Application of Derivative 1
Application of Derivative 1Application of Derivative 1
Application of Derivative 1
 
Application of derivatives 2 maxima and minima
Application of derivatives 2  maxima and minimaApplication of derivatives 2  maxima and minima
Application of derivatives 2 maxima and minima
 
Lesson 10 techniques of integration
Lesson 10 techniques of integrationLesson 10 techniques of integration
Lesson 10 techniques of integration
 
AP Calculus BC Integration By Parts
AP Calculus BC Integration By PartsAP Calculus BC Integration By Parts
AP Calculus BC Integration By Parts
 
Application of partial derivatives with two variables
Application of partial derivatives with two variablesApplication of partial derivatives with two variables
Application of partial derivatives with two variables
 
Project application of derivatives ppt.docx
Project application of derivatives ppt.docxProject application of derivatives ppt.docx
Project application of derivatives ppt.docx
 
Application of derivatives
Application of derivativesApplication of derivatives
Application of derivatives
 
The Application of Derivatives
The Application of DerivativesThe Application of Derivatives
The Application of Derivatives
 
Applications of Derivatives
Applications of DerivativesApplications of Derivatives
Applications of Derivatives
 
Application of derivatives
Application of derivatives Application of derivatives
Application of derivatives
 

Similar to Frechet Derivatives of Matrix Functions and Applications

Design and analysis of ra sort
Design and analysis of ra sortDesign and analysis of ra sort
Design and analysis of ra sort
ijfcstjournal
 
Bayesian Inference and Uncertainty Quantification for Inverse Problems
Bayesian Inference and Uncertainty Quantification for Inverse ProblemsBayesian Inference and Uncertainty Quantification for Inverse Problems
Bayesian Inference and Uncertainty Quantification for Inverse Problems
Matt Moores
 
SLIDING WINDOW SUM ALGORITHMS FOR DEEP NEURAL NETWORKS
SLIDING WINDOW SUM ALGORITHMS FOR DEEP NEURAL NETWORKSSLIDING WINDOW SUM ALGORITHMS FOR DEEP NEURAL NETWORKS
SLIDING WINDOW SUM ALGORITHMS FOR DEEP NEURAL NETWORKS
IJCI JOURNAL
 
Signals and Systems Assignment Help
Signals and Systems Assignment HelpSignals and Systems Assignment Help
Signals and Systems Assignment Help
Matlab Assignment Experts
 
Cs6402 design and analysis of algorithms may june 2016 answer key
Cs6402 design and analysis of algorithms may june 2016 answer keyCs6402 design and analysis of algorithms may june 2016 answer key
Cs6402 design and analysis of algorithms may june 2016 answer key
appasami
 
test pre
test pretest pre
test pre
farazch
 
Low Power Adaptive FIR Filter Based on Distributed Arithmetic
Low Power Adaptive FIR Filter Based on Distributed ArithmeticLow Power Adaptive FIR Filter Based on Distributed Arithmetic
Low Power Adaptive FIR Filter Based on Distributed Arithmetic
IJERA Editor
 
FPGA Implementation of A New Chien Search Block for Reed-Solomon Codes RS (25...
FPGA Implementation of A New Chien Search Block for Reed-Solomon Codes RS (25...FPGA Implementation of A New Chien Search Block for Reed-Solomon Codes RS (25...
FPGA Implementation of A New Chien Search Block for Reed-Solomon Codes RS (25...
IJERA Editor
 
2010 3-24 cryptography stamatiou
2010 3-24 cryptography stamatiou2010 3-24 cryptography stamatiou
2010 3-24 cryptography stamatiouvafopoulos
 
Cryptography Baby Step Giant Step
Cryptography Baby Step Giant StepCryptography Baby Step Giant Step
Cryptography Baby Step Giant Step
SAUVIK BISWAS
 
Strong convergence of an algorithm about strongly quasi nonexpansive mappings
Strong convergence of an algorithm about strongly quasi nonexpansive mappingsStrong convergence of an algorithm about strongly quasi nonexpansive mappings
Strong convergence of an algorithm about strongly quasi nonexpansive mappings
Alexander Decker
 
Nonnegative Matrix Factorization with Side Information for Time Series Recove...
Nonnegative Matrix Factorization with Side Information for Time Series Recove...Nonnegative Matrix Factorization with Side Information for Time Series Recove...
Nonnegative Matrix Factorization with Side Information for Time Series Recove...
Paris Women in Machine Learning and Data Science
 
Computer Network Assignment Help
Computer Network Assignment HelpComputer Network Assignment Help
Computer Network Assignment Help
Computer Network Assignment Help
 
Colored inversion
Colored inversionColored inversion
Colored inversion
Jalal Neshat
 
Linear response theory and TDDFT
Linear response theory and TDDFT Linear response theory and TDDFT
Linear response theory and TDDFT
Claudio Attaccalite
 
Elements Space and Amplitude Perturbation Using Genetic Algorithm for Antenna...
Elements Space and Amplitude Perturbation Using Genetic Algorithm for Antenna...Elements Space and Amplitude Perturbation Using Genetic Algorithm for Antenna...
Elements Space and Amplitude Perturbation Using Genetic Algorithm for Antenna...
CSCJournals
 
D010341722
D010341722D010341722
D010341722
IOSR Journals
 
Network Design Assignment Help
Network Design Assignment HelpNetwork Design Assignment Help
Network Design Assignment Help
Computer Network Assignment Help
 

Similar to Frechet Derivatives of Matrix Functions and Applications (20)

Design and analysis of ra sort
Design and analysis of ra sortDesign and analysis of ra sort
Design and analysis of ra sort
 
Bayesian Inference and Uncertainty Quantification for Inverse Problems
Bayesian Inference and Uncertainty Quantification for Inverse ProblemsBayesian Inference and Uncertainty Quantification for Inverse Problems
Bayesian Inference and Uncertainty Quantification for Inverse Problems
 
SLIDING WINDOW SUM ALGORITHMS FOR DEEP NEURAL NETWORKS
SLIDING WINDOW SUM ALGORITHMS FOR DEEP NEURAL NETWORKSSLIDING WINDOW SUM ALGORITHMS FOR DEEP NEURAL NETWORKS
SLIDING WINDOW SUM ALGORITHMS FOR DEEP NEURAL NETWORKS
 
Signals and Systems Assignment Help
Signals and Systems Assignment HelpSignals and Systems Assignment Help
Signals and Systems Assignment Help
 
Cs6402 design and analysis of algorithms may june 2016 answer key
Cs6402 design and analysis of algorithms may june 2016 answer keyCs6402 design and analysis of algorithms may june 2016 answer key
Cs6402 design and analysis of algorithms may june 2016 answer key
 
test pre
test pretest pre
test pre
 
Low Power Adaptive FIR Filter Based on Distributed Arithmetic
Low Power Adaptive FIR Filter Based on Distributed ArithmeticLow Power Adaptive FIR Filter Based on Distributed Arithmetic
Low Power Adaptive FIR Filter Based on Distributed Arithmetic
 
FPGA Implementation of A New Chien Search Block for Reed-Solomon Codes RS (25...
FPGA Implementation of A New Chien Search Block for Reed-Solomon Codes RS (25...FPGA Implementation of A New Chien Search Block for Reed-Solomon Codes RS (25...
FPGA Implementation of A New Chien Search Block for Reed-Solomon Codes RS (25...
 
2010 3-24 cryptography stamatiou
2010 3-24 cryptography stamatiou2010 3-24 cryptography stamatiou
2010 3-24 cryptography stamatiou
 
Cryptography Baby Step Giant Step
Cryptography Baby Step Giant StepCryptography Baby Step Giant Step
Cryptography Baby Step Giant Step
 
Strong convergence of an algorithm about strongly quasi nonexpansive mappings
Strong convergence of an algorithm about strongly quasi nonexpansive mappingsStrong convergence of an algorithm about strongly quasi nonexpansive mappings
Strong convergence of an algorithm about strongly quasi nonexpansive mappings
 
Nonnegative Matrix Factorization with Side Information for Time Series Recove...
Nonnegative Matrix Factorization with Side Information for Time Series Recove...Nonnegative Matrix Factorization with Side Information for Time Series Recove...
Nonnegative Matrix Factorization with Side Information for Time Series Recove...
 
Computer Network Assignment Help
Computer Network Assignment HelpComputer Network Assignment Help
Computer Network Assignment Help
 
homework 4
homework 4 homework 4
homework 4
 
Colored inversion
Colored inversionColored inversion
Colored inversion
 
Linear response theory and TDDFT
Linear response theory and TDDFT Linear response theory and TDDFT
Linear response theory and TDDFT
 
Elements Space and Amplitude Perturbation Using Genetic Algorithm for Antenna...
Elements Space and Amplitude Perturbation Using Genetic Algorithm for Antenna...Elements Space and Amplitude Perturbation Using Genetic Algorithm for Antenna...
Elements Space and Amplitude Perturbation Using Genetic Algorithm for Antenna...
 
D010341722
D010341722D010341722
D010341722
 
AJMS_477_23.pdf
AJMS_477_23.pdfAJMS_477_23.pdf
AJMS_477_23.pdf
 
Network Design Assignment Help
Network Design Assignment HelpNetwork Design Assignment Help
Network Design Assignment Help
 

Recently uploaded

Orion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWSOrion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWS
Columbia Weather Systems
 
Introduction to Mean Field Theory(MFT).pptx
Introduction to Mean Field Theory(MFT).pptxIntroduction to Mean Field Theory(MFT).pptx
Introduction to Mean Field Theory(MFT).pptx
zeex60
 
Phenomics assisted breeding in crop improvement
Phenomics assisted breeding in crop improvementPhenomics assisted breeding in crop improvement
Phenomics assisted breeding in crop improvement
IshaGoswami9
 
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
Ana Luísa Pinho
 
Toxic effects of heavy metals : Lead and Arsenic
Toxic effects of heavy metals : Lead and ArsenicToxic effects of heavy metals : Lead and Arsenic
Toxic effects of heavy metals : Lead and Arsenic
sanjana502982
 
BREEDING METHODS FOR DISEASE RESISTANCE.pptx
BREEDING METHODS FOR DISEASE RESISTANCE.pptxBREEDING METHODS FOR DISEASE RESISTANCE.pptx
BREEDING METHODS FOR DISEASE RESISTANCE.pptx
RASHMI M G
 
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
Travis Hills MN
 
Anemia_ types_clinical significance.pptx
Anemia_ types_clinical significance.pptxAnemia_ types_clinical significance.pptx
Anemia_ types_clinical significance.pptx
muralinath2
 
Oedema_types_causes_pathophysiology.pptx
Oedema_types_causes_pathophysiology.pptxOedema_types_causes_pathophysiology.pptx
Oedema_types_causes_pathophysiology.pptx
muralinath2
 
platelets_clotting_biogenesis.clot retractionpptx
platelets_clotting_biogenesis.clot retractionpptxplatelets_clotting_biogenesis.clot retractionpptx
platelets_clotting_biogenesis.clot retractionpptx
muralinath2
 
Deep Software Variability and Frictionless Reproducibility
Deep Software Variability and Frictionless ReproducibilityDeep Software Variability and Frictionless Reproducibility
Deep Software Variability and Frictionless Reproducibility
University of Rennes, INSA Rennes, Inria/IRISA, CNRS
 
Mudde & Rovira Kaltwasser. - Populism in Europe and the Americas - Threat Or...
Mudde &  Rovira Kaltwasser. - Populism in Europe and the Americas - Threat Or...Mudde &  Rovira Kaltwasser. - Populism in Europe and the Americas - Threat Or...
Mudde & Rovira Kaltwasser. - Populism in Europe and the Americas - Threat Or...
frank0071
 
ANAMOLOUS SECONDARY GROWTH IN DICOT ROOTS.pptx
ANAMOLOUS SECONDARY GROWTH IN DICOT ROOTS.pptxANAMOLOUS SECONDARY GROWTH IN DICOT ROOTS.pptx
ANAMOLOUS SECONDARY GROWTH IN DICOT ROOTS.pptx
RASHMI M G
 
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
yqqaatn0
 
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptxThe use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
MAGOTI ERNEST
 
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Sérgio Sacani
 
NuGOweek 2024 Ghent programme overview flyer
NuGOweek 2024 Ghent programme overview flyerNuGOweek 2024 Ghent programme overview flyer
NuGOweek 2024 Ghent programme overview flyer
pablovgd
 
ESR spectroscopy in liquid food and beverages.pptx
ESR spectroscopy in liquid food and beverages.pptxESR spectroscopy in liquid food and beverages.pptx
ESR spectroscopy in liquid food and beverages.pptx
PRIYANKA PATEL
 
mô tả các thí nghiệm về đánh giá tác động dòng khí hóa sau đốt
mô tả các thí nghiệm về đánh giá tác động dòng khí hóa sau đốtmô tả các thí nghiệm về đánh giá tác động dòng khí hóa sau đốt
mô tả các thí nghiệm về đánh giá tác động dòng khí hóa sau đốt
HongcNguyn6
 
Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.
Nistarini College, Purulia (W.B) India
 

Recently uploaded (20)

Orion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWSOrion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWS
 
Introduction to Mean Field Theory(MFT).pptx
Introduction to Mean Field Theory(MFT).pptxIntroduction to Mean Field Theory(MFT).pptx
Introduction to Mean Field Theory(MFT).pptx
 
Phenomics assisted breeding in crop improvement
Phenomics assisted breeding in crop improvementPhenomics assisted breeding in crop improvement
Phenomics assisted breeding in crop improvement
 
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
 
Toxic effects of heavy metals : Lead and Arsenic
Toxic effects of heavy metals : Lead and ArsenicToxic effects of heavy metals : Lead and Arsenic
Toxic effects of heavy metals : Lead and Arsenic
 
BREEDING METHODS FOR DISEASE RESISTANCE.pptx
BREEDING METHODS FOR DISEASE RESISTANCE.pptxBREEDING METHODS FOR DISEASE RESISTANCE.pptx
BREEDING METHODS FOR DISEASE RESISTANCE.pptx
 
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
 
Anemia_ types_clinical significance.pptx
Anemia_ types_clinical significance.pptxAnemia_ types_clinical significance.pptx
Anemia_ types_clinical significance.pptx
 
Oedema_types_causes_pathophysiology.pptx
Oedema_types_causes_pathophysiology.pptxOedema_types_causes_pathophysiology.pptx
Oedema_types_causes_pathophysiology.pptx
 
platelets_clotting_biogenesis.clot retractionpptx
platelets_clotting_biogenesis.clot retractionpptxplatelets_clotting_biogenesis.clot retractionpptx
platelets_clotting_biogenesis.clot retractionpptx
 
Deep Software Variability and Frictionless Reproducibility
Deep Software Variability and Frictionless ReproducibilityDeep Software Variability and Frictionless Reproducibility
Deep Software Variability and Frictionless Reproducibility
 
Mudde & Rovira Kaltwasser. - Populism in Europe and the Americas - Threat Or...
Mudde &  Rovira Kaltwasser. - Populism in Europe and the Americas - Threat Or...Mudde &  Rovira Kaltwasser. - Populism in Europe and the Americas - Threat Or...
Mudde & Rovira Kaltwasser. - Populism in Europe and the Americas - Threat Or...
 
ANAMOLOUS SECONDARY GROWTH IN DICOT ROOTS.pptx
ANAMOLOUS SECONDARY GROWTH IN DICOT ROOTS.pptxANAMOLOUS SECONDARY GROWTH IN DICOT ROOTS.pptx
ANAMOLOUS SECONDARY GROWTH IN DICOT ROOTS.pptx
 
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
 
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptxThe use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
 
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
 
NuGOweek 2024 Ghent programme overview flyer
NuGOweek 2024 Ghent programme overview flyerNuGOweek 2024 Ghent programme overview flyer
NuGOweek 2024 Ghent programme overview flyer
 
ESR spectroscopy in liquid food and beverages.pptx
ESR spectroscopy in liquid food and beverages.pptxESR spectroscopy in liquid food and beverages.pptx
ESR spectroscopy in liquid food and beverages.pptx
 
mô tả các thí nghiệm về đánh giá tác động dòng khí hóa sau đốt
mô tả các thí nghiệm về đánh giá tác động dòng khí hóa sau đốtmô tả các thí nghiệm về đánh giá tác động dòng khí hóa sau đốt
mô tả các thí nghiệm về đánh giá tác động dòng khí hóa sau đốt
 
Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.
 

Frechet Derivatives of Matrix Functions and Applications

  • 1. Frechet Derivatives of Matrix Functions and Applications Samuel Relton samuel.relton@maths.man.ac.uk @sdrelton samrelton.com blog.samrelton.com Joint work with Nicholas J. Higham higham@maths.man.ac.uk @nhigham www.maths.man.ac.uk/~higham nickhigham.wordpress.com University of Manchester, UK September 4, 2014 Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 1 / 23
  • 2. Outline Matrix Functions, their Derivatives, and the Condition Number Elementwise Sensitivity Physics: Nuclear Activation Sensitivity Problem Dierential Equations: Predicting Algebraic Error in the FEM Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 2 / 23
  • 3. Matrix Functions We are interested in functions f : Cnn7! Cnn e.g. Matrix Exponential eA = 1X k=0 Ak k! Matrix Cosine cos(A) = 1X k=0 (1)kA2k (2k)! Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 3 / 23
  • 4. Matrix Functions We are interested in functions f : Cnn7! Cnn e.g. Matrix Exponential eA = 1X k=0 Ak k! Matrix Cosine cos(A) = 1X k=0 (1)kA2k (2k)! De
  • 5. ne f (A) by Taylor series when f is analytic If A = XDX1 then f (A) = Xf (D)X1 Dierential equations: du dt = Au(t), u = etAu(0) Use cos(A) and sin(A) for second order ODEs Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 3 / 23
  • 6. Frechet Derivatives Let f : Cnn7! Cnn be a matrix function. De
  • 7. nition (Frechet derivative) The Frechet derivative of f at A is the unique linear function Lf (A, ) : Cnn7! Cnn such that for all E f (A + E) f (A) Lf (A, E) = o(kEk). Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 4 / 23
  • 8. Frechet Derivatives Let f : Cnn7! Cnn be a matrix function. De
  • 9. nition (Frechet derivative) The Frechet derivative of f at A is the unique linear function Lf (A, ) : Cnn7! Cnn such that for all E f (A + E) f (A) Lf (A, E) = o(kEk). Applications include manifold optimization, Markov models, bladder cancer, image processing, and network analysis Higher order derivatives recently analyzed (Higham R., 2014) Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 4 / 23
  • 10. Sensitivity of Matrix Functions f f SA f (SA) SX f (SX ) Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 5 / 23
  • 11. Sensitivity of Matrix Functions f f SA f (SA) SX f (SX ) The function f is well conditioned at A and ill conditioned at X Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 5 / 23
  • 12. The Norm-wise Condition Number The two condition numbers for a matrix function are: condabs(f , A) = max kEk=1 kLf (A, E)k, condrel(f , A) = max kEk=1 kLf (A, E)k kAk kf (A)k . Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 6 / 23
  • 13. Elementwise Sensitivity If we change just one element Aij , how is f (A) aected? Let Eij = ij , then the dierence between f (A) and f (A + Eij ) is kf (A) f (A + Eij )k kLf (A, Eij )k. kLf (A, Eij )k gives the sensitivity in (i , j) component Sometimes we want the t most sensitive elements for t = 5: 20 Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 7 / 23
  • 14. A simple algorithm To compute the most sensitive t entries of A: 1 for i = 1: n 2 for j = 1: n 3 if Aij6= 0 4 Compute and store kLf (A, Eij )k 5 end if 6 end for 7 end for 8 Take the largest t values of kLf (A, Eij )k Cost: Up to O(n5) ops since computing Lf (A, E) costs O(n3) ops Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 8 / 23
  • 15. A simple algorithm To compute the most sensitive t entries of A: 1 for i = 1: n 2 for j = 1: n 3 if Aij6= 0 4 Compute and store kLf (A, Eij )k 5 end if 6 end for 7 end for 8 Take the largest t values of kLf (A, Eij )k Cost: Up to O(n5) ops since computing Lf (A, E) costs O(n3) ops Trivially parallel but still very expensive when A is large Speed this up using block norm estimation (work in progress) Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 8 / 23
  • 16. The Nuclear Activation Sensitivity Problem Chemical reactions: u0(t) = Au(t) u(t) = eAtu(0) tells us the concentration of each element at time t qT u(t) is the dosage at time t Aij represents the reaction between elements i and j (so ignore Aij = 0) Aij is subject to measurement error What happens to qT u(t) when it changes? Implications for safety in radiation exposure models etc. Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 9 / 23
  • 17. Nuclear Activation Solution - 1 If Aij is perturbed, this introduces a relative error in qT u(t) of jqT (etA+Eij etA)u(0)j jqT etAu(0)j jqT Lex (tA, Eij )u(0)j jqT etAu(0)j Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 10 / 23
  • 18. Nuclear Activation Solution - 1 If Aij is perturbed, this introduces a relative error in qT u(t) of jqT (etA+Eij etA)u(0)j jqT etAu(0)j jqT Lex (tA, Eij )u(0)j jqT etAu(0)j We note that: The denominator is the same for all perturbations This requires computing a derivative in all directions Aij6= 0 Can we improve upon this? Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 10 / 23
  • 19. Nuclear activation solution - 2 Using vec(AXB) = (BT A)vec(X) we see the sensitivity in direction Eij is jqT Lex (tA, Eij )u(0)j = j(u(0)T qT )Kex (tA) vec(Eij )j. Therefore the sensitivity in ALL n2 directions is j[(u(0)T qT )Kex (tA)]T j = jvec(Lex (tA, unvec(u(0) q)T )T j. Only 1 derivative needed for all sensitivities Found 2 bugs in existing commercial software! Extend for time dependent coecients A = A(t) Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 11 / 23
  • 20. Predicting Algebraic Error in an ODE Let's solve the model ODE u00 = f (x), x 2 (0, 1), u(0) = u(1) = 0 with the
  • 21. nite element method using piecewise linear basis functions i . Exact solution u(x) = e5(x0.5)2 e5=4 determines f (x) Generate a grid of n = 19 equally spaced points xi Generate system Ax = b where Aij = R 1 0 ij and bi = f (xi ). A = diag(1, 2,1) in this case Solve with CG iteration Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 12 / 23
  • 22. Algebraic and discretization errors Let Vh be our
  • 23. nite element space (dimension 19) Let uh 2 Vh be the best solution possible from Vh Let uk est be our numerical solution corresponding to k iterations of CG Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 13 / 23
  • 24. Algebraic and discretization errors Let Vh be our
  • 25. nite element space (dimension 19) Let uh 2 Vh be the best solution possible from Vh Let uk est be our numerical solution corresponding to k iterations of CG The discretization error is u uh The algebraic error is uh uk est The total error is u uk est = alg. err. + disc. err. Sometimes alg err dominates the total err, how do we detect this? Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 13 / 23
  • 26. Discretization error −3 Discretization Error 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 3.5 3 2.5 2 1.5 1 0.5 0 −0.5 −1 −1.5 x 10 u uh Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 14 / 23
  • 27. Algebraic Error - 8 CG iterations 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0.015 0.01 0.005 0 −0.005 −0.01 −0.015 Algebraic Error k = 8 Alg. Err. Total Err. Nodes 9{11 highlighted Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 15 / 23
  • 28. Algebraic Error - 9 CG iterations −3 Algebraic Error k = 9 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 5 4 3 2 1 0 −1 −2 −3 −4 −5 x 10 Alg. Err. Total Err. Nodes 9{11 highlighted Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 16 / 23
  • 29. Elementwise sensitivity analysis Taking f (A) = A1 we can calculate the sensitivity of each element Lf (A, E) = A1EA1 so easily computed Ignore Aij = 0 since the two basis elements don't overlap Results plotted on the following heat map Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 17 / 23
  • 30. Elementwise sensitivity analysis Most sensitive elements of A when computing A−1 in 1−norm 2 4 6 8 10 12 14 16 18 2 4 6 8 10 12 14 16 18 0.6 0.5 0.4 0.3 0.2 0.1 0 Row/Cols 9{11 in the middle Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 18 / 23
  • 31. 2D Peak Problem 0.03 0.025 0.02 0.015 0.01 0.005 0 0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1 −0.005 Peak problem Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 19 / 23
  • 32. Algebraic Error Estimation 2 1 0 −1 0 0.5 1 0 0.5 1 −2 −4 x 10 1.5 1 0.5 0 −0.5 −1 0 0.5 1 0 0.5 1 −1.5 −7 x 10 Left: True algebraic error using 7 CG iterations. Right: Error in estimated algebraic error using 1st Frechet derivative. Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 20 / 23
  • 33. Higher Order Derivatives to Estimate Alg. Err. −6 10 −8 10 −10 10 −12 10 −14 10 −16 0 50 100 150 200 10 Componentwise error using kth order derivatives, k = 1, 3, 5. Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 21 / 23
  • 34. Possible extensions Can this be used to modify the discretization mesh to obtain better accuracy? (See Papez, Liesen, and Strakos 2014) Currently too expensive: can we estimate the sensitivities? Can this be extended to f (A) = eA (exponential integrators)? Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 22 / 23
  • 35. Conclusions Explained elementwise sensitivity of matrix functions New applications in nuclear physics and FEM analysis Former is basically solved, latter needs to be cheaper Future work: Estimate sensitivities more eciently (block norm estimation) Further comparison of nuclear physics solution to commercial alternative Further analysis of ODE problem Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 23 / 23
  • 36. Higher Order Frechet Derivatives Higher order derivatives can be de
  • 37. ned recursively: L(k) f (A+Ek+1, E1, ... , Ek ) L(k) f (A, E1, ... , Ek ) = L(k+1) f (A, E1, ... , Ek , Ek+1) + o(kEk+1k) Also have a simple method to compute them. For example: f 0 BB@ 2 A E1 E2 0 0 A 0 E2 0 0 A E1 0 0 A 664 3 1 775 CCA = 2 f (A) Lf (A, E1) Lf (A, E2) L(2) 664 f (A, E1, E2) 0 f (A) 0 Lf (A, E2) 0 0 f (A) Lf (A, E1) 0 0 0 f (A) 3 775 More info in Higham Relton, SIMAX 35(4), 2014. Sam Relton (UoM) Derivatives of matrix functions September 4, 2014 1 / 1