#linear-algebra
2 messages · Page 27 of 1
np
is there a way to figure out how many basic variables are in the general solution of a system with x linear equations in y variables that has z free variables?
so the number of linear equations doesnt affect the number of free variables?
yeah that makes sense tbh
sure it does, and so does the linear dependence/independence of the equations. Have you ever heard of rank-nullity theorem by any chance?
do you know anything about fundamental subspaces?
ah ok then. Just a remark: you can't have more "basic variables" than there are equations. That may have been the relationship you were looking for
oh okay
so in the general solution of a system with x linear equations in y variables that has z free variables, given that x > a (basic variables), a = y-z
right, and you don't need to be given x>a. That will always be the case :p
okay
so in the case where x <= a, what would happen to the number of basic variables?
it would have to equal the number of equations then. It is NEVER the case that the number of basic variables exceed the number of equations
This is simply because if you are given equations that all have variables x y and z, then of course there is nowhere for a w to come from
Similarly the number of basic variables can’t exceed the total number of variables.
@topaz plover did you get it?
nope im not sure which one it is
you have a free variable (the last column doesn't have a pivot). do you know what that means?
infinite?
right. the solutions (x,y,z) are x=5-2z, y = -1+3z where the z coord can be anything
npnp
@north sierra math is a cycle of "i don't get it those are just words/symbols and they make no sense together" followed by "holy crap no way that's amazing" moments
strap in
(that said, a good professor can make a huge difference)
show us your work @north sierra
looks good
get it into rref form
whats that
turn the main diagonal into 1's
or you could convert back to a normal system at this point and sub things in
thats what i normally do
@slow scroll i think the hw wants him to rref all the way
@north sierra eliminate the 5 from R1
the answer in the book is (-8,3)
didn't ask for the answer, just asked you to eliminate the 5 in R1
lol
you can add rows to each other
what does that mean?
so its like the elimination you were doing, but in the opposite direction now
for example you can take all the numbers of R2 and add them to their corresponding numbers in R1
@north sierra it might help to list out elementary operations
that's your toolbox
easier to work if you have the tools laid out in front of you
the way they explain the three elementary operations in my boom is very confusing
book
e
- you can multiply a row by a non zero constant
- you can multiply a row by a non zero constant and add the result to another row
- you can swap rows
you goofed up
by eliminating x_1 from the system
im not allowed to do that?
it looks like you wrote R1*5R2 
yeah
lmao
dat aint an elementart row operation
You can only multiply rows by a scalar, add rows, and add scalar multiples of rows
e
- you can multiply a row by a non zero constant
- you can multiply a row by a non zero constant and add the result to another row
- you can swap rows
1 5 | 7
0 1 | 3
go back to this. you want to eliminate the 5 in the top right, because then you have 1x + 0y = ? and 0x + 1y = ? and the problem is finished.
no, how do you do get rid of the 5?
i did option 2 right?
you did none of them
-5
1 * _ = -5
-5
do you see a way out yet?
nope
how do you get rid of 5
you add -5 to it
how do you add something w/ an elementary operation? add a row to it
The general idea is that you want each column to contain one thing that's not 0, except for the last one, because that's your answer
well you dont see -5 anywhere... where are you gonna get a -5?
you've done this before, i can see because you did 3 steps prior
row1 * -1?
that's one way to do it
but
then you have the -5 where you want 0
and you can't add the row to itself, that's not a valid elementary operation
so you need to get the -5 from elsewhere
there is only one other place you could possibly get it from
well, it would delete the 1 in the top left, which you need to keep
also i dont think that even makes sense as an operation
Row 1 * 1?
what happens if you do Row2 * -1 + Row1?
thta's not what -1 + 5 equals
a little bit
you can freely manipulate that 5 by messing with the 1 below it
how do i know when to stop?
well.... what if you just use something else instead of -1?
1 * -1 + 5 = 4
1 * _ + 5 = 0
what is _
-5
try it
ok
i meant to put -8 sorry
not positive 8
wow its the same answer as the books
so how did you manage to get it fast?
any tricks?
rref calculator
?
rref = reduced row echelon form btw
it's not a method
you used gaussian elimination, the method, to turn the matrix into reduced row echelon form, the result
oh
is there a way to do this fast?
or is it guess and check
and also how do i know when i'm done?
i only knew i was done cause i checked the answer from before
you know you're done when you get your matrix into RREF
(or if you show the matrix is inconsistent or has free variables, whatever)
when the main diagonal of the matrix is all 1's
and every other element is a 0 (besides the right column)
tbh RREF can take on slightly different forms but that's usually the way you want to get it
a good way to know is if you have a row of 0s with a nonzero at the right side
if you have a row 0, 0, 0, 4 that implies 0 = 4, which is bullshit, so no solution
look at the RREF matrix on the right
that's what you want to get your augmented matrix to
those aren't other methods
that's just describing what other matrices look like
a square matrix has the same number of rows as columns
no
oh
and RREF is NOT a method of solving
oh
you're referring to GAUSSIAN ELIMINATION
if you can get the matrix into rref, that will directly give you the solution to the system
the method you just used to do your hw
$\begin{bmatrix}1 & 0 & 0 & 0 & 4\ 0 & 1 & 0 & 0 & 2 \ 0 & 0 & 1 & 0 & 1 \ 0 & 0 & 0 & 1 & 7 \end{bmatrix}$
RokettoJanpu:
this matrix is in rref
when you have a diagonal of all 1's... and every other element is a 0 (besides the right column)
RokettoJanpu:
plug your solution into the original system
like i heard you can add the values back into the original equation?
then what answer should i look for
listen
it's like you solve 2x = 6
you solve it, x = 3
how to check it?
plug the solution into the original equation
e
2*3 = 6
6 = 6
makes sense, your solution is good
i see
okay thank you so much
i have to sleep now
but i will continue learning tomorrow morning
no problem. do your best to review how to solve matrices with elimination
have a good night
Prob:\
$A = \begin{bmatrix}1999&b&1\a&b&0\b&a&1\end{bmatrix}, a, b \in \mathbb{R}$\
A has an eigenvalue $\lambda = 1$\
Find $f(a,b) = 0$\
Proof:\
Let $x = 1999$\
$p(\lambda) = \det(A-\lambda E) = -\lambda^3 + (x+1+b)\lambda^2 - (xb-ab+x)\lambda +xb-ab+a^2-b^2$\
Because $\det(A-E)=0$, so\
$p(\lambda) = (1-\lambda)(\lambda^2-(x+b)\lambda+xb-ab-b)$\
and we need\
$xb-ab-b=xb-ab+a^2-b^2$\
$\Leftrightarrow a^2-b^2+b=0$\
$\Leftrightarrow f(a, b) = a^2-\left(b-\frac{1}{2}\right)^2+\frac{1}{4}$
that's my proof
but I find it not right when I choose a = b = 0
Nguyễn Thành Trung:
"Find f(a,b) = 0"
:?
what does this mean
does this mean find a function f(a,b) that is zero iff your matrix has 1 as an eigenvalue
So the problem was "find a necessary and sufficient condition for a and b such that 1 is an eigenvalue of A"?
Oh ok, your solution seems alright
but when I choose a = b= 0, A doesn't have 1 as an eigenvalue
that makes me so confused
Why doesn't it?
Nguyễn Thành Trung:
what's x
let's see
A-E = [1998, b, 1; a, b-1, 0; b, a, 0]
we need det of that to be 0
det(A-E) = a^2 - b(b-1)
Ker(A-E) if a=b=0 is not {0}, so 1 is an eigenvalue
You're also forgetting a -λx term
why is the span of the empty set the set containing the zero vector?
let a = b = 0
$A = \begin{bmatrix}1999&0&1\0&0&0\0&0&1\end{bmatrix}$
Nguyễn Thành Trung:
Aut(1)=span{(-1,0,1998)}
Has only 1 among real eigenvalues or among all eigenvalues?
find a, b if it's possible
thank you @dusky epoch
I'll try
oh well
it's not possible
@heavy glacier according to the definition of span(C) as the smallest subspace containing C then span(emptyset) would be indeed {0}
@undone garnet are you sure? I got some values of them that seem to work
$(1-\lambda)^3 = 1-3\lambda + 3\lambda^2-\lambda^3$\
$p_A(\lambda)=xb-ab+a^2-b^2-(xb-ab+x)\lambda+(x+1+b)\lambda^2-\lambda^3$
Nguyễn Thành Trung:
so we have 3 equations
$\begin{cases}xb-ab+a^2-b^2=1\xb-ab+x=3\x+1+b=3\end{cases}$
Nguyễn Thành Trung:
$b=3-x-1=3-1999-1=-1997$
Nguyễn Thành Trung:
$xb-ab+x=3 \Leftrightarrow a=\frac{xb+x-3}{b}$
Nguyễn Thành Trung:
Nguyễn Thành Trung:
Ah you're right sorry, I made a mistake
$A=\begin{bmatrix}2&1\2&3\end{bmatrix},B=\begin{bmatrix}-2&1\-1&4\end{bmatrix}$\
$X \in M_2$ satisfies $AX-mX=B$\
Which condition of $m$ to let $X$ has 1 as an eigenvalue
Nguyễn Thành Trung:
😐 well, I have a tedious equations and don't know how to solve
(A - mI)X = B
Mm, B is also invertible
B^(-1)(A-mI)X=I
We could impose B^(-1)(A-mI) to be invertible and its inverse to have 1 as an eigenvalue
Hmm, but if Xv=v, and note we have B^(-1)(A-mI)Xv=v, so (B^(-1)(A-mI)-I)Xv=0, so (B^(-1)(A-mI)-I)X is singular, but B^(-1)(A-mI)X=I, so X is invertible, so (B^(-1)(A-mI)-I) is singular
and then you can probably attack that @undone garnet
for 2x2 matrices, singular means it is $uv^T$ for column vectors $u, v$.
Element118:
well
i solved it
here my proof
if $X$ has 1 as an eigenvalue so exists vector $v \neq 0$ such that $Xv=v$\
$AX-mX=B$ \Leftrightarrow (A-mE)X=B \Leftrightarrow B^{-1}(A-mE)X=E$\
$\Rightarrow B^{-1}(A-mE)Xv=v = Xv \Leftrightarrow \left(B^{-1}(A-mE)-E\right)Xv=0 \Leftrightarrow \left(B^{-1}(A-mE)-E\right)v=0 \Rightarrow \det\left(\left(B^{-1}(A-mE)-E\right)\right)=0$\
after solving equation, I got $m=1, 2$
... you use E for identity matrix?
hmm, next I think you might need to check that m=1, 2 work
can't accidentally introduce extra solutions
Oh very nice, essentially using that if M is invertible, λ is an eigenvalue of M iff 1/λ is an eigenvalue of M^(-1)
Then yes, to conclude it will suffice to show whether B^(-1)(A-mI) is invertible for m=1,2
Will the linear combination of any vectors in S still be in the span of S
I'm having a brain fart rn
idk will it
oh got it
hehe, that's direct from definition of span
"Now let W denote any subspace of V that contains S" Does the word contain mean span(S) is a subset of span(W) ?
Well, S here is a set of vectors. Here it just says that the subspace W contains the vectors in S, well, which IMPLIES that the subspace W contains span(S)
or $S \subseteq W$
Nicoskiy:
Nicoskiy:
W is the subspace, so if the set of vectors in W can be called W, then W = span(W)
@noble swallow , sorry to bother you. When you get the chance could you chat with me about the problem I showed you yesterday
Yeah
Okay, so how would you define a midpoint of AC?
What is the position vector for that point?
Position vectors make sense to be used here
Well, AC/2 works if A is the origin
So, now you need to find the midpoint of BD and show it's the same point
The professor said to use a separate point as the origin
If my origin is the midpoint, then how do I go about expressing that?
15 minutes
@final wing
What have you tried?
(And this is probably discrete math)
maybe abstract algebra if you try hard enough
the second one can be vaguely considered abstract algebra
also Map(X, X) is the worst notation I've ever seen
I like it. There's no mistaking what it is
X^X tho
@pallid swallow tried considering x in X how many choices for f(x) there would be
Then doing that for some y in X
Every element in the domain (X) has between 0 or |X| arrows on it. How many arrows? Does that help?
Oh true, we also need the arrangements of those arrows
ok you won't be missed
Shut up

you said you were leaving
💩
why don't you do that instead of throwing around insults only to delete them seconds later thinking nobody saw them
Mods ban him
oh, i see you're misgendering me too? how nice on your part.

What's the undercomplication? I'm not sure I know the best way to calculate this
for each element of X, you have n options for where to map it
Oh duh, yeah that's easier
@wintry steppe are you gonna apologize for calling me a "he" when i'm so clearly not, or are you gonna keep being an asshole
Sorry
So every element has 2^n maps out of it
no
Sorry

Let's say X = {a, b, c}
Then a can map to:
a, b, c,
a and b, a and c, b and c,
all three,
None of them
I’m sorry
and n! bijctions
@half ice but no
Sorry
we aren't talking about multivalued maps
@wintry steppe no need to apologize more than once

I thought we were? It just says "map"
If we allow any general relation then there's 2^n ways to map each element, and n elements, meaning there's n(2^n) maps
But I'm open to other mapping types
@half ice map = function
Oh, well in that case it's a bit easier
even number of relations is very easy
2^(2n)
you were just over complicating things
how do they go from step 1 to step 2 in only 1 step
like i get that you could expand it all
It's not obvious to me either.
i’m having trouble solving this linear equation using Gauss-Jordan elimination
(matrix row reduction)
Isn’t gauss Jordan for computing matrix inverses tho?
i dont knwo
@slow scroll you can use it to compute an inverse, but you can use it to just get a matrix into RREF as well
@north sierra same deal as last night
use the same operations you already have
you understand what RREF is now at least?
Yeah
and you understand why we want to put a matrix into RREF?
no
that might help w/ motivation at least..
But like i dont know why this is not intuitive
remember how a matrix is a representation of a system of equations?
what happens if all the coefficients in an equation are zero, except for 1
0x + 0y + 3z = 9
z=3?
right
better still,
0x + 0y + 1z = 3
right?
so if we can get every equation into that form, at the same time, the solution is literally sitting there on the page
oh
that's literally all RREF is
i see
lol
am i going in the right direction?
ive been stuck on this for like 40 minutes
so there is a pretty standard sequence you can follow that works reliably
wow there you need to solve with the QR decomposition or the LU decomposition or the LUP decomposition or the SVD or the polar decomposition
instead of just eyeballing and guesing
yeah right now im just eyeballing and guessing
i would like to know a good way to do this
let me see if i remember it, hah
Hello
I'm trying to solve this matrix
@north sierra here's a guide https://people.richland.edu/james/lecture/m116/matrices/pivot.html
that too
or you can just back-substitute, which is the same thing
lol i’m on that website salt
is there a video on youtube?
basically "put the biggest stuff at the top" and "work up from the bottom left"
its saying add -4 times row 3 to row 1
$\left[\begin{matrix}- \frac{37}{254} & \frac{19}{254} & - \frac{5}{254}\\frac{101}{508} & - \frac{45}{508} & - \frac{55}{508}\\frac{33}{508} & - \frac{65}{508} & - \frac{23}{508}\end{matrix}\right]$
here's the inverse of your matrix
it looks uugggly
Uh what?
Perform the following 3 elementary row operations, one after the other, and give the resulting matrix at each step:
oh
hah i was wondering
yikes
@wintry steppe so what are you stuck on exactly?
well
i dont understand what those calculations are under the matrix
you see how x1 is 10, x2 is -19, and x3 is 19
you're multiplying by 4? ok
Im unsure what values that r1 has
what does the question state?
Add -4 times r1 to r3
it sounds like they want you to modify r3 and leave r1 as-is
Okay
Got it correct, thank you :)
How would I do this next problem
0 5 0 5 -25
1 -1 5 0 6
I have to solve it in RREF
@green garden
did you try any row ops yet?
you can multiply a row by a nonzero constant and add the result to another row
do an interchange first
now it's in rref 🙂
oh wait no it's not
your work is correct
it's in rref
I think it’s correct
then what's the question?
I forgt to solve the lattice
Had to look at my 📝
matrix*
Is this even possible? I can't think of any examples
W1 = span([1, 0, 0]) and W2 = span([0, 0, 1]) works with the first condition
@pallid swallow Seems impossible
I got to a contradiction where m+n < dim(W1 + W2) AND m + n > dim(W1 + W2)
@pallid swallow ?
<@&286206848099549185>
Can any helper look the question and see if my answer is valid?
@thin bloom, it's not impossible
wat
Try L[(1,1,0)] and L[(0,1,1)]
You just need that their intersection isn't empty
And that W_2 is not contained in W_1
No, it would be 3
wait
Wait, facepalm
Sorry
I meant L[(1,0,0);(0,1,0)] and L[(0,1,0);(0,0,1)]
o my ga
what does this mean
like is this just every matrix with 1s and 0s as entries
\
like is E just every matrix m x n with 0s and 1s
They tell you what E^{ij} means
i dont understand it though
what don't you understand
1 0 0
0 0 0
0 0 0
^ that's E11
0 0 0
0 0 1
0 0 0
^ that's E23
yeah I got it thank you so much
would
$$S=\left{\begin{pmatrix}1\ 0\end{pmatrix},:\begin{pmatrix}0\ 1\end{pmatrix}\right}$$
be such a set
apples:
well, those aren't diagonal matrices, but they are isomorphic to that representation so basically
No this isn't right
ohhh I see
The elements of S are not in your subspace
$$S=\left{\begin{pmatrix}1&0\ 0&0\end{pmatrix},:\begin{pmatrix}0&0\ 0&1\end{pmatrix}\right}$$
apples:
how about now?
yes
awesome thanks!!
Pivots have to be exactly diagonal in the matrix?
111|3
010|0
002|2
000|-10
can i divide row three by just 1/2 to make the 2 into a 1?
@north sierra yes
but you know the system is inconsistent regardless (last row, you cant have 0=-10) so its not necessary go on with row operations
ok but i think i made a mistake
so something here is wrong but i can’t figure out what i did wrong
could someone point out my mistake please?
@north sierra yeah one sec
uhm
i think you messed up step 2
try row 2 = row 2 - row 1
step 1*
to put a matrix in rref
you try to get one pivot positions
sorry im in a movie kek
LOL
#❓how-to-get-help is always open
but why wouldn't what i did work?
lol
yeah idk how you got that
ur at the movies?
ye ye
enjoy the movie m8 lol
you watching matrix reloaded?
LOL
😄
@north sierra
yeah\
ok so
our goal is to try to get a pivot position in each row
so first, take the first column
the first row should be a 1, and all of the rows should be 0 in the first column below it
to do that:
row 2 = row 2- row 1
row 3 = row 3 - 2(row 1)
row 4 = row 4 - 5(row1)
ok
after doing that, the only nonzero in the first column is in the first row
can you explain why my first step was wrong?
because by step 4 i have what you want
how
i just looked at it very shallowly, didnt realize it was right
usually you would take the top row and use multiples of that to get 0 in each row for the first column
ok ok ok ok
ok
LOL
anyways, you have to make a deduction from the final matrix you wrote
whats a deduction?
basically, does it have a unique solution, infinite solutions, or no solution
do you know which one of the three ^ it is?
yes
cause 0 0 0 != whatever number
BAM
but the thing is
o
i think i did this wrong
o
yeah
why
the answer that my teacher posted is diffferent
wait a min
what did you do in step 3 on your paper
i didnt look at the algebra lol
the algebra is right
but what did you do in step 3
to get from the 2nd to the third matrix on your paper
basically how did row 3 go from 2 1 0 2 --> 0 1 2 4
i took (2 * Row 1) - row 3
lol
when doing row operations, you have to add or subtract from row thats changing
so you cant do row x - row 3
you have to do row 3 - row x
oh
so you would do row 3 - 2(row 1)
always the row you want changed - or + x row?
yes
😄
if there are any other mistakes just ping me ill be on discord
im not watching this movie i have noise cancelling headphones running
too scary
my friends went
oh
bad movie
lol
: D
you there @earnest zinc
hi
hi
i need help
im help
yaya
send send
yay
is 3rd step good?
lets see
what was the 2nd step??
let me do it and then show what i did
then you can ask ?s 😄
hi
oh shoot i missed somethinng hold on
when do we use swap rows?
okok
when should we swap rows*
yeah its goodo
damn i feel sad
ive been trying this for hours
and you finished it in 5 minutes
lol
nah dude, this is hard to grasp
im soooooooooo bad
takes practice, but you'll do it in quicker
just do the assigned homework 😄
anyway, anything look iffy?
what's the 1 called again?
our goal is to try to get a pivot position in each row
so first, take the first column
the first row should be a 1, and all of the rows should be 0 in the first column below it
pivot
whats pivot
i understand all that stuff you explained
do you know what echeon form is
just wanna know what pivot is
reducing == doing all of the steps to get that last matrix i wrote
so i can only call a non zero a pivot once i have reduced the matrix fully?
yea, then its the first non zero number in each row
not important rn though
did you justify each step i did?
yeah i understand everything
just thinking what comes next is the hard part for me
also whats the point of a switch
switching rows
and when should it be used
you do a switch when you wanna make a matrix look better
if i didnt use a switch in the 5th matrix i drew
then the answer would look like this
compare this matrix to the one above it
the one above it just looks nicer
let me see if i can find a easy set of steps that tell you what to do
in the top matrix
the "pivots" go left to right each column down
but in the bottom matrix it doesnt do that
also, in the second matrix, you made the 1 in row 2 a 0, isn't that bad ?
shouldn't you keep all the diagnol 1's
diagonal*
switching rows makes that diagonal
ohh
if i didnt switch the rows earlier, i wouldve gotten that matrix ^^
ok
makes sense
okay
but you know for mine
i did 2R2 - R3 to not get rid of that
1
in 1st matrix
thats a very complicated way to do it
okay
so the MAIN goal is to just make the the first (row2,column1) a zero and not worry about weather i am going to change the 1 in the diagonal line?
can you answer my Q above lol sorry
yes yes
what text book is this?
wow
no well
i couldnt go to lectures because i was busy
so i just took the tests and did the homework
actually ill DM it to you
the structure might not match that of your college, so DM me any problems and ill find the corresponding notes in the book
anyway, the finding the solution to any matrix
you find the left most non zero column
DUDE
then you switch the rows so you can have a non zero in the first row and first columnn
i just bought this book
LOL
for $135
how can we prove that A doesn't have an eigenvalue not equal 0 iff A is nilpotent matrix?
"A doesn't have an eigenvalue not equal to 0" is a roundabout way to say "all the eigenvalues of A are 0"
but how to prove there's no another matrix such that all eigenvalues of it are 0 but it's not a nilpotent matrix
Suppose A has a non-zero eigenvalue k. Then let v be an eigenvector corresponding to that eigenvalue. Then we have that: Av=kv. Since A is nilpotent, we can find n such that A^n=0 matrix. So we have A^n v=0. But this is not possible, because we already have A^n= k^n * v, and since k is non-zero, this can not be 0, a contradiction.
A^n v = k^n * v I meant
thank you
I can prove this state
but the reverse
A has all zero eigenvalues
A has to be a nilpotent
oh sorry I misread the "iff" as "if"
could someone explain this theorem in another way?
like what im getting from it
@undone garnet there are different ways of seeing that
is: u have 2 vector spaces v & w, then the lin. combinations of the set of all linrar mappings that go from v to w is a vector space?
Have you seen the generalized eigenspaces decomposition of the space (should be dealt with in Jordan normal form theory I think)?
Or Cayley-Hamilton theorem?
Right, that gives quite a direct proof of it, given that if 0 is the only eigenvalue of A, then p_A(λ)=λ^n (with the appropriate sign)
So A^n=0
Heyo folks! Im doing Linear n DiffeQ at uni rn, but when looking at the homework.
I think its more of a DiffeQ question, but not sure where to put it
Ight, thankya
I would just test u v and w for 3. For part a of 4, use properties of linear transformations and for part b you have
Ap=b
Aq=b
So think about how you can conclude that p-q is in the null space. Think: what does it mean for p-q to be in the null space?
@wintry steppe
is there any way that i can calulate rank using power itration or power method
Should I post exercises for which I have the solution but which I just generally find interesting to solve
(I esp like my solution for this one)
And if yes then is there a specific place maybe.)
@gray dust
you were saying to check if i got the matrix right plug the values back into the equation and check if they equal each other
?
yes, similarly to if you solve 2x=6, you get x=3, then plug x=3 back into the original equation to check the solution
like i never get the same number
i don't know what this means
sending a pic
one sec
so those are the equations and thats my matrix in RREF
so how do i check if im right
i dont get it
1 + 0 + 0 = 3 is what i get but that's not right
and 0 + 1 + 0 = -2 is wrong too
and 0 + 0 + 1 = 2 is wrong too
@gray dust
nvm
i got it
@north sierra yeah i saw what happened on the other server. plugging in the solution means plug in whatever x/y/z values you got into the original set of equations
oh
yeah i thought the row and columns were x y z too lol
but they're just the coefficient right?
You've actually found x = 2, y = -2, z = 3
Which is the solution to a system, if that's what you've started with
yeah
aright
but in the REFF
what are the other values mean?
100
010
001
000
before the |
You can read this as
1x + 0y + 0z =
0x + 1y + 0z =
0x + 0y + 1z =
0x + 0y + 0z =
Note your last equation reads 0 = 0
so if i plug x = 2,y = -2 , z = 3 in the variables, i should get -2, -2 and 3?
What do you mean "get"?
=
Your matrix just reads
x = 2, y = -2, z = 3
I don't know where you'd plug them in. This is a solution to a system
yeah but if i plug those numbers in the variables i will get the same answer?
If you plug those numbers into the variables, you'll find that all four equations are true
1(2) + 0(-2) + 0(3) = 2
0(2) + 1(-2) + 0(3) = -2
0(2) + 0(-2) + 1(3) = 3
0x + 0y + 0z = 0
this is what im trying to ask lol
is that True/Correct?
oh yeah it is this is cool
That's how we found x, y, z
I don't see what info your getting by then putting them back in
yeah
i was just wondering if it still works
That's the one you want to put them into
Because you found the x,y,z that solves that
yeah
airhgt
thanks for the help
how come i can't get the right answer for the 2nd equation
There is no unique solution. That is something you'd expect; there's four unknowns but only three equations
However, you've found lots about the solutions that exist
so there are infinite many solutions?
w + 3y = 1
x - 2y = 2
z = 3
w = 1 - 3y
x = 2 + 2y
z = 3
So you can select any y you want, and get a solution
So the reduced matrix can be written as
w + 3y = 1
x - 2y = 2
z = 3
Get comfortable with going between a matrix form and an equation form
w + 3y = 1
x - 2y = 2
z = 3
oh i see now
im using the matrix coefficients
instead of the original one
so i use the matrix coefficients for when i have at least one free variable?
Ya ya.
The matrix could be seen as the same as the equation, except you're just not writing out the variables
Yeah. I just rearranged the equations to get
w = 1 - 3y
x = 2 + 2y
z = 3
i see
So you can put in any y you want, and get a new solution to the system
Since there's one free parameter, the solutions form a line
Or, that the solutions form a one dimensional vector space
Hi i've been stuck on a simplex problem (Big-M/two-phase) for a few hours now and im not sure where im going wrong. Could you spare some time to help me please? Thanks very much!
Just realised i didnt post up my question
i've figured the slack, surplus and artificial variables
not sure where i'm going wrong in my simplex 😦
