+ All Categories
Home > Documents > Numerical Methods Newton’s Method for One - Dimensional Optimization - Theory .

Numerical Methods Newton’s Method for One - Dimensional Optimization - Theory .

Date post: 23-Dec-2015
Category:
Upload: clinton-lewis
View: 216 times
Download: 2 times
Share this document with a friend
24
Numerical Methods Newton’s Method for One -Dimensional Optimization - Theory http://nm.mathforcollege.com
Transcript
Page 1: Numerical Methods Newton’s Method for One - Dimensional Optimization - Theory  .

Numerical Methods Newton’s Method for One -Dimensional Optimization - Theory

http://nm.mathforcollege.com

Page 2: Numerical Methods Newton’s Method for One - Dimensional Optimization - Theory  .

For more details on this topic

Go to http://nm.mathforcollege.com Click on Keyword Click on Newton’s Method for One-

Dimensional Optimization

Page 3: Numerical Methods Newton’s Method for One - Dimensional Optimization - Theory  .

You are free

to Share – to copy, distribute, display and perform the work

to Remix – to make derivative works

Page 4: Numerical Methods Newton’s Method for One - Dimensional Optimization - Theory  .

Under the following conditions Attribution — You must attribute the

work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).

Noncommercial — You may not use this work for commercial purposes.

Share Alike — If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.

Page 5: Numerical Methods Newton’s Method for One - Dimensional Optimization - Theory  .

Newton’s Method-Overview

Open search method A good initial estimate of the solution is

required The objective function must be twice

differentiable Unlike Golden Section Search method

• Lower and upper search boundaries are not required (open vs. bracketing)

• May not converge to the optimal solution

5 http://nm.mathforcollege.com

Page 6: Numerical Methods Newton’s Method for One - Dimensional Optimization - Theory  .

6

Newton’s Method-How it works The derivative of the

function ,Nonlinear root finding equation, at the function’s maximum and minimum.

The minima and the maxima can be found by applying the Newton-Raphson method to the derivative, essentially obtaining

Next slide will explain how to get/derive the above formula.

xfOpt. )(0' xFxf

)(

)(''

'

1i

iii xf

xfxx

http://nm.mathforcollege.com

Page 7: Numerical Methods Newton’s Method for One - Dimensional Optimization - Theory  .

7

Slope @ pt. C ≈

We “wish” that in the next iteration xi+1 will be the root, or .

Thus:Slope @ pt. C =

F(x)

• •••

xixi+1

xi – xi+1

A

B

E F

C

D F(xi) - 0F(xi+1)

F(xi)

x

Or

Hence: N-R Equation

Newton’s Method-To find root of a nonlinear equation

1

1)()(

ii

ii

XX

XFXF

0)( 1 iXF

1

0)(

ii

i

XX

XF

1

)()(

ii

ii XX

XFXF

)(

)(1

I

iii XF

XFXX

)( iXFSlope

http://nm.mathforcollege.com

Page 8: Numerical Methods Newton’s Method for One - Dimensional Optimization - Theory  .

If ,then . For Multi-variable case ,then N-R

method becomes

8

Newton’s Method-To find root of a nonlineat equation

)()( xfxF )(

)(1

i

iii Xf

XfXX

)()]([ 11 iiii XfXfXX

http://nm.mathforcollege.com

Page 9: Numerical Methods Newton’s Method for One - Dimensional Optimization - Theory  .

Newton’s Method-Algorithm

Initialization: Determine a reasonably good estimate for the maxima or the minima of the function .

Step 1. Determine and .Step 2. Substitute (initial estimate for the first

iteration) and into

to determine and the function value in iteration i.Step 3.If the value of the first derivative of the function is

zero then you have reached the optimum (maxima or minima). Otherwise, repeat Step 2 with the new value of

9

xf xf ' xf ''

ix 0x xf ' xf ''

)(

)(''

'

1i

iii xf

xfxx

1ix

ix

http://nm.mathforcollege.com

Page 10: Numerical Methods Newton’s Method for One - Dimensional Optimization - Theory  .

THE END

http://nm.mathforcollege.com

Page 11: Numerical Methods Newton’s Method for One - Dimensional Optimization - Theory  .

This instructional power point brought to you byNumerical Methods for STEM undergraduatehttp://nm.mathforcollege.comCommitted to bringing numerical methods to the undergraduate

Acknowledgement

Page 12: Numerical Methods Newton’s Method for One - Dimensional Optimization - Theory  .

For instructional videos on other topics, go to

http://nm.mathforcollege.com

This material is based upon work supported by the National Science Foundation under Grant # 0717624. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.

Page 13: Numerical Methods Newton’s Method for One - Dimensional Optimization - Theory  .

The End - Really

Page 14: Numerical Methods Newton’s Method for One - Dimensional Optimization - Theory  .

Numerical Methods Newton’s Method for One -Dimensional Optimization - Example

http://nm.mathforcollege.com

http://nm.mathforcollege.com

Page 15: Numerical Methods Newton’s Method for One - Dimensional Optimization - Theory  .

For more details on this topic

Go to http://nm.mathforcollege.com Click on Keyword Click on Newton’s Method for One-

Dimensional Optimization

Page 16: Numerical Methods Newton’s Method for One - Dimensional Optimization - Theory  .

You are free

to Share – to copy, distribute, display and perform the work

to Remix – to make derivative works

Page 17: Numerical Methods Newton’s Method for One - Dimensional Optimization - Theory  .

Under the following conditions Attribution — You must attribute the

work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).

Noncommercial — You may not use this work for commercial purposes.

Share Alike — If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.

Page 18: Numerical Methods Newton’s Method for One - Dimensional Optimization - Theory  .

18

Example

The cross-sectional area A of a gutter with equal base and edge length of 2 is given by

)cos1(sin4 A

.

Find the angle which maximizes the cross-sectional area of the gutter.

2

2

2

http://nm.mathforcollege.com

Page 19: Numerical Methods Newton’s Method for One - Dimensional Optimization - Theory  .

19

Solution)cos1(sin4)( fThe function to be maximized is

Iteration 1: Use as the initial estimate of the solution

)sincos(cos4)( 22 f

)cos41(sin4)( f

rad7854.040

0466.1)

4cos41(

4sin4

)4

sin4

cos4

(cos4

4

22

1

196151.5)0466.1( f

http://nm.mathforcollege.com

Page 20: Numerical Methods Newton’s Method for One - Dimensional Optimization - Theory  .

20

Solution Cont.Iteration 2:

0472.1)0466.1cos41(0466.1sin4

)0466.1sin0466.1cos0466.1(cos40466.1

22

2

Iteration

1 0.7854 2.8284 -10.8284 1.0466 5.1962

2 1.0466 0.0062 -10.3959 1.0472 5.1962

3 1.0472 1.06E-06 -10.3923 1.0472 5.1962

4 1.0472 3.06E-14 -10.3923 1.0472 5.1962

5 1.0472 1.3322E-15 -10.3923 1.0472 5.1962

Summary of iterations

Remember that the actual solution to the problem is at 60 degrees or 1.0472 radians.

)(festimate)(' f )('' f

http://nm.mathforcollege.com

Page 21: Numerical Methods Newton’s Method for One - Dimensional Optimization - Theory  .

THE END

http://nm.mathforcollege.com

Page 22: Numerical Methods Newton’s Method for One - Dimensional Optimization - Theory  .

This instructional power point brought to you byNumerical Methods for STEM undergraduatehttp://nm.mathforcollege.comCommitted to bringing numerical methods to the undergraduate

Acknowledgement

Page 23: Numerical Methods Newton’s Method for One - Dimensional Optimization - Theory  .

For instructional videos on other topics, go to

http://nm.mathforcollege.com

This material is based upon work supported by the National Science Foundation under Grant # 0717624. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.

Page 24: Numerical Methods Newton’s Method for One - Dimensional Optimization - Theory  .

The End - Really


Recommended