MHB Mason's question via Facebook about solving a system of equations

Click For Summary
SUMMARY

The discussion focuses on solving a system of equations involving three variables: x, y, and z. The equations are manipulated using techniques such as finding the least common multiple (LCM) of coefficients and applying row operations to simplify the system. The final solution is determined to be (x, y, z) = (5, 8, -6). The discussion also suggests that representing the solution in matrix form and utilizing Gaussian elimination would be beneficial for further understanding.

PREREQUISITES
  • Understanding of systems of linear equations
  • Familiarity with row operations in matrix algebra
  • Knowledge of least common multiples (LCM) in mathematical contexts
  • Basic concepts of Gaussian elimination
NEXT STEPS
  • Learn about Gaussian elimination techniques for solving linear systems
  • Explore matrix representation of linear equations
  • Study the implications of least common multiples in solving equations
  • Investigate alternative methods for solving systems of equations, such as matrix inversion
USEFUL FOR

Students, educators, and professionals in mathematics, engineering, and computer science who are looking to enhance their skills in solving systems of equations and understanding linear algebra concepts.

Prove It
Gold Member
MHB
Messages
1,434
Reaction score
20
Solve the following system for $\displaystyle \begin{align*} x, y, z \end{align*}$:

$\displaystyle \begin{align*} 5\,x - 2\,y + z &= 3 \\ 3\,x + y + 3\,z &= 5 \\ 6\,x + y - 4\,z &= 62 \end{align*}$

The LCM of the $\displaystyle \begin{align*} x \end{align*}$ coefficients is 30, so multiplying the first equation by 6, the second by 10 and the third by 5 gives

$\displaystyle \begin{align*} 30\,x - 12\,y + 6\,z &= 18 \\ 30\,x + 10\,y + 30\,z &= 50 \\ 30\,x + 5\,y - 20\,z &= 310 \end{align*}$

Applying R2 - R1 to R2 and R3 - R1 to R3 we have

$\displaystyle \begin{align*} 30\,x + 12\,y - 6\,z &= 18 \\ 22\,y + 24\,z &= 32 \\ 17\,y - 26\,z &= 292 \end{align*}$

Dividing the second equation by 2 gives

$\displaystyle \begin{align*} 30\,x + 12\,y - 6\,z &= 18 \\ 11\,y + 12\,z &= 16 \\ 17\,y - 26 \,z &= 292 \end{align*}$

The LCM of the y coefficients in rows 2 and 3 is 187, so multiplying the second equation by 17 and the third equation by 11 we have

$\displaystyle \begin{align*} 30\,x + 12\,y - 6\,z &= 18 \\ 187\,y + 204\,z &= 272 \\ 187\,y - 286\,z &= 3\,212 \end{align*}$

Applying R3 - R2 to R2 we have

$\displaystyle \begin{align*} 30\,x + 12\,y - 6\,z &= 18 \\ 187\,y + 204\,z &= 272 \\ - 490\,z &= 2\,940 \end{align*}$

Since $\displaystyle \begin{align*} -490\,z = 2\,940 \implies z = -6 \end{align*}$, then

$\displaystyle \begin{align*} 187\,y + 204 \, \left( -6 \right) &= 272 \\ 187\,y - 1\,224 &= 272 \\ 187\,y &= 1\,496 \\ y &= 8 \end{align*}$

and

$\displaystyle \begin{align*} 5\,x - 2\,\left( 8 \right) + \left( -6 \right) &= 3 \\ 5\,x - 22 &= 3 \\ 5\,x &= 25 \\ x &= 5 \end{align*}$

So the solution is $\displaystyle \begin{align*} \left( x , y , z \right) = \left( 5, 8, -6 \right) \end{align*}$.
 
Mathematics news on Phys.org
Prove It said:
The LCM of the $\displaystyle \begin{align*} x \end{align*}$ coefficients is 30, so multiplying the first equation by 6, the second by 10 and the third by 5 gives

$\displaystyle \begin{align*} 30\,x - 12\,y + 6\,z &= 18 \\ 30\,x + 10\,y + 30\,z &= 50 \\ 30\,x + 5\,y - 20\,z &= 310 \end{align*}$

Applying R2 - R1 to R2 and R3 - R1 to R3 we have

$\displaystyle \begin{align*} 30\,x + 12\,y - 6\,z &= 18 \\ 22\,y + 24\,z &= 32 \\ 17\,y - 26\,z &= 292 \end{align*}$

Dividing the second equation by 2 gives

$\displaystyle \begin{align*} 30\,x + 12\,y - 6\,z &= 18 \\ 11\,y + 12\,z &= 16 \\ 17\,y - 26 \,z &= 292 \end{align*}$

The LCM of the y coefficients in rows 2 and 3 is 187, so multiplying the second equation by 17 and the third equation by 11 we have

$\displaystyle \begin{align*} 30\,x + 12\,y - 6\,z &= 18 \\ 187\,y + 204\,z &= 272 \\ 187\,y - 286\,z &= 3\,212 \end{align*}$

Applying R3 - R2 to R2 we have

$\displaystyle \begin{align*} 30\,x + 12\,y - 6\,z &= 18 \\ 187\,y + 204\,z &= 272 \\ - 490\,z &= 2\,940 \end{align*}$

Since $\displaystyle \begin{align*} -490\,z = 2\,940 \implies z = -6 \end{align*}$, then

$\displaystyle \begin{align*} 187\,y + 204 \, \left( -6 \right) &= 272 \\ 187\,y - 1\,224 &= 272 \\ 187\,y &= 1\,496 \\ y &= 8 \end{align*}$

and

$\displaystyle \begin{align*} 5\,x - 2\,\left( 8 \right) + \left( -6 \right) &= 3 \\ 5\,x - 22 &= 3 \\ 5\,x &= 25 \\ x &= 5 \end{align*}$

So the solution is $\displaystyle \begin{align*} \left( x , y , z \right) = \left( 5, 8, -6 \right) \end{align*}$.
Correct. The next step would be to write it in form of matrices. 'Gaussian elimination' would be a suitable search key.
 
  • Like
Likes Astronuc and Greg Bernhardt

Similar threads

Replies
1
Views
10K
  • · Replies 1 ·
Replies
1
Views
11K
  • · Replies 1 ·
Replies
1
Views
11K
  • · Replies 4 ·
Replies
4
Views
11K
  • · Replies 1 ·
Replies
1
Views
10K
  • · Replies 1 ·
Replies
1
Views
11K
  • · Replies 4 ·
Replies
4
Views
11K
  • · Replies 1 ·
Replies
1
Views
10K
  • · Replies 2 ·
Replies
2
Views
11K
  • · Replies 1 ·
Replies
1
Views
10K