SlideShare una empresa de Scribd logo
1 de 30
Descargar para leer sin conexión
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

Más contenido relacionado

La actualidad más candente

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 GPUsPantelis 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 ApplicationsSmit Shah
 
Presentation on laplace transforms
Presentation on laplace transformsPresentation on laplace transforms
Presentation on laplace transformsHimel 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 ProgrammingRaphael Reitzig
 
An Introduction to Elleptic Curve Cryptography
An Introduction to Elleptic Curve CryptographyAn Introduction to Elleptic Curve Cryptography
An Introduction to Elleptic Curve CryptographyDerek 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 transformMon Mon
 
Approximation algorithms
Approximation algorithmsApproximation algorithms
Approximation algorithmsGanesh 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 systemsPantelis Sopasakis
 
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
 

La actualidad más candente (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...
 

Destacado

Application of derivatives
Application of derivativesApplication of derivatives
Application of derivativesRavi Patel
 
Derivatives and it’s simple applications
Derivatives and it’s simple applicationsDerivatives and it’s simple applications
Derivatives and it’s simple applicationsRutuja Gholap
 
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 minimasudersana viswanathan
 
Lesson 10 techniques of integration
Lesson 10 techniques of integrationLesson 10 techniques of integration
Lesson 10 techniques of integrationLawrence De Vera
 
AP Calculus BC Integration By Parts
AP Calculus BC Integration By PartsAP Calculus BC Integration By Parts
AP Calculus BC Integration By Partsjaflint718
 
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 variablesSagar 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 DerivativesIram Khan
 
Application of derivatives
Application of derivatives Application of derivatives
Application of derivatives Seyid Kadher
 

Destacado (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 a 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 sortijfcstjournal
 
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 ProblemsMatt 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 NETWORKSIJCI JOURNAL
 
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 keyappasami
 
test pre
test pretest pre
test prefarazch
 
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 ArithmeticIJERA 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 StepSAUVIK 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 mappingsAlexander Decker
 
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
 

Similar a 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
 

Último

Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​kaibalyasahoo82800
 
Green chemistry and Sustainable development.pptx
Green chemistry  and Sustainable development.pptxGreen chemistry  and Sustainable development.pptx
Green chemistry and Sustainable development.pptxRajatChauhan518211
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bSérgio Sacani
 
Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTSérgio Sacani
 
Zoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdfZoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdfSumit Kumar yadav
 
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsSérgio Sacani
 
Presentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptxPresentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptxgindu3009
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)PraveenaKalaiselvan1
 
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptxUnlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptxanandsmhk
 
GFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptxGFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptxAleenaTreesaSaji
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...Sérgio Sacani
 
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...Sérgio Sacani
 
Biological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfBiological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfmuntazimhurra
 
G9 Science Q4- Week 1-2 Projectile Motion.ppt
G9 Science Q4- Week 1-2 Projectile Motion.pptG9 Science Q4- Week 1-2 Projectile Motion.ppt
G9 Science Q4- Week 1-2 Projectile Motion.pptMAESTRELLAMesa2
 
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxSOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxkessiyaTpeter
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRDelhi Call girls
 
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...ssifa0344
 

Último (20)

Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​
 
The Philosophy of Science
The Philosophy of ScienceThe Philosophy of Science
The Philosophy of Science
 
Green chemistry and Sustainable development.pptx
Green chemistry  and Sustainable development.pptxGreen chemistry  and Sustainable development.pptx
Green chemistry and Sustainable development.pptx
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
 
Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOST
 
Zoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdfZoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdf
 
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
 
Presentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptxPresentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptx
 
Engler and Prantl system of classification in plant taxonomy
Engler and Prantl system of classification in plant taxonomyEngler and Prantl system of classification in plant taxonomy
Engler and Prantl system of classification in plant taxonomy
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)
 
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptxUnlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
 
GFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptxGFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptx
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
 
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
 
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
 
Biological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfBiological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdf
 
G9 Science Q4- Week 1-2 Projectile Motion.ppt
G9 Science Q4- Week 1-2 Projectile Motion.pptG9 Science Q4- Week 1-2 Projectile Motion.ppt
G9 Science Q4- Week 1-2 Projectile Motion.ppt
 
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxSOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
 
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
 

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