Skip to main content

Real Analysis II · Differentiation

A dense-set function differentiable only at the origin

Problem

Define $g(x)=x^4$ when $x$ is rational and $g(x)=0$ when $x$ is irrational. Prove that $g$ is continuous only at $0$, is differentiable at $0$, and satisfies $g'(0)=0$.

Hint

For every $x$, $|g(x)|\le|x|^4$.

Check your work

Work the problem yourself first. Then open it in Training to check your answer and read the full worked solution.

Create a free account to check your answer and see the solution. Create a free account.

More Real Analysis II practice problems

Back to Real Analysis II

An original ProofAnvil practice problem, written for this course. ProofAnvil is a practice course, not a homework-answer service.