Proof of "If f(x) is Continuous, then |f(x)| is Continuous

  • Level: Undergrad 
  • Thread starter Thread starter macca1994
  • Start date Start date
  • Tags Tags
    Continuity
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
13 replies · 4K views
macca1994
Messages
19
Reaction score
0
I have seen this theorem in a few books, but none of them give proofs, it says

if f(x) is a continuous function then lf(x)l is a continuous function. What is the proof of this because i don't really understand why this holds, thanks
 
Physics news on Phys.org
The function [itex]|~|:\mathbb{R}\rightarrow \mathbb{R}[/itex] is continuous. Composition of continuous functions is continuous.
 
It makes sense though.

Consider y=-1/x : its continuous in the domain of x in (0,infinity) right?

and its counterpart z=|-1/x| = 1/x is continuous in the same domain for x
 
Ahh, yeah i get that, but can you not prove it without using composition of two functions?
 
It is very easy to prove using the [itex]\epsilon-\delta[/itex] definition. Are you familiar with [itex]\epsilon[/itex]and [itex]\delta[/itex] definitions?
 
yeah, that's about the limit of my analysis knowledge, how would you use the ε,δ definition?
 
macca1994 said:
yeah, that's about the limit of my analysis knowledge, how would you use the ε,δ definition?

Take an [itex]a\in \mathbb{R}[/itex]. You will need to prove

[tex]\forall \varepsilon >0: \exists \delta >0: \forall x: |x-a|<\delta~\Rightarrow ||f(x)|-|f(a)||<\varepsilon[/tex]

You are given that f is continuous in a, thus:

[tex]\forall \varepsilon >0: \exists \delta >0: \forall x: |x-a|<\delta~\Rightarrow |f(x)-f(a)|<\varepsilon[/tex]

So, take [itex]\varepsilon>0[/itex] arbitrary. Take [itex]\delta>0[/itex] as in the previous definition: so it holds that

[tex]\forall x: |x-a|<\delta~\Rightarrow |f(x)-f(a)|<\varepsilon[/tex]

Take an x arbitrary such that [itex]|x-a|<\delta[/itex]. Then we know that

[tex]||f(x)|-|f(a)||\leq |f(x)-f(a)|<\varepsilon[/tex]

So we have verified that [itex]||f(x)|-|f(a)||<\varepsilon[/itex] and thus we have verified that [itex]\varepsilon-\delta[/itex] definition of continuity. Thus [itex]|f|[/itex] is continuous.
 
ah that makes sense and is very obvious, do you need to show that limit of lf(x)l is in fact lf(a)l or is that just obvious?
 
macca1994 said:
ah that makes sense and is very obvious, do you need to show that limit of lf(x)l is in fact lf(a)l or is that just obvious?

I've just proven that here. It's because |f| is continuous in a.
 
Are you trying to prove this for a class or so that you understand it? Judging from your posts, I don't think that you understand the epsilon-delta statements.

Many calculus teachers give the intuitive rule "if you can completely draw the graph of f on an interval without lifting your pencil, then f is continuous on that interval." This is true, and it will work if you are given an f for which the antecedent is true. (In your case, you're not given a particular f, so this rule would not lead to a proof, even on an informal level.)

However, mathematicians do not care about continuous functions because they appear to be connected; they study continuous functions because continuous functions enjoy the property that small changes in input do not significantly affect their outputs. That is, if we want our function outputs to be within some margin of error ε about the function value f(y), we can always bound an interval of radius δ about y so that if we choose any input in the interval (y-δ,y+δ), we are guaranteed to have an output within the interval (f(y)-ε,f(y)+ε). Any function that enjoys this property is continuous at y.

Sorry if I'm telling you something you already know, but I have had far too many students who still equate continuity with connectivity because teachers of the calculus never tell the students the true importance of continuous functions. I thought I'd better intervene before you settled on what continuity means in your mind.