# Prove that f is continuous

## Homework Statement

Suppose that f is an odd function satisfying $\mathop {\lim }\limits_{x \to {0^ + }} f(x) = f(0)$. Prove that f(0)=0 and f is continuous at x=0.

## The Attempt at a Solution

Since f is an odd function $$f(0) = - f(0) \Rightarrow f(0) = 0$$
Let t=-x, then when $x \to {0^ + },t \to {0^ - }$
$\mathop {\lim }\limits_{x \to {0^ + }} f(x) = \mathop {\lim }\limits_{t \to {0^ - }} f( - t) = - \mathop {\lim }\limits_{t \to {0^ - }} f(t) = - \mathop {\lim }\limits_{x \to {0^ - }} f(x) = f(0) = 0$
Therefore $\mathop {\lim }\limits_{x \to {0^ + }} f(x) = \mathop {\lim }\limits_{x \to {0^ - }} f(x) = f(0)$, which implies that f(x) is continuous at 0.

Is my working correct?