Newton Fractals. Newton’s method Need initial guess and derivative Quadratic convergence – Proof via taylor’s theorem x_n+1 = x_n – f(x_n)/f(x_n) Derivation.

Slides:



Advertisements
Similar presentations
Iteration, the Julia Set, and the Mandelbrot Set.
Advertisements

Lecture 5 Newton-Raphson Method
Open Methods Chapter 6 The Islamic University of Gaza
Complex Dynamics and Crazy Mathematics Dynamics of three very different families of complex functions: 1.Polynomials (z 2 + c) 2. Entire maps ( exp(z))
Solving Systems of Equations. Rule of Thumb: More equations than unknowns  system is unlikely to have a solution. Same number of equations as unknowns.
Open Methods Chapter 6 The Islamic University of Gaza
Function Optimization Newton’s Method. Conjugate Gradients
A few words about convergence We have been looking at e a as our measure of convergence A more technical means of differentiating the speed of convergence.
Open Methods (Part 1) Fixed Point Iteration & Newton-Raphson Methods
The infinitely complex… Fractals Jennifer Chubb Dean’s Seminar November 14, 2006 Sides available at
APPLICATIONS OF DIFFERENTIATION Newton’s Method In this section, we will learn: How to solve high-degree equations using Newton’s method. APPLICATIONS.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Martin Mendez UASLP Chapter 61 Unit II.
Notes, part 5. L’Hospital Another useful technique for computing limits is L'Hospital's rule: Basic version: If, then provided the latter exists. This.
Open Methods Chapter 6 The Islamic University of Gaza
Notes, part 4 Arclength, sequences, and improper integrals.
Roots of Equations Open Methods Second Term 05/06.
Chapter 3 Root Finding.
Many quadratic equations can not be solved by factoring. Other techniques are required to solve them. 7.1 – Completing the Square x 2 = 20 5x =
7.1 – Completing the Square
1 GEM2505M Frederick H. Willeboordse Taming Chaos.
Aim: Complex & Imaginary Numbers Course: Adv. Alg. & Trig. Aim: What are imaginary and complex numbers? Do Now: Solve for x: x = 0 ? What number.
Solving Quadratic Equations (finding roots) Example f(x) = x By Graphing Identifying Solutions Solutions are -2 and 2.
The Fundamental Theorem of Algebra And Zeros of Polynomials
Roots of Equations Chapter 3. Roots of Equations Also called “zeroes” of the equation –A value x such that f(x) = 0 Extremely important in applications.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 2 Roots of Equations Why? But.
Jonathan Choate Groton School
Objectives Define and use imaginary and complex numbers.
Imaginary & Complex Numbers 5-3 English Casbarro Unit 5: Polynomials.
Numerical Methods Applications of Loops: The power of MATLAB Mathematics + Coding 1.
2-5: Imaginary & Complex Numbers Unit 2 English Casbarro.
Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.
Ch 9.8: Chaos and Strange Attractors: The Lorenz Equations
DO NOW: FACTOR EACH EXPRESSION COMPLETELY 1) 1) 2) 3)
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Roots of Equations ~ Open Methods Chapter 6 Credit:
SOLVING QUADRATIC EQUATIONS Unit 7. SQUARE ROOT PROPERTY IF THE QUADRATIC EQUATION DOES NOT HAVE A “X” TERM (THE B VALUE IS 0), THEN YOU SOLVE THE EQUATIONS.
Imaginary Numbers ???. In real life, complex numbers are used by engineers and physicists to measure electrical currents, to analyze stresses in structures.
4.5: Linear Approximations, Differentials and Newton’s Method.
David Chan TCM and what can you do with it in class?
Numerical Methods.
LINEARIZATION AND NEWTON’S METHOD Section 4.5. Linearization Algebraically, the principle of local linearity means that the equation of the tangent.
Governor’s School for the Sciences Mathematics Day 4.
Iteration Methods “Mini-Lecture” on a method to solve problems by iteration Ch. 4: (Nonlinear Oscillations & Chaos). Some nonlinear problems are solved.
Interval Notation Interval Notation to/from Inequalities Number Line Plots open & closed endpoint conventions Unions and Intersections Bounded vs. unbounded.
Lesson 76 – Introduction to Complex Numbers HL2 MATH - SANTOWSKI.
Solve by factoring. x² = - 4 – 5x 2,. Solve by factoring. n² = -30 – 11n -4 and -1.
5.6 The Fundamental Theorem of Algebra. If P(x) is a polynomial of degree n where n > 1, then P(x) = 0 has exactly n roots, including multiple and complex.
5.2 Polynomials, Linear Factors, and Zeros
Linearization, Newton’s Method
Optimization in Engineering Design 1 Introduction to Non-Linear Optimization.
4 Numerical Methods Root Finding.
Project on Newton’s Iteration Method Presented by Dol Nath Khanal Project Advisor- Professor Dexuan Xie 05/11/2015.
Objectives Define and use imaginary and complex numbers.
4.5: Linear Approximations, Differentials and Newton’s Method
CS B553: Algorithms for Optimization and Learning
Complex Numbers and Roots
13 Functions of Several Variables
Chapter 6.
Numerical Analysis Lecture 7.
The Fundamental Theorem of Algebra And Zeros of Polynomials
Review: Simplify.
3.8 Newton’s Method How do you find a root of the following function without a graphing calculator? This is what Newton did.
3.4 – The Quadratic Formula
Newton’s Method and Its Extensions
Imaginary Numbers ???.
Chapter 6.
Copyright © Cengage Learning. All rights reserved.
MATH 1910 Chapter 3 Section 8 Newton’s Method.
Lesson 5–5/5–6 Objectives Be able to define and use imaginary and complex numbers Be able to solve quadratic equations with complex roots Be able to solve.
1 Newton’s Method.
Presentation transcript:

Newton Fractals

Newton’s method Need initial guess and derivative Quadratic convergence – Proof via taylor’s theorem x_n+1 = x_n – f(x_n)/f(x_n) Derivation from point-slope y = m*(x – x_0) + y_0: g(x) = f’(x_0)(x-x_0) + f(x_0) solve Solve: 0 = f’(x_0)(x_1 – x_0) + f(x_0)

Concerns Convergence to different root? What happens if the guess is bad? Always quadratic convergence? – Not necessarily when derivative zero – Second derivative unbounded – Starting guess extremely far away

Common uses of Newton’s method Square root iterations Reciprocal iterations

Good guess vs bad guess

Previous figure gives intuition Small movements near minimum (equidistant from roots) results in next iteration being sent all over real line Small movement also results in convergence to different root

In the complex plane Newton’s method works in the complex plane with interesting results Fractals for f(z) = z^4 – 1 below

f(z) = Z^5 - 1

f(z) = z^10 - 1

What is a fractal? No agreed upon definition but have some of the following properties Self-similarity at various scales Complicated structures at various scales, does not simplify upon magnification Nowhere differentiable – sharp and jagged Non-integer fractal dimension How can we measure this dimension?

Box-counting dimension How many boxes N of side length R are required to completely cover a fractal? Gives a way to measure the fractal dimension Follows formula N = N_0 * R^(-DF) where DF is the fractal dimension which is less than the dimension the figure exists in (1,2,3, etc)

Box-counting dimension It’s possible to determine the box counting dimension numerically What is the fractal dimension of our favorite Newton fractal generated from f(z) = z^3 _ 1?

Box-counting dimension

In terms of complex dynamics Newton iterations are actually a discrete dynamical system Dynamical system – geometrical description of how a set of points evolve over time given a fixed rule. Set of points: complex plane Rule: Newton iteration Discrete because system changes in jumps, not continuously

Definitions Set of all points a starting points evolves into under repeated iterations is “orbit” or “trajectory” A point that does not change under an iteration is a fixed point. All roots are fixed points. Basins of attraction for a fixed point – set of all starting points that eventually “land” at the fixed point and remain there There are also attractive cycles – points with finite orbits that do not contain a fixed point.

Definitions Fatou set – union of all basins of attraction and attractive cycles – Points in Fatou set behave normally/regularly. Orbits of points behave similarly to their neighbours Julia set – compliment of Fatou set. – Orbits of points in Julia set are chaotic and tiny perturbations of points in the Julia set result in large, chaotic changes in orbits. Found on boundaries of basins of attracton.

Relaxed Newton’s Method Roots of multiplicity greater than 1 result in slower than quadratic convergence, typically linear Function has a root of known multiplicity m? Take the mth root of that function to reduce it to a simple root Iterations become x_n+1 = x_n – m * f(x_n)/f’(x_n)

10 iterations of Reg newt on f(z) = (z- 1)(z-2)(z-3)

10 iterations of Regnewt on f(z) = (z- 1)(z-2)^2(z-3)

10 iterations ofRelnewt on f(z) = (z- 1)(z-2)^2(z-3)

Relaxed newton You can perform relaxed newton on any function regardless of root though points might never converge. Generally 0 < m < 1 softens the fractal pattern because iteration steps are slower but less likely to overshoot and behave chaotically 1 < m < 2 sharpens the fractal pattern. Possible faster convergence as well given optimal m

Soft, m =.1

Sharp, m = 1.9

Relaxed newton Why does m need to be real? Try imaginary and complex m

Newton’s method for multiple roots Fact: f(x)/f’(x) has all simple roots where f(x) had multiple roots More robust in achieving quadratic convergence but introduces new problems … roots of derivative Iterations become x_n+1 = x_n – (f(x_n)f’(x_n)/(f’(x_n) – f(x_n)f’’(x_n)) Second derivative!

10 iterations of regnewt on f(z) = (z- 1)^2(z-2)^2(z-3)^2

10 and 100 iterations using nmfmr