Intermediate Value Theorem

Slides:



Advertisements
Similar presentations
Bisection Method (Midpoint Method for Equations).
Advertisements

LIMITS Continuity LIMITS In this section, we will: See that the mathematical definition of continuity corresponds closely with the meaning of the.
Maximum and Minimum Values (Section 3.1)
NUMERICAL METHODS WITH C++ PROGRAMMING
1 Example 1 Explain why the Intermediate Value Theorem does or does not apply to each of the following functions. (a) f(x) = 1/x with domain [1,2]. Solution.
Section 5.5 – The Real Zeros of a Rational Function
Theorems on continuous functions. Weierstrass’ theorem Let f(x) be a continuous function over a closed bounded interval [a,b] Then f(x) has at least one.
Rolle’s theorem and Mean Value Theorem ( Section 3.2) Alex Karassev.
Limits Basic facts about limits The concept of limit underlies all of calculus. Derivatives, integrals and series are all different kinds of limits. Limits.
Continuity ( Section 1.8) Alex Karassev. Definition A function f is continuous at a number a if Thus, we can use direct substitution to compute the limit.
Intermediate Value Theorem If f is continuous on [ a,b ] and k is any number between f(a) and f(b), inclusive, then there is at least one number c in the.
1.4 Continuity and One-Sided Limits This will test the “Limits” of your brain!
Calculus, 8/E by Howard Anton, Irl Bivens, and Stephen Davis Copyright © 2005 by John Wiley & Sons, Inc. All rights reserved. 2.5 CONTINUITY Intuitively,
MAT 1234 Calculus I Section 1.8 Continuity
Using Technology to Approximate Roots of Polynomial Equations.
Precise definition of limits The phrases “x is close to a” and “f(x) gets closer and closer to L” are vague. since f(x) can be arbitrarily close to 5 as.
Lecture 3 Numerical Analysis. Solution of Non-Linear Equations Chapter 2.
Warm up 1. Do in notebook. Be seated before the bell rings DESK homework Warm-up (in your notes) Agenda : warm-up Go over homework homework quiz Notes.
Warm-up 9/23/15. Chapter 2 Polynomial and Rational Functions Copyright © 2014, 2010, 2007 Pearson Education, Inc Polynomial Functions and Their.
2.4 Continuity and its Consequences and 2.8 IVT Tues Sept 15 Do Now Find the errors in the following and explain why it’s wrong:
1.4 Continuity  f is continuous at a if 1. is defined. 2. exists. 3.
The Bisection Method. Introduction Bisection Method: Bisection Method = a numerical method in Mathematics to find a root of a given function.
Numerical Methods Solution of Equation.
Sullivan PreCalculus Section 3.6 Real Zeros of a Polynomial Function Objectives Use the Remainder and Factor Theorems Use Descartes’ Rule of Signs Use.
Sullivan Algebra and Trigonometry: Section 5.2 Objectives Use the Remainder and Factor Theorems Use Descartes’ Rule of Signs Use the Rational Zeros Theorem.
4.2 – The Mean Value Theorem
Find the critical point of f(x) =(2x - 1) on [0,  ] A. x = ½ B. x = 1 C. x = 2 D. x = 3.
Intermediate Value Theorem Vince Varju. Definition The Intermediate Value Theorem states that if a function f is a continuous function on [a,b] then there.
1 © 2010 Pearson Education, Inc. All rights reserved © 2010 Pearson Education, Inc. All rights reserved Chapter 3 Polynomial and Rational Functions.
Recursive Methods for Finding Roots of Functions Bisection & Newton’s Method.
AP Calc AB IVT. Introduction Intermediate Value Theorem If a function is continuous between a and b, then it takes on every value between and. Because.
LECTURE 2 OF NUMERICAL METHODS 7.2 Solutions of Non-Linear Equations.
Numerical Calculation Part 1: Equations &Roots Dr.Entesar Ganash (Bisection's Method)
MATH342: Numerical Analysis Sunjae Kim.
Continuity and One-Sided Limits
Solved Problems on Limits and Continuity
Rolle’s theorem and Mean Value Theorem (Section 4.2)
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
Solution of Nonlinear Equations (Root finding Problems
Copyright © Cengage Learning. All rights reserved.
3.7 The Real Zeros of a Polynomial Function
Locating Real Zeros of Polynomials
Linford Group Meeting Department of Chemistry and Biochemistry Brigham Young University Thursday, Feb. 23, 2017 Problems on the oxidation of tertiary amines,
Table of Contents 8. Section 2.7 Intermediate Value Theorem.
Sullivan Algebra and Trigonometry: Section 5
3.7 The Real Zeros of a Polynomial Function
Mathematics.
Important Values for Continuous functions
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
Intermediate Value Theorem
Table of Contents 8. Section 2.7 Intermediate Value Theorem.
4.6 The Mean Value Theorem.
Continuity and One-Sided Limits
1.4 Continuity and One-Sided Limits (Part 2)
Solved Problems on Limits and Continuity
Continuity Alex Karassev.
3.6 Polynomial Functions Part 2
Continuity.
Warm-up: Determine the left and right-hand behavior of the graph of the polynomial function, then find the x-intercepts (zeros). y = x3 + 2x2 – 8x HW:
The Fundamental Theorems of Calculus
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
Intermediate Value Theorem
Calculus Notes 4.2: The Mean Value Theorem.
1.4 Continuity and One-Sided Limits This will test the “Limits”
Warm-up How are the concepts of a limit and continuity related?
5. Continuity on an Interval
Copyright © Cengage Learning. All rights reserved.
Lesson 63 - Intermediate Value Theorem
Solutions for Nonlinear Equations
Presentation transcript:

Intermediate Value Theorem Alex Karassev

River and Road

River and Road

Definitions A solution of equation is also called a root of equation A number c such that f(c)=0 is called a root of function f

Intermediate Value Theorem (IVT) f is continuous on [a,b] N is a number between f(a) and f(b) i.e f(a) ≤ N ≤ f(b) or f(b) ≤ N ≤ f(a) then there exists at least one c in [a,b] s.t. f(c) = N y y = f(x) f(b) N f(a) x c a b

Intermediate Value Theorem (IVT) f is continuous on [a,b] N is a number between f(a) and f(b) i.e f(a) ≤ N ≤ f(b) or f(b) ≤ N ≤ f(a) then there exists at least one c in [a,b] s.t. f(c) = N y y = f(x) f(b) N f(a) x c1 c2 c3 a b

Equivalent statement of IVT f is continuous on [a,b] N is a number between f(a) and f(b), i.e f(a) ≤ N ≤ f(b) or f(b) ≤ N ≤ f(a) then f(a) – N ≤ N – N ≤ f(b) – N or f(b) – N ≤ N – N ≤ f(a) – N so f(a) – N ≤ 0 ≤ f(b) – N or f(b) – N ≤ 0 ≤ f(a) – N Instead of f(x) we can consider g(x) = f(x) – N so g(a) ≤ 0 ≤ g(b) or g(b) ≤ 0 ≤ g(a) There exists at least one c in [a,b] such that g(c) = 0

Equivalent statement of IVT f is continuous on [a,b] f(a) and f(b) have opposite signs i.e f(a) ≤ 0 ≤ f(b) or f(b) ≤ 0 ≤ f(a) then there exists at least one c in [a,b] s.t. f(c) = 0 y y = f(x) f(b) a c x N = 0 b f(a)

Continuity is important! x y -1 1 Let f(x) = 1/x Let a = -1 and b = 1 f(-1) = -1, f(1) = 1 However, there is no c such that f(c) = 1/c =0

Important remarks IVT can be used to prove existence of a root of equation It cannot be used to find exact value of the root!

Example 1 Prove that equation x = 3 – x5 has a solution (root) Remarks Do not try to solve the equation! (it is impossible to find exact solution) Use IVT to prove that solution exists

Steps to prove that x = 3 – x5 has a solution Write equation in the form f(x) = 0 x5 + x – 3 = 0 so f(x) = x5 + x – 3 Check that the condition of IVT is satisfied, i.e. that f(x) is continuous f(x) = x5 + x – 3 is a polynomial, so it is continuous on (-∞, ∞) Find a and b such that f(a) and f(b) are of opposite signs, i.e. show that f(x) changes sign (hint: try some integers or some numbers at which it is easy to compute f) Try a=0: f(0) = 05 + 0 – 3 = -3 < 0 Now we need to find b such that f(b) >0 Try b=1: f(1) = 15 + 1 – 3 = -1 < 0 does not work Try b=2: f(2) = 25 + 2 – 3 =31 >0 works! Use IVT to show that root exists in [a,b] So a = 0, b = 2, f(0) <0, f(2) >0 and therefore there exists c in [0,2] such that f(c)=0, which means that the equation has a solution

x = 3 – x5 ⇔ x5 + x – 3 = 0 y 31 x 2 N = 0 c (root) -3

Example 2 Find approximate solution of the equation x = 3 – x5

Idea: method of bisections Use the IVT to find an interval [a,b] that contains a root Find the midpoint of an interval that contains root: midpoint = m = (a+b)/2 Compute the value of the function in the midpoint If f(a) and f (m) are of opposite signs, switch to [a,m] (since it contains root by the IVT), otherwise switch to [m,b] Repeat the procedure until the length of interval is sufficiently small

f(x) = x5 + x – 3 = 0 We already know that [0,2] contains root f(x)≈ < 0 > 0 -3 -1 31 Midpoint = (0+2)/2 = 1 2 x

f(x) = x5 + x – 3 = 0 f(x)≈ -3 -1 6.1 31 2 x Midpoint = (1+2)/2 = 1.5 1.5 1 2 x Midpoint = (1+2)/2 = 1.5

f(x) = x5 + x – 3 = 0 f(x)≈ -3 -1 1.3 6.1 31 1 1.25 1.5 2 x Midpoint = (1+1.5)/2 = 1.25

f(x) = x5 + x – 3 = 0 f(x)≈ -3 31 -1 -.07 1.3 6.1 1 1.125 1.25 1.5 2 x Midpoint = (1 + 1.25)/2 = 1.125 By the IVT, interval [1.125, 1.25] contains root Length of the interval: 1.25 – 1.125 = 0.125 = 2 / 16 = = the length of the original interval / 24 24 appears since we divided 4 times Both 1.25 and 1.125 are within 0.125 from the root! Since f(1.125) ≈ -.07, choose c ≈ 1.125 Computer gives c ≈ 1.13299617282...

Exercise Prove that the equation sin x = 1 – x2 has at least two solutions Hint: Write the equation in the form f(x) = 0 and find three numbers x1, x2, x3, such that f(x1) and f(x2) have opposite signs AND f(x2) and f(x3) have opposite signs. Then by the IVT the interval [ x1, x2 ] contains a root AND the interval [ x2, x3 ] contains a root.