Determine when f is differentiable

  • Context: Undergrad 
  • Thread starter Thread starter SomeRandomGuy
  • Start date Start date
  • Tags Tags
    Differentiable
Click For Summary

Discussion Overview

The discussion centers on determining the differentiability of functions from a real analysis perspective, specifically addressing the function f(x) = x|x| and related examples. Participants explore concepts of continuity and differentiability without relying on graphical representations or calculus techniques.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant questions whether differentiability can be determined by identifying points of discontinuity.
  • Another suggests examining the function f(x) = |x| and its behavior near zero to understand differentiability.
  • Some participants discuss the limits of the derivative as Δx approaches zero from both directions for f(x) = |x|.
  • It is noted that f(x) = |x| is continuous at x = 0 but not differentiable there, contrasting with f(x) = x|x| which is differentiable for x ≠ 0.
  • One participant calculates right and left-hand derivatives for f(x) = x|x| and concludes it is not differentiable at x = 0 due to differing limits.
  • Another participant raises a question about the differentiability of f(x) = |x^2 - 1|, claiming it is differentiable at x = -1 but not at x = 1, prompting further discussion on the correctness of this conclusion.
  • Some participants express uncertainty about the results of their calculations and seek clarification on their findings regarding differentiability.

Areas of Agreement / Disagreement

Participants generally agree that differentiability is not guaranteed by continuity, as demonstrated by the example of f(x) = |x|. However, there is no consensus on the specific differentiability of f(x) = |x^2 - 1| at certain points, and some calculations remain contested.

Contextual Notes

Participants express uncertainty regarding the limits and behavior of functions at critical points, indicating potential gaps in understanding or assumptions about differentiability.

Who May Find This Useful

Students studying real analysis, particularly those grappling with concepts of continuity and differentiability in mathematical functions.

SomeRandomGuy
Messages
55
Reaction score
0
How do you determine when f is differentiably from a real analysis standpoint (no graphs and calculus)? Would I simply look for a point of discontinuity? We have 4 problems on our homework assignment involving this issue and I don't see one example in my notes or the book adressing it. Here is one of our problems incase your wondering:

Determine the values of x for which f(x) is differentiable and find it's derivative:
f(x) = x|x|

Thanks
 
Physics news on Phys.org
SomeRandomGuy said:
How do you determine when f is differentiably from a real analysis standpoint (no graphs and calculus)? Would I simply look for a point of discontinuity? We have 4 problems on our homework assignment involving this issue and I don't see one example in my notes or the book adressing it. Here is one of our problems incase your wondering:
Determine the values of x for which f(x) is differentiable and find it's derivative:
f(x) = x|x|
Thanks

Start by looking at f(x) = |x|, and using the definition of the derivative as x approaches 0.

Are the limits the same?
 
JasonRox said:
Start by looking at f(x) = |x|, and using the definition of the derivative as x approaches 0.
Are the limits the same?

I don't understand. Are which two limits the same? The definition of the derivative on |x| and x|x|?
 
SomeRandomGuy said:
I don't understand. Are which two limits the same? The definition of the derivative on |x| and x|x|?
You misunderstood JasonRox' post. I'll expand on it. First, forget about [itex]x{\lvert x\rvert}[/itex] for a moment. Just look at [itex]{\lvert x\rvert}[/itex]. When you are looking at that function, examine its behavior near zero. In particular, look at
[tex]\lim_{\Delta x\to 0}\frac{{\lvert x + \Delta x\rvert} - {\lvert x\rvert}}{\Delta x}[/tex]
at [itex]x=0[/itex].

By two limits, JasonRox meant the limit as [itex]\Delta x[/itex] approaches zero from below (i.e., make [itex]\Delta x[/itex] some small negative number that approaches zero) versus above (same thing, but now make [itex]\Delta x[/itex] positive).
 
Last edited:
D H said:
You misunderstood JasonRox' post. I'll expand on it. First, forget about [itex]x{\lvert x\rvert}[/itex] for a moment. Just look at [itex]{\lvert x\rvert}[/itex]. When you are looking at that function, examine its behavior near zero. In particular, look at
[tex]\lim_{\Delta x\to 0}\frac{{\lvert x + \Delta x\rvert} - {\lvert x\rvert}}{\Delta x}[/tex]
at [itex]x=0[/itex].
By two limits, JasonRox meant the limit as [itex]\Delta x[/itex] approaches zero from below (i.e., make [itex]\Delta x[/itex] some small negative number that approaches zero) versus above (same thing, but now make [itex]\Delta x[/itex] positive).

Thanks, for clearing it up.

Yeah, once you see the idea behind f(x) = |x|, you'll totally understand it for f(x) = x|x|.

Draw the graph as well, so you see what's happening.
 
of course if you remember |x|=x for x=>0 and -x otherwise then it is clear that the functions is differentialbe away from the origin.
 
SomeRandomGuy said:
How do you determine when f is differentiably from a real analysis standpoint (no graphs and calculus)? Would I simply look for a point of discontinuity? We have 4 problems on our homework assignment involving this issue and I don't see one example in my notes or the book adressing it. Here is one of our problems incase your wondering:
Determine the values of x for which f(x) is differentiable and find it's derivative:
f(x) = x|x|
Thanks
First of all, NO, it is NOT the case that "if a function is continuous at x= a, it is differentiable at x= a"! For example, f(x)= |x|. That is continuous at x= 0 but not differentiable at x= 0.

f(x)= x|x|= x2 if x> 0 which is obviously differentiable for x> 0.
f(x)= x|x|= -x2 if x< 0 which is obviously differentiable for x< 0.

Now what about
[tex]lim_{h\rightarrow 0^+}\frac{f(h)- f(0)}{h}[/tex]
and
[tex]lim_{h\rightarrow 0^-}\frac{f(h)- f(0)}{h}[/tex]
?
Take the limit
 
SomeRandomGuy said:
How do you determine when f is differentiably from a real analysis standpoint (no graphs and calculus)? Would I simply look for a point of discontinuity? We have 4 problems on our homework assignment involving this issue and I don't see one example in my notes or the book adressing it. Here is one of our problems incase your wondering:
Determine the values of x for which f(x) is differentiable and find it's derivative:
f(x) = x|x|
Thanks
First of all, NO, it is NOT the case that "if a function is continuous at x= a, it is differentiable at x= a"! For example, f(x)= |x|. That is continuous at x= 0 but not differentiable at x= 0.

f(x)= x|x|= x2 if x> 0 which is obviously differentiable for x> 0.
f(x)= x|x|= -x2 if x< 0 which is obviously differentiable for x< 0.

Now what about
[tex]lim_{h\rightarrow 0^+}\frac{f(h)- f(0)}{h}[/tex]
and
[tex]lim_{h\rightarrow 0^-}\frac{f(h)- f(0)}{h}[/tex]
?
Take the limit
 
HallsofIvy said:
First of all, NO, it is NOT the case that "if a function is continuous at x= a, it is differentiable at x= a"! For example, f(x)= |x|. That is continuous at x= 0 but not differentiable at x= 0.
f(x)= x|x|= x2 if x> 0 which is obviously differentiable for x> 0.
f(x)= x|x|= -x2 if x< 0 which is obviously differentiable for x< 0.
Now what about
[tex]lim_{h\rightarrow 0^+}\frac{f(h)- f(0)}{h}[/tex]
and
[tex]lim_{h\rightarrow 0^-}\frac{f(h)- f(0)}{h}[/tex]
?
Take the limit

Yeah, totally right.

It is true that if it is differentiable at x=a, then it is continuous at x=a.

The converse is not true, just like HallsofIvy showed.
 
  • #10
Ok, I did what you guys said and took the right and left hand derivatives for this function.
I got the right hand derivative to be infiinity, while the left is -infinity. So, it's not differentiable at x = 0. I understand this, and I used this technique on the 4 other problems. I have one question, however.

For the function f(x)=|x^2-1|, I found it to be differentiable at x = -1, but not at x = 1. Intuitively, this is wrong, but I can't find my mistake. The right and left hand derivatives I got to equal 0. Is this correct?
 
  • #11
SomeRandomGuy said:
Ok, I did what you guys said and took the right and left hand derivatives for this function.
I got the right hand derivative to be infiinity, while the left is -infinity
that seems remarkably unlikely

So, it's not differentiable at x = 0. I understand this, and I used this technique on the 4 other problems. I have one question, however.
For the function f(x)=|x^2-1|, I found it to be differentiable at x = -1, but not at x = 1. Intuitively, this is wrong, but I can't find my mistake. The right and left hand derivatives I got to equal 0. Is this correct?

obviosuly not: just look at the graphswhen x<-1, and x>1, the function is identically x^2-1,so the derivative is 2x then

when -1<x<1 the function is 1-x^2 so its derivative is -2x

what are the limits of these as x tends to plus and minus 1?
 
  • #12
Thanks for the help guys, I made some pretty dumb mistakes in a few of my posts that I caught tonight after looking things over. I think I have the answers now. when f(x) = |x^2-1|, it's not differentiable at x = 1, -1. when f(x) = x|x|, it's differentiable at 0. Is this right? If needed, ill post work so you guys just don't think your giving me an answer.
 
  • #13
SomeRandomGuy said:
Thanks for the help guys, I made some pretty dumb mistakes in a few of my posts that I caught tonight after looking things over. I think I have the answers now. when f(x) = |x^2-1|, it's not differentiable at x = 1, -1. when f(x) = x|x|, it's differentiable at 0. Is this right? If needed, ill post work so you guys just don't think your giving me an answer.

Just plot that the graph.

That's the easiest way to know.
 

Similar threads

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