The Intermediate Value Theorem is a fundamental theorem in calculus. The theorem states that if a function,
f
(
x
)
{\displaystyle f(x)}
is continuous on a closed interval
[
a
,
b
]
,
{\displaystyle [a,b],}
then for any value,
y
{\displaystyle y}
defined between
(
f
(
a
)
{\displaystyle (f(a)}
and
f
(
b
)
,
{\displaystyle f(b),}
there exists at least one value
c
∈
(
a
,
b
)
{\displaystyle c\in (a,b)}
such that
f
(
c
)
=
y
{\displaystyle f(c)=y}
.
Intermediate Value Theorem: f(x) is continuous on [a, b], there exists at least one value c, that is defined on (a, b) such that f(c) = y.
Statement: If a function,
f
{\displaystyle f}
is continuous on
[
a
,
b
]
,
{\displaystyle [a,b],}
then for every
y
{\displaystyle y}
between
f
(
a
)
{\displaystyle f(a)}
and
f
(
b
)
,
{\displaystyle f(b),}
there exists at least one value
c
∈
(
a
,
b
)
{\displaystyle c\in (a,b)}
such that
f
(
c
)
=
y
{\displaystyle f(c)=y}
Proof: Assume that
f
(
x
)
{\displaystyle f(x)}
is a continuous function on
[
a
,
b
]
{\displaystyle [a,b]}
and
f
(
a
)
<
f
(
b
)
.
{\displaystyle f(a)<f(b).}
Consider a function
g
(
x
)
=
f
(
x
)
−
y
.
{\displaystyle g(x)=f(x)-y.}
The purpose of defining
g
(
x
)
{\displaystyle g(x)}
is to investigate the behavior of
f
(
x
)
{\displaystyle f(x)}
concerning the value
y
{\displaystyle y}
.
Since
f
{\displaystyle f}
is continuous on
[
a
,
b
]
{\displaystyle [a,b]}
and
y
{\displaystyle y}
is a constant,
g
(
x
)
=
f
(
x
)
−
y
{\displaystyle g(x)=f(x)-y}
is also continuous on
[
a
,
b
]
,
{\displaystyle [a,b],}
as the difference of two continuous functions is continuous.
Now,
f
(
a
)
<
y
{\displaystyle f(a)<y}
[As
c
∈
(
a
,
b
)
{\displaystyle c\in (a,b)}
and
y
=
f
(
c
)
{\displaystyle y=f(c)}
]
Or,
f
(
a
)
−
y
<
0
{\displaystyle f(a)-y<0}
∴
g
(
a
)
<
0
{\displaystyle \therefore g(a)<0}
In the same way,
g
(
b
)
>
0
{\displaystyle g(b)>0}
Since
g
(
x
)
{\displaystyle g(x)}
is continuous and
g
(
a
)
{\displaystyle g(a)}
is defined below the
x
{\displaystyle x}
-axis while
g
(
b
)
{\displaystyle g(b)}
is defined above the
x
{\displaystyle x}
-axis, there must exist at least one point
c
{\displaystyle c}
in the interval
[
a
,
b
]
{\displaystyle [a,b]}
where
g
(
c
)
=
0
{\displaystyle g(c)=0}
.
Therefore, at the point
c
{\displaystyle c}
,
g
(
c
)
=
f
(
c
)
−
y
=
0
⟹
f
(
c
)
=
y
{\displaystyle g(c)=f(c)-y=0\implies f(c)=y}
∴ There exists at least one point
c
{\displaystyle c}
in the interval
[
a
,
b
]
{\displaystyle [a,b]}
such that
f
(
c
)
=
y
.
{\displaystyle f(c)=y.}
[Proved]