- #1
lus1450
- 40
- 1
Homework Statement
Discuss the continuity and differentiability of
[tex]
f(x) =
\begin{cases}
x^2 & \text{if } x\in \mathbb{Q} \\
x^4 & \text{if } x\in \mathbb{R}\setminus \mathbb{Q}
\end{cases}
[/tex]
Homework Equations
The Attempt at a Solution
From the graph of ##f##, I can see that it will be differentiable at ##x=0##, and I think just continuous at ##x= \pm 1##. That is, discontinuous everywhere else. What would be the strategy in showing that points not equal to ##0\text{, } \pm 1## are discontinuous? I know I would take a sequence of rationals and a sequence of irrationals, but would I say consider ##x_n \in \mathbb{Q}## and ##y_n \in \mathbb{R} \setminus \mathbb{Q}## such that as ##n \rightarrow \infty##, ##x_n \rightarrow x## and ##y_n \rightarrow x##? I'm only guessing considering the function, since we'll have ##x^2 \ne x^4## for ##x \not\in \{0, \pm1\}##