[example: Pendulum With Torque Input]
Let $x_1$ be the angle of a pendulum and let $x_2$ be the angular velocity. With torque input $u \in \mathbb R$, damping coefficient $b \ge 0$, gravitational constant $g>0$, and length $\ell>0$, the state model is
\begin{align*}
\dot{x}_1=x_2.
\end{align*}
\begin{align*}
\dot{x}_2=-\frac{g}{\ell}\sin x_1-bx_2+u.
\end{align*}
For a constant input $u=\bar u$, an equilibrium $(\bar x_1,\bar x_2)$ must satisfy
\begin{align*}
0=\bar x_2.
\end{align*}
\begin{align*}
0=-\frac{g}{\ell}\sin \bar x_1-b\bar x_2+\bar u.
\end{align*}
Substituting $\bar x_2=0$ gives
\begin{align*}
0=-\frac{g}{\ell}\sin \bar x_1+\bar u.
\end{align*}
Equivalently,
\begin{align*}
\sin \bar x_1=\frac{\ell}{g}\bar u.
\end{align*}
Thus, when $\bar u=0$, every angle $\bar x_1=k\pi$ with $k\in\mathbb Z$ and velocity $\bar x_2=0$ is an equilibrium.
The nonlinear vector field is
\begin{align*}
f(x_1,x_2,u)=\left(x_2,-\frac{g}{\ell}\sin x_1-bx_2+u\right).
\end{align*}
Its derivatives with respect to the state variables are
\begin{align*}
\frac{\partial f_1}{\partial x_1}=0,\quad \frac{\partial f_1}{\partial x_2}=1,\quad \frac{\partial f_2}{\partial x_1}=-\frac{g}{\ell}\cos x_1,\quad \frac{\partial f_2}{\partial x_2}=-b.
\end{align*}
Therefore the linearization at an equilibrium angle $\bar x_1$ sends a perturbation $(\xi_1,\xi_2)$ to
\begin{align*}
\left(\xi_2,-\frac{g}{\ell}\cos(\bar x_1)\xi_1-b\xi_2\right).
\end{align*}
At the downward equilibrium $\bar x_1=0$, $\cos 0=1$, so the linearized perturbation equation is
\begin{align*}
\dot{\xi}_1=\xi_2,\quad \dot{\xi}_2=-\frac{g}{\ell}\xi_1-b\xi_2.
\end{align*}
At the upright equilibrium $\bar x_1=\pi$, $\cos \pi=-1$, so the linearized perturbation equation is
\begin{align*}
\dot{\xi}_1=\xi_2,\quad \dot{\xi}_2=\frac{g}{\ell}\xi_1-b\xi_2.
\end{align*}
The two linearizations differ by the sign of the stiffness term, even though they come from the same nonlinear equation; this is why a torque law designed near one equilibrium cannot be transferred to the other without checking the nonlinear dynamics and the region where the local model is valid.
[/example]