Mister Exam

16x+32y-212,479=0; 32x+128y-791,249=0

from to

from to

The solution

You have entered [src]
              212479
16*x + 32*y - ------ = 0
1000     
$$\left(16 x + 32 y\right) - \frac{212479}{1000} = 0$$
               791249
32*x + 128*y - ------ = 0
1000     
$$\left(32 x + 128 y\right) - \frac{791249}{1000} = 0$$
32*x + 128*y - 791249/1000 = 0
Detail solution
Given the system of equations
$$\left(16 x + 32 y\right) - \frac{212479}{1000} = 0$$
$$\left(32 x + 128 y\right) - \frac{791249}{1000} = 0$$

Let's express from equation 1 x
$$\left(16 x + 32 y\right) - \frac{212479}{1000} = 0$$
Let's move the summand with the variable y from the left part to the right part performing the sign change
$$16 x - \frac{212479}{1000} = - 32 y$$
$$16 x - \frac{212479}{1000} = - 32 y$$
We move the free summand -212479/1000 from the left part to the right part performing the sign change
$$16 x = \frac{212479}{1000} - 32 y$$
$$16 x = \frac{212479}{1000} - 32 y$$
Let's divide both parts of the equation by the multiplier of x
$$\frac{16 x}{16} = \frac{\frac{212479}{1000} - 32 y}{16}$$
$$x = \frac{212479}{16000} - 2 y$$
Let's try the obtained element x to 2-th equation
$$\left(32 x + 128 y\right) - \frac{791249}{1000} = 0$$
We get:
$$\left(128 y + 32 \left(\frac{212479}{16000} - 2 y\right)\right) - \frac{791249}{1000} = 0$$
$$64 y - \frac{366291}{1000} = 0$$
We move the free summand -366291/1000 from the left part to the right part performing the sign change
$$64 y = \frac{366291}{1000}$$
$$64 y = \frac{366291}{1000}$$
Let's divide both parts of the equation by the multiplier of y
$$\frac{64 y}{64} = \frac{366291}{64 \cdot 1000}$$
$$y = \frac{366291}{64000}$$
Because
$$x = \frac{212479}{16000} - 2 y$$
then
$$x = \frac{212479}{16000} - \frac{366291}{32000}$$
$$x = \frac{58667}{32000}$$

$$x = \frac{58667}{32000}$$
$$y = \frac{366291}{64000}$$
Rapid solution
$$x_{1} = \frac{58667}{32000}$$
=
$$\frac{58667}{32000}$$
=
1.83334375

$$y_{1} = \frac{366291}{64000}$$
=
$$\frac{366291}{64000}$$
=
5.723296875
Cramer's rule
$$\left(16 x + 32 y\right) - \frac{212479}{1000} = 0$$
$$\left(32 x + 128 y\right) - \frac{791249}{1000} = 0$$

We give the system of equations to the canonical form
$$16 x + 32 y = \frac{212479}{1000}$$
$$32 x + 128 y = \frac{791249}{1000}$$
Rewrite the system of linear equations as the matrix form
$$\left[\begin{matrix}16 x_{1} + 32 x_{2}\\32 x_{1} + 128 x_{2}\end{matrix}\right] = \left[\begin{matrix}\frac{212479}{1000}\\\frac{791249}{1000}\end{matrix}\right]$$
- this is the system of equations that has the form
A*x = B

Let´s find a solution of this matrix equations using Cramer´s rule:

Since the determinant of the matrix:
$$A = \operatorname{det}{\left(\left[\begin{matrix}16 & 32\\32 & 128\end{matrix}\right] \right)} = 1024$$
, then
The root xi is obtained by dividing the determinant of the matrix Ai. by the determinant of the matrix A.
( Ai we get it by replacement in the matrix A i-th column with column B )
$$x_{1} = \frac{\operatorname{det}{\left(\left[\begin{matrix}\frac{212479}{1000} & 32\\\frac{791249}{1000} & 128\end{matrix}\right] \right)}}{1024} = \frac{58667}{32000}$$
$$x_{2} = \frac{\operatorname{det}{\left(\left[\begin{matrix}16 & \frac{212479}{1000}\\32 & \frac{791249}{1000}\end{matrix}\right] \right)}}{1024} = \frac{366291}{64000}$$
Gaussian elimination
Given the system of equations
$$\left(16 x + 32 y\right) - \frac{212479}{1000} = 0$$
$$\left(32 x + 128 y\right) - \frac{791249}{1000} = 0$$

We give the system of equations to the canonical form
$$16 x + 32 y = \frac{212479}{1000}$$
$$32 x + 128 y = \frac{791249}{1000}$$
Rewrite the system of linear equations as the matrix form
$$\left[\begin{matrix}16 & 32 & \frac{212479}{1000}\\32 & 128 & \frac{791249}{1000}\end{matrix}\right]$$
In 1 -th column
$$\left[\begin{matrix}16\\32\end{matrix}\right]$$
let’s convert all the elements, except
1 -th element into zero.
- To do this, let’s take 1 -th line
$$\left[\begin{matrix}16 & 32 & \frac{212479}{1000}\end{matrix}\right]$$
,
and subtract it from other lines:
From 2 -th line. Let’s subtract it from this line:
$$\left[\begin{matrix}32 - 2 \cdot 16 & 128 - 2 \cdot 32 & \frac{791249}{1000} - \frac{2 \cdot 212479}{1000}\end{matrix}\right] = \left[\begin{matrix}0 & 64 & \frac{366291}{1000}\end{matrix}\right]$$
you get
$$\left[\begin{matrix}16 & 32 & \frac{212479}{1000}\\0 & 64 & \frac{366291}{1000}\end{matrix}\right]$$
In 2 -th column
$$\left[\begin{matrix}32\\64\end{matrix}\right]$$
let’s convert all the elements, except
2 -th element into zero.
- To do this, let’s take 2 -th line
$$\left[\begin{matrix}0 & 64 & \frac{366291}{1000}\end{matrix}\right]$$
,
and subtract it from other lines:
From 1 -th line. Let’s subtract it from this line:
$$\left[\begin{matrix}16 - \frac{0}{2} & 32 - \frac{64}{2} & \frac{212479}{1000} - \frac{366291}{2 \cdot 1000}\end{matrix}\right] = \left[\begin{matrix}16 & 0 & \frac{58667}{2000}\end{matrix}\right]$$
you get
$$\left[\begin{matrix}16 & 0 & \frac{58667}{2000}\\0 & 64 & \frac{366291}{1000}\end{matrix}\right]$$

It is almost ready, all we have to do is to find variables, solving the elementary equations:
$$16 x_{1} - \frac{58667}{2000} = 0$$
$$64 x_{2} - \frac{366291}{1000} = 0$$
$$x_{1} = \frac{58667}{32000}$$
$$x_{2} = \frac{366291}{64000}$$
x1 = 1.83334375
y1 = 5.723296875
x1 = 1.83334375
y1 = 5.723296875