Let $n\in\mathbb{Z}_{>1}$ and $k$ be an algebraically closed field. Let $X\subset\mathbb{P}^{2}_{k}$ be the curve given by $x_{1}^{n} = x_{2}x_{0}^{n-1} - x_{2}^{n}$. I want to check whether $X$ is smooth or not.
In the case that you have a $n\in\mathbb{Z}_{>1}$ and an algebraically closed field $k$ such that $\text{char}(k)$ does not divide $n$ and $n-1$, one can easily check that $X$ is indeed smooth. Here you can use the fact that $X = (X\cap D(x_{0}))\cup (X\cap D(x_{2}))$, where $D(x_{i}) = \{(x_{0}:x_{1}:x_{2})\in\mathbb{P}^{2}\rvert x_{i}\neq 0\}$. One can use the isomorphisms
$\varphi_{0}: X\cap D(x_{0})\rightarrow Z(x_{0,1}^{n}-x_{0,2}+x_{0,2}^{n}), (x_{0}:x_{1}:x_{2})\mapsto (\frac{x_{1}}{x_{0}},\frac{x_{2}}{x_{0}})$ and $\varphi_{2}: X\cap D(x_{2})\rightarrow Z(x_{2,1}^{n}-x_{2,0}^{n-1}+1), (x_{0}:x_{1}:x_{2})\mapsto (\frac{x_{0}}{x_{2}},\frac{x_{1}}{x_{2}})$, where $x_{i,j} = \frac{x_{j}}{x_{i}}$.
For points $P\in X$ with $x_{2}=0$ we know that $x_{1}=0$ and consequently $x_{0} \neq 0$. Then we consider $\varphi_{0}$ and consequently we have the matrix $\begin{pmatrix} 0 & -1\end{pmatrix}$, so $X$ is smooth at $P$.
For points $P\in X$ with $x_{2}\neq 0$ we can consider $\varphi_{2}$ and consequently we have the matrix \begin{pmatrix} -(n-1)x_{2,0}^{n-2} & nx_{2,1}^{n-1}\end{pmatrix}. By the assumption that $\text{char}(k)$ does not divide $n$ and $n-1$ one can find that the matrix is not equal to the zero matrix, so $X$ is smooth at $P$.
As soon as you have a $n\in\mathbb{Z}_{>1}$ and an algebraically closed field $k$ such that $\text{char}(k)$ divides $n$ or $n-1$ the problems arrive. I also know that if $P\in X$ and $P$ lies on two irreducible components of $X$, then $P$ is singular.
My Question/Problem: How does one check if $X$ is smooth or not in the case that we have a $n\in\mathbb{Z}_{>1}$ and an algebraically closed field $k$ such that $\text{char}(k)$ divides $n$ or $n-1$?
Definition of Smoothness: Let $X$ be a variety. For $P\in X$, $X$ is smooth at $P$ if there is an open subvariety $U$ of $X$ containing $P$ and an isomorphism $\varphi:U\rightarrow Z(f_{1},...,f_{n-d})\subset\mathbb{A}^{n}$ for some $d\leqslant n$ and $f_{1},...,f_{n-d}$, such that the rank of the $n-d$ by $n$ matrix over $k$: $\begin{pmatrix} \frac{\partial f_{i}}{\partial x_{j}}(\varphi(P)) \end{pmatrix}_{i,j}$ equals $n-d$, i.e. is maximal.