Proving Differentiability of a Piece-wise Function

In summary, the conversation discusses the differentiability of the function f(x) at x=0, where f(x) is defined as 0 for irrational numbers and x for rational numbers. The participants use the definition of derivative and the concept of rational and irrational numbers to determine the left and right-hand limits of f(x) at x=0, ultimately concluding that f'(0) does not exist. They also discuss the use of piece-wise functions and the infinite number of rational and irrational numbers approaching zero in this context.
  • #1
UziStuNNa
9
0
1. Suppose f(x)=0 if x is irrational, and f(x)=x if x is rational. Is f differentiable at x=0?



2. the derivative= lim[h->0] [f(a+h)-f(a)]/h



3. I don't really know how to start, but I do know that between any two real numbers, there exists a rational and irrational number. So I'm guessing that has something to do with solving for the answer. f'(0)= lim[h->0] f(h)/h
 
Physics news on Phys.org
  • #2
Ok, so there are rational numbers as close as you want to 0. And irrational numbers. Pick h to be rational. What's f(h)/h? Same question for irrational.
 
  • #3
For rational,
f'(0)= lim[h->0] f(h)/h= h/h=1

For irrational,
f'(0)= lim[h->0] f(h)/h= 0/h=0

Therefore, the two limits do not equal each other, meaning that f'(0) does not exist?
Was it that easy?
 
  • #4
UziStuNNa said:
For rational,
f'(0)= lim[h->0] f(h)/h= h/h=1

For irrational,
f'(0)= lim[h->0] f(h)/h= 0/h=0

Therefore, the two limits do not equal each other, meaning that f'(0) does not exist?
Was it that easy?

Yes. If you are clear why you can pick h values arbitrarily close to zero that are both rational and irrational. And I think you are.
 
  • #5
So its like doing the left-hand and right-hand limits, except we are using the piece-wise function to our advantage knowing that x can be rational and irrational, and since there are an infinite number of rational and irrational numbers approaching zero, those are our 'left' and 'right'.

Thanks a lot.
 
  • #6
UziStuNNa said:
So its like doing the left-hand and right-hand limits, except we are using the piece-wise function to our advantage knowing that x can be rational and irrational, and since there are an infinite number of rational and irrational numbers approaching zero, those are our 'left' and 'right'.

Thanks a lot.

Exactly. Very welcome.
 

1. What is a piece-wise function?

A piece-wise function is a mathematical function that is defined by different equations over different intervals or "pieces" of its domain. These pieces are usually determined by specific conditions or constraints that the function must satisfy.

2. How do you prove differentiability of a piece-wise function?

To prove differentiability of a piece-wise function, you must show that the function is continuous and has a well-defined derivative at each point in its domain. This can be done by checking the differentiability of each piece of the function and then ensuring that the derivatives match at the boundaries of each piece.

3. What is the difference between continuity and differentiability?

Continuity refers to the smoothness of a function, where there are no breaks or gaps in the graph. Differentiability, on the other hand, refers to the existence of a well-defined derivative at each point in the function's domain. A function can be continuous but not differentiable, but if a function is differentiable, it must also be continuous.

4. Can a piece-wise function be differentiable at a point but not on its entire domain?

Yes, a piece-wise function can be differentiable at a specific point, but not on its entire domain. This can happen if one or more of the pieces of the function is not differentiable or if the derivatives of the pieces do not match at the boundaries.

5. Are there any specific techniques for proving differentiability of a piece-wise function?

There are several techniques that can be used to prove differentiability of a piece-wise function, including the use of limits and the Mean Value Theorem. It is also important to carefully check the differentiability of each piece and the continuity of the function as a whole.

Similar threads

  • Calculus and Beyond Homework Help
Replies
26
Views
894
  • Calculus and Beyond Homework Help
Replies
8
Views
467
  • Calculus and Beyond Homework Help
Replies
1
Views
277
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
306
  • Calculus and Beyond Homework Help
Replies
7
Views
279
  • Calculus and Beyond Homework Help
Replies
14
Views
1K
  • Calculus and Beyond Homework Help
Replies
11
Views
2K
  • Calculus and Beyond Homework Help
Replies
10
Views
2K
  • Calculus and Beyond Homework Help
Replies
18
Views
1K
Back
Top