Is the Function f(x) Differentiable at x=0 and x=1?

destinc
Messages
17
Reaction score
0
f(x)= x=1/x-1 if x ≤ 0
x^2-2x +1 if 0 < x < 1
ln x if x ≥ 1

Here's what I have so far
lim f(x)= lim x+1/x-1= -1, LHL= -1
x →0- x→0-
lim f(x)= lim x^2-2x+1= (1/2)^2 - [(2)1/2] +1= 1/4, RHL= 1/4
x→0+ x→0+
RHL ≠ LHL ∴ f(x) is not differentiable @ 0

Now I know I need to test x=1 for differentiability, but I am stuck on how to do that
I can take f ' (x)= 1/x which is continuous for all except 0, but not sure how to test limits
since there is no LHL with x ≥ 1
 
Physics news on Phys.org
destinc said:
f(x)= x=1/x-1 if x ≤ 0
x^2-2x +1 if 0 < x < 1
ln x if x ≥ 1

Here's what I have so far
lim f(x)= lim x+1/x-1= -1, LHL= -1
x →0- x→0-
lim f(x)= lim x^2-2x+1= (1/2)^2 - [(2)1/2] +1= 1/4, RHL= 1/4
x→0+ x→0+
RHL ≠ LHL ∴ f(x) is not differentiable @ 0

Now I know I need to test x=1 for differentiability, but I am stuck on how to do that
I can take f ' (x)= 1/x which is continuous for all except 0, but not sure how to test limits
since there is no LHL with x ≥ 1
Use of parentheses is needed for your expressions to say what I think you mean for them to say.

I think you mean:

f(x) =
(x+1)/(x-1) , if x ≤ 0
x2-2x +1 , if 0 < x < 1
ln x , if x ≥ 1​

Your limit for x→0+ is not correct. It's not 1/4.
\lim_{x\to 0^+}(x^2-2x +1) = 1

What is \displaystyle \lim_{\,x\to 1^-}(x^2-2x +1)\ \ ?

What is \displaystyle \lim_{\,x\to 1^+}\ln(x)\ \ ?
 
Thanks, you are correct about the setup of f(x).
I still get 1/4 when I plug 1/2 into x^2 - 2x + 1
1/2^2= 1/4, 2(1/2)=1
1/4 -1 + 1= 1/4
The limits set up for 1 helps, for some reason I thought I couldn't use the polynomial, but I finally found it in my notes.
Thank you
 
nvrmind previous post about RHL, I see my mistake.
So,
for the second part, I get
lim (x^2 - 2x +1)= 0
x→1-

lim lnx= 0
x→1+
Which means f(x0 is differentiable at 1 and final answer is
f(x) is differentiable for all real numbers x≠0
Correct?
 
Yes, That is correct !
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...

Similar threads

Replies
6
Views
1K
Replies
7
Views
1K
Replies
6
Views
1K
Replies
2
Views
1K
Replies
11
Views
1K
Replies
15
Views
1K
Replies
5
Views
2K
Replies
8
Views
1K
Replies
96
Views
4K
Back
Top