Celeb Glow
general | April 13, 2026

How to solve a system of two equations in three unknowns

$\begingroup$

$x+y=5$

$2x+y-3z=12$

I know that in order to solve three unknowns three equations are needed, so I'm unsure if this can be solved or if different techniques (apart from the usual eliminations/substitutions) are used to solve problems like these.

$\endgroup$ 3

3 Answers

$\begingroup$

This system of equations can be solved, it just doesn't have a unique solution.

We can try to solve it as if we had just 2 variables, $x$ and $y$.

Subtract the first equation from the second to get $x = 3z + 7.$

Then since $y = 5 - x$ we get $y = -3z - 2.$

We've now solved the system, we just have one solution for each possible choice of $z$.

$\endgroup$ 2 $\begingroup$

A solution is to move one of the unknowns to the RHS and consider the system of equations as a parametric one.

$$\begin{align}x+y&=5\\ 2x+y&=12+3z.\end{align}$$

You now solve the $2\times2$ system, giving

$$\begin{align}x&=7+3z\\ y&=-2-3z.\end{align}$$

There is no restriction on the values that $z$ can take, giving a complete set of solutions.

$\endgroup$ $\begingroup$

Subtracting one from the other you are left with a relation between two variables e.g.,

$$ x - 3 z = 7 $$

Without one more (x,z) relation there's no way you can proceed towards a solution.

$\endgroup$ 1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy