1 / 21

CS B553: Algorithms for Optimization and Learning

CS B553: Algorithms for Optimization and Learning. Root finding. g (x ). x. Roots of g. Key Ideas. Newton’s method Secant method Superlinear convergence rates Initialization and termination Approximate differentiation Numerical considerations. Figure 10. Newton’s method. g (x ).

tammy
Download Presentation

CS B553: Algorithms for Optimization and Learning

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CS B553: Algorithms for Optimization and Learning Root finding

  2. g(x) x Roots of g

  3. Key Ideas • Newton’s method • Secant method • Superlinear convergence rates • Initialization and termination • Approximate differentiation • Numerical considerations

  4. Figure 10 Newton’s method g(x) x0 x In a neighborhood of a root, the line tangent to thegraph crosses the x axis near the root

  5. Figure 10 Newton’s method g(x) x1 x In a neighborhood of a root, the line tangent to thegraph crosses the x axis near the root… iterate!

  6. Figure 10 Newton’s method g(x) x2 x In a neighborhood of a root, the line tangent to thegraph crosses the x axis near the root… iterate!

  7. Figure 11 Divergence x1 x g(x)

  8. Figure 11 Divergence x1 x2 x g(x)

  9. Figure 11 Divergence x3 x1 x2 x g(x)

  10. Figure 11 Divergence x3 x1 x2 x4 x g(x)

  11. Figure 11 Divergence x5 x3 x1 x2 x4 x g(x)

  12. Figure 12 Oscillation x

  13. Figure 12 Oscillation x

  14. Figure 12 Oscillation x

  15. Figure 12 Oscillation x

  16. Figure 13 Secant method g(x) x0 x1 x Idea: Use line through two points on graph as approximation ofthe derivative

  17. Figure 13 Secant method g(x) x0 x1 x2 x Idea: Use line through two points on graph as approximation ofthe derivative

  18. Figure 13 Secant method g(x) x3 x0 x1 x2 x Idea: Use line through two points on graph as approximation ofthe derivative

  19. Figure 13 Secant method g(x) x3 x0 x1 x2 x Idea: Use line through two points on graph as approximation ofthe derivative

  20. Orders of convergence • Bisection: linear • Newton’s method: quadratic • Secant method: order   1.6 • Only bisection has guaranteed convergence (given appropriate initial interval) • Newton’s method needs derivatives • Most “out of the box” subroutines take a hybrid approach

  21. Figure 14 Basins of attraction in complex plane: x5-1=0

More Related