Determine the maximum value of $OP$, $O$ being the origin and $P$ being a point on the curve defined by $x^2+y^2-2z^2=5$ and $x+2y+z=5$.
I am using Lagrangian multipliers $\lambda$ and $\mu$. I have done problems in which one of the constraints goes to zero. Here both are non-zero. How will we eliminate them from the differential equation?

Grit your teeth and grind through the solution. It’s really not all that involved and requires at worst solving a simple quadratic equation. Besides the two constraints, you have the equations $$2x-2\lambda x -\mu = 0 \\ 2y-2\lambda y-2\mu = 0 \\ 2z+4\lambda z - \mu = 0.$$ You should be able to see at a glance that $\mu$ can be eliminated by forming various linear combinations of these equations. For example, if you subtract twice the first from the second, the result factors nicely into $$2(2x-y)(\lambda-1) = 0.$$ Now you have two possibilities to pursue. Back-substitute each in turn into your system of equations and continue solving. (It turns out that one of these two paths leads to $\mu=0$. One of the multipliers vanishes after all.)