This exercise is intended to show that a result like Theorem 7.1 does not hold for functions $g: \Pi X_i \rightarrow Y$ when the domain is a product space instead of the range.
Definition: Let $X_1$ and $X_2$ be spaces and $g: X_1 \times X_2 \rightarrow Z$ a function from $X_1 \times X_2$ to a space $Z$. Then $g$ is continuous in the first variable provided that for each $y$ in $X_2$, the function $g(\cdot, y): X_1 \rightarrow Z$, whose value at $x$ is $g(x, y)$, is continuous. Continuity in the second variable is defined in the analogous way.
Show that the function $f: \mathbb{R} \times \mathrm{R} \rightarrow \mathrm{R}$ defined by
$$
f(x, y)= \begin{cases}x y /\left(x^2+y^2\right) \cdot & \text { if }(x, y) \neq(0,0) \\ 0 & \text { if }(x, y)=(0,0)\end{cases}
$$
is continuous in the first variable and continuous in the second variable but not continuous at $(0,0)$.