From Completing the Squares and Orthogonal Projection to Finite Element Methods

Similar documents
A very short introduction to the Finite Element Method

Lecture 3: Function Spaces I Finite Elements Modeling. Bruno Lévy

1 Discretizing BVP with Finite Element Methods.

2.3 Variational form of boundary value problems

Chapter 1 Foundations of Elliptic Boundary Value Problems 1.1 Euler equations of variational problems

1. Let a(x) > 0, and assume that u and u h are the solutions of the Dirichlet problem:

Chapter 12. Partial di erential equations Di erential operators in R n. The gradient and Jacobian. Divergence and rotation

Variational Formulations

Finite Elements. Colin Cotter. February 22, Colin Cotter FEM

Supraconvergence of a Non-Uniform Discretisation for an Elliptic Third-Kind Boundary-Value Problem with Mixed Derivatives

INTRODUCTION TO FINITE ELEMENT METHODS

ACM/CMS 107 Linear Analysis & Applications Fall 2017 Assignment 2: PDEs and Finite Element Methods Due: 7th November 2017

Numerical Solutions to Partial Differential Equations

[2] (a) Develop and describe the piecewise linear Galerkin finite element approximation of,

Variational Principles for Equilibrium Physical Systems

Theory of PDE Homework 2

Optimal Left and Right Additive Schwarz Preconditioning for Minimal Residual Methods with Euclidean and Energy Norms

Simple Examples on Rectangular Domains

Second Order Elliptic PDE

Lecture Notes on PDEs

LECTURE 1: SOURCES OF ERRORS MATHEMATICAL TOOLS A PRIORI ERROR ESTIMATES. Sergey Korotov,

Projected Surface Finite Elements for Elliptic Equations

Definition 1. A set V is a vector space over the scalar field F {R, C} iff. there are two operations defined on V, called vector addition

Differential Equations Preliminary Examination

Scientific Computing WS 2018/2019. Lecture 15. Jürgen Fuhrmann Lecture 15 Slide 1

Basic Concepts of Adaptive Finite Element Methods for Elliptic Boundary Value Problems

A Finite Element Method for an Ill-Posed Problem. Martin-Luther-Universitat, Fachbereich Mathematik/Informatik,Postfach 8, D Halle, Abstract

WELL POSEDNESS OF PROBLEMS I

An introduction to the mathematical theory of finite elements

Discretization of PDEs and Tools for the Parallel Solution of the Resulting Systems

A Note on the Variational Formulation of PDEs and Solution by Finite Elements

LECTURE # 0 BASIC NOTATIONS AND CONCEPTS IN THE THEORY OF PARTIAL DIFFERENTIAL EQUATIONS (PDES)

Scientific Computing WS 2017/2018. Lecture 18. Jürgen Fuhrmann Lecture 18 Slide 1

Math Tune-Up Louisiana State University August, Lectures on Partial Differential Equations and Hilbert Space

PDEs, part 1: Introduction and elliptic PDEs

INF-SUP CONDITION FOR OPERATOR EQUATIONS

Lecture 1. Finite difference and finite element methods. Partial differential equations (PDEs) Solving the heat equation numerically

SPECTRAL PROPERTIES OF THE LAPLACIAN ON BOUNDED DOMAINS

Chapter Two: Numerical Methods for Elliptic PDEs. 1 Finite Difference Methods for Elliptic PDEs

Maximum norm estimates for energy-corrected finite element method

Applied Math Qualifying Exam 11 October Instructions: Work 2 out of 3 problems in each of the 3 parts for a total of 6 problems.

Partial Differential Equations

Finite difference method for elliptic problems: I

Université de Metz. Master 2 Recherche de Mathématiques 2ème semestre. par Ralph Chill Laboratoire de Mathématiques et Applications de Metz

AM 205: lecture 14. Last time: Boundary value problems Today: Numerical solution of PDEs

Approximation in Banach Spaces by Galerkin Methods

USING FUNCTIONAL ANALYSIS AND SOBOLEV SPACES TO SOLVE POISSON S EQUATION

Multigrid Methods for Saddle Point Problems

NUMERICAL PARTIAL DIFFERENTIAL EQUATIONS

Finite Difference and Finite Element Methods

Lecture 9 Approximations of Laplace s Equation, Finite Element Method. Mathématiques appliquées (MATH0504-1) B. Dewals, C.

Contents. Prologue Introduction. Classical Approximation... 19

The Mortar Boundary Element Method

Question 9: PDEs Given the function f(x, y), consider the problem: = f(x, y) 2 y2 for 0 < x < 1 and 0 < x < 1. x 2 u. u(x, 0) = u(x, 1) = 0 for 0 x 1

Lecture Note III: Least-Squares Method

A BIVARIATE SPLINE METHOD FOR SECOND ORDER ELLIPTIC EQUATIONS IN NON-DIVERGENCE FORM

Lecture Notes: African Institute of Mathematics Senegal, January Topic Title: A short introduction to numerical methods for elliptic PDEs

Isogeometric Analysis:

DIFFERENTIAL EQUATIONS

Numerical Methods for Partial Differential Equations

Finite Element Method for Ordinary Differential Equations

Basic Principles of Weak Galerkin Finite Element Methods for PDEs

A note on accurate and efficient higher order Galerkin time stepping schemes for the nonstationary Stokes equations

A Note on Two Different Types of Matrices and Their Applications

Chapter 2 Finite Element Spaces for Linear Saddle Point Problems

INTRODUCTION TO PDEs

FINITE ELEMENT METHODS

6x 2 8x + 5 ) = 12x 8

Introduction to Functional Analysis With Applications

AMS subject classifications. Primary, 65N15, 65N30, 76D07; Secondary, 35B45, 35J50

1. Subspaces A subset M of Hilbert space H is a subspace of it is closed under the operation of forming linear combinations;i.e.,

Adaptive Finite Element Methods Lecture 1: A Posteriori Error Estimation

U.C. Berkeley CS294: Spectral Methods and Expanders Handout 11 Luca Trevisan February 29, 2016

Iterative Methods for Linear Systems

Numerical Solutions to Partial Differential Equations

Common Core Algebra 2 Review Session 1

Chapter 3 Conforming Finite Element Methods 3.1 Foundations Ritz-Galerkin Method

PDE & FEM TERMINOLOGY. BASIC PRINCIPLES OF FEM.

DISCRETE MAXIMUM PRINCIPLES in THE FINITE ELEMENT SIMULATIONS

A posteriori error estimation for elliptic problems

Chapter 5 A priori error estimates for nonconforming finite element approximations 5.1 Strang s first lemma

Geometric Multigrid Methods

Boundary Value Problems and Iterative Methods for Linear Systems

Chapter 1: The Finite Element Method

Finite Element Methods for Fourth Order Variational Inequalities

Regularity Theory a Fourth Order PDE with Delta Right Hand Side

Partial Differential Equations and the Finite Element Method

Discontinuous Galerkin Methods

Numerical methods for PDEs FEM convergence, error estimates, piecewise polynomials

Generalized Lax-Milgram theorem in Banach spaces and its application to the mathematical fluid mechanics.

Minimal periods of semilinear evolution equations with Lipschitz nonlinearity

CLASSIFICATION AND PRINCIPLE OF SUPERPOSITION FOR SECOND ORDER LINEAR PDE

There are six more problems on the next two pages

On an Approximation Result for Piecewise Polynomial Functions. O. Karakashian

Weak Formulation of Elliptic BVP s

LINEAR ALGEBRA W W L CHEN

Math 5520 Homework 2 Solutions

The maximum angle condition is not necessary for convergence of the finite element method

Projection Theorem 1

u(0) = u 0, u(1) = u 1. To prove what we want we introduce a new function, where c = sup x [0,1] a(x) and ɛ 0:

Transcription:

From Completing the Squares and Orthogonal Projection to Finite Element Methods Mo MU Background In scientific computing, it is important to start with an appropriate model in order to design effective and efficient numerical methods for solving a given scientific problem. The modeling process usually involves approximations and assumptions, which leads to various mathematical formulations for different purposes. Different formulations may be mathematically equivalent in certain sense, but they may make significant differences numerically. In the early stage of numerical PDEs, people started with the classical PDE form, say the Poisson equation for the elliptic model problem: u xx + u yy = f, in (.) and applied finite differences to approximate the derivatives, which led to finite difference methods (FDM). The FDM approach has many difficulties, such as in handling complex geometry and boundary conditions, in convergence analysis, in strong regularity requirement, and in solving the resulting discrete system etc. The Poisson equation can be derived from the variational principle in mechanics { } min (u 2 x u S 2 + u2 y ) fu, (.2) where S is the feasible set of solutions. However, it is also difficult to derive and analyze numerical methods directly from the optimization formulation (.2). In fact, there is another formulation between (.) and (.2), the so called weak formulation, which is where the finite element methods (FEM) start with. We will show how these different formulations are related to each other and how FEM can be derived and analyzed by simply using the ideas of

completing the squares and orthogonal projection. Through this example, we will demonstrate how these elementary, yet fundamental mathematical concepts and techniques are involved in advanced studies. 2 Optimization and Completing the Squares 2. Simplest case in R Consider the simplest optimization problem min f(x), (2..) x R where f(x) = 2 ax2 bx, a > 0. (2..2) The most elementary approach to solve this problem is to reformulate it by completing the squares just a little bit of algebra: f(x) = 2 a(x b/a)2 2 b2 /a. (2..3) Thus, the optimization problem is equivalent to the equation ax = b, (2..4) which, of course, can be solved immediately. Alternatively, one can use calculus to derive (2..4)by f (x) = 0. (2..5) 2.2 Extension to R n Consider where min f(x), (2.2.) x Rn f(x) = 2 xt Ax b T x, A n n is symmetric and positive definite ; x, b R n. (2.2.2) 2

Now, completing the squares reads. f(x) = 2 (x A b) T A(x A b) 2 bt A b. (2.2.3) Thus, the equivalent equation becomes Notice that (2.2.4) can also be written as Ax = b. (2.2.4) f (x) = 0, (2.2.5) where f denotes the Frechét derivative. Observe that the framework in R is completely parallel to that in R n. Furthermore, R n is the finite dimensional model of Hilbert spaces. So we can abstract and extend the framework to Hilbert spaces. For this purpose, let us introduce the bilinear form and the linear functional a(u, v) = u T Av, u, v R n, (2.2.6) b(u) = b T u, u R n. (2.2.7) Since A is symmetric and positive definite, a(, ) in fact defines an inner product in R n. The optimization problem can now be rewritten in terms of a(, ) and b( ). To cast equation (2.2.4) to a form in terms of a(, ) and b( ), we apply dot product on both sides of (2.2.4) with any y R n. It is easy to verify that (2.2.4) is equivalent to 2.3 Extension to Hilbert Spare H a(x, y) = b(y), y R n. (2.2.4 ) Given an inner product a(, ) and a continuous linear form b in H, consider the optimization problem min f(u) (2.3.) u H where f(u) = a(u, u) b(u). (2.3.2) 2 3

Completing the squares now reads where u H, such that f(u) = 2 a(u u, u u ) 2 b(u ), (2.3.3) a(u, v) = b(v), v H. (2.3.4) The existence and uniqueness of the solution u of (2.3.4) is given by the well-known Lax-Milgram theorem. The proof of (2.3.3) is simply the same algebraic manipulation as used in completing the squares by expanding the terms and carrying out simplification: 2 a(u u, u u ) 2 b(u ) = 2 {a(u, u) a(u, u ) a(u, u) + a(u, u )} 2 b(u ) = { 2 a(u, u) a(u, u) + 2 a(u, u ) } 2 b(u ) = a(u, u) b(u). 2 2.4 An example in H (): Poisson equation Consider the Sobolev space H H0() = {u u L 2 (), Du L 2 (), u = 0}. a(u, v) = u x v x + u y v y, u, v H, and b(v) = f v, f L 2 (), v H. It can be shown that a(, ) and b( ) define an inner product (by Poincare s inequality) and a continuous linear form in H. So, the optimization problem (2.3.) (2.3.2) just corresponds to (.2). The corresponding equivalent problem (2.3.4): find u H0 (), such that u x v x + u y v y = f v, v H0() 4

is the so-called weak formulation, which leads to the classical Poisson equation with Dirichlet boundary condition: { u = f in u = 0 on if u H 2 () by integration by parts. 3 Orthogonal projection and FEM 3. Galerkin approximation Starting with the abstract weak formulation P: find u V, such that a(u, v) = f(v), v V, (3..) where V is a Hilbert space, a(, ) is an inner-product in V, and f( ) is a continuous linear form in V. For the computational purpose, one needs to discretize the continuous problem P to a finite dimensional problem. Suppose we have a subspace of dimension N: V h V, the Galerkin approximation restricts P to V h, which leads to a finite dimensional problem P h : find u h V h, such that a(u h, v h ) = f(v h ), v h V h. (3..2) (3..2) can be represented as a linear system equation in terms of the N basis functions of V h, where the coefficient matrix is also SPD because a(, ) is an inner product. Intuitively, if V h V, say by increasing the dimension N of V h, one could expect the convergence of P h to P in certain sense. If this true, furthermore, is P h the optimal approximation to P? The following obvious observation is crucial for understanding the convergence mechanism of this approach. From (3..) and (3..2), we see that a(u u h, v h ) = 0, v h V h. (3..3) The geometric interpretation is that the approximation u h to u is nothing else, but the orthogonal projection of u to the subspace V h with respect to the inner-production a(, ). Therefore, u h is the optimal approximation of u in this sense because u u h a = min v h V h u v h a (3..4) 5

is the shortest distance, where u a = a /2 (u, u) is the energy norm. This basic geometric concept leads to the fundamental of FEM convergence analysis. 3.2 FEM Now the questions are: how to construct V h, whether V h converges to V and how u h converges to u. To construct V h, one first discretizes by a mesh h, where h is the average spacing of the elements. Then, one constructs piecewise polynomials to form V h. In the simplest case where continuous piecewise linear polynomials are used, which are called Courant elements, it can be shown that V h is a subspace of H (). Therefore, the Galerkin framework can be applied to such a V h, which leads to the famous finite element methods. 3.3 Convergence analysis of FEM and interpolation theory in Sobolev spaces The orthogonal projection property u u h a = min v h V h u v h a does not tell too much about how small u u h a is. If we can find a particular u h V h such that u u h a can be estimated, then we have u u h a = min v V h u v h a u u h a. (3.3.) It can be shown that the energy norm is an equivalent norm of H (). Thus there exists a constant C, such that u u h H () C u u h H (). (3.3.2) The natural choice of u h is the interpolation of u, denoted by I h u. Unfortunately, H () is not embedded in C 0 (). So for u H (), I h u is not defined. Notice that H 2 () is embedded in C 0 (). Therefore, under the assumption on the smoothness of u: u H 2 (), we have u u h H () C u I h u H () = C (I I h )u H (), (3.3.3) 6

which is the so-called Cea lemma. Thus the convergence analysis of FEM amounts to the approximation theory of interpolation in Sobolev spaces, which opened a new field in numerical analysis in 960 s. From this approximation theory, it holds, if u H 2 (), Thus, u I h u H () C u H 2 ()h. (3.3.4) u u h H () C u H 2 () h. (3.3.5) Namely, u u h H () 0 as h 0 with the order of O(h). There are other computational issues that we omit here. In general, FEM overcomes many difficulties of FDM. The framework of FEM has been applied and extended to many applications, and has made enormously impact on scientific computing for several decades. It is elegant, yet the key ideas are easy to understand, which is the beauty of mathematics. Reference P. G. Ciarlet, The Finite Element Method for Elliptic Problems, North-Holland Pub., 978. 7