# 93912 - Numerical Analysis and Linear Algebra

• Docente: Serena Morigi
• Credits: 9
• SSD: MAT/08
• Language: English
• from Sep 18, 2024 to Dec 18, 2024

• from Sep 20, 2024 to Dec 17, 2024

## Learning outcomes

At the end of the course, the student knows the numerical-mathematical aspects and the main numerical algorithms that allow to solve problems of interest in Engineering. In particular, the student knows basic numerical methods for solving linear and non-linear systems of large dimensions, interpolation, least squares approximation, integration and derivation, numerical methods for the regularization of ill-posed inverse problems. Given this basic knowledge, the main objective is to introduce the student to numerical methods for the solution of differential equations (ordinary differential equations and partial differential equations) with particular reference to finite difference and basic finite element schemes. The course includes a laboratory activity which is an integral part of it, the MATLAB scientific software is used.

## Course contents

The course includes three distinct parts:

Numerical Linear Algebra

Numerical Analysis Part A

Numerical Analysis Part B

The first two parts cover a first course in Numerical Analysis. Cover the basic techniques of the subject and provides a foundation for the efficient numerical solution of problems in science and engineering. Numerical methods to solve linear and nonlinear systems , numerical optimization, numerical derivative, numerical integration, interpolation, approximation. A brief introduction to inverse problems and regularization techniques.

This second part of the course (Part B) presents numerical methods for the solution of problems modeled by both Ordinary Differential Equations (ODE) and Partial Differential Equations (PDE). The course discusses their analysis, applications, and computation of the solution (by first discretizing the equation, bringing it into a finite-dimensional subspace by a finite element method, or a finite difference method , and finally reducing the problem to the solution of an algebraic equations)

Numerical Linear Algebra

1. [ALGEBRA] Linear algebra: matrices, vector and matrix norm.

2. [ALGEBRA]Solving Linear Systems. Direct methods: LU factorization, pivoting, Gaussian elimination, Cholesky factorization, Thomas algorithm.

3. [ALGEBRA]Solving Linear Systems. Itarative methods:Gauss-Seidel, Conjugated Gradients, Preconditioning.

4. [ALGEBRA]Polynomial approximation of data by least squares: normal equations, method based on QR factorization and SVD.

5. [ALGEBRA]Regularization methods for ill-posed problems, Principal Component Analysis.

Numerical Analysis Part A:

1. [ANALYSIS] Basics of numerical computing: floating-point arithmetic, roundoff errors, algorithms, problem conditioning, numerical stability.

2. [ANALYSIS]Introduction to programming using MATLAB.

3. [ANALYSIS]Numerical solution of nonlinear equations and systems: bisection method, Newton's method, secant, regula falsi.

4. [ANALYSIS]Polynomial interpolation and piecewise polynomial interpolation

5. [ANALYSIS] Numerical Optimization

6. [ANALYSIS] Numerical integration: Newton Cotes quadrature formulas of simple and composite.

7. [ANALYSIS] Numerical differentiation

Numerical Analysis Part B:

1. Numerical Solution of Ordinary Differential Equations: One step methods; Control of error; Definition of the step-size and adaptive-step methods; stability; Methods for Stiff Problems;

2. Boundary value problems;

3. Numerical Solution of Partial Differential Equations; Classification; domain of dependence, boundary conditions; Finite difference methods for parabolic problems; transport equation, hyperbolic problems: Galerkin method for Parabolic Problems; Elliptic equations: finite difference method and basics on finite element methods.

4. Introduction to PDETOOL and its use in the analysis of some models.

A First Course in Numerical Methods, Uri M. Ascher Chen Greif, SIAM

Cleve Moler, Numerical Computing with MATLAB , Ed. SIAM, 2004.
Michael T. Heath, Scientific Computing: An Introductory Survey , 2nd ed., McGraw-Hill, 2002.

A.Quarteroni, F.Saleri, P.Gervasio, Scientific Computing with MATLAB and Octave, 2010

A. Quarteroni, Numerical Models for Differential Problems, 2014, ISBN 978-88-470-5522-3

Randall J. Leveque, Finite Difference Methods for Ordinary and Partial Differential Equations: Steady-State and Time-Dependent Problems, 2007

## Teaching methods

class hours and computational exercises in lab.

## Assessment methods

The exam consists of 2 written parts and an oral one:

Written exam (1h30) for NUMERICAL LINEAR ALGEBRA

Written exam (1h30) for NUMERICAL ANALYSIS Part A

Oral exam for part B.

An individual project is assigned at the end of the course. It consists in a biomedical problem with a ODE/BVP/PDE formulation involved to be solved in MATLAB. A report on the proposed implementation and experiments has to be submitted before the oral part.

## Teaching tools

Experience in Lab. is an essential part of the course. Matlab is used as problem solving environment, matrix-vector programming language, graphics.

Slides provided in the WEB site in the Platform virtuale.unibo.it

## Office hours

See the website of Serena Morigi

### SDGs

This teaching activity contributes to the achievement of the Sustainable Development Goals of the UN 2030 Agenda.