Why is a function not differentiable at a point?

In summary: I'm having trouble finding a definition where sqrt(0) is defined in the reals, as I thought most definitions had sqrt(x) = y meaning y \geq 0 and y^2 = x, but I'm sure there's a way around that. I'm going to assume you can define sqrt(0) = 0 and sqrt(1/x) is obviously continuous on (0,\infty).But yes, the definition of continuity of a function f at a point a meansf(x) is defined for all x sufficiently close to a (i.e. in your neighbourhood) andthe limit of f(x) as x tends to a is equal to f(a).In summary, some functions are not
  • #1
DeadWolfe
457
1
I'm only in high school, and I was wondering: Why are some functions not differentiable at certain points?
 
Physics news on Phys.org
  • #2
"Why" is a funny question. They just are. For example x.sin(1/x) does not have a derivative at x=0, even though it is continuous. There are more ccomplicated examples, like continuous functions with derivatives nowhere.
 
  • #3
Originally posted by mathman
"Why" is a funny question. They just are. For example x.sin(1/x) does not have a derivative at x=0, even though it is continuous. There are more ccomplicated examples, like continuous functions with derivatives nowhere.

I guess I can understand how a derivitave f'(x) could have undefined values like any other function... But the thing is, the derivitave, is (as I was thought in my math 31 class) the slope of a tangent line.

My question: How can there be no tangent line? Or, how can it have no slope?

In the example you gave, the original function was undefined, so that doesn't help me that much.
 
  • #4
Consider the function y = |x|.

For x < 0, the slope is -1. For x > 0, the slope is 1. So what's the slope at 0?

Well, a slope of -1 would be tangent. But 1 would also be tangent. And so would 0! Right along with 1/2, -1/2, 1/4, .3225509809234, -.6548941623189435, etc. So which is it?

cookiemonster
 
  • #5
That helps. Thanks.
 
  • #6
What are continuous functions and how is y = |x| one?
 
  • #7
A continuous function is one whose graph you can draw without having to lift your pencil.

More precisely, it is a function with domain D such that

[tex]\lim_{x \to x_0} f(x) = f(x_0)\qquad \forall x \in D[/tex]

cookiemonster
 
  • #8
Originally posted by mathman
"Why" is a funny question. They just are. For example x.sin(1/x) does not have a derivative at x=0, even though it is continuous. There are more ccomplicated examples, like continuous functions with derivatives nowhere.
So how can [tex]f(x) = x\sin (x^{-1})[/tex] be a continuous function? I must lift my pencil because it is not defined at [tex]x = 0[/tex], is it?
 
  • #9
Actually, it is. It goes to 0 as x = 0.

The sin term is bounded by -1 and 1, but the x term goes to 0. 0 times -1 or 1 or anything inbetween is still 0.

cookiemonster
 
  • #10
It is continuous with the defintion of it as 0 at 0.

any if x_i is any sequence tending to zero then x_i*sin(1/x_i) tends to zero too (sandwich principle).

but taking pen off paper is not the definition of discontiuous:

(x^2 -2)^-1 is continuous when the domain is the rational numbers.
 
  • #11
Ok, thanks. For some reason in school when I asked about this the teacher said that continuous functions are functions whose derivative is defined for every x.
 
  • #12
Why should we have to impose the value of 0 at x = 0 on xsin(1/x) in order to make it continuous? The limit still exists, and that's what determines the continuity, right?

cookiemonster
 
  • #13
The function as given is not defined at 0. I can define it to be anything I care about. You can either state the function is continuous which implies the value must be zero there, or you can define the value is zero and then conclude it is continuous. Personal preference as to which comes first in your opinion.
 
  • #14
I'm not following you here.

"The function as given is not defined at 0. I can define it to be anything I care about."

and

"You can either state the function is continuous which implies the value must be zero there, or you can define the value is zero and then conclude it is continuous."

mean different things to me. The first sounds like I can define it to be whatever I want, like 5 for example, whereas the second seems to say it must be 0.

cookiemonster
 
  • #15
xsin(1/x) as given is not defined at zero. We can assign any value to it at the origin to make a complete function on the real line. The first time this came up it was stated that the function is continuous. That implicitly states that we chose the value zero there. Any other choice would lead to a discontinuous function. That's all.
 
  • #16
The way I see it, at x = 0 the function either has a value of zero, or it has an asymptote. But if that's the case then as x approaches zero the function needs to tend to infinity, right? But that can't be right, because as cookiem said the values of sine are limited to be between 1 and -1, so [tex]-x \leq f(x) \leq x[/tex] for every x, right? So if x is very small how can the function tend to infinity?
 
  • #17
Hm... I must be dense because I'm still not following you.

Is

[tex]f(x) = \left\{ \begin{array}{11} 1 & x \neq 2 \\ 5 & x = 2 \end{array} \right.[/tex]

continuous? Is it a fair analogy to our previous choice of function?

cookiemonster
 
  • #18
Two posts in 1.

the reason xsin(1/x) does not come with a value at zero is cos of the 1/x inside the sin.

the function you give cookiemonster is most definitely not a continuous function (assuming you're not doing something bizarre with the topology).
 
  • #19
Originally posted by matt grime
the reason xsin(1/x) does not come with a value at zero is cos of the 1/x inside the sin.
Doesn't there have to be an asymptote wherever a function is not defined? I may well be wrong here because I never really studied advanced math... :smile:
 
  • #20
I should read what I write more often. Geez, I'd already explained the whole thing to myself in one neat little equation.

Sorry for the trouble, matt.

cookiemonster
 
  • #21
Originally posted by Chen
Doesn't there have to be an asymptote wherever a function is not defined? I may well be wrong here because I never really studied advanced math... :smile:

All that is required is for there not to be a definition of the function at that point.

sin(1/x) is not trivially defined at zero unless we declare its value to be something specific; no assignment of a value makes it continuous at zero. The real valued function sqrt(x) is not defined for x negative, there are no sinuglarities in sight.
 
  • #22
Originally posted by cookiemonster
Why should we have to impose the value of 0 at x = 0 on xsin(1/x) in order to make it continuous? The limit still exists, and that's what determines the continuity, right?

cookiemonster

No, that's not"what determines continuity". To be continuous at a point, a, a function must have 3 properties:
1) lim(x->a)f(x) exists
2) f(a) exists
3) lim(x->a)f(x)= f(a).

For example, if I define f(x)= x for x not equal to 1 and f(1)= 5,
the limit, as x approaches 1, exists (it is equal to 1) and the function is defined at x=1 (and has value 5) but the function is not continuous at x=1 because the two values are not the same.

Similarly, if I define f(x)= (x2-4)/(x-2), it is easy to see that the limit, as x approaches 2, exists and is equal to 4. This f is not continuous at 2 because f(2) does not exists (0/0 is undetermined).

Both of these are example of a "removable discontinuity" because we can make a continuous function by redefining f at a single point. (In the first example, define f(1)= 1, in which case the function is exactly f(x)= x. In the second, define f(2)= 4 so the function is exactly f(x)= x+ 2.
 
  • #23
Yeah, I kinda realized that when I read my own definition. Thanks for the effort, though.

You have to admit, it's pretty impressive that somebody can throw out the definition of something and then change it in their own mind for no apparent reason not five minutes later.

cookiemonster
 
  • #24
Originally posted by cookiemonster
Yeah, I kinda realized that when I read my own definition. Thanks for the effort, though.

You have to admit, it's pretty impressive that somebody can throw out the definition of something and then change it in their own mind for no apparent reason not five minutes later.

cookiemonster

Actually, "impressive" is not the word that springs to my mind.
 
  • #25
Unusual? Strange? Annoying? Peculiar? Interesting? Or do I not want to know?

cookiemonster
 
  • #26
"the function you give cookiemonster is most definitely not a continuous function (assuming you're not doing something bizarre with the topology)."

I know I'm going to be so confused at the answer for this, but in any case, what is topology and how could that be used to make that equation continuous?
 
  • #27
There is an alternative definition (the 'proper one') that states: a function between topological spaces is continuous iff the inverse image of the open set is open.

As a map between R and R with the usual topology that map given is not continuous. If we were considering it as a map from R with the discrete topology to the two point set with the discrete topology (or R with the discrete topology) then it is continuous. This was just an observation so that no one can pull out the 'ha you've not considered this...' argument, and is just a cya, cos mathematicians are like that., just as we like to consider every possibility, just in case.
 
  • #28
Originally posted by matt grime
There is an alternative definition (the 'proper one') that states: a function between topological spaces is continuous iff the inverse image of the open set is open.

As a map between R and R with the usual topology that map given is not continuous. If we were considering it as a map from R with the discrete topology to the two point set with the discrete topology (or R with the discrete topology) then it is continuous. This was just an observation so that no one can pull out the 'ha you've not considered this...' argument, and is just a cya, cos mathematicians are like that., just as we like to consider every possibility, just in case.

increadibly enough I understood some of that, it sounds very interesting, what kind of math does topology fall into? Did I just completely forgat about all of topology or do you lear that after calc.?
 
  • #29
Originally posted by exekil
increadibly enough I understood some of that, it sounds very interesting, what kind of math does topology fall into? Did I just completely forgat about all of topology or do you lear that after calc.?

i usually consider topology an equal sibling to the other basic kinds of pure math. it's just that topology is only about 80 to 100 years old, whereas algebra is, what, 700? 1000? years old, geometry is 2000 or 3000 years old. even analysis is at least 400 years old.

so other branches of math are classical, and people learn them in school. topology is newer, so i don't think it has had enough time to filter down into lower grades. it will though, at least, i believe so.

and in higher education, topology is ubiquitous in math and physics.
 
  • #30
I've always thought of topology as being geometry in its most general aspect: The two really main "umbrellas" in mathematics are algebra and geometry or, in other words, "discrete" and "continuous".
Analysis uses both.
 

1. Why can a function not be differentiable at a point?

A function may not be differentiable at a point if it has a sharp corner or a discontinuity at that point. This means that the function does not have a well-defined slope at that point, making it impossible to calculate the derivative.

2. What does it mean for a function to be differentiable at a point?

A function is differentiable at a point if it has a well-defined slope at that point, meaning that the derivative of the function exists at that point. This allows us to calculate the rate of change of the function at that point.

3. Can a function be differentiable at some points but not others?

Yes, a function can be differentiable at some points but not others. This is because the function may have a well-defined slope at some points, but not at others where there are sharp corners or discontinuities.

4. How can I determine if a function is differentiable at a point?

To determine if a function is differentiable at a point, you can check if the function is continuous at that point and if the left and right-hand derivatives are equal. If these conditions are met, then the function is differentiable at that point.

5. What are the consequences of a function not being differentiable at a point?

If a function is not differentiable at a point, it means that the derivative of the function does not exist at that point. This can make it difficult to analyze the behavior of the function and can also affect its rate of change and curvature at that point.

Similar threads

Replies
1
Views
3K
  • Calculus
Replies
4
Views
907
Replies
46
Views
4K
  • Calculus
Replies
8
Views
2K
  • Calculus
Replies
1
Views
957
Replies
9
Views
1K
Replies
2
Views
1K
Replies
46
Views
1K
  • Calculus
2
Replies
36
Views
3K
Replies
20
Views
2K
Back
Top