Lecture 13 Iterative of nonlinear equations - PowerPoint PPT Presentation

1 / 20
About This Presentation
Title:

Lecture 13 Iterative of nonlinear equations

Description:

The minimization technique calculates a positive scalar value and use a gradient ... Calculate the gradient. dx = - dh/dx. Multiple loops to convergence. xnew ... – PowerPoint PPT presentation

Number of Views:73
Avg rating:3.0/5.0
Slides: 21
Provided by: EricSa96
Category:

less

Transcript and Presenter's Notes

Title: Lecture 13 Iterative of nonlinear equations


1
Lecture 13Iterative of nonlinear equations LU
technique
  • February 27, 2001
  • CVEN 302

2
Lectures Goals
  • Iterative methods using a scalar gradient
    techniques
  • LU Methods

3
Nonlinear Equations
  • The nonlinear equations can be solved using a
    gradient technique.
  • The minimization technique calculates a positive
    scalar value and use a gradient to find the zero
    of multiple functions.

4
Minimization algorithm
  • Calculate the square function.
  • h(x) S (f(x))2
  • Calculate a scalar value
  • z0 h(x)
  • Calculate the gradient
  • dx - dh/dx
  • Multiple loops to convergence
  • xnew xold dx
  • z1 h(xnew )
  • dif z1 - z0
  • if dif gt 0
  • dx dx/2
  • xnew xold dx
  • else
  • end loop
  • endif

5
Example 1-D problem
  • Minimize the function to find the roots.
  • f(x) x2 - 2

6
Program FFMIN
  • The program is adapted from the book to do a
    minimization of scalar and uses a gradient
    technique to find the roots.

7
Example of the 2-D Problem
  • f(x,y) x2 y2 - 1
  • g(x,y) x2 - y

8
LU Decomposition
  • A modification of the elimination method, called
    the LU decomposition. The technique will rewrite
    the matrix as the product of two matrices.
  • A LU

9
LU Decomposition
  • The technique breaks the matrix into a product of
    two matrices, L and U, L is a lower triangular
    matrix and U is an upper triangular matrix.

10
LU Decomposition
  • There are variation of the technique using
    different methods.
  • Couts reduction (U has ones on the diagonal)
  • Doolittles method( L has ones on the diagonal)
  • Choleskys method ( The diagonal terms are the
    same value for the L and U matrices)

11
Decomposition
12
LU Decomposition Solving
  • Using the LU decomposition
  • Ax LUx LUx b
  • Solve
  • Ly b
  • and then solve
  • Ux y

13
LU Decomposition
  • The matrices are represented by

14
Equation Solving
  • What is the advantage of breaking up one linear
    set into two successive ones?
  • The advantage is that the solution of triangular
    set of equations is trivial to solve.

15
Equation Solving
  • First step - forward substitution

16
Equation Solving
  • Second step - back substitution

17
LU Decomposition (Couts reduction)
  • Matrix decomposition

18
LU Decomposition (Doolittles method)
  • Matrix decomposition

19
Choleskys method
  • Matrix is decomposed into
  • where, lii uii

20
Summary
  • Nonlinear scalar gradient method uses a simple
    step to find the crossing terms.
  • Setup of the LU decomposition techniques.
Write a Comment
User Comments (0)
About PowerShow.com