#linear-algebra
2 messages ยท Page 131 of 1
What's the rank of matrix
[0 0]
[0 1]
@wintry steppe 1
I think it's only 0 if everything is 0
may be wrong here
rank = number of independent columns
u have 1 independent column aka 0 1
$a \begin{bmatrix} 3 & -1 \ 4 & 0 \ \end{bmatrix} + b \begin{bmatrix} -2 & 5 \ 1 & 3 \ \end{bmatrix} + c\begin{bmatrix} 0 & 1 \ -1 & 0 \ \end{bmatrix} = \begin{bmatrix} 0 & 0 \ 0 & 0 \ \end{bmatrix}$
damn
lmao
TheDon:
That should compile
there we go
so that's a good answer then ๐ค
wait
Alright, do you see how you get a system of equations out of that?
if the rank of that matrix is 1
uh
I have no idea how to solve that unfortunately
and also it being equal to 0 isn't that going to be the kernel?
Thinking of a way to word this.
That is how you check of linear independence by definition
Right?
A set of vectors is linearly independent if and only if the scalars of the linear combination are all zero.
is that the idea here?
There's four of them right
yea
Then you solve the augmented matrix.
By using the row operations that you know about for solving matrices.
3a - 2b = 0
-a +5b + c = 0
4a + 1b - c = 0
3b = 0
essentially like the matrix
3 -2 0
-1 5 1
4 1 -1
0 3 0
?
ok I can already tell probably 2 of them are going to get cancled
nvm I'll just solve it first
If it comes out that a = b = c = 0. then they are linearly independent and you're done.
how can i find the solution set for x+2y+3z=4
well b = 0
3a - 0 = 0 => a =0
4a + b - c = 0 => c=0
but I can cancled out some of these
I got it from
3a - 2b = 0
-a +5b + c = 0
4a + 1b - c = 0
3b = 0 => b=0
then the first equation 3a = 0
then either one of the remaining 2nd/3rd
can someone help me with this question
I did a but I came to the conclusion that both lines don't intersect
so how do I do b and find an equation that's perpendicular for both?
It doesn't matter how you do it. You can either do it the first way by just noticing that b has to equal zero because 3b = 0
or you can notice it from cancelling the equation
either is fine
@dapper lance the solution set sort of describes it self via that equation. Are for the vector equation of the plane that equation describes?
@dapper lance if so hop in a questions channel.
I'll help you there.
just @ me
@magic light but do you see how we can now conclude that the matrices are linearly independent?
@wintry steppe put htis in a questions channel and I'll help you out
which one?
I see that but
You said the second one right?
I don't understand how to eliminate if they weren't
(I've got a question in Zeta if someone can hop in)
like say we got a=1 or whatever
if I try to solve by elimination:
R2: 4R2 + R3, it becomes 0 21 3
then R2: R2 - 7R4 it becomes 0 0 3
R3: 4*R1 - 3R3 it becomes 0 -23 2
so we have
3 -2 0
0 0 3
0 -23 2
0 3 0
working a little we'll R3 to be 0 0 0
first eliminating it with R4 then R2
we would get
3 -2 0
0 3 0
0 0 3
so I did eliminate one of them
unless I did a mistake somewhere
I'm not sure what you're asking exactly but you take the matrix that you're given and get it in the row reduced echelon form.
we found out that the basis we found is independent
If you're asking, if they weren't linearly independent, how do I get a linearly independent basis out of that set?
because a=0=b=c
right
but what do I do if they're dependent ?
yes, sort of
I mean I should know which one to reduce
in regular vectors you just find the columns that don't reduce
actually now that I think about it perhaps I should've used columns instead?
that is
3 -1 4 0
2 5 1 3
0 1 -1 0
To get a basis out of that is a little bit more spicy and i'm going to use more linear algebraic concepts to explain it.
wait
before you do
so we've got T(1, 0, 0)... the regular basis
to find the image
but because these are matrices, we're doing it differently I suppose
I'm a bit confused on how to find the kernel either
I'm really losing focus on whats going on lol
Oh snap you're right
Wait no no no
This is right
That is what you do if you want to use a basis from the space your mapping from to to get a basis for the set you're mapping to.
There is a much easier way of doing this. Would you like me to explain it to you or would you like to keep going along with this?
easier way of solving this?
I don't mind it's just I'm not sure whats going on anymore
im so out of focus on this
I know the definition of linear dependency gives a solution a1v1 + a2v2 ... = 0 iff a1=a2...=0
but this isn't usually how I solve these things
usually what happens is that we get vectors, for example T(1, 0, 0) = (2, 3, 4) or whatever
then I take these and I put em in a matrix and eliminate them
then I take the columns of whats left
I think thats how I do it
not sure anymore t_t
ok
O.k. so you've gotta brodaen you're perspective about what it means for things to be linearly independent and linearly dependnent.
The idea of linear indepdence/ dependence is not restrict to just "vectors" in the way that you think of them i.e. them being points.
The idea of linear independence and dependence is much more general than that.
yeah I know
I didn't even really think about the vector stuff before you mentioned a[matrix] + b[matrix]... = 0 matrix
but I don't understand how practically I take matrices and show they're independent
When you show that a set is linearly independent or dependent it doesn't matter whether or not they are points or not.
You do it same the way you show that it's true when the vectors are points.
Literally the exact same way.
can I just treat it like a 4 variable vector?
the only difference is that we're dealing with matrices instead of points i.e. fact points are matrices but with only one row / one column.
like instead of
a b
c d
it'll be (a b c d)
Kind of yea.
so
It's a bit more subtle than that
T(1, 0, 0) =
3 -1
4 0
T(0, 1, 0 ) =
-2 5
1 3
T(0, 0, 1) =
0 1
-1 0
can I just do
representative matrix:
3 -1 4 0
-2 5 1 3
0 1 -1 0
?
No.
That doesn't work
But you can represent them as this
oh hold on
yea you're right
sorry
(question-Zeta if someone can help)
Is that the Transformation matrix?
how do I know
so I get this confused
how do I know if to put the vectors in columns or rows
OK
so now that if I solve this and eliminate, I don't get any 0's
this means that they're independent
You mean that you don't get a row of zeroes?
yeah
Not necessarily.
but if they're dependent they would cancel out
I'm trying to parse what you're trying to tell me because it's not very precise. There's certain vocabulary that's used to describe these thigns which is why I'm getting a little bit confused.
If the rows are dependent then you get a row of zeroes yea.
But that doesn't necessarily mean that the columns are.
There's a much more straight forward way of oding this.
Cool
The image are the set of matrices that are equal to that.
Right? All matrices have to look like that
if you want a basis for the image then you need to rearrange the terms of the matrix.
Here's what I mean
$\begin{bmatrix}3x - 2y & z + 5y - x \ 4x + y - z & 3y \end{bmatrix} = x \begin{bmatrix} 3 & - 1 \ 4 & 0\ \end{bmatrix} + y \begin{bmatrix} - 2 & 5 \ 1 & 3 \end{bmatrix} + z \begin{bmatrix} 0 & 1 \ -1 & 0 \ \end{bmatrix} $
Do you see how I got there?
I didn't do that.
You get these matrices by doing that though; that is by coincidence.
It doesn't always happen to be like that
All i did is used what it meant for matrix to be in the image of T
and then rearranged the equation accordingly into a linear combination of matrices
TheDon:
It has to do with the TeX bot
anyways yeah I guess I see how you got to that
Alright, it can be shown that this will always give you a basis for the image.
Those matrices
The set of those matrices
Im(T) = ?
the span of those matrices
how do I write that
so you're write it as $$Im(T) = span \left { \begin{bmatrix} 3 & - 1 \ 4 & 0\ \end{bmatrix}, \begin{bmatrix} - 2 & 5 \ 1 & 3 \end{bmatrix}, \begin{bmatrix} 0 & 1 \ -1 & 0 \ \end{bmatrix} \right }$$
If we have two systems like Ax = c and Ax = d and they both are consistent, then does that mean Ax = c+d is also consistent?
TheDon:
but what about the kernel?
also
ok
so I don't know if these are linearly dependent though
right
nvm
I'm getting too tired and confused lmao
oh i understand lol
how do I find the kernel here, solve for 0?
@hidden ember yes.
O.k. so you have to use what it means for a vector to be an element of the kernel right
T(v) = 0
That means that $T\left( \begin{bmatrix} x \ y \ z \ \end{bmatrix} \right) = \begin{bmatrix} 0 & 0 \ 0 & 0 \ \end{bmatrix}$
TheDon:
Yup you've got it.
@half storm
@hidden ember please post in questions channel.
Alright so that means $$\begin{bmatrix}3x - 2y & z + 5y - x \ 4x + y - z & 3y \end{bmatrix} = \begin{bmatrix} 0 & 0 \ 0 & 0 \ \end{bmatrix}$
I need to find the KerT = something
TheDon:
Compile Error! Click the
reaction for details. (You may edit your message)
You solve the corresponding system of equations right? You put it in an augmented matrix and solve for x y and z
I don't that is what it means though
so all vectors that have x = some formula, y = some formula, x = some formula are in the kernel.
I need to multiply this by a vector
ok
So then you get a system of equations where all of them are equal to zzero.
Yup
and so on
Yup
But once you solve for x y and z, that's it.
That's what the kernel has to be, the set of all vectors that look like x = some formula, y = some formula , z = some formula .
I would really appreciate it if someone can give me like a tip/hint where to begin with a question
@fossil rampart What question?
Starts as the yellow part " Find a basis ..."
The main thing that's confusing for me is the W = span{v1 , ... } not sure what I should do with this information
W is a vector space, and they define it with the span of 4 vectors
The orthogonal complement is another vector space orthogonal to W @fossil rampart
can someone explain why this isnt Linear indepence
after solving by rrf i ended up with
@half ice so to solve the problems do I need to find the basis for the Null space ?
@dusky epoch
wym?
@half forge Because there's free variables. That means it's linearly dependent
which one is true and false?
what'd you try
why do you think
lead me in the right direction
for b its just 1/2 of 2b
whick is b
so makes sense to me
but im not sure
and for i its consistent
show me all the steps for showing ii is true
why b+b?
vector addition
show me ALL steps from M(u+v) to b+b
bro im out of time soon
test?
this affects your grade?
not much
it's a timed quiz. asking for help on it is rule breaking
ok
assignment
but timed
so false true?
its over now
i just want to know
and explanation
you're asking for help on a timed assessment. there's a rule against it
Send a picture of the screen that says it's done?
for future reference never ask for help on any quiz/test
can we take the determinat of the matrix?
not fully, you must look through notes to find what you need
look up defn of consistent system & properties of matrix multiplication
no answer. look up this stuff then decide
you looked for 5secs. take a good look through
the algebra you did for ii is ok but you didn't justify it
@gray dust i looked at the rules and i think ii is true
solely based on the fact that half of 2b is b
and that ur allowed to move them around like that
and i think i is true too cus if its consistent thats one of the properties for it to be in the column
you didn't justify M(u+v)=2b
why Mu+Mv
cus u multiply it in
wdym
that doesn't apply
c is a scalar
show me properties of matrix multiplication
you can't articulate your reasoning
you can only do it with other matrix
so for that reason its false
the distributive property
correct?
you can view a vector as a nx1 or 1xn matrix
yes
a 1 column matrix
so then the distributive property would apply
??
im trying my best here
yes
i want to see all the steps
ill articulate it in words
start at M(u+v), end at 2b
Mu = b Mv = b
M( U + V) = MU + MV = Mu + Mv = b + b = 2b
watch the caps
i cant just turn it back to a vector?
basically
Mu = MU
is that correct?
or can u not do that
why capitalize?
it's also bad bc you introduce U,V out of nowhere. be consistent with variable names
better
justify each step on the side
okay
and a vector is the same as a 1 column matrix
so we can use this
and we know when they are multiplied they are equal to vector b
which is also a matrix
so b + b
ah heres where i have issue
in each step write the algebra then the justification
you're going too fast
its 2 steps
for 2 reasons: we can treat vectors u and v as 1 column matricies, and second reason we can apply matrix distribution as they are all matricies so we can apply A(B +C) = AB + AC
so then
Mu + Mv is the result
that's my train of thought
ok. Mu+Mv=b+b, why?
because simply Mu = b from what was declared they are the same
and Mv = b
so i can just use b for Mu and b for Mv
yes sub in
essentially I am doing matrix addition on b and b
which is the same as multiplying b by the scalar 2
b+b=2b. you don't need a reason for that. so M(u+v)=2b
so its true my friend
see the process we just went though, that's ideal
does anyone know how to do the proof I sent above ๐ถ
Hello guys can I get some help with this
I solved a similar one where I had only an x and Y but now I have like 3 variables what do i do
rightmove,
zoopla and
purplebricks. The housing.txt file contains the data of housing prices in the area:
:the first column is the size of the house (in square feet)
:the second column is the number of bedrooms
:the third column is the price of the house (in GBP)
You would like to use this data to help you determine a good price for your house using Linear Regression learning algorithm.```
didn't get what I'm supposed to understand from that but I found a tutorial on youtube thanks though
hi
is there anyone here who can tutor me in linear algebra
i am willing to pay for a tutor
im really struggling in this class
We don't endorse cash transactions. You can feel free to ask any questions you want on the server though
Best source you can probably start with in linear algebra is 3b1b's linear algebra series on YouTube. It's not too long, watch through it
For 3a, I already have a a mapping that satisfies the requirements and the question is asking me to show that it is linear and unique, right?
could you help me understand part b
(I actually have the solution, but I don't understand it and want to give it another attempt)
Right so you need to show that the set of linear maps from V into W is isomorphic to to the set of m x n matrices whose entires are taken from the reals.
That's basically how you're going to end up showing that the rank of the linear map T is mn.
How do you show tthat map T is isomorphic, ideally you have to show that it's surjective and injective.
Actually, since the only thing that it wants you to show is that the matrix is surjective, you need to show only that. That it's a surjection. Though that map is indeed an isomoprhism - it is also one to one.
What you need to do is start with an arbitary matrix $A \in M_{m,n} ( \mathbb{R})$ and show that there exists a linear map say U $\in L( \mathbb{V}, \mathbb{W} ) $ s.t. $T(U) = A$.
TheDon:
okay, just read this. I will give it a try
Do u mind checking if this is sufficient for 3a
we know U exists because each element in the arbitrary matrix A can be represented by a linear combination of the vectors from the basis of W (since L maps from V to W and the entries are from the reals).
now we must show that rank(T) = dim T(U) = m*n
Some tips for setting this one up?
write out what 12,25,26, and 37 are equal to in terms of the initial populations
0.4 times the chamber itself, and 1/(number of rooms other chamber is neighbor to) times other neighboring chambers
oh...
can someone explain too me why it doesnt span
geometrically, the two vectors (-1, 3) and (4, -12) both lie on the same line through the origin, so they cant possibly span R^2
It spans the sub space
did she make a mistake?
no
i thought it would spanned since i followed this similar example
The span is a subset of V but doesnโt necessarily span V
well if you did that and you got that they span R^2, you made an error
You would need like an additional vector whose not scaled by that vector and independent to span R2
Usually youโd want to check for linear independence first
then if it is, you can gain some intuition for the span set.
If not and itโs linearly dependent, then youโre done
oh so then how do i know that it doesnt span
dim(span(S)) = 1.
Well, for this example, look at โยฒ. Its a plane. If we have those two vectors you have one is a vector (-1, 3) and the other is a scaled vector from (-1,3). Theyโre on the same line like ttera said
span(S) = span{(-1,3)}
(4,-12) is just -4 * (-1,3), so it does not add anything new to the span
To span, you would need a vector thatโs non scaled from (-1, 3) cuz then, you could take a whole bunch of linear combinations and generate that plane
hmm okay, im confused though
whats wrong with example 3 for spanning? is that another method they did?
ah, โ^3
can i follow the steps for my problem?
the system looks consistent at a glance but that cannot be derived just from observing that there are as many unknowns as equations.
also is this like,,, chegg or sth
i would recommend putting those vectors into a matrix and then taking its rref
i would also recommend not going on chegg
so the way they did it, it wasnt specific enough?
also, for spanning can we find the determinant?
the only time taking the determinant would be conclusive is if you got something non-zero, in which case there would be one and only one solution
if the determinant were zero, you could have either zero or infinitely many solutions
assuming you take the entries of the vectors and set up a matrix / system of equations / whatever like they did in the previous picture
we define the dimension of a polyhedron $P \subseteq R^n$ as the dimension of the smallest dimensional affine subspace containing $P$:
$dim(P) := \min{k \in N: \exists A \in R^{nxn}, rank(A) = n-k \land Ax = Ay \forall x,y \in P }$
Why can we define an affine subspace like $Ax = Ay$? So we have one single $A$ such that we can transform each point onto each other?
lyinch:
Was wondering if it is true that if two matrices A,B will commute (AB=BA) if they have the same eigenbasis?
Scalar matrices commute with everything and certainly not every matrix has the canonical basis as an eigenbasis
So the answer is no
What about if they had the same canonical basis as an eigenbasis for the two matrices? Would they then commute?
So the column rank is always the same as the row rank?
So the column rank is always the same as the row rank?
@keen patrol yes
Is there a good explanation for WHY?
You can show rank(A)=rank(A^t)(Defining rank as dim of range A)
And that's what we want
If both matrices have the same eigenbasis, then you can write them in that basis and they would be diagonal, so they commute @errant mist
Also,show rank(A)= columnrank(corresponding matrix)
@earnest vessel thanks, I understood.
<@&286206848099549185> any comment on my question from earlier?
You can always write a linear subspace as $\ker A = {x \in \mathbb{R}^n\ |\ Ax = 0}$ for some linear map $A$. Affine subspaces are the same but instead of $0$ you write an element $y$ of the affine space: $ {x \in \mathbb{R}^n\ |\ Ax = Ay}$. So in some sense $A$ gives you the direction and $y$ gives you a point to start drawing.
@versed hearth
How is that related to $ \exists A|Ax=Ay$
DrunkenDrake:
edelopo:
but in my case $x,y \in P$ and in yours $x \in \mathbb{R}^n$ and $y \in P$ ?
lyinch:
Because in your case what you want is that the affine space contains all of the points in the set P
You could write it as $P \subset {v \in \mathbb{R}^n\ |\ Av= Ay}$, where $y$ is some point in $P$
edelopo:
that means that $\forall v \exists y: Av = Ay$? If I understand my definition it says that :$\forall x, \forall y: Ax = Ay$
lyinch:
I think that's the confusing part for me
The first one is a tautology, I don't understand what you mean
okay I need to think a bit about what you wrote
Your condition is that $A$ satisfies that $Ax = Ay \forall x, y \in P$
edelopo:
yes exactly
That is equivalent to saying that for all $x \in P$ you have $Ax = Ay$ for some fixed $y \in P$
edelopo:
Because equality is transitive
And that is precisely the definition of $P$ being contained in the set of all $v \in R^n$ such that $Av = Ay$
edelopo:
So the final step to understand this is that "the set of all $v \in R^n$ such that $Av = Ay$" is the affine space with direction $A$ passing through the point $y \in P$, and we are requiring that P be contained in this
edelopo:
If a matrix 5x5 has 1,-3 and 15 as a eigenvalues, then a) A is diagonalizable b) B is not diagonalizable c) we cant say anything
recall defn of diagonalizable
If we can find a Matrix P invertible consisting of eigenvectors
is it guaranteed by what's given?
Mm i think no cause we dont know how many eigenvectors has associated every eigenvalue
how many lin indep eigenvectors do you need to build P?
5
how many lin indep eigenvectors are you guaranteed?
3
diagonalizable guaranteed?
Noo
defective guaranteed? @dry pulsar
Noo
why no for both?
question, can you check spanning by checking the number of vectors?
we dont know the multiplicity of eigenvalues
so we may have 5 LI eigenvectors but we don't know for sure. what can you say?
Nothing
that's it @dry pulsar
Just make sure theyre orthogonal
wym
Dot product for each pair should be zero
So why do they call singular matrices singular? Just because they have no inverse?
not entirely sure but I'd guess it comes from "singularity"; a matrix $M$ is non-invertible iff $\ker M \neq {0}$, i.e. if $Mv=0$ for some non-zero $v$
bastian.uwu:
Any recommendations for videos to watch as a review for finals?
Im terrible and proofs, trying to learn, anyone have any tips to lead me in the right direction?
definition of set equality
sorry?
what
did you ever prove 2 sets are equal
never before ๐ฆ
basically you want to prove that the set of linear combinations of u and v are equal to the other set
right @gray dust?
using defn of set equality
what's the definition
i just think of set equality as "if they both contain the same elements they are equal"
that's the intuition. there's a precise defn
oh i thought you were calling me dumb 
this channel is in use sorry
@gray dust what's the precise definition
@whole solstice did you ever prove 2 sets are equal?
I'm look at https://www.math.ucla.edu/~yanovsky/Teaching/Math151B/handouts/GramSchmidt.pdf on page 2 and don't understand how they got (0,1,1)-1/sqrt(2)(1/sqrt(2),1/sqrt(2),0)-1/sqrt(6)(1/sqrt(6),-1/sqrt(6),2/sqrt(6)) to be (1/sqrt(3), 1/sqrt(3), 1/sqrt(3))
I got (-2/3,2/3,2/3) instead. (Sorry for the formatting. Don't know latex yet)
I got it reduced to (0,1,1)-(1/2,1/2,0)-(1/6,-1/6,1/3) which is (-2/3,2/3,2/3)
Yeah I think it's a typo. They mixed up e3 and u3.
Spent the whole half hour trying to figure out why my answer was wrong and it just turned out to be a dang typo :/
this is not linear algebra
try #prealg-and-algebra , #precalculus , or one of the ten questions channels
bruh i've thought of this for a while and idk the answers to either
i had a couple answers but their domain didnt include ARN
arn?
all real number
A power of the identity matrix is just the identity matrix right? Like I^n=I ?
yea gooddeath
hmm what were your answers? let's see if we can extend them to all reals
for a) we can make g(x) have a small range so that f(g(x)) doesn't double up on the same outputs f(x) does
nvm lol
ur first example doesnt work
if u square g(x) u still dont get an injection
because g(x) has multiple x of the same y
does anybody know about any R->R injective functions that have infinite domain
but is not surjective
arctan @surreal thistle
what channel should i ueese
you see my answer?
what is it
test
PleSe unmute me I did not do anything
Can u unmute me
Unmute me
I have a question
Iโm trying to learn
can anyone explain to me how to do this? im pretty sure that these vector space axioms has something to do with it, but my book doesnt show me examples of what to do to prove them, but maybe if i figure out how to start A1. maybe ill know how to do the rest, so what my idea is that you pick one that looks similar to it and prove it?
i think that A2. and A5. works for the top and bottom one in that order
wait no that doesnt make sense for A2 the complex number is multiplied not added
maybe you start with A1 and end with A8 because it looks like its solving something i think?
i was thinking about doing something like this, showing how x and y can be backwards and equal to that equation but it doesnt look like it works ```
A1. x + y = y + x
x = (a + bi)
y = (c + di)
x + y = (a + c) + (b + d)i
= (c + a) + (d + b)i
= (c + a) + (di + bi)
= y + x```
So for the identity matrix like EVERY vector is an eigenvector right? With eigenvalue 1 because I * v = 1 * v
That's pretty nuts. They're ALL eigenvectors right?
of course they are, here 1 is the only eigenvalue and its eigenspace is the whole space
Neato
Hi, i use formula for zooming y = exp(-x * x) / radius Are there any other options to do that?
@quiet crane Are you trying to prove that C is a vector space using the vector space axioms? Ur A1 proof is ok
how can I find the vector using it's magnitude and direction
what's the vector in? R^2?
Any good video lectures for linear algebra ?
You might like strang
Me in early 8th grade seeing this with algebra test today ๐๐
Here is my proof attempt. Suppose $T \in L(V)$ and $U_1,...,U_m$ are subspaces of V invariant under T. Then for $u_1 \in U_1,...,u_m \in U_m$, $Tu_1 \in U_1,...,Tu_m \in U_m$. Define $U_1+U_2+ \cdot \cdot \cdot + U_m= {u_1+\cdot \cdot \cdot + u_m \mid u_1 \in U_1,...,u_m \in U_m }$. Since $U_1+\cdot\cdot\cdot+U_m$ is the smallest subspace containing $U_1,...,U_m$, pick $r \in U_1+\cdot\cdot\cdot+U_m$, so we could express $r$ as a linear combination, $r=a_1u_1+...+a_mu_m$, where $a_1,...,a_m \in F$. Then, $T(r)=a_1T(u_1)+...+a_mT(u_m)$. Since each $Tu_i \in U_i$, for $i={1,...,m}$, then $a_1Tu_1+...+a_mTu_m \in U_1+\cdot\cdot\cdot+U_m$. Hence the subspace $U_1+\cdot\cdot\cdot+U_m$ is invariant under T.
Otoro:
<@&286206848099549185>
It's fine
thank you
Good Day , I need help to find the orthogonal complement W prep of the vector space W
W= span{ v1 , v2 ,... ,v4} , vi element of R^6
What I think I should do :
Let V be the matrix defined by the set of vectors spanning W
V* < x1 , ... ,x6 > = 0 to find the rank of V
Then produce a basis by using Gram-Schmidt so that the resulting vectors are orthogonal to the vectors spanning W
Is my understanding correct , if not please help ๐
Gram-Schmidt doesn't give you a basis out of nothing, you need a basis to start with. What you have to do to find W perp is to compute those vectors perpendicular to W (obviously). To do this you set the equations <v_i, u> = 0 for i=1,2,3,4 and solve for u. That is, you have a system of 4 equations in 6 variables and you need to find the space of solutions (a basis for it).
I hope I'm following you correctly ? A
Yeah, you have to find the ker of that matrix
What I understood from what you were saying , I need a basis for W using the vectors spanning W , once I have that basis , Then I can use Gram Schmidt ?
Yes
Thank you all so much ๐๐
You don't need Gram-Schmidt unless you want the result to be an orthogonal basis. You can just give the basis of W perp and have it be non orthogonal.
Oh okay , if the question was give an orthogonal basis then definitely use Gram Schmidt
Yeah
Much Appreciated ๐
I'm trying to figure out when to stop iterating my program, QR Factorizing my square matrix and flipping them, and I saw on the wikipedia that Gershgorin circle theorem is used to determine whether or not my A_k value is a triangular matrix.
Why is it used?
anyone know how to do number 2?
Hello, again heres my attempt. Suppose $S,T \in L(V)$ such that $ST=TS$. So $S,T$ are both invertible, this also means that both of them are injective and surjective. Because $T$ is injective, $T(0)=0=\lambda \cdot 0$, for $\lambda \in F$, so $null (T-\lambda I) = {0}$. Then, $S(0)= \lambda \cdot 0 \in null(T-\lambda I)$, because S is injective. Therefore, $null (T-\lambda I)$ is invariant under S, for every $\lambda \in F$.
Otoro:
How do you know S and T arw invertible?
ah Im very sorry, I should use that T is a scalar multiple of the identity instead, as it is proven in another exercise
okay let me retry
That is only if it commutes for all S
what do you mean ?
You fix a T,now if You choose any S such that ST=TS,then T has to be a scalar multiple of Identity
Here,T and S are both fixed
oh so that isn't permitted as well then I guess
Hint:||(Using a in place of lambda) Let v be such that. (T-a I)v=0
Then,(T-aI)(Sv)=TS(v)-aS(v)
=ST(v)-aS(v)=S(T-aI)v=
S((T-aI)v)=S(0)=0 ,So the space is invariant under S ||
may I ask (T-aI) need not to be an operator right ?
its just a map that works for the calculation ?
so as a sense, we defined another operator ?
Yes
I see, so the usage of defining something applies here again....
wasnt even expecting this
I mean the question requires you to define that
Because without T-aI, the null space of T-aI wouldn't make sense
(Also,I used a instead of lambda because I wanted to hide it)
yeah I was thinking about that, but I may have confined myself in thinking T has eigenvectors
so in this case, v themselves are eigenvectors already ?
sigh, I guess I need to be more observant on how to define things suitable for the question
thank you
can someone help with 11b
<@&268886789983436800> I believe this is not allowed?
Oh am i not supposed to link
thank you LINEAR_ALGEBRA_GUY
are you familiar with lagrange interpolation?
Nope
Someone at my school's math centre told me lagrange interpolation too, but I couldn't understand what they meant
given a linear system of inequalities, what is an equality subsystem?
can somone show me the steps for this one?
It really is just a complete row reduction
Keep track of where you divide, and note you can never divide by 0
If you can't get to rref, there's not exactly one solution
OR if you know determinants, that will work too
That's not rref lol
Almost there though
In order to finish, you will need to divide by some expression of k. That is of course not possible if you're dividing by 0
hey guys, if T and U are linear transformations in Rn such that T(U(x)) = x for x in Rn, does that mean that U(T(x)) = x?
will there be a case where they wont be?
hey guys, if T and U are linear transformations in Rn such that T(U(x)) = x for x in Rn, does that mean that U(T(x)) = x?
@brave scaffold yes if UT=I,TU=I
hmmmmm
Yea, that's it.
yea if it's from R^n into R^n
I see that now.
If they were mappings between vector spaces of different Hamel dimension, then I was gonna say "it depends"
right cos my thinking was there might be matrices that have a left inverse but no right inverse
so if its in the same dimensions i guess it makes sense that that will be true
can someone help me understand why in the very first step they would want to change r1c1 to a 0?
instead of leaving it as 1
like is it arbitrary or am I missing something?
they got the first col to a state where there's a single 1 there and everything else is zero
it doesn't matter exactly where the 1 is cause it can always be relocated to the corner if one wishes
two questions in one channel 
Thanks @dusky epoch I understand that part I just find it a little weird that we were taught to go in a specific order. Maybe it was moreso intended to show that it doesn't matter...
if you're doing it by hand it doesn't matter the exact sequence of row operations you take
Thanks. I'll keep that in mind.
which part? a or b?
there's a very elegant way to reframe part a which will make the task way less daunting
@inner oxide
a
ok
instead of proving that b has either 0, 1 or infinitely many preimages
prove that if b has at least 2 distinct preimages then it actually has infinitely many
or to put it another way: suppose there exist $\bd{x}_1, \bd{x}_2 \in \bR^n$ such that $A\bd{x}_1 = \bd{b}$ and $A\bd{x}_2 = \bd{b}$ but $\bd{x}_1 \neq \bd{x}_2$. can you show that the equation $A\bd{x} = \bd{b}$ actually has infinitely many solutions?
Ann:
๐ป
well R means an arbitrary ring obviously
ah yes $\bR$ is an arbitrary ring 
TTerra:
Lmao
i need help with
A7 = 7 - 5n
i can say with like 95% certainty that you have the wrong channel, and with 100% certainty that you fucked up the notation so that it's impossible to understand what you meant.
its sequences
Sequences of what?
their question is now in #prealg-and-algebra
what is this called?
What do you guys call on this graph?
if you mean what that function looks like - a piecewise linear one. https://en.wikipedia.org/wiki/Piecewise_linear_function
Hey does anyone know a linear algebra book that isn't about computations and more catered towards intuition? Like how 3blue1brown explains in his videos
So, You want an abstract LA book?
thanks @dawn remnant
Also, You can just libgen
Is it just A?
Whoever:
$A(A^{k-1} - \frac{10^k-1}{9}) = 0$
ConfusedReptile:
if this is a linear algebra problem, the solution for A is actually not obvious from here. A matrix can result in an identity matrix when put to a power without itself being a diagonal matrix, I think.
a yz-plane is when x = 0 iirc, which explains why the place where x intersects is zero
but i don't understand how to get the other two coordinates
i used t=29/8 and just plugged it back into the line equation
nvm i found the answer
yz plane means x=0
so when you do 0=(equation for x)
you get 0 = 3t+5
then you can find t and the rest is trivial
this is a dumb question i think but in a transform the dimensions of the standard matrix dont need to match the dimensions of its input right
it just needs to still be valid for multiplication
What do you mean?
like theres no reason that if the standard matrix of a transform is 3x3 that the input couldnt be a vector
it would just mean the codomain of the transform would be 1x3 vectors
a 3x3 matrix can transform a 3d vector into a 3d vector when multiplying A v and a 3d covector (row vector) into a 3d covector when multiplying v A
if you write vectors as column ones (that's the norm I believe), you have linear operators be multiplications from the left by some matrix, A(v) = A v.
are you using the $\begin{bmatrix}a&b\c&d\end{bmatrix}^{-1} = \frac{1}{ad-bc}\begin{bmatrix}d&-b\-c&a\end{bmatrix}$ formula?
Namington:
if so, you forgot to divide by the determinant
indeed, it should be easy to observe that $\begin{bmatrix}-1&0\0&1\end{bmatrix}$ is NOT an inverse for $E_3$, as when you multiply these together, you do not get an identity matrix.
Namington:
I see. I wasn't finding a new determinant for every elementary matrix. I was just using the one I found from the A matrix given originally.
Thanks @limber sierra
can you span Pn(R) with less vectors than degree n?
it sounds impossible
if you represented the vectors as a matrix and tried to reduce them you'd have more variables than vectors
oh I realized that I was misreading the question which is why I had that question
thank you for the assistance either way
Guys, I know how to calculate a determinant and I know that it tells me if a matrix has an inverse
But.. how ?
What is the relation between Laplace theorem and the inverse of a matrix ?
Well, the real relation comes from det(AB) = det(A)det(B)
This tells us that A has an inverse iff Det(A) does
And the only number without an inverse is 0
The more "fundamental" question is, why is det(AB) = det(A)Det(B) true?
There are proofs of this of course, but honestly it does feel like black magic
I see
You are right
If I think that det(AB) = det(A)det(B)
B = A-1 and det(I) = 1
det(A)det(A-1) = det(A.A-1) = 1
so:
det(A)det(A-1) = 1
det(A-1) is not zero, so det(A) cannot be zero
@limber sierra I cannot believe that humanity found this..
it was not the best expression hahaha
so what i did was
i made two vectors
AB and AC
then i did a cross product to find the normal for the plane
then i used the equation a(x-x0) + b
(y-y0) + c(z-z0) = 0
not sure why it's giving the wrong asnwer
Guys am I proving axiom 4 correctly?
Oops I did not mean to write the 0+0i part
The general element a + bi has a negative, -a - bi. This is because
(a + bi) + (-a - bi) = 0
And the algebra that follows from there does it
Oh so I donโt need to show the distribution of the negative sign
I think distributing a negative sign is not one of the axioms. It's a true fact, but something one needs to prove. Don't use that if you don't have to haha
It's equivalent to
(-1)x + x = 0
i mean if you phrase it as
"Write -(a+bi) for the (hypothetical) inverse of a+bi. We want to show -(a+bi) exists; to do this, we will show that it is equal to (-a) + (-b)i by showing that satisfies this property."
this is fine
this is kind of overcomplicating the exposition a bit
but its fine to do
Dang yours sound formal, I was thinking about something like โAdding the negative form of x to positive x will cancel out the numbers. Thus, making the equation equal to 0.โ
But I think this should help me out more than my textbook, so 7. And 8. Is where I absolutely need to show distribution right?
7 and 8 are distribution, yes
oh shit i thought you were working in a group, didnt realize this is #linear-algebra
i mean my thing still works
but for simplicity in that context i'd do as kaynex hinted at
and just say "the inverse of a+bi is (-a) + (-b)i"
and then prove it in the way you did
skipping line 1
Thx
erm... does anyone know how i could go about doing this? I know how to calculate the formula to start creating the matrix, but I'm not sure what T is supposed to be ._.
the transpose
ohhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh. so it's not power? ahh im so stupid omg
for instance $\begin{pmatrix}1&2\3&4\end{pmatrix}^T = \begin{pmatrix}1&3\2&4\end{pmatrix}$
bastian.uwu:
ah thank you so much
Here I tried to prove by contrapositive, so if $U \neq V$ and ${0}$, then $U$ is not invariant for some operator. Define $T \in L(V)$, $T(v)=v+1, \forall v \in V$. Take a basis of $(u_1,...,u_m)$ from $U$ and $r \in U$. Now write $r$ as a linear combination, $r=a_1u_1+...+a_mu_m$ for $a_1,...,a_m \in F$. Then $T(r)=a_1Tu_1+...+a_mTu_m=a_1(u_1+1)+...,a_m(u_m+1)=a_1u_1+...+a_mu_m+(a_1+...+a_m)$ Then the first part is in U, but the second is not. Hence $U$ is not invariant to such operator.
Otoro:
What is 1?
Im sorry, but I don't get what you're asking
1 is usually not a vector(Assuming you are talking about the multiplicative identity)
then maybe I should replace 1 with like a constant vector $c$ ?
Otoro:
I wanted to define an operator that shifts the elements
Yes
but the approach is something similar right ?
Yes
ah alright, at least I got this
Could you elaborate on why constants are not a linear map ?, just because $T(0) \neq 0$, just means it is not injective though
Otoro:
Definition of a linear map T is that
T(cx+y)=cT(x)+T(y) for all x,y in vector space and c in the field
This means T(0) will always be 0
oh so the shifting has to be an input for the map yeah ?
If T(0) is not 0, you end up with something called affine spaces
whats the difference ?
I havent learnt affine spaces yet, but from what you've said, Im guessing vector space with eigenvectors are affine spaces right ?
All vector spaces are also affine spaces.
so vector spaces are a subset of affine spaces then ?
Yes
ooo okay then thanks
(Hint: ||Let's say U is a proper nontrivial subspace of V. Which means there is a vector w in V,but not in U. So, Consider the linear map T mapping everything in U to w. U is clearly not invariant under T|| )
I thought of something
Let $(u_1,...,u_m)$ be a basis in U. Define T as $T(u_i)=v_{i+1}$ where $v_i's$ are the basis vectors of V. Then pick $r \in U$, write that as a linear combination, so $T(r)=a_1v_2+...+a_mv_{m+1}$ which is a vector in V but not in U. Is this okay ?
Otoro:
A basis vector in V ?
The basis vectors are not fixed
You could have a basis part of which is basis of U
What if I defined T(u_i)=v_i, where v_i are just vectors not in U ?
I was thinking somewhere along that, which is to map vectors from U to outside of U
Ahhhhhh okay thanks
May I ask what is a nontrivial subspace ?
Any subspace other than the zero subspace and the vector space itself
So if I were to rewrite the proof, it would go as follows right ?
Let $(u_1,...,u_m)$ be a basis in U. Define T as $T(ui)=v_i$ where $v_i$ are vectors in $V \setminus U$. Then pick $r \in U$, write that as a linear combination, so $T(r)=a_1v_1+...+a_mv_m$ which is a vector in V but not in U.
Yes
Otoro:
Thank you :)
One thing, so your hint is to map elements of U to a particular vector in V that's not in U
So instead that's simpler than what I did though
When we are testing linear independence of vectors
Why do we test if the linear combination of the vectors only have a trivial solution to the 0 vector?
Why can't we pick any abritrary vector and see if it only has a unique soluion?
Is it just because of simplicity? Because I've seen definition of lienar independence specifically state the 0 vector
if you pick an arbitrary vector it might end up not in the span of the set you're testing for LI
im guessing y'all get a lot of axler here
i'm not even sure where to start with this, any ideas?
you just need to show that there's a zero vector and that linear combinations are in the set right?
derivatives being linear makes it all work
yeah the zero vector was easy to show
what is meant by derivatives being linear?
uhh it isnt taken i dont think
just designated for linear algebra
it means they are linear i.e the function for calculating derivatives is a subspace
do you know what linearity is?
and by taken i meant that you are asking a question ๐
dont want to interrupt
do you know what linearity is? @slim gyro
hey im trying to calculate a variance - covariance matrix and im getting negatives on the diagonal
i have to be doing something yea
I have positive eigenvalues should it should be positive definite yea?
hi i have a question
how to calculate the eigenvalues of a matrix in the following form?
@ocean sequoia linearity is when the graph is like a straight line right?
so you're saying if you think of taking the derivative of a function as a function itself, its graph would be linear?
ah thats where you are confused
go re-read what linearity is
this is super important which is why its worth going back through on your own
I have positive eigenvalues should it should be positive definite yea?
@ocean sequoia i mean as long as the eigenvalues are positive and it's symmetric it's positive definite
yea hm wtf