Suppose that

Is f continuous at 0 and is f differentiable at 0?

Claim: f is continuous at 0.

Given , pick , then whenever

Now,

Q.E.D.

Claim: f is differentiable.

Proof.

Now, if , then

If is irrational, then

So f is diff.

Q.E.D.

Is this right? Thanks.