Top Banner
Explanation of Newton’s method Dr. Ammar Hasan
28

Newtons Method Explanation

Feb 20, 2016

Download

Documents

Mudassir Ali

newton
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Newtons Method Explanation

Explanation of Newton’s method

Dr. Ammar Hasan

Page 2: Newtons Method Explanation

15

20

25

30

-4 -3 -2 -1 0 1 2 3 4

0

5

10

Function (Blue line)

Page 3: Newtons Method Explanation

15

20

25

30

-4 -3 -2 -1 0 1 2 3 4

0

5

10

Function (Blue line) xk (Black cross)

Page 4: Newtons Method Explanation

15

20

25

30

-4 -3 -2 -1 0 1 2 3 4

0

5

10

Function (Blue line)

Quadratic approximation (Red line)

xk (Black cross)

Page 5: Newtons Method Explanation

15

20

25

30

-4 -3 -2 -1 0 1 2 3 4

0

5

10

Function (Blue line)

Quadratic approximation (Red line)

xk (Black cross)

sk (Green Asterisk)

Page 6: Newtons Method Explanation

Initial point x = -2,

Page 7: Newtons Method Explanation

15

20

25

30

iteration 1

-4 -3 -2 -1 0 1 2 3 4

0

5

10

Function (Blue line)

Quadratic approximation (Red line)

xk (Black cross)

sk (Green Asterisk)

Page 8: Newtons Method Explanation

15

20

25

30

iteration 2

-4 -3 -2 -1 0 1 2 3 4

0

5

10

Function (Blue line)

Quadratic approximation (Red line)

xk (Black cross)

sk (Green Asterisk)

Page 9: Newtons Method Explanation

15

20

25

30

iteration 3

-4 -3 -2 -1 0 1 2 3 4

0

5

10

Function (Blue line)

Quadratic approximation (Red line)

xk (Black cross)

sk (Green Asterisk)

Page 10: Newtons Method Explanation

15

20

25

30

iteration 4

-4 -3 -2 -1 0 1 2 3 4

0

5

10

Function (Blue line)

Quadratic approximation (Red line)

xk (Black cross)

sk (Green Asterisk)

Page 11: Newtons Method Explanation

Initial point x = -0.5Initial point x = -0.5

Page 12: Newtons Method Explanation

15

20

25

30

iteration 1

-4 -3 -2 -1 0 1 2 3 4

0

5

10

Function (Blue line)

Quadratic approximation (Red line)

xk (Black cross)

sk (Green Asterisk)

Page 13: Newtons Method Explanation

15

20

25

30

iteration 2

-4 -3 -2 -1 0 1 2 3 4

0

5

10

Function (Blue line)

Quadratic approximation (Red line)

xk (Black cross)

sk (Green Asterisk)

Page 14: Newtons Method Explanation

15

20

25

30

iteration 3

-4 -3 -2 -1 0 1 2 3 4

0

5

10

Function (Blue line)

Quadratic approximation (Red line)

xk (Black cross)

sk (Green Asterisk)

Page 15: Newtons Method Explanation

Initial point x = 0.6Initial point x = 0.6

Page 16: Newtons Method Explanation

15

20

25

30

Initial point x = 0.6, iteration 1

-4 -3 -2 -1 0 1 2 3 4

0

5

10

Function (Blue line)

Quadratic approximation (Red line)

xk (Black cross)

sk (Green Asterisk)

Page 17: Newtons Method Explanation

15

20

25

30

Initial point x = 0.6, iteration 2

-4 -3 -2 -1 0 1 2 3 4

0

5

10

Function (Blue line)

Quadratic approximation (Red line)

xk (Black cross)

sk (Green Asterisk)

Page 18: Newtons Method Explanation

15

20

25

30

iteration 3

-4 -3 -2 -1 0 1 2 3 4

0

5

10

Function (Blue line)

Quadratic approximation (Red line)

xk (Black cross)

sk (Green Asterisk)

Page 19: Newtons Method Explanation

15

20

25

30

iteration 4

-4 -3 -2 -1 0 1 2 3 4

0

5

10

Function (Blue line)

Quadratic approximation (Red line)

xk (Black cross)

sk (Green Asterisk)

Page 20: Newtons Method Explanation

15

20

25

30

iteration 5

-4 -3 -2 -1 0 1 2 3 4

0

5

10

Function (Blue line)

Quadratic approximation (Red line)

xk (Black cross)

sk (Green Asterisk)

Page 21: Newtons Method Explanation

15

20

25

30

iteration 6

-4 -3 -2 -1 0 1 2 3 4

0

5

10

Function (Blue line)

Quadratic approximation (Red line)

xk (Black cross)

sk (Green Asterisk)

Page 22: Newtons Method Explanation

15

20

25

30

iteration 7

-4 -3 -2 -1 0 1 2 3 4

0

5

10

Function (Blue line)

Quadratic approximation (Red line)

xk (Black cross)

sk (Green Asterisk)

Page 23: Newtons Method Explanation

Function of two variables

Initial point x = [0.7;0.7]Initial point x = [0.7;0.7]

Page 24: Newtons Method Explanation

0

1

2

3

0

1

2

3

-3 -2 -1 0 1 2 3-3

-2

-1

-3 -2 -1 0 1 2 3-3

-2

-1

Page 25: Newtons Method Explanation

0

1

2

3

0

1

2

3

-3 -2 -1 0 1 2 3-3

-2

-1

-3 -2 -1 0 1 2 3-3

-2

-1

Page 26: Newtons Method Explanation

0

1

2

3

0

1

2

3

-3 -2 -1 0 1 2 3-3

-2

-1

-3 -2 -1 0 1 2 3-3

-2

-1

Page 27: Newtons Method Explanation

0

1

2

3

0

1

2

3

-3 -2 -1 0 1 2 3-3

-2

-1

-3 -2 -1 0 1 2 3-3

-2

-1

Page 28: Newtons Method Explanation

0

1

2

3

0

1

2

3

-3 -2 -1 0 1 2 3-3

-2

-1

-3 -2 -1 0 1 2 3-3

-2

-1