for more details on this topic go to click on keyword

24
Numerical Methods Newton’s Method for One -Dimensional Optimization - Theory http://nm.mathforcollege.com

Upload: hachi

Post on 24-Feb-2016

31 views

Category:

Documents


0 download

DESCRIPTION

Numerical Methods Newton’s Method for One -Dimensional Optimization - Theory http://nm.mathforcollege.com. For more details on this topic Go to http://nm.mathforcollege.com Click on Keyword Click on Newton’s Method for One-Dimensional Optimization. You are free. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: For more details on this topic  Go to   Click on Keyword

Numerical Methods Newton’s Method for One -Dimensional Optimization - Theoryhttp://nm.mathforcollege.com

Page 2: For more details on this topic  Go to   Click on Keyword

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: For more details on this topic  Go to   Click on Keyword

You are free to Share – to copy, distribute,

display and perform the work to Remix – to make derivative works

Page 4: For more details on this topic  Go to   Click on Keyword

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: For more details on this topic  Go to   Click on Keyword

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: For more details on this topic  Go to   Click on Keyword

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: For more details on this topic  Go to   Click on Keyword

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

XXXFXF

0)( 1 iXF

1

0)(

ii

i

XXXF

1

)()(

ii

ii XX

XFXF

)()(

1I

iii XF

XFXX

)( iXFSlope

http://nm.mathforcollege.com

Page 8: For more details on this topic  Go to   Click on Keyword

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

method becomes

8

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

)()( xfxF )()(

1i

iii Xf

XfXX

)()]([ 11 iiii XfXfXX

http://nm.mathforcollege.com

Page 9: For more details on this topic  Go to   Click on Keyword

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: For more details on this topic  Go to   Click on Keyword

THE END

http://nm.mathforcollege.com

Page 11: For more details on this topic  Go to   Click on Keyword

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: For more details on this topic  Go to   Click on Keyword

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: For more details on this topic  Go to   Click on Keyword

The End - Really

Page 14: For more details on this topic  Go to   Click on Keyword

Numerical Methods Newton’s Method for One -Dimensional Optimization - Examplehttp://nm.mathforcollege.com

http://nm.mathforcollege.com

Page 15: For more details on this topic  Go to   Click on Keyword

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: For more details on this topic  Go to   Click on Keyword

You are free to Share – to copy, distribute,

display and perform the work to Remix – to make derivative works

Page 17: For more details on this topic  Go to   Click on Keyword

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: For more details on this topic  Go to   Click on Keyword

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: For more details on this topic  Go to   Click on Keyword

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: For more details on this topic  Go to   Click on Keyword

20

Solution Cont.Iteration 2:

0472.1)0466.1cos41(0466.1sin4

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

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: For more details on this topic  Go to   Click on Keyword

THE END

http://nm.mathforcollege.com

Page 22: For more details on this topic  Go to   Click on Keyword

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: For more details on this topic  Go to   Click on Keyword

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: For more details on this topic  Go to   Click on Keyword

The End - Really