[guided]We now translate the geometric singularity condition into a one-variable algebra condition. The affine chart $Z\ne 0$ allows us to use the representative $(x,y,1)$, where
\begin{align*}
x := X/Z,\qquad y := Y/Z.
\end{align*}
On this chart the equation of the curve is
\begin{align*}
F(x,y,1)=y^2-x^3-ax-b=0,
\end{align*}
or equivalently
\begin{align*}
y^2=g(x),
\end{align*}
where $g: K \to K$ is the affine cubic polynomial defined by
\begin{align*}
g(t)=t^3+at+b.
\end{align*}
A singular point must make all partial derivatives vanish. The derivative with respect to $Y$ gives
\begin{align*}
F_Y(x,y,1)=2y.
\end{align*}
Since $\operatorname{char}(K)\ne 2$, the scalar $2$ is invertible in $K$, so $F_Y(x,y,1)=0$ is exactly the condition $y=0$. The derivative with respect to $X$ gives
\begin{align*}
F_X(x,y,1)=-3x^2-a.
\end{align*}
Because $g': K \to K$ is the formal derivative of $g$ and is given by
\begin{align*}
g'(t)=3t^2+a,
\end{align*}
the equation $F_X(x,y,1)=0$ is exactly $g'(x)=0$.
Combining these equations with the curve equation gives
\begin{align*}
0=y^2=g(x),
\end{align*}
so every affine singular point produces an element $x\in K$ satisfying
\begin{align*}
g(x)=0,\qquad g'(x)=0.
\end{align*}
Conversely, suppose $x\in K$ satisfies $g(x)=0$ and $g'(x)=0$. Then $(x,0,1)$ lies on the curve because $F(x,0,1)=-g(x)=0$. Also
\begin{align*}
F_X(x,0,1)=-(3x^2+a)=-g'(x)=0,\qquad F_Y(x,0,1)=0.
\end{align*}
It remains only to check $F_Z$. From $g'(x)=0$ we get $a=-3x^2$. Substituting this into $g(x)=0$ gives
\begin{align*}
0=x^3+ax+b=x^3-3x^3+b=-2x^3+b,
\end{align*}
so $b=2x^3$. Therefore
\begin{align*}
F_Z(x,0,1)=0-2ax-3b=-2(-3x^2)x-3(2x^3)=6x^3-6x^3=0.
\end{align*}
Thus $(x,0,1)$ is singular. This proves that affine singularities are exactly common roots of $g$ and $g'$.[/guided]