Kolika28 said:
Homework Statement: With the definition of continuity and the formal definition of the limit value prove that: Let f:R→R be a function f that is continuous in x=0 and has the property that if x≠0 then f(x)≥0. Then f(0)≥0.
Homework Equations: The formal definiton of the limit value
Definition of continuity
I have been struggling with this problem and also my friends. We are not the best at epsilon-delta proof and we have not found an understandable solution to this problem.
In general, for a proof like this you have to decide how to approach it. There are two obvious strategies:
A) A direct proof. You have:
##f## is continuous at ##x = 0## and ##f(x) \ge 0## for ##x \ne 0##
You can use these two premises to show directly that ##f(0) \ge 0##
B) Proof by contradiction. In this case, you assume:
##f## is continuous at ##x = 0##, ##f(x) \ge 0## for ##x \ne 0## and ##f(0) < 0##
From these three premises you achieve a contradiction, which means that if the first two hold, the third must be false. (As a side note, in this case you will also have proved that if any two hold, then the third must be false. E.g. if ##f(x) \ge 0## for ##x \ne 0## and ##f(0) < 0##, then ##f## is not continuous at ##x =0##. But, let's not get side-tracked.)
That's your first decision.
Next, if you are stuck, then you could try to find a counter-example. It's a very good idea to try to do this. You might learn a lot about why something is true if you try to find a function that shows it is false. In this case, what happens if you try to find a function with ##f(0) < 0##? Why can't you find such a function?
Finally, if something is ##< 0##, then it must have some definite negative value. It's often a good idea to introduce a term to denote this. So, for example, you could say:
If ##f(0) < 0##, then let ##f(0) = -c##, where ##c > 0##.
That gives you something to work with. Of course, it's possible just to work with ##f(0)## as a negative number, and ##-f(0)## as a positive number. But, introducing a simple number like ##c## can sometimes clarify what you are doing.