A Direct Matrix Method for Computing Analytical Jacobians of Discretized Nonlinear Integro-differential Equations
Kevin T. Chu
Abstract
In this pedagogical article, we present a simple direct matrix method for analytically computing the Jacobian of nonlinear algebraic equations that arise from the discretization of nonlinear integro-differential equations. The method is based on a formulation of the discretized equations in vector form using only matrix-vector products and component-wise operations. By applying simple matrix-based differentiation rules, the matrix form of the analytical Jacobian can be calculated with little more difficulty than that required when computing derivatives in single-variable calculus. After describing the direct matrix method, we present numerical experiments demonstrating the computational performance of the method, discuss its connection to the Newton-Kantorovich method, and apply it to illustrative 1D and 2D example problems. MATLAB code is provided to demonstrate the low code complexity required by the method.
Create a lesson
Related papers
Preconditioning for the time-dependent Stokes equations: stage-weighted Radau IIA and weighted discontinuous Galerkin time-stepping
Esteban Henríquez, Jeonghun J. Lee, Sander Rhebergen
Variably saturated flow on polygonal and cut meshes using a mass-conservative hybrid virtual element
Francesco Salvatore Liguori
A characteristic mapping method for dissipative evolution equations
William Holman-Bissegger, Seth Taylor, Jean-Christophe Nave
Universal Dimension Formula for Planar Cr Splines at Degree 3r+1
Xinyu Wu, Jiansong Deng
A Second-Order Semi-Implicit Projection Time-Stepping Scheme for the Shallow-Water Equations on the Sphere Using Compatible Finite Elements
Karina Kowalczyk, Colin Cotter
Sigmoid Tensor Decomposition for Compact Representations of Binary Data
Irina Kopnina, Sergey Matveev, Ivan Oseledets