Problem Set: Newton’s Method

For the following exercises (1-5), write Newton’s formula as xn+1=F(xn) for solving f(x)=0.

1. f(x)=x2+1

2. f(x)=x3+2x+1

3. f(x)=sinx

4. f(x)=ex

5. f(x)=x3+3xex

For the following exercises (6-8), solve f(x)=0 using the iteration xn+1=xncf(xn), which differs slightly from Newton’s method. Find a c that works and a c that fails to converge, with the exception of c=0.

6. f(x)=x24, with x0=0

7. f(x)=x24x+3, with x0=2

8. What is the value of “c” for Newton’s method?

For the following exercises (9-16), start at

a. x0=0.6 and

b. x0=2.

Compute x1 and x2 using the specified iterative method.

9. xn+1=(xn)212

10. xn+1=2xn(1xn)

11. xn+1=xn

12. xn+1=1xn

13. xn+1=3xn(1xn)

14. xn+1=(xn)2+xn2

15. xn+1=12xn1

16. xn+1=|xn|

For the following exercises (17-26), solve to four decimal places using Newton’s method and a computer or calculator. Choose any initial guess x0 that is not the exact root.

17. x210=0

18. x4100=0

19. x2x=0

20.x3x=0

21. x+5cos(x)=0

22. x+tan(x)=0, choose x0(π2,π2)

23. 11x=2

24. 1+x+x2+x3+x4=2

25. x3+(x+1)3=103

26. x=sin2(x)

For the following exercises (27-30), use Newton’s method to find the fixed points of the function where f(x)=x; round to three decimals.

27. sinx

28. tan(x) on x(π2,3π2)

29. ex2

30. ln(x)+2

Newton’s method can be used to find maxima and minima of functions in addition to the roots. In this case apply Newton’s method to the derivative function f(x) to find its roots, instead of the original function. For the following exercises (31-32), consider the formulation of the method.

31. To find candidates for maxima and minima, we need to find the critical points f(x)=0. Show that to solve for the critical points of a function f(x), Newton’s method is given by xn+1=xnf(xn)f(xn).

32. What additional restrictions are necessary on the function f?

For the following exercises (33-40), use Newton’s method to find the location of the local minima and/or maxima of the following functions; round to three decimals.

33. Minimum of f(x)=x2+2x+4

34. Minimum of f(x)=3x3+2x216

35. Minimum of f(x)=x2ex

36. Maximum of f(x)=x+1x

37. Maximum of f(x)=x3+10x2+15x2

38. Maximum of f(x)=xx3x

39. Minimum of f(x)=x2sinx, closest non-zero minimum to x=0

40. Minimum of f(x)=x4+x3+3x2+12x+6

For the following exercises (41-44), use the specified method to solve the equation. If it does not work, explain why it does not work.

41. Newton’s method, x2+2=0

42. Newton’s method, 0=ex

43. Newton’s method, 0=1+x2 starting at x0=0

44. Solving xn+1=(xn)3 starting at x0=1

For the following exercises (45-49), use the secant method, an alternative iterative method to Newton’s method. The formula is given by

xn=xn1f(xn1)xn1xn2f(xn1)f(xn2).

45. Find a root to 0=x2x3 accurate to three decimal places.

46. Find a root to 0=sinx+3x accurate to four decimal places.

47. Find a root to 0=ex2 accurate to four decimal places.

48. Find a root to ln(x+2)=12 accurate to four decimal places.

49. Why would you use the secant method over Newton’s method? What are the necessary restrictions on f?

For the following exercises (50-54), use both Newton’s method and the secant method to calculate a root for the following equations. Use a calculator or computer to calculate how many iterations of each are needed to reach within three decimal places of the exact answer. For the secant method, use the first guess from Newton’s method.

50. f(x)=x2+2x+1,x0=1

51. f(x)=x2,x0=1

52. f(x)=sinx,x0=1

53. f(x)=ex1,x0=2

54. f(x)=x3+2x+4,x0=0

In the following exercises (55-56), consider Kepler’s equation regarding planetary orbits, M=Eεsin(E), where M is the mean anomaly, E is eccentric anomaly, and ε measures eccentricity.

55. Use Newton’s method to solve for the eccentric anomaly E when the mean anomaly M=π3 and the eccentricity of the orbit ε=0.25; round to three decimals.

56. Use Newton’s method to solve for the eccentric anomaly E when the mean anomaly M=3π2 and the eccentricity of the orbit ε=0.8; round to three decimals.

The following two exercises consider a bank investment (57-58). The initial investment is $10,000. After 25 years, the investment has tripled to $30,000.

57. Use Newton’s method to determine the interest rate if the interest was compounded annually.

58. Use Newton’s method to determine the interest rate if the interest was compounded continuously.

59. The cost for printing a book can be given by the equation C(x)=1000+12x+(12)x2/3. Use Newton’s method to find the break-even point if the printer sells each book for $20.