Skip to main content
Solve for x, y
Tick mark Image
Graph

Share

\frac{1}{1000}x+2\times 10^{-6}y=400\times 10^{-8}
Consider the first equation. Calculate 10 to the power of -3 and get \frac{1}{1000}.
\frac{1}{1000}x+2\times \frac{1}{1000000}y=400\times 10^{-8}
Calculate 10 to the power of -6 and get \frac{1}{1000000}.
\frac{1}{1000}x+\frac{1}{500000}y=400\times 10^{-8}
Multiply 2 and \frac{1}{1000000} to get \frac{1}{500000}.
\frac{1}{1000}x+\frac{1}{500000}y=400\times \frac{1}{100000000}
Calculate 10 to the power of -8 and get \frac{1}{100000000}.
\frac{1}{1000}x+\frac{1}{500000}y=\frac{1}{250000}
Multiply 400 and \frac{1}{100000000} to get \frac{1}{250000}.
9\left(\frac{y+5}{3}-\frac{2y+1}{2}\right)=6\left(-\frac{5}{2}\right)^{2}x
Consider the second equation. Multiply both sides of the equation by 6, the least common multiple of 2,3.
9\left(\frac{2\left(y+5\right)}{6}-\frac{3\left(2y+1\right)}{6}\right)=6\left(-\frac{5}{2}\right)^{2}x
To add or subtract expressions, expand them to make their denominators the same. Least common multiple of 3 and 2 is 6. Multiply \frac{y+5}{3} times \frac{2}{2}. Multiply \frac{2y+1}{2} times \frac{3}{3}.
9\times \frac{2\left(y+5\right)-3\left(2y+1\right)}{6}=6\left(-\frac{5}{2}\right)^{2}x
Since \frac{2\left(y+5\right)}{6} and \frac{3\left(2y+1\right)}{6} have the same denominator, subtract them by subtracting their numerators.
9\times \frac{2y+10-6y-3}{6}=6\left(-\frac{5}{2}\right)^{2}x
Do the multiplications in 2\left(y+5\right)-3\left(2y+1\right).
9\times \frac{-4y+7}{6}=6\left(-\frac{5}{2}\right)^{2}x
Combine like terms in 2y+10-6y-3.
\frac{9\left(-4y+7\right)}{6}=6\left(-\frac{5}{2}\right)^{2}x
Express 9\times \frac{-4y+7}{6} as a single fraction.
\frac{9\left(-4y+7\right)}{6}=6\times \frac{25}{4}x
Calculate -\frac{5}{2} to the power of 2 and get \frac{25}{4}.
\frac{9\left(-4y+7\right)}{6}=\frac{75}{2}x
Multiply 6 and \frac{25}{4} to get \frac{75}{2}.
\frac{-36y+63}{6}=\frac{75}{2}x
Use the distributive property to multiply 9 by -4y+7.
-6y+\frac{21}{2}=\frac{75}{2}x
Divide each term of -36y+63 by 6 to get -6y+\frac{21}{2}.
-6y+\frac{21}{2}-\frac{75}{2}x=0
Subtract \frac{75}{2}x from both sides.
-6y-\frac{75}{2}x=-\frac{21}{2}
Subtract \frac{21}{2} from both sides. Anything subtracted from zero gives its negation.
\frac{1}{1000}x+\frac{1}{500000}y=\frac{1}{250000},-\frac{75}{2}x-6y=-\frac{21}{2}
To solve a pair of equations using substitution, first solve one of the equations for one of the variables. Then substitute the result for that variable in the other equation.
\frac{1}{1000}x+\frac{1}{500000}y=\frac{1}{250000}
Choose one of the equations and solve it for x by isolating x on the left hand side of the equal sign.
\frac{1}{1000}x=-\frac{1}{500000}y+\frac{1}{250000}
Subtract \frac{y}{500000} from both sides of the equation.
x=1000\left(-\frac{1}{500000}y+\frac{1}{250000}\right)
Multiply both sides by 1000.
x=-\frac{1}{500}y+\frac{1}{250}
Multiply 1000 times -\frac{y}{500000}+\frac{1}{250000}.
-\frac{75}{2}\left(-\frac{1}{500}y+\frac{1}{250}\right)-6y=-\frac{21}{2}
Substitute -\frac{y}{500}+\frac{1}{250} for x in the other equation, -\frac{75}{2}x-6y=-\frac{21}{2}.
\frac{3}{40}y-\frac{3}{20}-6y=-\frac{21}{2}
Multiply -\frac{75}{2} times -\frac{y}{500}+\frac{1}{250}.
-\frac{237}{40}y-\frac{3}{20}=-\frac{21}{2}
Add \frac{3y}{40} to -6y.
-\frac{237}{40}y=-\frac{207}{20}
Add \frac{3}{20} to both sides of the equation.
y=\frac{138}{79}
Divide both sides of the equation by -\frac{237}{40}, which is the same as multiplying both sides by the reciprocal of the fraction.
x=-\frac{1}{500}\times \frac{138}{79}+\frac{1}{250}
Substitute \frac{138}{79} for y in x=-\frac{1}{500}y+\frac{1}{250}. Because the resulting equation contains only one variable, you can solve for x directly.
x=-\frac{69}{19750}+\frac{1}{250}
Multiply -\frac{1}{500} times \frac{138}{79} by multiplying numerator times numerator and denominator times denominator. Then reduce the fraction to lowest terms if possible.
x=\frac{1}{1975}
Add \frac{1}{250} to -\frac{69}{19750} by finding a common denominator and adding the numerators. Then reduce the fraction to lowest terms if possible.
x=\frac{1}{1975},y=\frac{138}{79}
The system is now solved.
\frac{1}{1000}x+2\times 10^{-6}y=400\times 10^{-8}
Consider the first equation. Calculate 10 to the power of -3 and get \frac{1}{1000}.
\frac{1}{1000}x+2\times \frac{1}{1000000}y=400\times 10^{-8}
Calculate 10 to the power of -6 and get \frac{1}{1000000}.
\frac{1}{1000}x+\frac{1}{500000}y=400\times 10^{-8}
Multiply 2 and \frac{1}{1000000} to get \frac{1}{500000}.
\frac{1}{1000}x+\frac{1}{500000}y=400\times \frac{1}{100000000}
Calculate 10 to the power of -8 and get \frac{1}{100000000}.
\frac{1}{1000}x+\frac{1}{500000}y=\frac{1}{250000}
Multiply 400 and \frac{1}{100000000} to get \frac{1}{250000}.
9\left(\frac{y+5}{3}-\frac{2y+1}{2}\right)=6\left(-\frac{5}{2}\right)^{2}x
Consider the second equation. Multiply both sides of the equation by 6, the least common multiple of 2,3.
9\left(\frac{2\left(y+5\right)}{6}-\frac{3\left(2y+1\right)}{6}\right)=6\left(-\frac{5}{2}\right)^{2}x
To add or subtract expressions, expand them to make their denominators the same. Least common multiple of 3 and 2 is 6. Multiply \frac{y+5}{3} times \frac{2}{2}. Multiply \frac{2y+1}{2} times \frac{3}{3}.
9\times \frac{2\left(y+5\right)-3\left(2y+1\right)}{6}=6\left(-\frac{5}{2}\right)^{2}x
Since \frac{2\left(y+5\right)}{6} and \frac{3\left(2y+1\right)}{6} have the same denominator, subtract them by subtracting their numerators.
9\times \frac{2y+10-6y-3}{6}=6\left(-\frac{5}{2}\right)^{2}x
Do the multiplications in 2\left(y+5\right)-3\left(2y+1\right).
9\times \frac{-4y+7}{6}=6\left(-\frac{5}{2}\right)^{2}x
Combine like terms in 2y+10-6y-3.
\frac{9\left(-4y+7\right)}{6}=6\left(-\frac{5}{2}\right)^{2}x
Express 9\times \frac{-4y+7}{6} as a single fraction.
\frac{9\left(-4y+7\right)}{6}=6\times \frac{25}{4}x
Calculate -\frac{5}{2} to the power of 2 and get \frac{25}{4}.
\frac{9\left(-4y+7\right)}{6}=\frac{75}{2}x
Multiply 6 and \frac{25}{4} to get \frac{75}{2}.
\frac{-36y+63}{6}=\frac{75}{2}x
Use the distributive property to multiply 9 by -4y+7.
-6y+\frac{21}{2}=\frac{75}{2}x
Divide each term of -36y+63 by 6 to get -6y+\frac{21}{2}.
-6y+\frac{21}{2}-\frac{75}{2}x=0
Subtract \frac{75}{2}x from both sides.
-6y-\frac{75}{2}x=-\frac{21}{2}
Subtract \frac{21}{2} from both sides. Anything subtracted from zero gives its negation.
\frac{1}{1000}x+\frac{1}{500000}y=\frac{1}{250000},-\frac{75}{2}x-6y=-\frac{21}{2}
Put the equations in standard form and then use matrices to solve the system of equations.
\left(\begin{matrix}\frac{1}{1000}&\frac{1}{500000}\\-\frac{75}{2}&-6\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}\frac{1}{250000}\\-\frac{21}{2}\end{matrix}\right)
Write the equations in matrix form.
inverse(\left(\begin{matrix}\frac{1}{1000}&\frac{1}{500000}\\-\frac{75}{2}&-6\end{matrix}\right))\left(\begin{matrix}\frac{1}{1000}&\frac{1}{500000}\\-\frac{75}{2}&-6\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=inverse(\left(\begin{matrix}\frac{1}{1000}&\frac{1}{500000}\\-\frac{75}{2}&-6\end{matrix}\right))\left(\begin{matrix}\frac{1}{250000}\\-\frac{21}{2}\end{matrix}\right)
Left multiply the equation by the inverse matrix of \left(\begin{matrix}\frac{1}{1000}&\frac{1}{500000}\\-\frac{75}{2}&-6\end{matrix}\right).
\left(\begin{matrix}1&0\\0&1\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=inverse(\left(\begin{matrix}\frac{1}{1000}&\frac{1}{500000}\\-\frac{75}{2}&-6\end{matrix}\right))\left(\begin{matrix}\frac{1}{250000}\\-\frac{21}{2}\end{matrix}\right)
The product of a matrix and its inverse is the identity matrix.
\left(\begin{matrix}x\\y\end{matrix}\right)=inverse(\left(\begin{matrix}\frac{1}{1000}&\frac{1}{500000}\\-\frac{75}{2}&-6\end{matrix}\right))\left(\begin{matrix}\frac{1}{250000}\\-\frac{21}{2}\end{matrix}\right)
Multiply the matrices on the left hand side of the equal sign.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}-\frac{6}{\frac{1}{1000}\left(-6\right)-\frac{1}{500000}\left(-\frac{75}{2}\right)}&-\frac{\frac{1}{500000}}{\frac{1}{1000}\left(-6\right)-\frac{1}{500000}\left(-\frac{75}{2}\right)}\\-\frac{-\frac{75}{2}}{\frac{1}{1000}\left(-6\right)-\frac{1}{500000}\left(-\frac{75}{2}\right)}&\frac{\frac{1}{1000}}{\frac{1}{1000}\left(-6\right)-\frac{1}{500000}\left(-\frac{75}{2}\right)}\end{matrix}\right)\left(\begin{matrix}\frac{1}{250000}\\-\frac{21}{2}\end{matrix}\right)
For the 2\times 2 matrix \left(\begin{matrix}a&b\\c&d\end{matrix}\right), the inverse matrix is \left(\begin{matrix}\frac{d}{ad-bc}&\frac{-b}{ad-bc}\\\frac{-c}{ad-bc}&\frac{a}{ad-bc}\end{matrix}\right), so the matrix equation can be rewritten as a matrix multiplication problem.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}\frac{80000}{79}&\frac{2}{5925}\\-\frac{500000}{79}&-\frac{40}{237}\end{matrix}\right)\left(\begin{matrix}\frac{1}{250000}\\-\frac{21}{2}\end{matrix}\right)
Do the arithmetic.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}\frac{80000}{79}\times \frac{1}{250000}+\frac{2}{5925}\left(-\frac{21}{2}\right)\\-\frac{500000}{79}\times \frac{1}{250000}-\frac{40}{237}\left(-\frac{21}{2}\right)\end{matrix}\right)
Multiply the matrices.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}\frac{1}{1975}\\\frac{138}{79}\end{matrix}\right)
Do the arithmetic.
x=\frac{1}{1975},y=\frac{138}{79}
Extract the matrix elements x and y.
\frac{1}{1000}x+2\times 10^{-6}y=400\times 10^{-8}
Consider the first equation. Calculate 10 to the power of -3 and get \frac{1}{1000}.
\frac{1}{1000}x+2\times \frac{1}{1000000}y=400\times 10^{-8}
Calculate 10 to the power of -6 and get \frac{1}{1000000}.
\frac{1}{1000}x+\frac{1}{500000}y=400\times 10^{-8}
Multiply 2 and \frac{1}{1000000} to get \frac{1}{500000}.
\frac{1}{1000}x+\frac{1}{500000}y=400\times \frac{1}{100000000}
Calculate 10 to the power of -8 and get \frac{1}{100000000}.
\frac{1}{1000}x+\frac{1}{500000}y=\frac{1}{250000}
Multiply 400 and \frac{1}{100000000} to get \frac{1}{250000}.
9\left(\frac{y+5}{3}-\frac{2y+1}{2}\right)=6\left(-\frac{5}{2}\right)^{2}x
Consider the second equation. Multiply both sides of the equation by 6, the least common multiple of 2,3.
9\left(\frac{2\left(y+5\right)}{6}-\frac{3\left(2y+1\right)}{6}\right)=6\left(-\frac{5}{2}\right)^{2}x
To add or subtract expressions, expand them to make their denominators the same. Least common multiple of 3 and 2 is 6. Multiply \frac{y+5}{3} times \frac{2}{2}. Multiply \frac{2y+1}{2} times \frac{3}{3}.
9\times \frac{2\left(y+5\right)-3\left(2y+1\right)}{6}=6\left(-\frac{5}{2}\right)^{2}x
Since \frac{2\left(y+5\right)}{6} and \frac{3\left(2y+1\right)}{6} have the same denominator, subtract them by subtracting their numerators.
9\times \frac{2y+10-6y-3}{6}=6\left(-\frac{5}{2}\right)^{2}x
Do the multiplications in 2\left(y+5\right)-3\left(2y+1\right).
9\times \frac{-4y+7}{6}=6\left(-\frac{5}{2}\right)^{2}x
Combine like terms in 2y+10-6y-3.
\frac{9\left(-4y+7\right)}{6}=6\left(-\frac{5}{2}\right)^{2}x
Express 9\times \frac{-4y+7}{6} as a single fraction.
\frac{9\left(-4y+7\right)}{6}=6\times \frac{25}{4}x
Calculate -\frac{5}{2} to the power of 2 and get \frac{25}{4}.
\frac{9\left(-4y+7\right)}{6}=\frac{75}{2}x
Multiply 6 and \frac{25}{4} to get \frac{75}{2}.
\frac{-36y+63}{6}=\frac{75}{2}x
Use the distributive property to multiply 9 by -4y+7.
-6y+\frac{21}{2}=\frac{75}{2}x
Divide each term of -36y+63 by 6 to get -6y+\frac{21}{2}.
-6y+\frac{21}{2}-\frac{75}{2}x=0
Subtract \frac{75}{2}x from both sides.
-6y-\frac{75}{2}x=-\frac{21}{2}
Subtract \frac{21}{2} from both sides. Anything subtracted from zero gives its negation.
\frac{1}{1000}x+\frac{1}{500000}y=\frac{1}{250000},-\frac{75}{2}x-6y=-\frac{21}{2}
In order to solve by elimination, coefficients of one of the variables must be the same in both equations so that the variable will cancel out when one equation is subtracted from the other.
-\frac{75}{2}\times \frac{1}{1000}x-\frac{75}{2}\times \frac{1}{500000}y=-\frac{75}{2}\times \frac{1}{250000},\frac{1}{1000}\left(-\frac{75}{2}\right)x+\frac{1}{1000}\left(-6\right)y=\frac{1}{1000}\left(-\frac{21}{2}\right)
To make \frac{x}{1000} and -\frac{75x}{2} equal, multiply all terms on each side of the first equation by -\frac{75}{2} and all terms on each side of the second by \frac{1}{1000}.
-\frac{3}{80}x-\frac{3}{40000}y=-\frac{3}{20000},-\frac{3}{80}x-\frac{3}{500}y=-\frac{21}{2000}
Simplify.
-\frac{3}{80}x+\frac{3}{80}x-\frac{3}{40000}y+\frac{3}{500}y=-\frac{3}{20000}+\frac{21}{2000}
Subtract -\frac{3}{80}x-\frac{3}{500}y=-\frac{21}{2000} from -\frac{3}{80}x-\frac{3}{40000}y=-\frac{3}{20000} by subtracting like terms on each side of the equal sign.
-\frac{3}{40000}y+\frac{3}{500}y=-\frac{3}{20000}+\frac{21}{2000}
Add -\frac{3x}{80} to \frac{3x}{80}. Terms -\frac{3x}{80} and \frac{3x}{80} cancel out, leaving an equation with only one variable that can be solved.
\frac{237}{40000}y=-\frac{3}{20000}+\frac{21}{2000}
Add -\frac{3y}{40000} to \frac{3y}{500}.
\frac{237}{40000}y=\frac{207}{20000}
Add -\frac{3}{20000} to \frac{21}{2000} by finding a common denominator and adding the numerators. Then reduce the fraction to lowest terms if possible.
y=\frac{138}{79}
Divide both sides of the equation by \frac{237}{40000}, which is the same as multiplying both sides by the reciprocal of the fraction.
-\frac{75}{2}x-6\times \frac{138}{79}=-\frac{21}{2}
Substitute \frac{138}{79} for y in -\frac{75}{2}x-6y=-\frac{21}{2}. Because the resulting equation contains only one variable, you can solve for x directly.
-\frac{75}{2}x-\frac{828}{79}=-\frac{21}{2}
Multiply -6 times \frac{138}{79}.
-\frac{75}{2}x=-\frac{3}{158}
Add \frac{828}{79} to both sides of the equation.
x=\frac{1}{1975}
Divide both sides of the equation by -\frac{75}{2}, which is the same as multiplying both sides by the reciprocal of the fraction.
x=\frac{1}{1975},y=\frac{138}{79}
The system is now solved.