How to prove differentiability?

  • Thread starter Thread starter Reid
  • Start date Start date
  • Tags Tags
    Differentiability
Click For Summary

Homework Help Overview

The discussion revolves around proving the differentiability of a piecewise function defined on an interval, specifically at the point x=0. The function is defined as f(x)=x^2 for rational x and f(x)=0 for irrational x. Participants are tasked with showing differentiability at this point and finding the derivative.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the continuity of the function at x=0 and the implications for differentiability. There is mention of using the definition of the derivative and exploring the limit of f(x)/x as x approaches 0. Some participants express uncertainty about how to apply the inequality |f(x)/x|<|x| in their reasoning.

Discussion Status

The discussion is active, with participants sharing their thoughts on the limit and the conditions for differentiability. Some guidance has been offered regarding the limit and the use of inequalities, but there is no explicit consensus on the next steps or final conclusions.

Contextual Notes

Participants are navigating the definitions and properties of piecewise functions, particularly focusing on the behavior of the function near x=0. There is an emphasis on the need for a rigorous approach to the limit and the conditions under which differentiability can be established.

Reid
Messages
33
Reaction score
0

Homework Statement


Given an interval I. The function f goes from I to the real line. Define f as f(x)=x^2 if x rational or 0 if x is irrational. show that f i differentiablle at x=0 and find its derivative at this point, i.e. x=0.


Homework Equations


I have a given lead on this. That |f(x)/x|<|x|. But I'm not sure how this should help me. I have started with the definition and I have tried to determine a certain epsilon for which this is true. But I don't know how.



The Attempt at a Solution


I have shown that the function is continuous at this point and therefore know that the derivative might exist. But when it comes to the actual differentiability I have that (according to the definition),
given a positive epsilon there exists a delta. For x satisfying the inequality
0<|x-c|<delta, the inequality |(f(x)-f(c))/(x-c)-L|<epsilon holds. L then is called f's derivative in the point c.

I'm not sure if this counts as an attempt. But this problem is really bugging me.

Hopes for an answer!
 
Physics news on Phys.org
the derivative is lim_{x \rightarrow 0} \frac{f(x)-f(0)}{x-0} = lim_{x \rightarrow 0} \frac{f(x)}{x} as f(0)=0 by definition. But notice f(x)=x2 or 0, so f(x)/x is either 0 or x. See what you can do with that
 
Reid said:

Homework Statement


Given an interval I. The function f goes from I to the real line. Define f as f(x)=x^2 if x rational or 0 if x is irrational. show that f i differentiablle at x=0 and find its derivative at this point, i.e. x=0.

Homework Equations


I have a given lead on this. That |f(x)/x|<|x|. But I'm not sure how this should help me. I have started with the definition and I have tried to determine a certain epsilon for which this is true. But I don't know how.

The Attempt at a Solution


I have shown that the function is continuous at this point and therefore know that the derivative might exist. But when it comes to the actual differentiability I have that (according to the definition),
given a positive epsilon there exists a delta. For x satisfying the inequality
0<|x-c|<delta, the inequality |(f(x)-f(c))/(x-c)-L|<epsilon holds. L then is called f's derivative in the point c.

I'm not sure if this counts as an attempt. But this problem is really bugging me.

Hopes for an answer!

Okay, so your function f is defined like as follow:

f(x) : = \left\{ \begin{array}{ll} x ^ 2 \quad &amp; , \mbox{if } x \in \mathbb{Q} \\ 0 \quad &amp; , \mbox{if } x \notin \mathbb{Q}\end{array} \right.

So that means, for all x:
0 \leq |f(x)| \leq x ^ 2

Divide all by |x| > 0, (since |x| > 0, the signs won't change) we have:

0 \leq \left| \frac{f(x)}{x} \right| \leq \left| \frac{x ^ 2}{x} \right|

\Rightarrow 0 \leq \left| \frac{f(x)}{x} \right| \leq | x | (1) (this is true for x <> 0)

Now, the derivative at x = 0, of the above function is:

f&#039;(0) = \lim_{x \rightarrow 0} \frac{f(x) - f(0)}{x - 0}

= \lim_{x \rightarrow 0} \frac{f(x) - 0}{x - 0} (0 is rational, so f(0) = 0)

= \lim_{x \rightarrow 0} \frac{f(x)}{x}

Now, using the inequality (1) above can you show that the limit exists? And what is that limit? Note that:

|a| \rightarrow 0 \Leftrightarrow a \rightarrow 0, i.e a tends to 0, if and only if |a| tends to 0.

So, can you go from here? :)
 
Last edited:
Yes, I know where to go from there.

You are amazing! Thank you! :)
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 8 ·
Replies
8
Views
1K
Replies
6
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 26 ·
Replies
26
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K