[guided]We must check the directional derivative in an arbitrary direction, so fix a vector $v=(a,b) \in \mathbb{R}^2$, where $a,b \in \mathbb{R}$. By definition, the directional derivative at the origin is the limit of the one-variable quotient
\begin{align*}
\frac{f((0,0)+t(a,b))-f(0,0)}{t} = \frac{f(ta,tb)}{t}
\end{align*}
as $t \to 0$ through nonzero [real numbers](/page/Real%20Numbers).
The calculation splits according to whether the line has nonzero $y$-component. First suppose $b \neq 0$. Then $(ta,tb) \neq (0,0)$ for every $t \neq 0$, so the rational formula for $f$ applies:
\begin{align*}
\frac{f(ta,tb)}{t} = \frac{1}{t}\frac{(ta)^2(tb)}{(ta)^4+(tb)^2}.
\end{align*}
Now we simplify carefully. The numerator inside $f$ is $t^3 a^2 b$, while the denominator inside $f$ is $t^4 a^4+t^2 b^2$. Dividing by the outside factor $t$ gives
\begin{align*}
\frac{f(ta,tb)}{t} = \frac{a^2 b}{t^2 a^4+b^2}.
\end{align*}
Because $b \neq 0$, the denominator tends to $b^2$, not to $0$. Therefore the quotient has the finite limit
\begin{align*}
\lim_{t \to 0}\frac{f(ta,tb)}{t} = \frac{a^2 b}{b^2} = \frac{a^2}{b}.
\end{align*}
Next suppose $b=0$. Then the direction is horizontal: $v=(a,0)$. For every $t \neq 0$, the point on the line is $(ta,0)$. If $ta \neq 0$, the defining formula gives
\begin{align*}
f(ta,0) = \frac{(ta)^2 \cdot 0}{(ta)^4+0^2} = 0.
\end{align*}
If $ta=0$, then the point is exactly $(0,0)$, and $f(0,0)=0$ by definition. Thus in every case
\begin{align*}
\frac{f(ta,0)}{t} = 0
\end{align*}
for all $t \neq 0$. Hence the limit exists and equals $0$. This includes the zero vector $v=(0,0)$, for which the quotient is also identically $0$. Since the vector $v=(a,b)$ was arbitrary, every directional derivative $D_v f(0,0)$ exists.[/guided]