
#1
Jul710, 08:27 PM

P: 22

My questions is short and to the point: What exactly is a free variable (in a matrix, for example).
How do you know if a variable is free? Here's a matrix that (apparently) has a free variable: [1 4 3 0 0] [2 7 5 1 0 ] [4 5 7 5 0 ] Row reducing the matrix we end up with: [1 4 3 0 0 ] [0 1 1 1 0 ] [0 0 6 6 0 ] Apparently this matrix has a variable. Where is it and how do I know that it's free? Thanks!! :) 



#2
Jul710, 08:44 PM

Emeritus
Sci Advisor
HW Helper
Thanks
PF Gold
P: 11,536

Generally, if you have m unknowns and n independent and consistent equations, where n≤m, you have mn free variables. Reducing a matrix allows you to find out how many equations you have that are actually independent. In your example, you have 4 variables and only 3 independent equations, so one variable is free.
Which variable is free is arbitrary. You get to choose, but when you have a reduced echelon matrix, it makes sense to use the variables that don't correspond to pivot columns, just because it makes the algebra more straightforward. 



#3
Jul710, 09:12 PM

P: 22

Ohhhh OK. So, to clarify, in this matrix we have 5 columns (but only four of which have constants in them), so we have four variables. Then we have three rows (each row equals an equation). So we have 4 variables minus 3 rows which is equal to 1 free variable. We don't want to choose any position in the pivot columns as free variables, so that eliminates columns 1, 2, and 3. So that leaves us with columns 4. So we could choose either x_{3} or x_{4} as our free variable? Or are they both free variables? Can we only have one?




#4
Jul710, 10:20 PM

Emeritus
Sci Advisor
HW Helper
Thanks
PF Gold
P: 11,536

Free variables in linear algebra?
The convenient choice would x_{4}. In this particular case, since they turn out to be equal to each other, you could use either x_{3} or x_{4} pretty easily, but it's one or the other, not both. Generally, though since there's a pivot in the third column, you wouldn't use x_{3}.




#5
Jul810, 09:23 AM

Mentor
P: 21,073

[1 4 3 0  0] [2 7 5 1  0 ] [4 5 7 5  0 ] The elements of A make up the first four columns. The elements of the zero vector are fifth column. 


Register to reply 
Related Discussions  
Best Free Computer algebra system, like mathematica...but free  Math & Science Software  5  
Linear Algebra: Linear Independence and writing Matrices as linear combinations  Calculus & Beyond Homework  7  
Linear Algebra  System of 2 Equations with 3 Variablespossible?  Calculus & Beyond Homework  4  
LINEAR ALGEBRA: 3 vecotrs in R^4 (with 6 variables)  Are they linearly independent?  Calculus & Beyond Homework  3 