Algebra · real student question

Solve the system 1/x + 1/y = 8 and 6/x + 12/y = 1.

Question

Solve the system

1x+1y=8,6x+12y=1\frac{1}{x}+\frac{1}{y}=8,\qquad \frac{6}{x}+\frac{12}{y}=1

Step-by-step solution

  1. Substitute to remove the denominators. The unknowns only ever appear as 1/x1/x and 1/y1/y, so setting a=1x,b=1ya=\frac1x,\qquad b=\frac1y converts the system into the linear one a+b=8,6a+12b=1.a+b=8,\qquad 6a+12b=1. Clearing denominators by multiplying out would instead produce a messy quadratic system - the substitution is much cleaner.

  2. Simplify the second equation. Dividing 6a+12b=16a+12b=1 through by 66 gives a+2b=16.a+2b=\frac16. Both equations now have the same coefficient on aa, which sets up elimination in one subtraction.

  3. Eliminate aa and solve for bb. Subtracting the first equation from the second, (a+2b)(a+b)=168b=16486=476.\left(a+2b\right)-\left(a+b\right)=\frac16-8\quad\Longrightarrow\quad b=\frac16-\frac{48}{6}=-\frac{47}{6}. A negative bb is perfectly acceptable - it just means yy will come out negative.

  4. Back-substitute for aa. From a+b=8a+b=8, a=8+476=486+476=956.a=8+\frac{47}{6}=\frac{48}{6}+\frac{47}{6}=\frac{95}{6}.

  5. Invert to recover xx and yy. Since a=1/xa=1/x and b=1/yb=1/y, x=1a=695,y=1b=647.x=\frac{1}{a}=\frac{6}{95},\qquad y=\frac{1}{b}=-\frac{6}{47}. Both are nonzero, so the original denominators are legal and no solution has to be discarded.

  6. Check in the original equations. 1x=956\dfrac{1}{x}=\dfrac{95}{6} and 1y=476\dfrac{1}{y}=-\dfrac{47}{6}, so the first equation gives 956476=486=8\dfrac{95}{6}-\dfrac{47}{6}=\dfrac{48}{6}=8, and the second gives 6956+12(476)=9594=16\cdot\dfrac{95}{6}+12\cdot\left(-\dfrac{47}{6}\right)=95-94=1. Both hold exactly, with no rounding involved.

Answer

x=695,y=647x=\frac{6}{95},\qquad y=-\frac{6}{47}

Need to solve a different problem like this? Open the solver →