Intermediate value theorem: Difference between revisions

From Calculus
(Created page with "==Statement== ===Full version=== Suppose <math>f</math> is a continuous function and a closed interval <math>[a,b]</math> is contained in the domain of <math>f</mat...")
 
No edit summary
 
Line 10: Line 10:


Any [[continuous function]] on an [[interval]] satisfies the [[intermediate value property]].
Any [[continuous function]] on an [[interval]] satisfies the [[intermediate value property]].
==Caveats==
===The statement need not be true for a discontinuous function===
It is possible for a function having a discontinuity to violate the intermediate value theorem. Below is an example, of the function <math>f(x) := (x + 1)\operatorname{sgn}(x)</math> where <math>\operatorname{sgn}</math> is the [[signum function]] and we define it to be zero at 0.
[[File:Intermediatevaluetheoremfailsfordiscontinuousfunction.png|500px]]
Here, we consider the domain <math>[a,b] = [-1,3]</math>, with <math>f(-1) = 0</math> and <math>f(3) = 4</math>, but there is no <math>c \in [-1,3]</math> satisfying <math>f(c) = 1/2</math>, even though <math>1/2 \in [0,4]</math>.
===The function needs to be defined throughout the domain===
Consider the function <math>f(x) := 1/x</math>. We have <math>f(-1) = -1</math> and <math>f(1) = 1</math>. However, there is no <math>c \in [-1,1]</math> such that <math>f(c) = 1/2</math>. The reason the theorem fails is that <math>f</math> is not defined at the point 0, and hence it is not defined on the domain <math>[-1,1]</math>.
[[File:1byxviolatesintermediatevaluetheorem.png|500px]]

Latest revision as of 17:05, 15 October 2011

Statement

Full version

Suppose f is a continuous function and a closed interval [a,b] is contained in the domain of f (in particular, the restriction of f to the interval [a,b] is continuous). Then, for any t between the values f(a) and f(b) (see note below), there exists c[a,b] such that f(c)=t.

Note: When we say t is between f(a) and f(b), we mean t[f(a),f(b)] if f(a)f(b) and we mean that t[f(b),f(a)] if f(b)f(a).

Short version

Any continuous function on an interval satisfies the intermediate value property.

Caveats

The statement need not be true for a discontinuous function

It is possible for a function having a discontinuity to violate the intermediate value theorem. Below is an example, of the function f(x):=(x+1)sgn(x) where sgn is the signum function and we define it to be zero at 0.

Here, we consider the domain [a,b]=[1,3], with f(1)=0 and f(3)=4, but there is no c[1,3] satisfying f(c)=1/2, even though 1/2[0,4].

The function needs to be defined throughout the domain

Consider the function f(x):=1/x. We have f(1)=1 and f(1)=1. However, there is no c[1,1] such that f(c)=1/2. The reason the theorem fails is that f is not defined at the point 0, and hence it is not defined on the domain [1,1].