Bisection Method. and compute f (p 1 ). repeat with p 2 = a 2+b 2

Size: px
Start display at page:

Download "Bisection Method. and compute f (p 1 ). repeat with p 2 = a 2+b 2"

Transcription

1 Bisection Method Given continuous function f (x) on the interval [a, b] with f (a) f (b) < 0, there must be a root in (a, b). To find a root: set [a 1, b 1 ] = [a, b]. set p 1 = a 1+b 1 2 and compute f (p 1 ). if f (p 1 ) = 0, then quit with root p 1 (must be very lucky.) if f (a1 ) f (p 1 ) < 0, then set [a 2, b 2 ] = [a 1, p 1 ], otherwise (f (p1 ) f (b 1 ) < 0) set [a 2, b 2 ] = [p 1, b 1 ], repeat with p 2 = a 2+b 2 2.

2 Bisection Method

3 Naive Bisection Method

4

5

6 Proof of Thm 2.1 Assume that f (p n ) 0 for all n. By construction a 1 a 2 a n b n b 2 b 1. Thus sequences {a n } and {b n } monotonically converge to limits a b, respectively. Since f (a n ) f (b n ) < 0 for all n, it follows that f (a ) f (b ) 0, and thus a root p [a, b ] [a n, b n ] exists. Since p n = an+bn 2, it follows that p n p bn an By construction 2. b n a n = b n 1 a n 1 = b n 2 a n = = b 1 a 1 2 n 1 = b a 2 n 1. Put together, p n p b a 2 n. In fact, a = b = p.

7 Example Function with Root 7 function = $e x (2+2x 2 )$

8 7 Bisection Method with 52 Points

9 Fixed Point Iteration The number p is a fixed point for a given function g if g(p) = p.

10 Fixed Point Example

11 Fixed Point Theorem (I)

12 Proof of Thm 2.3 If g(a) = a or g(b) = b,then g has a fixed point at an endpoint. Otherwise, g(a) > a and g(b) < b. The function h(x) = g(x) x is continuous on [a, b], with h(a) = g(a) a > 0 and h(b) = g(b) b < 0. This implies that there exists p (a, b), h(p) = 0. g(p) p = 0, or p = g(p). If g (x) k < 1 for all x in (a, b), and p and q are two distinct fixed points in [a, b]. Then a number ξ exists So 1 = p q p q g(p) g(q) p q = g(p) g(q) p q = g (ξ) < 1. = g (ξ) < 1. This contradiction implies uniqueness of fixed point.

13 Fixed Point Iteration Given initial approximation p 0, define Fixed Point Iteration If iteration converges to p, then p n = g(p n 1 ), n = 1, 2,, p = lim n p n = lim n g(p n 1) = g(p).

14 Fixed Point Theorem (II)

15 Fixed Point Example x x 2 = 0: no convergence g(x) = x 2 [1, ] for x [1, ], g (x) unbounded in[1, ].

16 Fixed Point Example x sin(x) = 0: slow convergence g(x) = sin(x) [ 1, 1] for x [ 1, 1], g (x) 1 [0, 1].

17 Fixed Point Example x sin(x) = 0: slow convergence g(x) = sin(x) [ 1, 1] for x [ 1, 1], g (x) 1 [0, 1].

18 Fixed Point Example x log(2 + 2x 2 ) = 0: normal convergence g(x) = log(2 + 2x 2 ) [2, 3] for x [2, 3], g (x) 4 5 [2, 3]. 0 FixedPoint Method with 66 Points

19 Fixed Point: x (1 cos(x)) = 0: fast convergence g(x) = 1 cos(x) [ 1, 1] for x [ 1, 1], g (x) x

20 Fixed Point: x (1 cos(x)) = 0: fast convergence g(x) = 1 cos(x) [ 1, 1] for x [ 1, 1], g (x) x [0, 1]. 2

21 Fixed Point Theorem (II)

22 Proof of Thm 2.4 A unique fixed point p [a, b] exists. p n p = g(p n 1 ) g(p) = g (ξ n )(p n 1 p) k p n 1 p Since p n p k p n 1 p k 2 p n 2 p k n p 0 p. {p n } n=0 converges to p. lim n kn = 0,

23 Newton s Method for solving f (p) = 0 Suppose that f C 2 [a, b]. Let p 0 [a, b] be an approximation to p with f (p 0 ) 0, and p p 0 small. Taylor expand f (x) at x = p: Solve for p: 0 = f (p) = f (p 0 ) + (p p 0 )f (p 0 ) + (p p 0) 2 f (ξ(p)). 2 p = p 0 f (p 0) f (p 0 ) (p p 0) 2 2f (p 0 ) p 0 f (p 0) def f = p 1. (p 0 ) f (ξ(p)) Newton s Method: p k+1 = p k f (p k) f (p k ), k = 0, 1,

24 Newton s Method for solving f (p) = 0 p = p 0 f (p 0) f (p 0 ) (p p 0) 2 2f (p 0 ) p 0 f (p 0) def f = p 1. (p 0 ) f (ξ(p)) If p 0 close to p, we can expect fast convergence. Best hope in practice: p 0 not too far from p. Newton s method may or may not converge. If Newton s method converges, it converges quickly.

25 Geometry of Newton s Method Taylor expand f (x) at x = p: 0 = f (p) = f (p 0 ) + (p p 0 )f (p 0 ) + (p p 0) 2 f (ξ(p)). 2 Replace f (x) by a straight line: f (p 0 ) + (p p 0 )f (p 0 ) 0. p p 0 f (p 0) f (p 0 ) is the horizontal intercept of straight line y = f (p 0 ) + (x p 0 )f (p 0 )

26 Newton Method

27

28

29 Newton Method for f (x) = e x (2 + 2x 2 ) 8 Newton Method with 8 Points

30 Computing square root with Newton s Method Given a > 0, p def = a is positive root of equation Newton s Method p k+1 = p k p2 k a 2p k = 1 2 f (x) def = x 2 a = 0. (p k + apk ), k = 0, 1, 2,, Newton s Method is well defined for any p 0 > 0.

31 Newton Method for square root

32

33 Proof of Theorem 2.6 Newton s method is fixed point iteration p n = g(p n 1 ), g(x) = x f (x) f (x). Since f (p) 0, there exists an interval [p δ 1, p + δ 1 ] [a, b] on which f (x) 0. Thus, g(x) is defined on [p δ 1, p + δ 1 ]. g (x) = 1 f (x) f (x) f (x) f (x) (f (x)) 2 = f (x) f (x) (f (x)) 2 C[p δ 1, p+δ 1 ]. Since g (p) = 0, there exists 0 < δ < δ 1 so that g (x) κ (= 1 ), for all x [p δ, p + δ]. 2 If x [p δ, p + δ], then g(x) p = g(x) g(p) = g (ξ)(x p) κ x p x p. Therefore g(x) [p δ, p + δ]. {p n } converges to p by Fixed Point Theorem.

34 Newton Method Divergence Example: f (x) = x 1/3

35 Secant Method: Poor man s Newton Method Motivation Newton method style of fast convergence Avoid need for derivative calculations. Approach Newton method: p n+1 = p n f (pn) f (p n). Replace f (p n ) by its cheap approximation Secant method f f (p n ) f (x) (p n ) = lim f (p n) f (p n 1 ). x p n x p n p n 1 p n+1 = p n f (p n)(p n p n 1 ), n = 1, 2,. f (p n ) f (p n 1 )

36 Secant Method: Geometry Approximate f (x) by a straight line f (x) (x p 0)f (p 1 ) (x p 1 )f (p 0 ) p 1 p 0. Both f (x) and straight line go through points (p 0, f (p 0 )), (p 1, f (p 1 )). Let approximate root p 2 be the x-intercept of the straight line p 2 = p 0f (p 1 ) p 1 f (p 0 ) f (p 1 ) f (p 0 ) = p 1 f (p 1)(p 1 p 0 ) f (p 1 ) f (p 0 ).

37 Secant Method: Illustration

38 Fixed point for g(x) = log(2 + 2x 2 ) 25 SecantMethod with 11 Points

39 Performance: number of iterations vs. error in the solution Function to be considered g(x) = log(2 + 2x 2 ), f (x) = x g(x) = x log(2 + 2x 2 ). Root p of f (i.e., f (p) = 0) p = e Bisection Method Fixed Point Iteration Newton s Method Secant Method

40 Bisection Method Order of Convergence 10 0 Convergence Rate, Bisection Method

41 Fixed Point Iteration Order of Convergence 10 0 Convergence Rate, Fixed Point Method

42 Secant Method Order of Convergence 10 2 Convergence Rate, Secant Method

43 Newton Method Order of Convergence 10 0 Convergence Rate, Newton Method

44 Order of convergence

45 Linear and Quadratic Order of convergence

46 Recall rate of convergence: the Big O the Big O() = rate of convergence

47 Recall rate of convergence: the Big O

48 Linear and Quadratic Order of convergence Suppose that {p n } n=1 is linearly convergent to 0, p n+1 p n+1 lim = 0.5, or roughly 0.5, n p n p n hence p n (0.5) n p 0. Suppose that { p n } n=1 is quadratically convergent to 0, p n+1 lim n p n 2 = 0.5, or roughly p n+1 p n But now

49 Linear and Quadratic Order of convergence

50 Order of convergence

51 Linear and Quadratic Order of convergence

52 Computing square root with Newton s Method Given a > 0, p def = a is positive root of equation Newton s Method p k+1 = p k p2 k a 2p k = 1 2 f (x) def = x 2 a = 0. (p k + apk ), k = 0, 1, 2,, Newton s Method is well defined for any p 0 > 0.

53 Newton s Method for a converges quadratically if p 0 > 0 {p k } k=1 bounded below by a: p k a = 1 ( p k 1 + a ) ( pk 1 a ) 2 a = 0, k = 1, 2,, 2 2p k 1 p k 1 {p k } k=1 monotonically decreasing: p k+1 p k = 1 ) (p k + apk p k = a p2 k 0, k = 1, 2,, 2 2p k def lim k p k = p exists and satisfies Newton Iteration: p = 1 ( p + a ) a, therefore p = a. 2 p Newton s Method quadratically convergent lim k p k a p k 1 a 2 = lim k 1 2p k 1 = 1 2 a.

54 Linear Convergence Theorem of Fixed Point Iteration Let g C[a, b] satisfy g(x) [a, b] for all x [a, b]. Assume g (x) continuous with g (x) κ for all x (a, b) and constant κ < 1. Then Fixed Point Iteration p k = g(p k 1 ), k = 1, 2,, for any p 0 [a, b] converges to fixed point p [a, b] with p k+1 p lim = g (p) κ, if p k p for all k. k p k p (not linear convergence if g (p) = 0)

55 Proof of Linear Convergence By Fixed Point Theorem, Fixed Point p [a, b] uniquely exists, and FPI converges to p. By Mean Value Theorem, there exists a ξ k in between p k and p such that Therefore lim k g(p k ) g(p) = g (ξ k )(p k p), for all k. lim (ξ k ) k = g (p) p k+1 p p k p = lim k g(p k ) g(p) p k p = lim k g (ξ k )(p k p) p k p = g (p)

56 Quadratic Convergence of Fixed Point Iteration Assume FPI {p k } k=1 converges to p, with g (p) = 0, then p k+1 p lim k p k p 2 = 1 2 g (p), if p k p for all k. (not quadratic convergence if g (p) = 0)

57 Proof of Quadratic Convergence Taylor expansion at p: g(p k ) ξ k between p, p k ========== g(p) + g (p)(p k p) g (ξ k )(p k p) 2 Therefore ========== g(p) g (ξ k )(p k p) 2 p k+1 p g(p k ) p lim k p k p 2 = lim k p k p 2 = 1 2 lim g (ξ k )(p k p) 2 k p k p 2 = 1 2 g (p)

58 Quadratic Convergence of Newton Iteration Newton Iteration is FPI with and with f (p) = 0. derivatives therefore g (x) = f (x)f (x) (f (x)) 2 g(x) = x f (x) f (x), g (x) = f (x) f (x) + f (x) f (x) 2 (f (x)) 2 (f (x)) 3 f (x) g (p) = 0, and g (p) = f (p) f (p), p k+1 p lim k p k p 2 = 1 f (p) 2 f (p), if f (p) 0.

59 Multiple roots: f (p) = 0, f (p) = 0 Definition: A solution p of f (x) = 0 is a root of multiplicity m of f if for x p, we can write f (x) = (x p) m q(x), where lim x p q(x) 0. Theorem: The function f C m [a, b] has a root of multiplicity m at p in (a, b) if and only if 0 = f (p) = f (p) = f (p) = = f (m 1) (p), but f (m) (p) 0. simple root: f satisfies f (p) = 0, but f (p) 0.

60 Example: f (x) = e x x 1, f (0) = f (0) = 0, f (0) = 1 Function Newton s Method

61 Modified Newton Method p k+1 = p k m f (p k) f, for k = 1, 2,, (m = multiplicity of root p.) (p k ) m = 2 for function f (x) = e x x 1,

62 Modified Newton Method is Quadratically Convergent p k+1 = g(p k ), g(x) = x m f (x) f, for k = 1, 2,, (x) Let f (x) = (x p) m q(x), q(p) 0. g(x) = x m f (x) f (x) = x g (p) = 0, hence quadratic convergence. m (x p)q(x) mq(x) + (x p)q (x).

63 Accelerating Convergence: Aitken s 2 Method Suppose {p k } k=1 linearly converges to limit p, Define p k+1 p lim k p k p p k+1 p p k p so that {λ k } k=1 converges to λ. It follows that Solve for p: = λ, λ < 1. def = λ k, 0 λ k+1 λ k = p k+2 p p k+1 p p k+1 p p k p. p = p2 k+1 p kp k+2 2p k+1 p k p k+2 + (λ k+1 λ k )(p k+1 p)(p k p) 2(p k+1 p) (p k p) (p k+2 p).

64 Accelerating Convergence: Aitken s 2 Method p k def = p 2 k+1 p kp k+2 2p k+1 p k p k+2 (p k+1 p k ) 2 def = p k = { 2 }(p k ). p k+2 2p k+1 + p k Approximation Error p k p = (λ k+1 λ k )(p k+1 p)(p k p) 2(p k+1 p) (p k p) (p k+2 p) (λ k+1 λ k )(p k p) = ( ) 2 pk+1 p 1 p k p p k+2 p p k+1 p (λ k+1 λ k )(p k p) 2 λ 1 λ O ( p k p ).

65 Accelerating Convergence: Aitken s 2 Method p n = cos(1/n) Error Plots

66 Accelerating Convergence: Steffensen s Method Aitken s Acceleration for a given {p k } k=1 : { 2 }(p k ) = p k (p k+1 p k ) 2 p k+2 2p k+1 + p k. Steffensen s Method: use Aitken s Acceleration as soon as iterations are generated: Given p (0) 0 for k = 0, 1, 2,, p (k) 1 = g(p (k) 0 ), p(k) 2 = g(p (k) 1 ), p(k+1) 0 = { 2 }(p (k) 0 ).

67

68 Fixed point for g(x) = log(2 + 2x 2 ) 0 FixedPoint Method with 66 Points

69 Fixed Point Iteration: Linear Convergence 10 0 Convergence Rate, Fixed Point Method

70 Aitken s Method: Faster, but Linear Convergence 10 0 Convergence Rate, Aitken Method

71 Steffenson s Method: Quadratic Convergence 10 0 Convergence Rate, Steffen Method

72 Newton s Method on Polynomial roots = Horner s Method Let P(x) = a n x n + a n 1 x n a 1 x + a 0. Horner s Method computes P(x 0 ) and P (x 0 ) define b n = a n for k = n 1, n 2,, 1, 0 then it follows b 0 = P(x 0 ) b k = a k + b k+1 x 0, P(x) = (x x 0 ) Q(x) + b 0 Q(x) = b n x n 1 + b n 1 x n b 2 x + b 1. P (x) = Q(x) + (x x 0 ) Q (x) P (x 0 ) = Q(x 0 )

73 Horner s Method

74 Muller s Method: finding complex roots Given three points (p 0, f (p 0 )), (p 1, f (p 1 )), and (p 2, f (p 2 )). Construct a parabola through them, p 3 is the intersection of x-axis with parabola closer to p 2.

75 Secant Method vs. Muller s Method

76 Muller s Method: derivation Choose parabola a, b, c satisfy P(x) = a(x p 2 ) 2 + b(x p 2 ) + c.

77 Muller s Method: finding complex roots p 3 is the intersection of x-axis with parabola closer to p 2.

78 Muller s Method 10 1 Muler Method function f(p) = p 4 3*p 3 +p 2 +p

79 Choices, and more Choices Bisection Method: slow (linearly convergent); reliable (always finds a root given interval [a, b] with f (a) f (b) < 0.) Fixed Point Iteration: slow (linearly convergent); no need for interval [a, b] with f (a) f (b) < 0. Newton s Method: fast (quadratically convergent); could get burnt (need not converge.) Secant Method: between Bisection and Newton in speed; need not converge; no derivative needed. Steffensen s Method: fast (quadratically convergent); no derivative needed. not a method of choice in higher dimensions. Muller s Method: can handle complex roots; need not converge.

80 Brent s Method: Motivation (Mostly) speed of Steffensen s Method Reliability of Bisection Method

81 Brent s Method = Zeroin

82 Brent s Method: Zeroin (Wikipedia)

83 Brent s Method: Zeroin

84 Brent s Method Worst case number of iterations = (n 2 ), where n is number of iterations of Bisection Method for a given tolerance.

85 Modified Brent s Method

86 Modified Brent s Method

87 Modified Brent s Method

88 Modified Brent s Method

89 Interpolation and Approximation (connecting the dots) US population census data available every ten years. What was US population in year 1996? What will US population be in year 2017?

90 Connecting two dots Given two distinct dots, there is a unique line connecting them.

91 Connecting two dots Given two distinct points (p 0, f (p 0 )) and (p 1, f (p 1 )), there is a unique line connecting them P(x) = f (p 0 ) x p 1 + f (p 1 ) x p 0 p 0 p 1 p 1 p 0 def = f (p 0 ) L 0 (x) + f (p 1 ) L 1 (x), with L 0 (x), L 1 (x) unrelated to f (p 0 ), f (p 1 ). L 0 (p 0 ) = 1, L 0 (p 1 ) = 0, L 1 (p 0 ) = 0, L 1 (p 1 ) = 1.

92 Connecting two dots Given two distinct points (p 0, f (p 0 )) and (p 1, f (p 1 )), there is a unique line connecting them P(x) = f (p 0 ) x p 1 p 0 p 1 + f (p 1 ) x p 0 p 1 p 0

93 Connecting n + 1 dots Given n + 1 distinct points (x 0, f (x 0 )), (x 1, f (x 1 )),, (x n, f (x n )), Find a degree n polynomial P(x) = a n x n + a n 1 x n a 1 x + a 0, so that P(x 0 ) = f (x 0 ), P(x 1 ) = f (x 1 ),, P(x n ) = f (x n ).

94 Connecting n + 1 dots Would like to write P(x) as P(x) = f (x 0 )L 0 (x) + f (x 1 )L 1 (x) + + f (x n )L n (x), where L 0 (x), L 1 (x),, L n (x) are unrelated to f (x 0 ), f (x 1 ),, f (x n ). at each node x j, j = 0, 1,, n, f (x j ) = P(x j ) = f (x 0 )L 0 (x j ) + f (x 1 )L 1 (x j ) + + f (x n )L n (x j ) This suggests for all i, j, L i (x j ) = { 1, if i = j, 0, if i j,

95 Largrangian Polynomials P(x) = f (x 0 )L 0 (x) + f (x 1 )L 1 (x) + + f (x n )L n (x), { 1, if i = j, L i (x j ) = 0, if i j, x j is a root of L i (x) for every j i, so L i (x) = j i x x j x i x j.

96 Quadratic Interpolation

97 Quadratic Interpolation: Solution

98 Quadratic Interpolation: Solution

99 Quadratic Interpolation: Solution

100 Quadratic Interpolation: Solution

Order of convergence

Order of convergence Order of convergence Linear and Quadratic Order of convergence Computing square root with Newton s Method Given a > 0, p def = a is positive root of equation Newton s Method p k+1 = p k p2 k a 2p k = 1

More information

ROOT FINDING REVIEW MICHELLE FENG

ROOT FINDING REVIEW MICHELLE FENG ROOT FINDING REVIEW MICHELLE FENG 1.1. Bisection Method. 1. Root Finding Methods (1) Very naive approach based on the Intermediate Value Theorem (2) You need to be looking in an interval with only one

More information

Accelerating Convergence

Accelerating Convergence Accelerating Convergence MATH 375 Numerical Analysis J. Robert Buchanan Department of Mathematics Fall 2013 Motivation We have seen that most fixed-point methods for root finding converge only linearly

More information

Polynomial Interpolation with n + 1 nodes

Polynomial Interpolation with n + 1 nodes Polynomial Interpolation with n + 1 nodes Given n + 1 distinct points (x 0, f (x 0 )), (x 1, f (x 1 )),, (x n, f (x n )), Interpolating polynomial of degree n P(x) = f (x 0 )L 0 (x) + f (x 1 )L 1 (x) +

More information

(a) Write down the value of q and of r. (2) Write down the equation of the axis of symmetry. (1) (c) Find the value of p. (3) (Total 6 marks)

(a) Write down the value of q and of r. (2) Write down the equation of the axis of symmetry. (1) (c) Find the value of p. (3) (Total 6 marks) 1. Let f(x) = p(x q)(x r). Part of the graph of f is shown below. The graph passes through the points ( 2, 0), (0, 4) and (4, 0). (a) Write down the value of q and of r. (b) Write down the equation of

More information

PART I Lecture Notes on Numerical Solution of Root Finding Problems MATH 435

PART I Lecture Notes on Numerical Solution of Root Finding Problems MATH 435 PART I Lecture Notes on Numerical Solution of Root Finding Problems MATH 435 Professor Biswa Nath Datta Department of Mathematical Sciences Northern Illinois University DeKalb, IL. 60115 USA E mail: dattab@math.niu.edu

More information

Chapter 3: Root Finding. September 26, 2005

Chapter 3: Root Finding. September 26, 2005 Chapter 3: Root Finding September 26, 2005 Outline 1 Root Finding 2 3.1 The Bisection Method 3 3.2 Newton s Method: Derivation and Examples 4 3.3 How To Stop Newton s Method 5 3.4 Application: Division

More information

Math 473: Practice Problems for Test 1, Fall 2011, SOLUTIONS

Math 473: Practice Problems for Test 1, Fall 2011, SOLUTIONS Math 473: Practice Problems for Test 1, Fall 011, SOLUTIONS Show your work: 1. (a) Compute the Taylor polynomials P n (x) for f(x) = sin x and x 0 = 0. Solution: Compute f(x) = sin x, f (x) = cos x, f

More information

Variable. Peter W. White Fall 2018 / Numerical Analysis. Department of Mathematics Tarleton State University

Variable. Peter W. White Fall 2018 / Numerical Analysis. Department of Mathematics Tarleton State University Newton s Iterative s Peter W. White white@tarleton.edu Department of Mathematics Tarleton State University Fall 2018 / Numerical Analysis Overview Newton s Iterative s Newton s Iterative s Newton s Iterative

More information

FIXED POINT ITERATION

FIXED POINT ITERATION FIXED POINT ITERATION The idea of the fixed point iteration methods is to first reformulate a equation to an equivalent fixed point problem: f (x) = 0 x = g(x) and then to use the iteration: with an initial

More information

Lecture Notes to Accompany. Scientific Computing An Introductory Survey. by Michael T. Heath. Chapter 5. Nonlinear Equations

Lecture Notes to Accompany. Scientific Computing An Introductory Survey. by Michael T. Heath. Chapter 5. Nonlinear Equations Lecture Notes to Accompany Scientific Computing An Introductory Survey Second Edition by Michael T Heath Chapter 5 Nonlinear Equations Copyright c 2001 Reproduction permitted only for noncommercial, educational

More information

Numerical Methods in Informatics

Numerical Methods in Informatics Numerical Methods in Informatics Lecture 2, 30.09.2016: Nonlinear Equations in One Variable http://www.math.uzh.ch/binf4232 Tulin Kaman Institute of Mathematics, University of Zurich E-mail: tulin.kaman@math.uzh.ch

More information

p 1 p 0 (p 1, f(p 1 )) (p 0, f(p 0 )) The geometric construction of p 2 for the se- cant method.

p 1 p 0 (p 1, f(p 1 )) (p 0, f(p 0 )) The geometric construction of p 2 for the se- cant method. 80 CHAP. 2 SOLUTION OF NONLINEAR EQUATIONS f (x) = 0 y y = f(x) (p, 0) p 2 p 1 p 0 x (p 1, f(p 1 )) (p 0, f(p 0 )) The geometric construction of p 2 for the se- Figure 2.16 cant method. Secant Method The

More information

Introductory Numerical Analysis

Introductory Numerical Analysis Introductory Numerical Analysis Lecture Notes December 16, 017 Contents 1 Introduction to 1 11 Floating Point Numbers 1 1 Computational Errors 13 Algorithm 3 14 Calculus Review 3 Root Finding 5 1 Bisection

More information

Roots of Equations. ITCS 4133/5133: Introduction to Numerical Methods 1 Roots of Equations

Roots of Equations. ITCS 4133/5133: Introduction to Numerical Methods 1 Roots of Equations Roots of Equations Direct Search, Bisection Methods Regula Falsi, Secant Methods Newton-Raphson Method Zeros of Polynomials (Horner s, Muller s methods) EigenValue Analysis ITCS 4133/5133: Introduction

More information

Numerical Methods in Physics and Astrophysics

Numerical Methods in Physics and Astrophysics Kostas Kokkotas 2 October 20, 2014 2 http://www.tat.physik.uni-tuebingen.de/ kokkotas Kostas Kokkotas 3 TOPICS 1. Solving nonlinear equations 2. Solving linear systems of equations 3. Interpolation, approximation

More information

Computational Methods. Solving Equations

Computational Methods. Solving Equations Computational Methods Solving Equations Manfred Huber 2010 1 Solving Equations Solving scalar equations is an elemental task that arises in a wide range of applications Corresponds to finding parameters

More information

1. Method 1: bisection. The bisection methods starts from two points a 0 and b 0 such that

1. Method 1: bisection. The bisection methods starts from two points a 0 and b 0 such that Chapter 4 Nonlinear equations 4.1 Root finding Consider the problem of solving any nonlinear relation g(x) = h(x) in the real variable x. We rephrase this problem as one of finding the zero (root) of a

More information

Numerical Analysis Fall. Roots: Open Methods

Numerical Analysis Fall. Roots: Open Methods Numerical Analysis 2015 Fall Roots: Open Methods Open Methods Open methods differ from bracketing methods, in that they require only a single starting value or two starting values that do not necessarily

More information

Chapter 1. Root Finding Methods. 1.1 Bisection method

Chapter 1. Root Finding Methods. 1.1 Bisection method Chapter 1 Root Finding Methods We begin by considering numerical solutions to the problem f(x) = 0 (1.1) Although the problem above is simple to state it is not always easy to solve analytically. This

More information

Math Numerical Analysis

Math Numerical Analysis Math 541 - Numerical Analysis Lecture Notes Zeros and Roots Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Department of Mathematics and Statistics Dynamical Systems Group Computational Sciences Research Center

More information

Numerical Methods in Physics and Astrophysics

Numerical Methods in Physics and Astrophysics Kostas Kokkotas 2 October 17, 2017 2 http://www.tat.physik.uni-tuebingen.de/ kokkotas Kostas Kokkotas 3 TOPICS 1. Solving nonlinear equations 2. Solving linear systems of equations 3. Interpolation, approximation

More information

CS 450 Numerical Analysis. Chapter 5: Nonlinear Equations

CS 450 Numerical Analysis. Chapter 5: Nonlinear Equations Lecture slides based on the textbook Scientific Computing: An Introductory Survey by Michael T. Heath, copyright c 2018 by the Society for Industrial and Applied Mathematics. http://www.siam.org/books/cl80

More information

Fixed-Point Iteration

Fixed-Point Iteration Fixed-Point Iteration MATH 375 Numerical Analysis J. Robert Buchanan Department of Mathematics Fall 2013 Motivation Several root-finding algorithms operate by repeatedly evaluating a function until its

More information

Notes for Numerical Analysis Math 5465 by S. Adjerid Virginia Polytechnic Institute and State University. (A Rough Draft)

Notes for Numerical Analysis Math 5465 by S. Adjerid Virginia Polytechnic Institute and State University. (A Rough Draft) Notes for Numerical Analysis Math 5465 by S. Adjerid Virginia Polytechnic Institute and State University (A Rough Draft) 1 2 Contents 1 Error Analysis 5 2 Nonlinear Algebraic Equations 7 2.1 Convergence

More information

THE SECANT METHOD. q(x) = a 0 + a 1 x. with

THE SECANT METHOD. q(x) = a 0 + a 1 x. with THE SECANT METHOD Newton s method was based on using the line tangent to the curve of y = f (x), with the point of tangency (x 0, f (x 0 )). When x 0 α, the graph of the tangent line is approximately the

More information

MA 8019: Numerical Analysis I Solution of Nonlinear Equations

MA 8019: Numerical Analysis I Solution of Nonlinear Equations MA 8019: Numerical Analysis I Solution of Nonlinear Equations Suh-Yuh Yang ( 楊肅煜 ) Department of Mathematics, National Central University Jhongli District, Taoyuan City 32001, Taiwan syyang@math.ncu.edu.tw

More information

Outline. Scientific Computing: An Introductory Survey. Nonlinear Equations. Nonlinear Equations. Examples: Nonlinear Equations

Outline. Scientific Computing: An Introductory Survey. Nonlinear Equations. Nonlinear Equations. Examples: Nonlinear Equations Methods for Systems of Methods for Systems of Outline Scientific Computing: An Introductory Survey Chapter 5 1 Prof. Michael T. Heath Department of Computer Science University of Illinois at Urbana-Champaign

More information

Outline. Math Numerical Analysis. Intermediate Value Theorem. Lecture Notes Zeros and Roots. Joseph M. Mahaffy,

Outline. Math Numerical Analysis. Intermediate Value Theorem. Lecture Notes Zeros and Roots. Joseph M. Mahaffy, Outline Math 541 - Numerical Analysis Lecture Notes Zeros and Roots Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Department of Mathematics and Statistics Dynamical Systems Group Computational Sciences Research

More information

Solutions of Equations in One Variable. Newton s Method

Solutions of Equations in One Variable. Newton s Method Solutions of Equations in One Variable Newton s Method Numerical Analysis (9th Edition) R L Burden & J D Faires Beamer Presentation Slides prepared by John Carroll Dublin City University c 2011 Brooks/Cole,

More information

Numerical Analysis: Interpolation Part 1

Numerical Analysis: Interpolation Part 1 Numerical Analysis: Interpolation Part 1 Computer Science, Ben-Gurion University (slides based mostly on Prof. Ben-Shahar s notes) 2018/2019, Fall Semester BGU CS Interpolation (ver. 1.00) AY 2018/2019,

More information

Solution of Algebric & Transcendental Equations

Solution of Algebric & Transcendental Equations Page15 Solution of Algebric & Transcendental Equations Contents: o Introduction o Evaluation of Polynomials by Horner s Method o Methods of solving non linear equations o Bracketing Methods o Bisection

More information

Two hours. To be provided by Examinations Office: Mathematical Formula Tables. THE UNIVERSITY OF MANCHESTER. 29 May :45 11:45

Two hours. To be provided by Examinations Office: Mathematical Formula Tables. THE UNIVERSITY OF MANCHESTER. 29 May :45 11:45 Two hours MATH20602 To be provided by Examinations Office: Mathematical Formula Tables. THE UNIVERSITY OF MANCHESTER NUMERICAL ANALYSIS 1 29 May 2015 9:45 11:45 Answer THREE of the FOUR questions. If more

More information

CHALLENGE! (0) = 5. Construct a polynomial with the following behavior at x = 0:

CHALLENGE! (0) = 5. Construct a polynomial with the following behavior at x = 0: TAYLOR SERIES Construct a polynomial with the following behavior at x = 0: CHALLENGE! P( x) = a + ax+ ax + ax + ax 2 3 4 0 1 2 3 4 P(0) = 1 P (0) = 2 P (0) = 3 P (0) = 4 P (4) (0) = 5 Sounds hard right?

More information

Numerical solutions of nonlinear systems of equations

Numerical solutions of nonlinear systems of equations Numerical solutions of nonlinear systems of equations Tsung-Ming Huang Department of Mathematics National Taiwan Normal University, Taiwan E-mail: min@math.ntnu.edu.tw August 28, 2011 Outline 1 Fixed points

More information

Scientific Computing: An Introductory Survey

Scientific Computing: An Introductory Survey Scientific Computing: An Introductory Survey Chapter 5 Nonlinear Equations Prof. Michael T. Heath Department of Computer Science University of Illinois at Urbana-Champaign Copyright c 2002. Reproduction

More information

Numerical Methods. Root Finding

Numerical Methods. Root Finding Numerical Methods Solving Non Linear 1-Dimensional Equations Root Finding Given a real valued function f of one variable (say ), the idea is to find an such that: f() 0 1 Root Finding Eamples Find real

More information

Homework and Computer Problems for Math*2130 (W17).

Homework and Computer Problems for Math*2130 (W17). Homework and Computer Problems for Math*2130 (W17). MARCUS R. GARVIE 1 December 21, 2016 1 Department of Mathematics & Statistics, University of Guelph NOTES: These questions are a bare minimum. You should

More information

MTAEA Differentiation

MTAEA Differentiation School of Economics, Australian National University February 5, 2010 Basic Properties of the Derivative. Secant Tangent Applet l 3 l 2 l 1 a a 3 a 2 a 1 Figure: The derivative of f at a is the limiting

More information

Functions and Equations

Functions and Equations Canadian Mathematics Competition An activity of the Centre for Education in Mathematics and Computing, University of Waterloo, Waterloo, Ontario Euclid eworkshop # Functions and Equations c 006 CANADIAN

More information

Midterm Review. Igor Yanovsky (Math 151A TA)

Midterm Review. Igor Yanovsky (Math 151A TA) Midterm Review Igor Yanovsky (Math 5A TA) Root-Finding Methods Rootfinding methods are designed to find a zero of a function f, that is, to find a value of x such that f(x) =0 Bisection Method To apply

More information

SYSTEMS OF NONLINEAR EQUATIONS

SYSTEMS OF NONLINEAR EQUATIONS SYSTEMS OF NONLINEAR EQUATIONS Widely used in the mathematical modeling of real world phenomena. We introduce some numerical methods for their solution. For better intuition, we examine systems of two

More information

Unit 2: Solving Scalar Equations. Notes prepared by: Amos Ron, Yunpeng Li, Mark Cowlishaw, Steve Wright Instructor: Steve Wright

Unit 2: Solving Scalar Equations. Notes prepared by: Amos Ron, Yunpeng Li, Mark Cowlishaw, Steve Wright Instructor: Steve Wright cs416: introduction to scientific computing 01/9/07 Unit : Solving Scalar Equations Notes prepared by: Amos Ron, Yunpeng Li, Mark Cowlishaw, Steve Wright Instructor: Steve Wright 1 Introduction We now

More information

Math 471. Numerical methods Root-finding algorithms for nonlinear equations

Math 471. Numerical methods Root-finding algorithms for nonlinear equations Math 471. Numerical methods Root-finding algorithms for nonlinear equations overlap Section.1.5 of Bradie Our goal in this chapter is to find the root(s) for f(x) = 0..1 Bisection Method Intermediate value

More information

Motivation: We have already seen an example of a system of nonlinear equations when we studied Gaussian integration (p.8 of integration notes)

Motivation: We have already seen an example of a system of nonlinear equations when we studied Gaussian integration (p.8 of integration notes) AMSC/CMSC 460 Computational Methods, Fall 2007 UNIT 5: Nonlinear Equations Dianne P. O Leary c 2001, 2002, 2007 Solving Nonlinear Equations and Optimization Problems Read Chapter 8. Skip Section 8.1.1.

More information

A Review of Bracketing Methods for Finding Zeros of Nonlinear Functions

A Review of Bracketing Methods for Finding Zeros of Nonlinear Functions Applied Mathematical Sciences, Vol 1, 018, no 3, 137-146 HIKARI Ltd, wwwm-hikaricom https://doiorg/101988/ams018811 A Review of Bracketing Methods for Finding Zeros of Nonlinear Functions Somkid Intep

More information

15 Nonlinear Equations and Zero-Finders

15 Nonlinear Equations and Zero-Finders 15 Nonlinear Equations and Zero-Finders This lecture describes several methods for the solution of nonlinear equations. In particular, we will discuss the computation of zeros of nonlinear functions f(x).

More information

Chapter 4: Interpolation and Approximation. October 28, 2005

Chapter 4: Interpolation and Approximation. October 28, 2005 Chapter 4: Interpolation and Approximation October 28, 2005 Outline 1 2.4 Linear Interpolation 2 4.1 Lagrange Interpolation 3 4.2 Newton Interpolation and Divided Differences 4 4.3 Interpolation Error

More information

MATH 1902: Mathematics for the Physical Sciences I

MATH 1902: Mathematics for the Physical Sciences I MATH 1902: Mathematics for the Physical Sciences I Dr Dana Mackey School of Mathematical Sciences Room A305 A Email: Dana.Mackey@dit.ie Dana Mackey (DIT) MATH 1902 1 / 46 Module content/assessment Functions

More information

Quadratics. SPTA Mathematics Higher Notes

Quadratics. SPTA Mathematics Higher Notes H Quadratics SPTA Mathematics Higher Notes Quadratics are expressions with degree 2 and are of the form ax 2 + bx + c, where a 0. The Graph of a Quadratic is called a Parabola, and there are 2 types as

More information

Chapter 4. Solution of Non-linear Equation. Module No. 1. Newton s Method to Solve Transcendental Equation

Chapter 4. Solution of Non-linear Equation. Module No. 1. Newton s Method to Solve Transcendental Equation Numerical Analysis by Dr. Anita Pal Assistant Professor Department of Mathematics National Institute of Technology Durgapur Durgapur-713209 email: anita.buie@gmail.com 1 . Chapter 4 Solution of Non-linear

More information

CHAPTER 2 POLYNOMIALS KEY POINTS

CHAPTER 2 POLYNOMIALS KEY POINTS CHAPTER POLYNOMIALS KEY POINTS 1. Polynomials of degrees 1, and 3 are called linear, quadratic and cubic polynomials respectively.. A quadratic polynomial in x with real coefficient is of the form a x

More information

CS 323: Numerical Analysis and Computing

CS 323: Numerical Analysis and Computing CS 323: Numerical Analysis and Computing MIDTERM #2 Instructions: This is an open notes exam, i.e., you are allowed to consult any textbook, your class notes, homeworks, or any of the handouts from us.

More information

Chapter 8: Taylor s theorem and L Hospital s rule

Chapter 8: Taylor s theorem and L Hospital s rule Chapter 8: Taylor s theorem and L Hospital s rule Theorem: [Inverse Mapping Theorem] Suppose that a < b and f : [a, b] R. Given that f (x) > 0 for all x (a, b) then f 1 is differentiable on (f(a), f(b))

More information

Jim Lambers MAT 460/560 Fall Semester Practice Final Exam

Jim Lambers MAT 460/560 Fall Semester Practice Final Exam Jim Lambers MAT 460/560 Fall Semester 2009-10 Practice Final Exam 1. Let f(x) = sin 2x + cos 2x. (a) Write down the 2nd Taylor polynomial P 2 (x) of f(x) centered around x 0 = 0. (b) Write down the corresponding

More information

Scientific Computing. Roots of Equations

Scientific Computing. Roots of Equations ECE257 Numerical Methods and Scientific Computing Roots of Equations Today s s class: Roots of Equations Polynomials Polynomials A polynomial is of the form: ( x) = a 0 + a 1 x + a 2 x 2 +L+ a n x n f

More information

Welcome to Math 104. D. DeTurck. January 16, University of Pennsylvania. D. DeTurck Math A: Welcome 1 / 44

Welcome to Math 104. D. DeTurck. January 16, University of Pennsylvania. D. DeTurck Math A: Welcome 1 / 44 Welcome to Math 104 D. DeTurck University of Pennsylvania January 16, 2018 D. DeTurck Math 104 002 2018A: Welcome 1 / 44 Welcome to the course Math 104 Calculus I Topics: Quick review of Math 103 topics,

More information

Higher Portfolio Quadratics and Polynomials

Higher Portfolio Quadratics and Polynomials Higher Portfolio Quadratics and Polynomials Higher 5. Quadratics and Polynomials Section A - Revision Section This section will help you revise previous learning which is required in this topic R1 I have

More information

1. Nonlinear Equations. This lecture note excerpted parts from Michael Heath and Max Gunzburger. f(x) = 0

1. Nonlinear Equations. This lecture note excerpted parts from Michael Heath and Max Gunzburger. f(x) = 0 Numerical Analysis 1 1. Nonlinear Equations This lecture note excerpted parts from Michael Heath and Max Gunzburger. Given function f, we seek value x for which where f : D R n R n is nonlinear. f(x) =

More information

Numerical Methods with Matlab. Ryuichi Ashino and Rémi Vaillancourt

Numerical Methods with Matlab. Ryuichi Ashino and Rémi Vaillancourt Numerical Methods with Matlab Ryuichi Ashino and Rémi Vaillancourt Department of Mathematics and Statistics, University of Ottawa, Ottawa, ON, Canada, K1N 6N5 E-mail address: remi@@.uottawa.ca Contents

More information

3.1 Introduction. Solve non-linear real equation f(x) = 0 for real root or zero x. E.g. x x 1.5 =0, tan x x =0.

3.1 Introduction. Solve non-linear real equation f(x) = 0 for real root or zero x. E.g. x x 1.5 =0, tan x x =0. 3.1 Introduction Solve non-linear real equation f(x) = 0 for real root or zero x. E.g. x 3 +1.5x 1.5 =0, tan x x =0. Practical existence test for roots: by intermediate value theorem, f C[a, b] & f(a)f(b)

More information

SOLUTION OF ALGEBRAIC AND TRANSCENDENTAL EQUATIONS BISECTION METHOD

SOLUTION OF ALGEBRAIC AND TRANSCENDENTAL EQUATIONS BISECTION METHOD BISECTION METHOD If a function f(x) is continuous between a and b, and f(a) and f(b) are of opposite signs, then there exists at least one root between a and b. It is shown graphically as, Let f a be negative

More information

Review: Power series define functions. Functions define power series. Taylor series of a function. Taylor polynomials of a function.

Review: Power series define functions. Functions define power series. Taylor series of a function. Taylor polynomials of a function. Taylor Series (Sect. 10.8) Review: Power series define functions. Functions define power series. Taylor series of a function. Taylor polynomials of a function. Review: Power series define functions Remarks:

More information

Fixed Points and Contractive Transformations. Ron Goldman Department of Computer Science Rice University

Fixed Points and Contractive Transformations. Ron Goldman Department of Computer Science Rice University Fixed Points and Contractive Transformations Ron Goldman Department of Computer Science Rice University Applications Computer Graphics Fractals Bezier and B-Spline Curves and Surfaces Root Finding Newton

More information

Solution of Nonlinear Equations

Solution of Nonlinear Equations Solution of Nonlinear Equations (Com S 477/577 Notes) Yan-Bin Jia Sep 14, 017 One of the most frequently occurring problems in scientific work is to find the roots of equations of the form f(x) = 0. (1)

More information

Roots and Coefficients Polynomials Preliminary Maths Extension 1

Roots and Coefficients Polynomials Preliminary Maths Extension 1 Preliminary Maths Extension Question If, and are the roots of x 5x x 0, find the following. (d) (e) Question If p, q and r are the roots of x x x 4 0, evaluate the following. pq r pq qr rp p q q r r p

More information

Numerical Methods I Solving Nonlinear Equations

Numerical Methods I Solving Nonlinear Equations Numerical Methods I Solving Nonlinear Equations Aleksandar Donev Courant Institute, NYU 1 donev@courant.nyu.edu 1 MATH-GA 2011.003 / CSCI-GA 2945.003, Fall 2014 October 16th, 2014 A. Donev (Courant Institute)

More information

1-D Optimization. Lab 16. Overview of Line Search Algorithms. Derivative versus Derivative-Free Methods

1-D Optimization. Lab 16. Overview of Line Search Algorithms. Derivative versus Derivative-Free Methods Lab 16 1-D Optimization Lab Objective: Many high-dimensional optimization algorithms rely on onedimensional optimization methods. In this lab, we implement four line search algorithms for optimizing scalar-valued

More information

Chapter 6. Nonlinear Equations. 6.1 The Problem of Nonlinear Root-finding. 6.2 Rate of Convergence

Chapter 6. Nonlinear Equations. 6.1 The Problem of Nonlinear Root-finding. 6.2 Rate of Convergence Chapter 6 Nonlinear Equations 6. The Problem of Nonlinear Root-finding In this module we consider the problem of using numerical techniques to find the roots of nonlinear equations, f () =. Initially we

More information

Figure 1: Graph of y = x cos(x)

Figure 1: Graph of y = x cos(x) Chapter The Solution of Nonlinear Equations f(x) = 0 In this chapter we will study methods for find the solutions of functions of single variables, ie values of x such that f(x) = 0 For example, f(x) =

More information

Computational Methods CMSC/AMSC/MAPL 460. Solving nonlinear equations and zero finding. Finding zeroes of functions

Computational Methods CMSC/AMSC/MAPL 460. Solving nonlinear equations and zero finding. Finding zeroes of functions Computational Methods CMSC/AMSC/MAPL 460 Solving nonlinear equations and zero finding Ramani Duraiswami, Dept. of Computer Science Where does it arise? Finding zeroes of functions Solving functional equations

More information

A first order divided difference

A first order divided difference A first order divided difference For a given function f (x) and two distinct points x 0 and x 1, define f [x 0, x 1 ] = f (x 1) f (x 0 ) x 1 x 0 This is called the first order divided difference of f (x).

More information

Families of Functions, Taylor Polynomials, l Hopital s

Families of Functions, Taylor Polynomials, l Hopital s Unit #6 : Rule Families of Functions, Taylor Polynomials, l Hopital s Goals: To use first and second derivative information to describe functions. To be able to find general properties of families of functions.

More information

b n x n + b n 1 x n b 1 x + b 0

b n x n + b n 1 x n b 1 x + b 0 Math Partial Fractions Stewart 7.4 Integrating basic rational functions. For a function f(x), we have examined several algebraic methods for finding its indefinite integral (antiderivative) F (x) = f(x)

More information

1 Solutions to selected problems

1 Solutions to selected problems Solutions to selected problems Section., #a,c,d. a. p x = n for i = n : 0 p x = xp x + i end b. z = x, y = x for i = : n y = y + x i z = zy end c. y = (t x ), p t = a for i = : n y = y(t x i ) p t = p

More information

EAD 115. Numerical Solution of Engineering and Scientific Problems. David M. Rocke Department of Applied Science

EAD 115. Numerical Solution of Engineering and Scientific Problems. David M. Rocke Department of Applied Science EAD 115 Numerical Solution of Engineering and Scientific Problems David M. Rocke Department of Applied Science Taylor s Theorem Can often approximate a function by a polynomial The error in the approximation

More information

MATH 350: Introduction to Computational Mathematics

MATH 350: Introduction to Computational Mathematics MATH 350: Introduction to Computational Mathematics Chapter IV: Locating Roots of Equations Greg Fasshauer Department of Applied Mathematics Illinois Institute of Technology Spring 2011 fasshauer@iit.edu

More information

5. Hand in the entire exam booklet and your computer score sheet.

5. Hand in the entire exam booklet and your computer score sheet. WINTER 2016 MATH*2130 Final Exam Last name: (PRINT) First name: Student #: Instructor: M. R. Garvie 19 April, 2016 INSTRUCTIONS: 1. This is a closed book examination, but a calculator is allowed. The test

More information

Convergence Rates on Root Finding

Convergence Rates on Root Finding Convergence Rates on Root Finding Com S 477/577 Oct 5, 004 A sequence x i R converges to ξ if for each ǫ > 0, there exists an integer Nǫ) such that x l ξ > ǫ for all l Nǫ). The Cauchy convergence criterion

More information

8.7 Taylor s Inequality Math 2300 Section 005 Calculus II. f(x) = ln(1 + x) f(0) = 0

8.7 Taylor s Inequality Math 2300 Section 005 Calculus II. f(x) = ln(1 + x) f(0) = 0 8.7 Taylor s Inequality Math 00 Section 005 Calculus II Name: ANSWER KEY Taylor s Inequality: If f (n+) is continuous and f (n+) < M between the center a and some point x, then f(x) T n (x) M x a n+ (n

More information

QUADRATIC FUNCTIONS AND MODELS

QUADRATIC FUNCTIONS AND MODELS QUADRATIC FUNCTIONS AND MODELS What You Should Learn Analyze graphs of quadratic functions. Write quadratic functions in standard form and use the results to sketch graphs of functions. Find minimum and

More information

CHAPTER-II ROOTS OF EQUATIONS

CHAPTER-II ROOTS OF EQUATIONS CHAPTER-II ROOTS OF EQUATIONS 2.1 Introduction The roots or zeros of equations can be simply defined as the values of x that makes f(x) =0. There are many ways to solve for roots of equations. For some

More information

Math Review for Exam Answer each of the following questions as either True or False. Circle the correct answer.

Math Review for Exam Answer each of the following questions as either True or False. Circle the correct answer. Math 22 - Review for Exam 3. Answer each of the following questions as either True or False. Circle the correct answer. (a) True/False: If a n > 0 and a n 0, the series a n converges. Soln: False: Let

More information

Calculus I Exam 1 Review Fall 2016

Calculus I Exam 1 Review Fall 2016 Problem 1: Decide whether the following statements are true or false: (a) If f, g are differentiable, then d d x (f g) = f g. (b) If a function is continuous, then it is differentiable. (c) If a function

More information

Lecture 8. Root finding II

Lecture 8. Root finding II 1 Introduction Lecture 8 Root finding II In the previous lecture we considered the bisection root-bracketing algorithm. It requires only that the function be continuous and that we have a root bracketed

More information

Zeros of Functions. Chapter 10

Zeros of Functions. Chapter 10 Chapter 10 Zeros of Functions An important part of the mathematics syllabus in secondary school is equation solving. This is important for the simple reason that equations are important a wide range of

More information

Root Finding Methods

Root Finding Methods Root Finding Methods Let's take a simple problem ax 2 +bx+c=0 Can calculate roots using the quadratic equation or just by factoring Easy and does not need any numerical methods How about solving for the

More information

MATH 350: Introduction to Computational Mathematics

MATH 350: Introduction to Computational Mathematics MATH 350: Introduction to Computational Mathematics Chapter IV: Locating Roots of Equations Greg Fasshauer Department of Applied Mathematics Illinois Institute of Technology Spring 2011 fasshauer@iit.edu

More information

Math Introduction to Numerical Methods - Winter 2011 Homework 2 Assigned: Friday, January 14, Due: Thursday, January 27,

Math Introduction to Numerical Methods - Winter 2011 Homework 2 Assigned: Friday, January 14, Due: Thursday, January 27, Math 371 - Introduction to Numerical Methods - Winter 2011 Homework 2 Assigned: Friday, January 14, 2011. Due: Thursday, January 27, 2011.. Include a cover page. You do not need to hand in a problem sheet.

More information

MT804 Analysis Homework II

MT804 Analysis Homework II MT804 Analysis Homework II Eudoxus October 6, 2008 p. 135 4.5.1, 4.5.2 p. 136 4.5.3 part a only) p. 140 4.6.1 Exercise 4.5.1 Use the Intermediate Value Theorem to prove that every polynomial of with real

More information

x 2 x n r n J(x + t(x x ))(x x )dt. For warming-up we start with methods for solving a single equation of one variable.

x 2 x n r n J(x + t(x x ))(x x )dt. For warming-up we start with methods for solving a single equation of one variable. Maria Cameron 1. Fixed point methods for solving nonlinear equations We address the problem of solving an equation of the form (1) r(x) = 0, where F (x) : R n R n is a vector-function. Eq. (1) can be written

More information

CHAPTER 4 ROOTS OF EQUATIONS

CHAPTER 4 ROOTS OF EQUATIONS CHAPTER 4 ROOTS OF EQUATIONS Chapter 3 : TOPIC COVERS (ROOTS OF EQUATIONS) Definition of Root of Equations Bracketing Method Graphical Method Bisection Method False Position Method Open Method One-Point

More information

MATH 31B: MIDTERM 2 REVIEW. sin 2 x = 1 cos(2x) dx = x 2 sin(2x) 4. + C = x 2. dx = x sin(2x) + C = x sin x cos x

MATH 31B: MIDTERM 2 REVIEW. sin 2 x = 1 cos(2x) dx = x 2 sin(2x) 4. + C = x 2. dx = x sin(2x) + C = x sin x cos x MATH 3B: MIDTERM REVIEW JOE HUGHES. Evaluate sin x and cos x. Solution: Recall the identities cos x = + cos(x) Using these formulas gives cos(x) sin x =. Trigonometric Integrals = x sin(x) sin x = cos(x)

More information

CHAPTER 2 EXTRACTION OF THE QUADRATICS FROM REAL ALGEBRAIC POLYNOMIAL

CHAPTER 2 EXTRACTION OF THE QUADRATICS FROM REAL ALGEBRAIC POLYNOMIAL 24 CHAPTER 2 EXTRACTION OF THE QUADRATICS FROM REAL ALGEBRAIC POLYNOMIAL 2.1 INTRODUCTION Polynomial factorization is a mathematical problem, which is often encountered in applied sciences and many of

More information

A three point formula for finding roots of equations by the method of least squares

A three point formula for finding roots of equations by the method of least squares Journal of Applied Mathematics and Bioinformatics, vol.2, no. 3, 2012, 213-233 ISSN: 1792-6602(print), 1792-6939(online) Scienpress Ltd, 2012 A three point formula for finding roots of equations by the

More information

Section 6.3 Richardson s Extrapolation. Extrapolation (To infer or estimate by extending or projecting known information.)

Section 6.3 Richardson s Extrapolation. Extrapolation (To infer or estimate by extending or projecting known information.) Section 6.3 Richardson s Extrapolation Key Terms: Extrapolation (To infer or estimate by extending or projecting known information.) Illustrated using Finite Differences The difference between Interpolation

More information

Section 1.4 Tangents and Velocity

Section 1.4 Tangents and Velocity Math 132 Tangents and Velocity Section 1.4 Section 1.4 Tangents and Velocity Tangent Lines A tangent line to a curve is a line that just touches the curve. In terms of a circle, the definition is very

More information

Induction, sequences, limits and continuity

Induction, sequences, limits and continuity Induction, sequences, limits and continuity Material covered: eclass notes on induction, Chapter 11, Section 1 and Chapter 2, Sections 2.2-2.5 Induction Principle of mathematical induction: Let P(n) be

More information

Section 3.7. Rolle s Theorem and the Mean Value Theorem

Section 3.7. Rolle s Theorem and the Mean Value Theorem Section.7 Rolle s Theorem and the Mean Value Theorem The two theorems which are at the heart of this section draw connections between the instantaneous rate of change and the average rate of change of

More information

Review of Section 1.1. Mathematical Models. Review of Section 1.1. Review of Section 1.1. Functions. Domain and range. Piecewise functions

Review of Section 1.1. Mathematical Models. Review of Section 1.1. Review of Section 1.1. Functions. Domain and range. Piecewise functions Review of Section 1.1 Functions Mathematical Models Domain and range Piecewise functions January 19, 2017 Even and odd functions Increasing and decreasing functions Mathematical Models January 19, 2017

More information