Find f'(0), if it exists and is f continuous at x=0

  • Thread starter Thread starter MarcL
  • Start date Start date
  • Tags Tags
    Continuous
Click For Summary

Homework Help Overview

The problem involves determining the derivative of a piecewise function at a specific point, as well as assessing its continuity at that point. The function is defined as f(x) = x + 1 for x < 0, f(x) = 1 for x = 0, and f(x) = x² - 2x + 1 for x > 0.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants discuss the calculation of the left-hand and right-hand limits to find the derivative at x = 0, with some expressing uncertainty about their evaluations. There are attempts to clarify the continuity of the function at that point by comparing limits from both sides.

Discussion Status

Some participants have provided feedback on the evaluations of limits and continuity, while others have raised questions about the relevance of certain mathematical concepts, such as the intermediate value theorem, in this context. There is an ongoing exploration of the implications of the limits and the conditions for continuity.

Contextual Notes

There are indications of potential errors in limit evaluations and a need for clarity regarding the definitions of continuity and differentiability. Participants are encouraged to provide additional information if necessary.

MarcL
Messages
170
Reaction score
2
*couldn't edit the title so Find*

Homework Statement



f(x) = x+1 , x<0
f(x) = 1 , x=0
f(x)= x2-2x+1 , x>0




The Attempt at a Solution



for a (find f'(0), if it exists) i did as followed

Lim h->0- (x+h)+1-(x) /h giving me in the end 1

as for the third equation, I did as follow:
Lim h->0+ (x+h)2-2(x+h)+1 - (x2-2x+1) /h

in the end giving me 0
So I answered that f'(0) doesn't exsit

for b) is f continuous at x=0
i just solved the limit of x +1 which gave me 1 and the limit of x2-2x+1 which gave me 1. Hence I answered that f is continuous at x=0

If I need to add more information, let me know =)
 
Physics news on Phys.org


MarcL said:
*couldn't edit the title so Find*

Homework Statement



f(x) = x+1 , x<0
f(x) = 1 , x=0
f(x)= x2-2x+1 , x>0




The Attempt at a Solution



for a (find f'(0), if it exists) i did as followed

Lim h->0- ((x+h)+1-(x)) /h giving me in the end 1

as for the third equation, I did as follow:
Lim h->0+ ((x+h)2-2(x+h)+1 - (x2-2x+1)) /h

in the end giving me 0
So I answered that f'(0) doesn't exsit

for b) is f continuous at x=0
i just solved the limit of x +1 which gave me 1 and the limit of x2-2x+1 which gave me 1. Hence I answered that f is continuous at x=0

If I need to add more information, let me know =)
That all looks good. --- except I inserted some parentheses, where needed.
 


By the way, for general functions the fact that [itex]\lim_{x\to a^-}f(x)\ne \lim_{x\to a^+}f(x)[/itex] does not prove that f(a) does not exist- only that f is not continuous at x= a. However, the derivative of a function, while not necessarily continuous, does have the "intermediate value property". That is, if f'(a)= A and f'(b)= B then, for any C between A and B, there exist c between a and b such that f(c)= C.

That implies that, whether f' is continuous or not, if f'(a) exists, we must have [itex]\lim_{x\to a^-}f(x)= \lim_{x\to a^+}f(x)[/itex] so your argument is valid.
 


I don't understand why you brought the "intermediate value" theory in this problem. Isn't used to find if f(x) as a root between a and b considering n isn't equal to a or b?
 
MarcL said:
*couldn't edit the title so Find*

Homework Statement



f(x) = x+1 , x<0
f(x) = 1 , x=0
f(x)= x2-2x+1 , x>0




The Attempt at a Solution



for a (find f'(0), if it exists) i did as followed

Lim h->0- (x+h)+1-(x) /h giving me in the end 1

as for the third equation, I did as follow:
Lim h->0+ (x+h)2-2(x+h)+1 - (x2-2x+1) /h

in the end giving me 0
So I answered that f'(0) doesn't exsit
You evaluated the second limit wrong somehow. It should equal -2, not 0.
for b) is f continuous at x=0
i just solved the limit of x+1 which gave me 1 and the limit of x2-2x+1 which gave me 1. Hence I answered that f is continuous at x=0

If I need to add more information, let me know =)
You need to show
[tex]\lim_{x \to 0} f(x) = f(0)[/tex]What you've written shows that
[tex]\lim_{x \to 0^-} f(x) = \lim_{x \to 0^+} f(x)[/tex]which means
[tex]\lim_{x \to 0} f(x)[/tex]exists. You should probably state explicitly that the limit equals f(0) so the grader knows you understand what continuity means.
 
vela said:
You evaluated the second limit wrong somehow. It should equal -2, not 0.
...
How did I miss that ? DUH !
 
Lim h->0+ ((x+h)2-2(x+h)+1 - (x2-2x+1)) /
is then x2+2xh+h2 -2x+2h+ 1 - x2+2x-1
which can then be simplified to 2xh+h^2+2h
so Lim h->0+ (2xh+h2+2h)/h
And here its just basic simplifying however.... I think its where I usually mess up (small mistakes...) and I did Lim h-->0+ 2xh + h + 2h giving in the end 2x(0) + (0) + 2 (0)
 
MarcL said:
Lim h->0+ ((x+h)2-2(x+h)+1 - (x2-2x+1)) /
is then x2+2xh+h2 -2x-2h+ 1 - x2+2x-1
You flipped a sign.
which can then be simplified to 2xh+h^2+2h
so Lim h->0+ (2xh+h2+2h)/h
And here its just basic simplifying however.... I think its where I usually mess up (small mistakes...) and I did Lim h-->0+ 2xh + h + 2h giving in the end 2x(0) + (0) + 2 (0)
 


MarcL said:
I don't understand why you brought the "intermediate value" theory in this problem. Isn't used to find if f(x) as a root between a and b considering n isn't equal to a or b?
Mathematical theorems can be used for more than one purpose! Ignoring the reference to the "intermediate value theorem" do you understand my point that finding [itex]\lim_{x\to a^+}f(x)[/itex] and [itex]\lim_{x\to a^-} f(x)[/itex] and finding that they are the same does not necessarily tell you what f(a) is?
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
Replies
4
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
7
Views
2K
  • · Replies 20 ·
Replies
20
Views
3K
Replies
22
Views
2K
Replies
4
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K