One Dimensional Non-Linear Problems
Lectures for PHD course on Numerical optimization Enrico Bertolazzi
DIMS – Universit´ a di Trento
November 21 – December 14, 2011
One Dimensional Non-Linear Problems 1 / 63
One Dimensional Non-Linear Problems Lectures for PHD course on - - PowerPoint PPT Presentation
One Dimensional Non-Linear Problems Lectures for PHD course on Numerical optimization Enrico Bertolazzi DIMS Universit a di Trento November 21 December 14, 2011 One Dimensional Non-Linear Problems 1 / 63 Outline The
DIMS – Universit´ a di Trento
One Dimensional Non-Linear Problems 1 / 63
1
2
3
4
5
6
One Dimensional Non-Linear Problems 2 / 63
One Dimensional Non-Linear Problems 3 / 63
One Dimensional Non-Linear Problems 4 / 63
1 f(x) = x4 − 12x3 + 47x2 − 60x; 2 g(x) = x4 − 12x3 + 47x2 − 60x + 24; 3 h(x) = x4 − 12x3 + 47x2 − 60x + 24.1;
One Dimensional Non-Linear Problems 5 / 63
0.0 5.0 10.0 15.0 20.0
0.0 1.0 2.0 3.0 4.0 5.0 6.0 f(x) g(x) h(x)
One Dimensional Non-Linear Problems 6 / 63
0.0 0.5 1.0 0.6 0.8 1.0 1.2 1.4 f(x) g(x) h(x)
One Dimensional Non-Linear Problems 7 / 63
The Newton–Raphson method
1
2
3
4
5
6
One Dimensional Non-Linear Problems 8 / 63
The Newton–Raphson method
One Dimensional Non-Linear Problems 9 / 63
The Newton–Raphson method
One Dimensional Non-Linear Problems 10 / 63
The Newton–Raphson method
One Dimensional Non-Linear Problems 11 / 63
The Newton–Raphson method
1 Consider the following function f(x). We known an
2 Expand by Taylor series
3 Drop the term O((x − x0)2) and solve
4 Repeat 1 − 3 with x1, x2, x3, . . .
One Dimensional Non-Linear Problems 12 / 63
The Newton–Raphson method
One Dimensional Non-Linear Problems 13 / 63
The Newton–Raphson method Standard Assumptions
One Dimensional Non-Linear Problems 14 / 63
The Newton–Raphson method Standard Assumptions
One Dimensional Non-Linear Problems 15 / 63
The Newton–Raphson method Standard Assumptions
x
One Dimensional Non-Linear Problems 16 / 63
The Newton–Raphson method Local Convergence of the Newton–Raphson method
1 |xk − α| ≤ δ for k = 0, 1, 2, 3, . . . 2 |xk+1 − α| ≤ C |xk − α|2 for k = 0, 1, 2, 3, . . . 3 limk→∞ xk = α. One Dimensional Non-Linear Problems 17 / 63
The Newton–Raphson method Local Convergence of the Newton–Raphson method
One Dimensional Non-Linear Problems 18 / 63
The Newton–Raphson method Stopping criteria
1 |f(xk+1)| ≤ τ 2 |xk+1 − xk| ≤ τ |xk+1| 3 |xk+1 − xk| ≤ τ max{|xk| , |xk+1|} 4 |xk+1 − xk| ≤ τ max{typ x, |xk+1|}
One Dimensional Non-Linear Problems 19 / 63
Convergence order
1
2
3
4
5
6
One Dimensional Non-Linear Problems 20 / 63
Convergence order
k→∞ |xk − α| = 0.
One Dimensional Non-Linear Problems 21 / 63
Convergence order Q-order of convergence
1 q-linearly convergent if there exists a constant C ∈ (0, 1) and
2 q-super-linearly convergent if there exists a sequence {Ck}
3 convergent sequence of q-order p (p > 1) if there exists a
One Dimensional Non-Linear Problems 22 / 63
Convergence order Q-order of convergence
1 q-quadratic if is q-convergent of order p with p = 2 2 q-cubic if is q-convergent of order p with p = 3
One Dimensional Non-Linear Problems 23 / 63
Convergence order R-order of convergence
One Dimensional Non-Linear Problems 24 / 63
Convergence order R-order of convergence
k=0 ⊂ ❘. Let {yk}∞ k=0 ⊂ ❘ be a dominating
1 r-linearly convergent if {yk} is q-linearly convergent. 2 r-super-linearly convergent if {yk} is q-super-linearly
3 convergent sequence of r-order p (p > 1) if {yk} is a
One Dimensional Non-Linear Problems 25 / 63
Convergence order R-order of convergence
One Dimensional Non-Linear Problems 26 / 63
Convergence order R-order of convergence
One Dimensional Non-Linear Problems 27 / 63
The Secant method
1
2
3
4
5
6
One Dimensional Non-Linear Problems 28 / 63
The Secant method
One Dimensional Non-Linear Problems 29 / 63
The Secant method
One Dimensional Non-Linear Problems 30 / 63
The Secant method
One Dimensional Non-Linear Problems 31 / 63
The Secant method Local convergence of the the Secant Method
1 |xk − α| ≤ δ for k = 0, 1, 2, 3, . . . 2 the sequence {xk} is convergent to α with r-order at least p. One Dimensional Non-Linear Problems 32 / 63
The Secant method Local convergence of the the Secant Method
One Dimensional Non-Linear Problems 33 / 63
The Secant method Local convergence of the the Secant Method
1Joseph-Louis Lagrange 1736—1813 One Dimensional Non-Linear Problems 34 / 63
The Secant method Local convergence of the the Secant Method
One Dimensional Non-Linear Problems 35 / 63
The Secant method Local convergence of the the Secant Method
One Dimensional Non-Linear Problems 36 / 63
The Secant method Local convergence of the the Secant Method
k
0 exp(−rpk) = C exp(−pk+1 + rpk),
k.
One Dimensional Non-Linear Problems 37 / 63
The Secant method Local convergence of the the Secant Method
One Dimensional Non-Linear Problems 38 / 63
The Secant method Local convergence of the the Secant Method
2Michel Rolle 1652–1719 One Dimensional Non-Linear Problems 39 / 63
The quasi-Newton method
1
2
3
4
5
6
One Dimensional Non-Linear Problems 40 / 63
The quasi-Newton method
1 If ak = f′(xk) we obtain the Newton Raphson method. 2 If ak = f′(x0) we obtain the chord method. 3 If ak = f′(xm) where m = [k/p]p we obtain the Shamanskii
4 If ak = f(xk) − f(xk−1)
5 If ak = f(xk) − f(xk − hk)
One Dimensional Non-Linear Problems 41 / 63
The quasi-Newton method
One Dimensional Non-Linear Problems 42 / 63
The quasi-Newton method Local convergence of quasi-Newton method
k f(xk)
k
k
One Dimensional Non-Linear Problems 43 / 63
The quasi-Newton method Local convergence of quasi-Newton method
One Dimensional Non-Linear Problems 44 / 63
The quasi-Newton method Local convergence of quasi-Newton method
1 If limk→∞ hk = 0 then {xk} q-super-linearlyconverges to α. 2 If there exists a constant C such that |hk| ≤ C |xk − α| or
3 If there exists a constant C such that |hk| ≤ C |xk − xk−1|
One Dimensional Non-Linear Problems 45 / 63
Fixed–Point procedure
1
2
3
4
5
6
One Dimensional Non-Linear Problems 46 / 63
Fixed–Point procedure
i=0 is convergent to α.
One Dimensional Non-Linear Problems 47 / 63
Fixed–Point procedure
One Dimensional Non-Linear Problems 48 / 63
Fixed–Point procedure Contraction mapping Theorem
1 There exists a unique fixed point x⋆ in Bρ(x0). 2 The sequence {xk} generated by xk+1 = G(xk) remains in
3 The following error estimate is valid
One Dimensional Non-Linear Problems 49 / 63
Fixed–Point procedure Contraction mapping Theorem
m−1
m−1
0 ⊂ Bρ(x0) and that is a Cauchy sequence.
One Dimensional Non-Linear Problems 50 / 63
Fixed–Point procedure Contraction mapping Theorem
0 is a Cauchy sequence so that there is the
k→∞
One Dimensional Non-Linear Problems 51 / 63
Fixed–Point procedure Contraction mapping Theorem
One Dimensional Non-Linear Problems 52 / 63
Fixed–Point procedure Contraction mapping Theorem
One Dimensional Non-Linear Problems 53 / 63
Fixed–Point procedure Contraction mapping Theorem
54 / 63
Fixed–Point procedure Contraction mapping Theorem
One Dimensional Non-Linear Problems 55 / 63
Stopping criteria and q-order estimation
1
2
3
4
5
6
One Dimensional Non-Linear Problems 56 / 63
Stopping criteria and q-order estimation
1 Consider an iterative scheme that produces a sequence {xk}
2 This means that there exists a constant C such that
3 If limk→∞
4 We can use this last expression to obtain an estimate of the
One Dimensional Non-Linear Problems 57 / 63
Stopping criteria and q-order estimation
1 If |xk+1 − α| ≤ C |xk − α|p we can write:
2 If xk is so near to the solution that C |xk − α|p−1 ≤ 1
2, then
3 This fact justifies the two stopping criteria
One Dimensional Non-Linear Problems 58 / 63
Stopping criteria and q-order estimation
1 Consider an iterative scheme that produce a sequence {xk}
2 If |xk+1 − α| ≈ C |xk − α|p then the ratio:
1 p−1 |xk − α|
1 p−1 |xk − α| 3 From this two ratios we can deduce p as follows
One Dimensional Non-Linear Problems 59 / 63
Stopping criteria and q-order estimation
1 The ratio
2 If we are near to the solution, we can use the estimation
One Dimensional Non-Linear Problems 60 / 63
Stopping criteria and q-order estimation
1 if the the step length is proportional to the value of f(x) as in
2 Such estimation are useful to check the code implementation.
One Dimensional Non-Linear Problems 61 / 63
Conclusions
1 Newton-Raphson
2 Secant
3 quasi-Newton
One Dimensional Non-Linear Problems 62 / 63
Conclusions
One Dimensional Non-Linear Problems 63 / 63