MAT2244 Unit 6. Numerical Methods December 2023
MAT2244 Unit 6. Numerical Methods December 2023
Analysis
• But both within mathematics and in applications there is often a need for functions of
several variables.
• In this Unit we will deduce methods for numerical differentiation and integration of
functions of two variables.
• These methods are simple extensions of the numerical differentiation methods for
functions of one variable.
• Since only one variable varies in the definition of a first-order partial derivative,
we can actually use the approximations that we obtained for functions of one
variable. The simplest approximation is the following.
• Proposition 1 Let f be a function defined on a set A ⊆ R 2 and suppose that the points
(a,b), (a + r h1,b) and (a,b + r h2) all lie in A for any r ∈ [0, 1]. Then the two partial
derivatives ∂f /∂x and ∂f /∂y can be approximated by
Introduction
• In the past, we used midpoint rule to estimate the area under a
single variable function.
• We’d draw rectangles under the curve so that the midpoint at
the top of each rectangle touched the graph of the function.
https://www.kristakingmath.com/blog/midpoint-rule-for-double-integrals
12/12/2023 Numerical techniques in 2D by Prof. MV 56
12/12/2023 Numerical techniques in 2D by Prof. MV 57
Midpoint rule when m and n are equal
If we plug the values we’ve been given into the midpoint rule formula, we get
12/12/2023 71
Numerical techniques in 2D by Prof. MV
12/12/2023 Numerical techniques in 2D by Prof. MV 72
12/12/2023 Numerical techniques in 2D by Prof. MV 73
• We will consider a number of examples which demonstrates how to
apply the two dimensional Simpson’s rule to evaluate double integrals