System of equations 4 variable

AI Thread Summary
The discussion revolves around solving a system of four equations with variables w, x, y, and z. The user initially attempts to solve the equations through a series of substitutions but finds the process tedious and makes errors in their calculations. It is suggested that using Gaussian elimination could simplify the solution, although the user notes that their math course does not cover matrices. The user ultimately identifies their mistake in calculating the value of y and corrects it to 3. The conversation highlights the importance of efficient methods for solving systems of equations, especially for those lacking experience with matrices.
synergix
Messages
177
Reaction score
0

Homework Statement


Solve
2w + 2x - 5y + z = -16 (1)
-w + x + 6y - z = 15 (2)
2w - x + y + 6z = 3 (3)
w + x + 2y - z = 7 (4)

The Attempt at a Solution



(2) + (4) = 2x + 8y - 2z = 22 (5)

2(2) + (3)= x + 13y + 4z = 33(6)

2(2) + (1)= 4x + 7y - z = 14 (7)
--------------------------------------

-2(6) + (5)= -18y - 10z = -44 (8)

-4(6) + (7)= -45y - 17z = -118(9)

-------------------------------------------

-17(8) + 10 (9)= y = 432/90 (10)

then start substituting. is this the best way to do it I found it very tedious and my answers didnt check I obviously made a mistake somewhere but I can't say I know what I did wrong (w,x,y,z) (62/85,207/85,24/5,98/17)
 
Physics news on Phys.org
I found my mistake y=3
 
The best way to solve the problem depends on your mathematical background. It seems evident that you don't have any experience with matrices, or else you would have used likely used Gaussian elimination (which is usually quicker, especially with a computer).

The work for you to learn this tool (Gaussian elimination) in solving systems of linear equations should be relatively easy for you to obtain with your current background. If your interested, see the link with example: http://en.wikipedia.org/wiki/Gaussian_elimination#Example
 
(5), (6) ,(7), (8), (9) are right.

In (10), however, the y-coefficient, (-17)*(-18)-45*10=-144, rather than -90. (RHS equals -432.

Thus, the y-value out to be 432/144=3

Thus, z=-1, and you can calculate x and w yourself. :smile:
 
actually in my math course matrices are not covered for whatever reason. we stop right before the chapter on matrices. and completely skip it. I will have to ask my instructor why.
 
yes somehow I got 90 from that subtraction not sure how but I figured it out now thx.
 
I tried to combine those 2 formulas but it didn't work. I tried using another case where there are 2 red balls and 2 blue balls only so when combining the formula I got ##\frac{(4-1)!}{2!2!}=\frac{3}{2}## which does not make sense. Is there any formula to calculate cyclic permutation of identical objects or I have to do it by listing all the possibilities? Thanks
Since ##px^9+q## is the factor, then ##x^9=\frac{-q}{p}## will be one of the roots. Let ##f(x)=27x^{18}+bx^9+70##, then: $$27\left(\frac{-q}{p}\right)^2+b\left(\frac{-q}{p}\right)+70=0$$ $$b=27 \frac{q}{p}+70 \frac{p}{q}$$ $$b=\frac{27q^2+70p^2}{pq}$$ From this expression, it looks like there is no greatest value of ##b## because increasing the value of ##p## and ##q## will also increase the value of ##b##. How to find the greatest value of ##b##? Thanks
Back
Top