Linear stuff: I never get the awnser

  • Thread starter Thread starter cmab
  • Start date Start date
  • Tags Tags
    Linear
Click For Summary
SUMMARY

The discussion revolves around solving a system of linear equations with two equations and four unknowns: x1, x2, x3, and x4. The equations presented are 3x1 + x2 + x3 + x4 = 0 and 5x1 - x2 + x3 - x4 = 0. The user initially struggles to arrive at the correct solution, which is x1 = -s, x2 = -t - s, x3 = 4s, and x4 = t. The solution is clarified through substitution and row reduction methods, demonstrating that multiple representations of the solution can yield equivalent results.

PREREQUISITES
  • Understanding of linear algebra concepts, specifically systems of equations.
  • Familiarity with substitution and row reduction techniques for solving equations.
  • Knowledge of parameters and degrees of freedom in linear systems.
  • Ability to manipulate algebraic expressions and variables effectively.
NEXT STEPS
  • Study the method of substitution in linear algebra for solving equations.
  • Learn about row reduction techniques and Gaussian elimination.
  • Explore the concept of degrees of freedom in systems of equations.
  • Practice solving systems of equations with varying numbers of equations and unknowns.
USEFUL FOR

Students and professionals in mathematics, particularly those studying linear algebra, as well as anyone involved in solving systems of equations in engineering or computer science.

cmab
Messages
32
Reaction score
0
Linear stuff: I never get the awnser...!

[3 1 1 1 0]
[5 -1 1 -1 0]

Where the variables are X1 X2 X3 X4.

I always get somethignt that is far away from the answer.
The answer should be x1= -s x2=-t-s x3=4s x4 = t

Help please!
 
Physics news on Phys.org
cmab said:
[3 1 1 1 0]
[5 -1 1 -1 0]

Where the variables are X1 X2 X3 X4.

I always get somethignt that is far away from the answer.
The answer should be x1= -s x2=-t-s x3=4s x4 = t

Help please!

What did you do to begin?
 
apmcavoy said:
What did you do to begin?

At first, i putted the first number in the frist row as 1.

so i get [1 1/3 1/3 1/3 0]
than i eliminate the 5 to make it a 0.
But its after that i got ****ed!

mayday!
 
cmab said:
[3 1 1 1 0]
[5 -1 1 -1 0]

Where the variables are X1 X2 X3 X4.

I always get somethignt that is far away from the answer.
The answer should be x1= -s x2=-t-s x3=4s x4 = t

Help please!

What was the question?? I think you have two equations in 4 unknowns and both equations are equal to 0. (It is mildly confusing that you tell us the variables are X1, X2, X3, X4 but then write x1, x2, x3, and x4!)

Do you understand that there are many different ways to write the answer depending on exactly how you do this? It might be that your answers that are "far away from the answer" are, in fact, exactly on the answer!

You could do this by "row reducing" but with a simple problem like this I think just "substitution" is best.

The equations are 3x1+ x2+ x3+ x4= 0 and 5x1- x2+ x3- x4= 0. I might do something like add the two equations and get 8x1+ 2x3= 0 so that x3= -4x1.
Now, I choose (arbitrarily) to make x1= s. Then x3= -4s. Putting those into the two equations I get 3s+ x2- 4x+ x4= 0 or x2+ x4= s and
5s- x2- 4s- x4= 0 or x2+ x4= s. Since those two equations are exactly the same, I choose (again arbitrarily) to let x2= t and solve for x4= s-t.
My solution is x1= s, x2= t, x3= -4s, x4= s-t.

Is that "far away from the answer", which was x1= -s x2=-t-s x3=4s x4 = t? No, not at all. It might make a little more sense if I don't use the same letters as in your given answer: In my answer use "u" instead of "s" and "v" instead of "t". Then my answer is x1= u, x2=v, x3=-4u, x4= u- v. Looking at the "given" answer, I see that x1=u= -s. If I just replace u by -s, I will have both x1= -s and x3= -4u= 4s as in the "given" answer. MY x2 was v while the "given" x2 is -t-s. That would be the same if v= -t-s. In that case, my x4= u- t would become x4= (-s)-(-t-s)= -s+ t+ s= t, exactly as given.

That means that the set of points from my answer and the "given" answer are exactly the same! For example, If you take s= 1, t= 1 in the "given" answer you get x1= -1, x2= -2, x3= 4, x4= 1.
If you take s= -1, v= -2 (in my original form. In terms of u, v, I am taking u= -s= -1, v= -t-s= -2.) so that x= s= -1, x2= t= -2, x3=-4s= 4, x4= s-t= 1, just as before.

Because there are 2 (independent) equations in 4 unknowns, we have 4-2= 2 "degrees of freedom". We are free to choose any two parameters, arbitrarily, and write x1, x2, x3, x4 in terms of those two parameters. Of course, the equations you get will depend upon those arbitrary choices.
 
Last edited by a moderator:
Thanks bud, i'll look at it later on. If i have any problem, i'll post.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
758
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 1 ·
Replies
1
Views
915
  • · Replies 34 ·
2
Replies
34
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
5
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K