solutions of equations in one variable fixed point
play

Solutions of Equations in One Variable Fixed-Point Iteration I - PowerPoint PPT Presentation

Solutions of Equations in One Variable Fixed-Point Iteration I Numerical Analysis (9th Edition) R L Burden & J D Faires Beamer Presentation Slides prepared by John Carroll Dublin City University 2011 Brooks/Cole, Cengage Learning c


  1. Theoretical Basis Example Formulation I Formulation II g ( x ) ∈ [ a , b ] for all x ∈ [ a , b ] y b g(x) a x a b Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 12 / 59

  2. Theoretical Basis Example Formulation I Formulation II g ( x ) has a Fixed Point in [ a , b ] y x b g(x) a x a b Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 13 / 59

  3. Theoretical Basis Example Formulation I Formulation II g ( x ) has a Fixed Point in [ a , b ] y y 5 x b p 5 g ( p ) y 5 g ( x ) a x a p b Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 14 / 59

  4. Theoretical Basis Example Formulation I Formulation II Illustration Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 15 / 59

  5. Theoretical Basis Example Formulation I Formulation II Illustration Consider the function g ( x ) = 3 − x on 0 ≤ x ≤ 1. Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 15 / 59

  6. Theoretical Basis Example Formulation I Formulation II Illustration Consider the function g ( x ) = 3 − x on 0 ≤ x ≤ 1. g ( x ) is continuous and since g ′ ( x ) = − 3 − x log 3 < 0 on [ 0 , 1 ] g ( x ) is decreasing on [ 0 , 1 ] . Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 15 / 59

  7. Theoretical Basis Example Formulation I Formulation II Illustration Consider the function g ( x ) = 3 − x on 0 ≤ x ≤ 1. g ( x ) is continuous and since g ′ ( x ) = − 3 − x log 3 < 0 on [ 0 , 1 ] g ( x ) is decreasing on [ 0 , 1 ] . Hence g ( 1 ) = 1 3 ≤ g ( x ) ≤ 1 = g ( 0 ) i.e. g ( x ) ∈ [ 0 , 1 ] for all x ∈ [ 0 , 1 ] and therefore, by the preceding result, g ( x ) must have a fixed point in [ 0 , 1 ] . Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 15 / 59

  8. Theoretical Basis Example Formulation I Formulation II Functional (Fixed-Point) Iteration g ( x ) = 3 − x y y 5 x 1 y 5 3 2 x s 1, a d x 1 Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 16 / 59

  9. Theoretical Basis Example Formulation I Formulation II Functional (Fixed-Point) Iteration An Important Observation Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 17 / 59

  10. Theoretical Basis Example Formulation I Formulation II Functional (Fixed-Point) Iteration An Important Observation It is fairly obvious that, on any given interval I = [ a , b ] , g ( x ) may have many fixed points (or none at all). Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 17 / 59

  11. Theoretical Basis Example Formulation I Formulation II Functional (Fixed-Point) Iteration An Important Observation It is fairly obvious that, on any given interval I = [ a , b ] , g ( x ) may have many fixed points (or none at all). In order to ensure that g ( x ) has a unique fixed point in I , we must make an additional assumption that g ( x ) does not vary too rapidly. Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 17 / 59

  12. Theoretical Basis Example Formulation I Formulation II Functional (Fixed-Point) Iteration An Important Observation It is fairly obvious that, on any given interval I = [ a , b ] , g ( x ) may have many fixed points (or none at all). In order to ensure that g ( x ) has a unique fixed point in I , we must make an additional assumption that g ( x ) does not vary too rapidly. Thus we have to establish a uniqueness result. Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 17 / 59

  13. Theoretical Basis Example Formulation I Formulation II Functional (Fixed-Point) Iteration Uniqueness Result Let g ∈ C [ a , b ] and g ( x ) ∈ [ a , b ] for all x ∈ [ a , b ] . Further if g ′ ( x ) exists on ( a , b ) and | g ′ ( x ) | ≤ k < 1 , ∀ x ∈ [ a , b ] , then the function g has a unique fixed point p in [ a , b ] . Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 18 / 59

  14. Theoretical Basis Example Formulation I Formulation II g ′ ( x ) is Defined on [ a , b ] y g‘(x) x a b Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 19 / 59

  15. Theoretical Basis Example Formulation I Formulation II − 1 ≤ g ′ ( x ) ≤ 1 for all x ∈ [ a , b ] y 1 g‘(x) x a b −1 Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 20 / 59

  16. Theoretical Basis Example Formulation I Formulation II Unique Fixed Point: | g ′ ( x ) | ≤ 1 for all x ∈ [ a , b ] y 1 g‘(x) x a b −1 Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 21 / 59

  17. Theoretical Basis Example Formulation I Formulation II Functional (Fixed-Point) Iteration Proof of Uniqueness Result Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 22 / 59

  18. Theoretical Basis Example Formulation I Formulation II Functional (Fixed-Point) Iteration Proof of Uniqueness Result Assuming the hypothesis of the theorem, suppose that p and q are both fixed points in [ a , b ] with p � = q . Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 22 / 59

  19. Theoretical Basis Example Formulation I Formulation II Functional (Fixed-Point) Iteration Proof of Uniqueness Result Assuming the hypothesis of the theorem, suppose that p and q are both fixed points in [ a , b ] with p � = q . MVT Illustration , a number ξ exists By the Mean Value Theorem between p and q and hence in [ a , b ] with | p − q | = | g ( p ) − g ( q ) | Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 22 / 59

  20. Theoretical Basis Example Formulation I Formulation II Functional (Fixed-Point) Iteration Proof of Uniqueness Result Assuming the hypothesis of the theorem, suppose that p and q are both fixed points in [ a , b ] with p � = q . MVT Illustration , a number ξ exists By the Mean Value Theorem between p and q and hence in [ a , b ] with � | p − q | � � � g ′ ( ξ ) | p − q | = | g ( p ) − g ( q ) | = Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 22 / 59

  21. Theoretical Basis Example Formulation I Formulation II Functional (Fixed-Point) Iteration Proof of Uniqueness Result Assuming the hypothesis of the theorem, suppose that p and q are both fixed points in [ a , b ] with p � = q . MVT Illustration , a number ξ exists By the Mean Value Theorem between p and q and hence in [ a , b ] with � | p − q | � � � g ′ ( ξ ) | p − q | = | g ( p ) − g ( q ) | = ≤ k | p − q | Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 22 / 59

  22. Theoretical Basis Example Formulation I Formulation II Functional (Fixed-Point) Iteration Proof of Uniqueness Result Assuming the hypothesis of the theorem, suppose that p and q are both fixed points in [ a , b ] with p � = q . MVT Illustration , a number ξ exists By the Mean Value Theorem between p and q and hence in [ a , b ] with � | p − q | � � � g ′ ( ξ ) | p − q | = | g ( p ) − g ( q ) | = ≤ k | p − q | < | p − q | which is a contradiction. Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 22 / 59

  23. Theoretical Basis Example Formulation I Formulation II Functional (Fixed-Point) Iteration Proof of Uniqueness Result Assuming the hypothesis of the theorem, suppose that p and q are both fixed points in [ a , b ] with p � = q . MVT Illustration , a number ξ exists By the Mean Value Theorem between p and q and hence in [ a , b ] with � | p − q | � � � g ′ ( ξ ) | p − q | = | g ( p ) − g ( q ) | = ≤ k | p − q | < | p − q | which is a contradiction. This contradiction must come from the only supposition, p � = q . Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 22 / 59

  24. Theoretical Basis Example Formulation I Formulation II Functional (Fixed-Point) Iteration Proof of Uniqueness Result Assuming the hypothesis of the theorem, suppose that p and q are both fixed points in [ a , b ] with p � = q . MVT Illustration , a number ξ exists By the Mean Value Theorem between p and q and hence in [ a , b ] with � | p − q | � � � g ′ ( ξ ) | p − q | = | g ( p ) − g ( q ) | = ≤ k | p − q | < | p − q | which is a contradiction. This contradiction must come from the only supposition, p � = q . Hence, p = q and the fixed point in [ a , b ] is unique. Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 22 / 59

  25. Theoretical Basis Example Formulation I Formulation II Outline Introduction & Theoretical Framework 1 Motivating the Algorithm: An Example 2 Fixed-Point Formulation I 3 Fixed-Point Formulation II 4 Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 23 / 59

  26. Theoretical Basis Example Formulation I Formulation II A Single Nonlinear Equaton Model Problem Consider the quadratic equation: x 2 − x − 1 = 0 Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 24 / 59

  27. Theoretical Basis Example Formulation I Formulation II A Single Nonlinear Equaton Model Problem Consider the quadratic equation: x 2 − x − 1 = 0 Positive Root The positive root of this equations is: √ x = 1 + 5 ≈ 1 . 618034 2 Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 24 / 59

  28. Theoretical Basis Example Formulation I Formulation II Single Nonlinear Equation f ( x ) = x 2 − x − 1 = 0 y y = x 2 − x − 1 − 1 x −1 1 1.5 − −1 We can convert this equation into a fixed-point problem. Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 25 / 59

  29. Theoretical Basis Example Formulation I Formulation II Outline Introduction & Theoretical Framework 1 Motivating the Algorithm: An Example 2 Fixed-Point Formulation I 3 Fixed-Point Formulation II 4 Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 26 / 59

  30. Theoretical Basis Example Formulation I Formulation II Single Nonlinear Equation f ( x ) = x 2 − x − 1 = 0 One Possible Formulation for g ( x ) Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 27 / 59

  31. Theoretical Basis Example Formulation I Formulation II Single Nonlinear Equation f ( x ) = x 2 − x − 1 = 0 One Possible Formulation for g ( x ) Transpose the equation f ( x ) = 0 for variable x : x 2 − x − 1 = 0 Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 27 / 59

  32. Theoretical Basis Example Formulation I Formulation II Single Nonlinear Equation f ( x ) = x 2 − x − 1 = 0 One Possible Formulation for g ( x ) Transpose the equation f ( x ) = 0 for variable x : x 2 − x − 1 = 0 x 2 ⇒ = x + 1 Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 27 / 59

  33. Theoretical Basis Example Formulation I Formulation II Single Nonlinear Equation f ( x ) = x 2 − x − 1 = 0 One Possible Formulation for g ( x ) Transpose the equation f ( x ) = 0 for variable x : x 2 − x − 1 = 0 x 2 ⇒ = x + 1 √ ⇒ x = ± x + 1 Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 27 / 59

  34. Theoretical Basis Example Formulation I Formulation II Single Nonlinear Equation f ( x ) = x 2 − x − 1 = 0 One Possible Formulation for g ( x ) Transpose the equation f ( x ) = 0 for variable x : x 2 − x − 1 = 0 x 2 ⇒ = x + 1 √ ⇒ x = ± x + 1 √ g ( x ) = x + 1 Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 27 / 59

  35. Theoretical Basis Example Formulation I Formulation II x n + 1 = g ( x n ) = √ x n + 1 with x 0 = 0 y y = x g ( x ) = √ x + 1 x x 0 Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 28 / 59

  36. Theoretical Basis Example Formulation I Formulation II √ Fixed Point: g ( x ) = x + 1 x 0 = 0 n p n p n + 1 | p n + 1 − p n | 1 0.000000000 1.000000000 1.000000000 2 1.000000000 1.414213562 0.414213562 3 1.414213562 1.553773974 0.139560412 4 1.553773974 1.598053182 0.044279208 5 1.598053182 1.611847754 0.013794572 Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 29 / 59

  37. Theoretical Basis Example Formulation I Formulation II y y = x g ( x ) = √ x + 1 x 1 x x 0 Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 30 / 59

  38. Theoretical Basis Example Formulation I Formulation II y y = x g ( x ) = √ x + 1 x 1 x x 0 Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 31 / 59

  39. Theoretical Basis Example Formulation I Formulation II y y = x g ( x ) = √ x + 1 x 2 x 1 x 1 x x 0 Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 32 / 59

  40. Theoretical Basis Example Formulation I Formulation II y y = x g ( x ) = √ x + 1 x 2 x 1 x 1 x x 0 Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 33 / 59

  41. Theoretical Basis Example Formulation I Formulation II y y = x g ( x ) = √ x + 1 x 2 x 1 x 1 x x 0 Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 34 / 59

  42. Theoretical Basis Example Formulation I Formulation II y y = x g ( x ) = √ x + 1 x 2 x 1 x 1 x x 0 Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 35 / 59

  43. Theoretical Basis Example Formulation I Formulation II y y = x g ( x ) = √ x + 1 x 2 x 1 x 1 x x 0 Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 36 / 59

  44. Theoretical Basis Example Formulation I Formulation II y y = x g ( x ) = √ x + 1 x 2 x 1 x 1 x x 0 Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 37 / 59

  45. Theoretical Basis Example Formulation I Formulation II x n + 1 = g ( x n ) = √ x n + 1 with x 0 = 0 Rate of Convergence Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 38 / 59

  46. Theoretical Basis Example Formulation I Formulation II x n + 1 = g ( x n ) = √ x n + 1 with x 0 = 0 Rate of Convergence We require that | g ′ ( x ) | ≤ k < 1. Since √ 1 g ′ ( x ) = √ g ( x ) = x + 1 and x + 1 > 0 for x ≥ 0 2 Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 38 / 59

  47. Theoretical Basis Example Formulation I Formulation II x n + 1 = g ( x n ) = √ x n + 1 with x 0 = 0 Rate of Convergence We require that | g ′ ( x ) | ≤ k < 1. Since √ 1 g ′ ( x ) = √ g ( x ) = x + 1 and x + 1 > 0 for x ≥ 0 2 we find that 1 x > − 3 g ′ ( x ) = √ x + 1 < 1 for all 4 2 Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 38 / 59

  48. Theoretical Basis Example Formulation I Formulation II x n + 1 = g ( x n ) = √ x n + 1 with x 0 = 0 Rate of Convergence We require that | g ′ ( x ) | ≤ k < 1. Since √ 1 g ′ ( x ) = √ g ( x ) = x + 1 and x + 1 > 0 for x ≥ 0 2 we find that 1 x > − 3 g ′ ( x ) = √ x + 1 < 1 for all 4 2 Note g ′ ( p ) ≈ 0 . 30902 Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 38 / 59

  49. Theoretical Basis Example Formulation I Formulation II √ Fixed Point: g ( x ) = x + 1 p 0 = 0 n p n − 1 p n | p n − p n − 1 | e n / e n − 1 1 0.0000000 1.0000000 1.0000000 — 2 1.0000000 1.4142136 0.4142136 0.41421 3 1.4142136 1.5537740 0.1395604 0.33693 4 1.5537740 1.5980532 0.0442792 0.31728 5 1.5980532 1.6118478 0.0137946 0.31154 . . . . . . . . . . . . . . . 12 1.6180286 1.6180323 0.0000037 0.30902 13 1.6180323 1.6180335 0.0000012 0.30902 14 1.6180335 1.6180338 0.0000004 0.30902 15 1.6180338 1.6180339 0.0000001 0.30902 Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 39 / 59

  50. Theoretical Basis Example Formulation I Formulation II Outline Introduction & Theoretical Framework 1 Motivating the Algorithm: An Example 2 Fixed-Point Formulation I 3 Fixed-Point Formulation II 4 Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 40 / 59

  51. Theoretical Basis Example Formulation I Formulation II Single Nonlinear Equation f ( x ) = x 2 − x − 1 = 0 A Second Formulation for g ( x ) Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 41 / 59

  52. Theoretical Basis Example Formulation I Formulation II Single Nonlinear Equation f ( x ) = x 2 − x − 1 = 0 A Second Formulation for g ( x ) Transpose the equation f ( x ) = 0 for variable x : x 2 − x − 1 = 0 Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 41 / 59

  53. Theoretical Basis Example Formulation I Formulation II Single Nonlinear Equation f ( x ) = x 2 − x − 1 = 0 A Second Formulation for g ( x ) Transpose the equation f ( x ) = 0 for variable x : x 2 − x − 1 = 0 x 2 ⇒ = x + 1 Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 41 / 59

  54. Theoretical Basis Example Formulation I Formulation II Single Nonlinear Equation f ( x ) = x 2 − x − 1 = 0 A Second Formulation for g ( x ) Transpose the equation f ( x ) = 0 for variable x : x 2 − x − 1 = 0 x 2 ⇒ = x + 1 1 + 1 ⇒ x = x Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 41 / 59

  55. Theoretical Basis Example Formulation I Formulation II Single Nonlinear Equation f ( x ) = x 2 − x − 1 = 0 A Second Formulation for g ( x ) Transpose the equation f ( x ) = 0 for variable x : x 2 − x − 1 = 0 x 2 ⇒ = x + 1 1 + 1 ⇒ x = x g ( x ) = 1 + 1 x Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 41 / 59

  56. Theoretical Basis Example Formulation I Formulation II x n + 1 = g ( x n ) = 1 x n + 1 with x 0 = 1 y g ( x ) = 1 x + 1 y = x 1 x Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 42 / 59

  57. Theoretical Basis Example Formulation I Formulation II g ( x ) = 1 Fixed Point: x + 1 x 0 = 1 n p n p n + 1 | p n + 1 − p n | 1 1.000000000 2.000000000 1.000000000 2 2.000000000 1.500000000 0.500000000 3 1.500000000 1.666666667 0.166666667 4 1.666666667 1.600000000 0.066666667 5 1.600000000 1.625000000 0.025000000 Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 43 / 59

  58. Theoretical Basis Example Formulation I Formulation II y g ( x ) = 1 x + 1 y = x x 1 x 0 1 x Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 44 / 59

  59. Theoretical Basis Example Formulation I Formulation II y g ( x ) = 1 x + 1 y = x x 1 x 1 x 2 x 0 1 x Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 45 / 59

  60. Theoretical Basis Example Formulation I Formulation II y g ( x ) = 1 x + 1 y = x x 1 x 1 x 3 x 2 x 2 x 0 1 x Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 46 / 59

  61. Theoretical Basis Example Formulation I Formulation II y g ( x ) = 1 x + 1 y = x x 1 x 1 x 3 x 2 x 2 x 0 1 x Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 47 / 59

  62. Theoretical Basis Example Formulation I Formulation II y g ( x ) = 1 x + 1 y = x x 1 x 1 x 3 x 2 x 2 x 0 1 x Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 48 / 59

  63. Theoretical Basis Example Formulation I Formulation II y g ( x ) = 1 x + 1 y = x x 1 x 1 x 3 x 2 x 2 x 0 1 x Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 49 / 59

  64. Theoretical Basis Example Formulation I Formulation II y g ( x ) = 1 x + 1 y = x x 1 x 1 x 3 x 2 x 2 x 0 1 x Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 50 / 59

  65. Theoretical Basis Example Formulation I Formulation II x n + 1 = g ( x n ) = 1 x n + 1 with x 0 = 1 Rate of Convergence Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 51 / 59

  66. Theoretical Basis Example Formulation I Formulation II x n + 1 = g ( x n ) = 1 x n + 1 with x 0 = 1 Rate of Convergence We require that | g ′ ( x ) | ≤ k < 1. Since g ( x ) = 1 g ′ ( x ) = − 1 x + 1 x 2 < 0 and for x Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 51 / 59

  67. Theoretical Basis Example Formulation I Formulation II x n + 1 = g ( x n ) = 1 x n + 1 with x 0 = 1 Rate of Convergence We require that | g ′ ( x ) | ≤ k < 1. Since g ( x ) = 1 g ′ ( x ) = − 1 x + 1 x 2 < 0 and for x we find that 1 g ′ ( x ) = √ x + 1 > − 1 for all x > 1 2 Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 51 / 59

  68. Theoretical Basis Example Formulation I Formulation II x n + 1 = g ( x n ) = 1 x n + 1 with x 0 = 1 Rate of Convergence We require that | g ′ ( x ) | ≤ k < 1. Since g ( x ) = 1 g ′ ( x ) = − 1 x + 1 x 2 < 0 and for x we find that 1 g ′ ( x ) = √ x + 1 > − 1 for all x > 1 2 Note g ′ ( p ) ≈ − 0 . 38197 Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 51 / 59

  69. Theoretical Basis Example Formulation I Formulation II g ( x ) = 1 Fixed Point: x + 1 p 0 = 1 | p n − p n − 1 | e n / e n − 1 n p n − 1 p n 1 1.0000000 2.0000000 1.0000000 — 2 2.0000000 1.5000000 0.5000000 0.50000 3 1.5000000 1.6666667 0.1666667 0.33333 4 1.6666667 1.6000000 0.0666667 0.40000 5 1.6000000 1.6250000 0.0250000 0.37500 . . . . . . . . . . . . . . . 12 1.6180556 1.6180258 0.0000298 0.38197 13 1.6180258 1.6180371 0.0000114 0.38196 14 1.6180371 1.6180328 0.0000043 0.38197 15 1.6180328 1.6180344 0.0000017 0.38197 Numerical Analysis (Chapter 2) Fixed-Point Iteration I R L Burden & J D Faires 52 / 59

  70. Questions?

  71. Reference Material

  72. Intermediate Value Theorem If f ∈ C [ a , b ] and K is any number between f ( a ) and f ( b ) , then there exists a number c ∈ ( a , b ) for which f ( c ) = K . y ( a , f ( a )) f ( a ) y 5 f ( x ) K f ( b ) ( b , f ( b )) x a c b (The diagram shows one of 3 possibilities for this function and interval.) Return to Existence Theorem

  73. Mean Value Theorem: Illustration (1/3) Assume that f ∈ C [ a , b ] and f is differentiable on ( a , b ) . y f(b) f(x) f(a) x a b

  74. Mean Value Theorem: Illustration (2/3) Measure the slope of the line joining a , f ( a )] and [ b , f ( b )] . y slope = f ( b ) − f ( a ) b − a f(b) f(x) f(a) x a b

  75. Mean Value Theorem: Illustration (3/3) Then a number c exists such that f ′ ( c ) = f ( b ) − f ( a ) b − a y slope = f ( b ) − f ( a ) f(b) b − a slope = f ′ ( c ) f(x) f(a) x a c b

Recommend


More recommend