Prove that if f(x) is continuous on [a,b] and f(a)<0<f(b) or f(b)<0<f(a), then there exists a number K between a and b such that f(K)=0.

Problem: 

Prove that if f(x) is continuous on [a,b] and f(a)<0<f(b) or f(b)<0<f(a), then there exists a number K between a and b such that f(K)=0.

Answer: 

It is true that if f(x) is continuous on [a,b] and f(a)<0<f(b) or f(b)<0<f(a), then there exists a number K between a and b such that f(K)=0.