Let f,g:[0,1]→R be continuous functions with g(x)⩾0 for x∈[0,1]. Show that
∫01f(x)g(x)dx⩽M∫01g(x)dx
where M=sup{∣f(x)∣:x∈[0,1]}.
Prove there exists α∈[0,1] such that
∫01f(x)g(x)dx=f(α)∫01g(x)dx
[Standard results about continuous functions and their integrals may be used without proof, if clearly stated.]