#linear-algebra
2 messages ยท Page 143 of 1
thx baklava. youre carrying the channel
@cunning arch Im sorry to say, but I couldnt figure it out ๐ฆ
It's ok! Thanks so much for trying anyways 
ok so
i don't understand this
for instance, for the cokernel...
coker g = M/img(g) = {m + img(g)| m <- M}
how does this connect to idea of cokernel measuring how surjective something is bros
OOOOOOOh i get it nvm i am dumb
ignore me
Can someone help:
The pressure P is a linear function of temperature T. For T = 1, P = 3. For T = 2, P = 4 and for T = 3, P = 4.5. What is the best guess for P when T = 4?
Are you familiar with linear least squares?
sort of yeah just started learning
Are you familiar with the matrix representation of it?
yeah a bit
You can find your coefficients of a line from calculating
$$\mu = (A^TX)^{-1}X^Ty$$
where $y$ are your pressure observations and $A$ contains your basis functions evaluated at each temperature $T$.
Sebastian:
What is X?
I have a question, that I can't seem to answer (edit - I have gotten, that there is no solution to the expression - is that true?)
You have triangle T1, that has the corners A = (1,1), B= (3,-1) and C = (4,3)
We also have another triangle T2 with the corners R= (2,-1), Q=(7,-2) and P = (5,-7)
Does a linear Map / transformation exist that satisfy the following expression:
f(T1) = T2?
A mapping of the situation is seen below
@silver tree no, but an affine transformation does exist
ehhh wait
maybe there is
in general, no
usually there has to be some translation
and translation is not a linear transformation
I don't know what you mean by that
Uhm, Idk if I would violate any rules if I show it here.
but basically you need to show that the system of linear equations [A B C]^T [x, y] = [R Q P]^T is inconsistent
why would that be a violation of rules?
I meant more like violation in discord.
strange
I can't imagine linear algebra being a violation of the rules of discord, so I really don't know what you're talking about
I actually don't know myself - I'm very tired, I apologize.
Was thinking of something entirely different.
Anyway, with your linear equations [A B C]^T [x, y] = [R Q P]^T, I get this matrix (Just made augmented matrix with the linear equation) :
how'd you get a 3x4 matrix though
I expected a 3x2 matrix
oh wait nvm I see what you did
Then I have to solve for this, right?
yeah you row reduce it
Then I get this one:
so it is inconsistent
if you think about what the equations mean
the last one basically says that (0, 0) maps to some point that isn't the origin
alright this problem is wacky, so I wouldn't be surprised if no one can help, but let's see
im kinda rusty on eigenstuffs but I think you try to find the eigenvectors with the given info
yeah the problem is i don't know how to find the vectors
well for the eigenvalue 2, there is one eigenvector
(hint its given in the problem)
sure but the 1 eigenspace is what's confusing me
you know any eigenvectors with eigenvalue of 1 are in V
so you have to find the vectors that span V
then you can say V = span{u, v}, which would make u and v eigenvectors
i guess you would have y and z as free variables so that x = y{-14/8,1,0} +z{-3,0,1} is that right?
find a basis for the eigenspaces
and then write out the diagonalized form of the matrix
multiply together
and presto
Hmm so for example suppose det(A) = 0, you have the equation Ax = (4,7,1). If there exists a solution the solution would be the kernel + a vector right. Is that an affine subspace ?
well, if det(A) = 0, there's only one solution, but yes, it's an affine subspace
is it ok if i bump my question from this morning down one last time?
what question is it
I'm a bit lost on how to write the transformation matrix across a plane
Here's the full question. I know hwo to find the inverse matrix and whatnot, I'm just not sure how to actually get the transformation matrix
You can think of R^3 as generated by three vectors: the two vectors that generate the plane and the normal vector of the plane. A linear transformation is uniquely determinated by the images of the basis. So you want a transformation that leaves the two generators of the plane constant, and reflects the normal vector only. You can write this as something like
Av_1=v_1
Av_2=v_2
Av_3=-v_3 (we reflect this one)
but this is equivalent to writing the matrix equation A[v_1 v_2 v_3]=[v_1 v_2 -v_3], by definition of matrix multiplication. (edit: here [a b c] means the matrix with columns a, b and c.) You should be able to find A from here
Ah I'll sit on that and think about it for a bit, thank you so much! almost forgot normal vectors were a thing
hey guys, i managed to do (a), found the basis, rank & nullity. how do I prove for (b) & (c)? am stuck
r(Au) + s(Av) + t(Aw) = 0, since the vectors are linearly independent, r=s=t=0.
A(ru + sv + tw) = 0
ru + sv + tw = 0
Since, r=s=t=0, u, v, w has the trivial soln for the homogenous system, hence they are linearly independent.
Anyone able to verify the above? ^
Well, Don't conclude r=s=t=0 in the first step
If A(v)=0 v can be nonzero
So,You can't conclude that
hmm, how does v being nonzero affect r=s=t=0?
how can i find vectored triangle's angles in 3d ?
@warped garden for understanding b) and c) remember the relationship between linear maps and matrices.
then you will clearly understand the question
b you can prove by this, for c look at the RRE form and find the null space of A. If the null space is 0 then the map is injective, and c holds but if the null space is not 0 then the statement of c is not valid.
hello why did they change y + y = z?
and why didn't they reassign the value of 2x, or the value y + x?
this is the definition we're using btw
F is just any field, maybe not R where y+y=2y, it can be any number in F so this is he best way of writing the sum of subspaces
If you knew F = R then things could have been like you said
ahh
Yes you're right
multiplication can be defined completely differently in any arbitrary field
Yep !! 1st chapter of Axler!
but why didn't they reassign the values of x?
yeap lol i've been trying to work my way through it
ohhh wait no i got it
doesn't matter actually, because x is just any element of F
x + x = x + x, since we have two of them we just assign them to be the same thing
it can be whatever, just that the elements are the same
y + x is different, so we give it the variable name y, and y + y is something else so we give it a different name
they took the sum of x+x as x not because the sum of x+x is x, but he just took it x , for simplicity or you would have too many x,y,z,w,..
yeahh
when they say (x,x,y,y) + (x,x,x,y) they just mean that you need to use the definition of addition on that field for any two elements that are the same
the x in the first list just has to be the same as the x in the second list right?
not just any arbitrary ones with no conditions whatsoever
sorry if im being a bit dense atm lol
maybe, maybe not. It doesn't matter actually, why are you thinking to that point, that is not what Axler is trying to explain here.
idk the notation is a little confusing ig
but i think i get the point, the sum of two subspaces is all the possible sums of all the elements in the subspaces
yes ill try doing that
thank you
one other thing
if we decompose a vector space V into n different vector subspaces U, in that case the union of the vector subspaces is a vector space
right?
Guys how do this using subs method. I'm not allowed to use other methids.
what do you mean by subs?
Substitution
convert it into RRE form then solve it, substitution too messy. I won't do that way.
I'm supposed to use substitution method only. I'm not allowed to use other methods
yeah substitution is torture for this
oh wait
notice that if you add one to both sides on the top one and then equate the top and bottom ones
you might be able to get some headway there
yeah just do the traditional way then as cutiepie said
Let x_4 and x_5 be free variables. The use equation 3 to write x_1 in terms of x_3, x_4 and x_5. Substitute that into equations 1 and 2. Then make x_2 the subject of Equation 2 and substitute it into Equation 1*, then you can solve for x_3 in terms of x_4 and x_5. Then work backwards to get x_2 and x_1 too.
oh wow
That's a lot of work, so have fun. You can ask if you're stuck
x_4 and x_5 can take on any value if they are free
what they are are of no consequence to the validity of the solution
I get that but how does that make sense?
I don't get how a variable can take any value
if they were 0 or if they were 100 it doesn't change the solution
The equations don't have a single solution. So x_4 and x_5 can have any value, and that will determine the values of x1 x2 and x3. So there are infinitely many solutions.
@wintry steppe when doing gaussian elimination with an augmented matrix its same as substracting or adding an โn times โequation to another one
i believe when you multiply the matrices the free variables are zeroed out
I haven't learnt Gaussian elimination yet
You can kind of cheat, so if you put it in a matrix its easier to see, which row to subtract from the others. And then do it the same with those equations.
Ahhh
U still in highschool ?
Just started Uni
Aight, Good luck
Thanks man
So when I take X_1 in terms of X_3 x_4 and x_5 I can give x_4 and x_5 any values right?. So can I just give them 0 to remove them from the equation?
That will give you one solution but not all solutions
anyone could give some hints on how to start (i)?
Btw how do you determine what is a free determine. If the no. of equations< no. of variables, the extra variables become free variables?
The free values are the variables ( who correspond with its columns ) become all zero after reduced row echelon form
anyone could give some hints on how to start (i)?
i figured this out haha
hello is this a reasonable proof that the sum of subspaces is the smallest subspace that contains the constituent subspaces
hey guys, I've been stuck on this question for a couple of days now. Does there exist a field F with characteristic p>0 and an element a such that a^p does not equal a?
any help would be appreciated
Isn't a^p always 1?
I dont think so?
Nvm,I thought you used * instead of + in the notation
any thoughts?
Try a matrix field?
Try looking in the field of rational functions F_p(X)
F_p(X) has characteristic p
oh you mean rationals with coefficients in Zp?
sorry I'm new to this not very familiar with all the notations
Oh yeah F_p is the field with p elements i.e. Z/pZ or Z_p however you wanna write it
oh I see
so I can just take x+1 in F_2(X) right
characteristic 2
but (x+1)^2 doesnt equal x+1
does that work
or even just x, but yeah that works
@stray granite where are you stuck?
@stray granite where are you stuck?
@marble lance c)
I'm a bit confused on how to write the matrix transformation for a projection onto a line, because I don't think what I did here is right oops sorry for interrupting
It's okay, just ask in a help channel or wait until we are done
@stray granite seems similar to the others...
(1,3,-3) = a(1,0,0) + b(0,-1,1)
Then solve for a and b
should there not be 3 vectors in which give a linear combination of v ?
because v = to a vector of 3 coordinates ?
No, v = a linear combination of however many basis vectors there are
When you work in R^3, you have 3 basis vectors
But now you are working in a subspace of R^3 that only has 2 basis vectors
Then you do v =a(1)+ b(1+x)+c(1+x^2) and solve for a b and c
Yes
Yes
ok
unless you're still working on the problem, would it be ok if i bump my question down?
Go for it
I'm a bit confused on how to write the matrix transformation for a projection onto a line x_2=(tan(theta))x_1, because I don't think what I did here is right
After, it's just matrix multiplication and showing that it's not commutative, which I can do, I just can't get past this first part of actually building the matrix
my drawing is terrible but i hope you can see what does it says. basically i need to add vectors a'+c if i know b=1,a'=2 .i got sides b and c. problem is i dont know how to get x and y coordinates of a' and c so i can add them.
since dimNull(A) + rank(A) = n
does that mean dimNull(A) = n - rank(A) ?
where n is the number of columns of A
@stray granite yes
ok
@cunning arch you went from a vector to a scalar somewhere in your calculation; also, it's sufficient to compute the projections of <1, 0> and <0, 1>
and indeed, those are the columns of the matrix
To the best of my knowledge if A is invertible, det(A) is non-zero, there will be only one unique solution.
No idea what any of that language means yet sadly.
You could also think of it like this, if det(A) is nonzero, there exists an inverse to A, A^(-1), so pre-multiplying by A^(-1), you get x = A^(-1)b.
This playlist has a lot of good stuff in which is very easy to understand: https://www.youtube.com/watch?v=0iSvYwdVVPI&list=PLg2tfDG3Ww4us-ACGUOMdCiYXyg4ymxrK&index=104&ab_channel=TLMaths.
@austere cedar thank you. Also if you have a matrix row with all zeros equal to zero its infinite solutions right
You mean, if you write a system of n equations with n unknowns using an augmented matrix, then using row operations to produce a reduced row-echelon form matrix(Gauss-Jordan Elimination) and if you get a row of zeroes at the bottom of the Augmented matrix?
If so, yes, infinite solutions.
There's a neat thing when you do this, the reduced row-echelon form matrix is either an identity matrix or has row(s) of zeroes, if you have the identity, you can read off the unique solutions directly (no back substitution required, that would be Gaussian elimination with the augmented matrix being in any of the possible row-echelon form matrices, in that case you would have a unique solution, if you have a row of zeroes, to the best of my knowledge, you will have infinite solutions.
when I do this, is it as simple as row reducing the matrix?
that actually answers the next question
if you have an augmented matrix and one line is a scalar of another you also have infinite right
cuz the overlap is the solution set
and the overlap is infinite
in what context
yeah I know! that's okay. if the matrix has a zero determinant, I think it has none or infinite solutions
They call these systems, homogenous systems, you are guaranteed to have at least one solution, x = 0, they call this the trivial solution.
In summary, you either have exactly one solution, the trivial solution, or infinitely many non-zero solutions as well as the trivial solution of course.
To go back to what I was talking about before, since the matrix is now in row-echelon form (ref), you will have to use back substitution (Gaussian elimination), you could have used further row operations to get the matrix into reduced-ref (rref), so you can read the solutions off directly (Gauss-Jordan elimination), so that's just an option to you.
Vectors in R4 space with the last dimension as 0
is that sentence describing a 4x4 matrix with the bottom row being zeros?
how do i know that semi-orthogonal matrices preserve the norm?
i wanna prove it for myself but i can't figure this out
with x-Px you are removing the part of x that is in W
@austere cedar can it get to rref? The best I got to was:
It is in rref.
with two zeros on the right, since it's an adjugate
so is the basis {1,0} {0,1}?
it's actually this, since it's an adjugate
What are you trying to do, I should ask?
determine a basis for the subspace
then why are you row reducing an arbitrary matrix in W?
Can anyone confirm if the general solution of this augmented matrice is correct:
(1 0 0 | 1 )
(0 0 g/(2-g) | 1/(2-g) )
(0 0 0 | 0 )
General Solution: {(1, 1/(2-g) - g/(2-g), g) g E R}
I feel like I need to add another variable cause matrice itself has a variable
For general solution I mean
what you SHOULD do is find vectors that span W, then from those spanning vectors pick out a basis of W
for context the vector space you consider is M_2,3 ie the vectors here are real 2x3 matrices
I thought that was found by reducing the matrix definition, then from the leading coefficients you can determine if those vectors form a basis
the main thing you're not grasping is the vector space we're in
for context the vector space you consider is M_2,3 ie the vectors here are real 2x3 matrices
hm. I think I'm missing something for this.
M_2,3 is the set of all 2x3 matrices and this is a vector space where entire 2x3 matrices are its vectors, with rules of vector addition/scaling defined entrywise
eg (1 1 1; 1 1 1) is a vector in M_2,3
I don't know how to find the span of that :/ crap
rewrite the general form of vector in W as a linear combo av1+bv2 where v1,v2 are vectors
I'm assuming that conversation is over, so I'll repeat myself:
Can anyone confirm if the general solution of this augmented matrice is correct:
(1 0 0 | 1 )
(0 0 g/(2-g) | 1/(2-g) )
(0 0 0 | 0 )
General Solution: {(1, 1/(2-g) - g/(2-g), g) g E R}
I feel like I need to add another variable to general solution because matrice itself has a variable
@gray dust Sorry to bother you again, but I'm back around to this question. Is this the veritable first step in the problem?
So the span would be the matrices on the right?
Pretty sure your last matrice needs to have -1 in 2,3 position no?
check the 2nd matrix
oh
-1
you right
I wrote that down, but didn't type it out right lol
but the span is those two matrices right
rewrite the general form of vector in W as a linear combo av1+bv2 where v1,v2 are vectors
calling those vectors v1,v2 you showed any vector in W is a linear combo of v1,v2 so W=span{v1,v2}
you got a hint for the next step lol
or is it just if the span is linearly independent, it's a basis?
we call set of vectors that spans W linearly independent, not the span itself
we say the columns/rows of the matrix linearly independent, not the matrix itself. the cols/rows are lin indep iff det!=0
so by showing linear independence through c_1v_1 + c_2v_2 = 0 matrix, shows that it's a basis?
showing the only solution to c_1v_1 + c_2v_2 = 0 is c1=c2=0 shows {v1,v2} is lin indep
if {v1,v2} is lin indep and W=span{v1,v2} then {v1,v2} is a basis of W
you're welcome
are these not the same? I was under the impression that matrices are associative
๐๏ธ I'd have thought the same
They are associative but not commutative
So u cannot cancel the BB-1 since they're not next to eachither
๐ง
To see it:\
$(BC)B^{-1} = B(CB^{-1})$.
If you knew CB=BC then you'd be right cause you could do (BC)(B^-1)
(CB)(B^-1)
(C)(BB^-1)
stabulo:
is there a fast way to find the determinant of the inverse of a matrix
it's the inverse of the determinant of the original
since $\det(A)\det(A^{-1})=\det(AA^{-1})=\det(I)=1$
derivada.schwarziana:
so 1/det(a)?
yes
thank you
(bumping my question down from this morning). I figured out 1, I'm just really confused about building the matrices for reflections and rotations in 3D
Here's the work I've done so far: The projection of a vector v, <x1,x2,x3> onto a plane is equal to that v - projection formula, right? And that formula needs the normal vector, whcih I'm not sure how to get
And then for 3, I'm just really confused in general. Not sure how to start building the transformation matrix for that one
It anyone could help, it would be really really appreciated
find the coordinates of the 4 points which have integer coordinates and are a distance of โ5 from the point (1,2) hint 5=1^2+2,2
since 1
someone help me?
Update: I've figured out projection, if someone could just help me with reflecting, it would help a lot :)
@cunning arch what about reflecting?
assuming im understanding what you're supposed to do, one way describe a reflection over a plane, is to first apply a transformation that rotates the coordinate axes such that one of the axes is the normal of the plane. Then you just have to apply a simple reflection (where you negate a coordinate), and then undo the original transformation.
@slow scroll i'm just a bit confused on how to build the actual transformation matrix, and what the unit vector has to do with any of it
What I think was {(1, 1/(1-2s), -s/(1-2s), s) s E R}
if you were asked to make a transformation that rotates about some vector v in R3, could u do that?
Av_1 = v_1
Av_2 = v_2
Av_3 = -v_3 (this is the one that we reflect)
like here's my understanding so far
uhhh
like i know the rotation matrix, but i'm not sure
hm i have an idea, one sec
alright 
does this stuff make sense to u?
yes
ok, i assert that you can use what is there to get the reflection of v (the orange vector) across p
so just negative v-u
close
v-u is normal to the plane while v is not, so that would not make sense as a reflection, but you have the right idea
2(v-u)? lol sorry i'm not sure
because i thought everything just stays the same, and the normal vector just flips to be negative
ur so close lol. we want the red vector
lol i'm not sure what else i can try
its v - 2(v-u)
wait let me process that
wait can you explain why there's a v in front?
wait subtracting vectors
so, intuitively, you start with v
subtracting off one v-u gives you u.
subtracting off another v-u gives you the reflection of v across p
i thought subtracting vectors had to be tail-to-tail?
OH WAIT
sorry i'm trying to visualize this so if we subtract v-u from v, all i can see is yeah it's the length of u, but not on the pane
isn't that adding vectors then
OH NEVERMIND
LIGHTBULB MOMENT!!!
thank you so much, i think i can use that to build it
alright, nice, npnp!
Can anyone confirm if the general solution of this augmented matrice is correct:
(1 0 0 | 1 )
(0 1 g/(2-g) | 1/(2-g) )
(0 0 0 | 0 )
General Solution: {(1, 1/(2-g) - g/(2-g), g) g E R}
I feel like I need to add another variable to general solution because matrice itself has a variable
Can anyone help me I asked this question few times over past 3hours ago and no one helped
doesn't look right
Thank you for responding first off and in what sense?
oops
matrice missed a number
ah okay hm
what is the g supposed to be in the matrix? You treat it as a free variable in your solution, but it can't be both some fixed value, and a free variable in the solution
The question itself is bit weird basically I had a matrix by a vector matrix = a vector matrice
i replaced the vector i used for multiplication with the sum of two vectors one in its general solution
hence the g
That's what I was confused about yeah I'm not sure how to formulate a general solution
do u have a screenshot of the original problem?
it would help if i could see it
alrighty, so this is the augmented matrix you would have wanted for part a: $$\left[\begin{array}{ccc|c} 1&1&2&0\0&1&2&1 \ 1&2&4&1 \end{array}\right] $$
kxrider:
do you mean part b?
yea
perfect yes
if I have a homogeneous linear equation with a determanant of zero I have infinite
or exactly one or infinite
๐
sorry thats terrible wording
lol this channel is occupied rn, wait or ask in a #questions channel or something. your question is not worded well enough for me to answer concisely
general solution for part c:
{(-1, 1-2t, t) t E R}
I think?
That is what I went with anyways for part d
Ill reword and I dont mind waiting
I understand other people need help too
If det(A) = 0 how many solutions does Ax=0 have
okay harbh, i agree so far
Perfect
part d i said x = c then so
( -1 )
( 1-2t)
(t )
but subbed t =0
since that still satisifes Ax = b
Then added that vector to y which is
( 0 )
( -2g)
( g )
with a resultant vector of
(-1 )
(1-2g)
(g )
and multiplied that by A and put it equal to b
right, so you have for any t in R,
(-1, 1-2t, t) = (-1, 1, 0) + t(0, -2, 1)
by the definition of vector addition
Yes
(-1, 1, 0) is a solution to Ax = b,
(0, -2, 1) is a solution to Ax = 0
wait did i not need to solve matrice once i made t = 0
thought they are different variables?
t and g
im not sure why you introduced g lol
t came from previous matrice solution to part b
and g came from part d when it equals to vector with all zeroes
so you did rref and stuff to solve Ax = 0?
Yes for a vector of
( 0 )
( -2g)
( g )
well general solution
{(0, -2g, g) g E R}
that vector plus vector i made t=0 in gave me vector with g in it
ok, so when you did part c, you got this solution:
{(-1, 1-2t, t) t E R}
the algorithm for solving systems Ax = b, gives you a solution of the form,
(-1, 1-2t, t) = (-1, 1, 0) + t(0, -2, 1)
(-1, 1, 0) is sometimes called the "particular" solution.
t(0, -2, 1) for any t in R, are just all of the solutions to Ax = 0. You don't have to do any additional work to get this.
"t" and "g" here represent any real number. For every real number t, there is a solution t(0,-2,1) = (0,-2t, t) to the equation Ax = 0.
I feel like I may have messed up with assuming that is the vector..
so what is your "c" and "y" here?
Hmm what confused me was the fact it said general solution of y and what do u mean?
so, (0, -2, 1) is one solution to Ay = 0. To get all of the solutions, we note that A(ty) = t(Ay) = t0 = 0, so any scalar multiple of (0,-2,1) is also a solution to Ay = 0. So the general solution to Ay = 0 is
"t(0,-2,1) for any t in R"
I get what gou mean by any scalar multiple is a solution but not A(ty) = t(Ay) do u mean if we treat t as a scalar?
yea, t is a scalar. its just a fact of matrices (more generally, linear transformations), that scalars can be "factored" out in this way.
I haven't heard of linear transformations but I think I get you
u probably will at some point haha.
So I don't need to give matrice where x is equal to y + c and true lol
the question is so weird
so we have a solution to Ax = b
I just explained how the general solution (everything that x is allowed to be), starting with what you got: {(-1, 1-2t, t) t E R} can be expressed as
x = (-1, 1, 0) + t(0, -2, 1) for any t in R.
moreover, u know that A(-1,1,0) = b and A(t(0,-2,1)) = 0 for any t in R.
So what is "y" and "c" here?
y = t(0, -2, 1)
c = (-1, 1, 0)
how come u subbed t in for g?
this just makes it clearer what i did
g = s
{(0,-2s, s) : s in R} = {(0,-2t, t) : t in R}
the letters you pick make no difference here t, s, g, or whatever else are just representing completely arbitrary real numbers.
I just decided to stick with the same letter you used in {(-1, 1-2t, t) : t E R}
y = t(0, -2, 1)
c = (-1, 1, 0)
and this is pretty much correct. When you write out the solution, its important to specify "for all t in R"
Then ur golden
npnp
@mild igloo the answer to ur question is infinitely many
yea
Lol good to know, thankyou v much!
npnp
could i ask for help interpreting something
not exactly 1 or infinitely many
infinitely many. to be precise, when det(A) = 0, the null space is a nontrivial subspace. And assuming ur matrix has real entries, this subspace contains infinitely many vectors
thank you
np
Quick question:
Let's say I have the equation $V=ABCW$ where all the values are matrices. If I want to isolate $W$, would I rewrite the equation as $C^{-1}B^{-1}A^{-1}V=W$. Is this the correct way to rearrange and isolate?
Joaquin-Revello:
Or would it be $A^{-1}B^{-1}C^{-1}V=W$
Joaquin-Revello:
First is correct
Let's say I have the equation $V=ABCW$ where all the values are matrices. If I want to isolate $W$ rewrite the equation as $C^{-1}B^{-1}A^{-1}V=W$.
This
DrunkenDrake:
thank you
ok, got it - thanks!
I have a dumb question I think
I understand that in this equation, the right hand side is scalar multiplication
and in order to get to the form we want we need a matrix
I'm curious why the identity matrix is what you multiply lambda by
man im on a roll tonight, nevermind
i figure out everything i ask the second i ask it
How do you describe a non-linear tranformation of points?
IE if a transformation of (1,1) to (1,1) (2,1) to (2,1) (3,3) to (3,20) and (5,5) to (30,20)
The identity matrix is used so that the equation makes sense when factoring out x. (like in algebra, when factoring out x from x, you replace it with a 1. Think of the identity matrix as a "1" for matrices (thats why its called the identity)).
Can anyone give some examples where axioms 1, 4 and 6 work, but one of the others does not because this video https://youtu.be/QMwwplztQfY
Shows 1,4, and 6 but not an example of the rest.
Also does anyone know of good videos to study chapter 3 (vector spaces) of linear algebra with aplications by Steve leon. My professor didn't upload half of the lectures so I am really confused.
Can anyone give some examples where axioms 1, 4 and 6 work, but one of the others does not because this video
define addition on R2 the normal way and scalar multiplication on R2 to be something like c(a,b) = (a^c, b^c). Then axioms 1,4, and 6 hold but 7 doesn't
@unique jasper
Thanks @slow scroll , do you know good videos or ways to study this unit. My professor neglected to upload the lectures for the first half of this unit. I get the material for the half he uploaded, but I am still really confused on the half he did not upload. Mostly theory and proofs.
hmm, maybe khan academy or gilbert strang videos on mit ocw
Ok thanks ill get on that.
huh, im not even sure if Gilbert Strang talks about vector spaces in his video lectures. I can't seem to find one about it. I know khan academy definitely has videos tho
Imo, the MIT videos are horrible for linear algebra.
I'd honestly recommend going through Paul's online notes on Linear Algebra. I can give you the download if want it.
@austere cedar ill take what I can get
They used to be on his site but no longer someone sent them to me, I've been going through them speed run and it's the best stuff I've seen so far, in conjunction with 3Brown1Blue and TLMaths matrices stuff. The rest is utter garbage I've found.
3brown1blue is good but their videos don't go to in depth and there are only 15 for the whole course.
I agree.
random, but I want to point out that it seems like axiom 1, 4 and 6 are "good" enough, because they are good enough whenever you are testing whether a subset of a vector space is a vector space. But that takes for granted that you already have addition and scalar multiplication defined.
Hence why I had to define a different kind of scalar multiplication to give an example of ur question
@slow scroll ill keep that in mind when I'm taking the test. Thanks
np
anyone able to give me some hints to start with (i)? been on it for an hour....
am I able to assume here that V is orthogonal?
can I assume V is an orthogonal set?
V is a subspace
so no there is absolutely no way in hell it is an orthogonal set
this all is literally just definition-pushing for the most part
that follows from the definition of V^perp of which w is a member
Yes:
Compile Error! Click the
reaction for details. (You may edit your message)
Yes:
is that correct ?
Hello @summer wagon ๐
Hi
This looks like a drawing exercise 
I might wanna type it out instead.
Oh okay ๐
So, T(e1) is the blue one
T(e2) is the black one
For the 0.5 in the T(0.5,-1) it will be half of the T(e1)
And for negative one, it would be the opposite direction of the T(e2)
And using tip to tail method, you can find the final vector :D
Oh ok, could you gimme 1 min? I will find the final vector and let u know
So it will be (0.5, 0) and (0. -1) right?
Yea
Okay, could you tell me why would t(e1) be 0.5 and t(e2) be -1?
Hmmm....
Standard coordinate vectors
https://textbooks.math.gatech.edu/ila/linear-transformations.html
I think it's defined this way
Thanks
I was practicing for my midterm exam next week, I got 2 for questions. Could you help me figure them out?
Let T(x, y) = (x - y, 2x + y, y, y) and S(x, y, z, w) = (x + y + z + w, y + z + w). Find the standard matrix of S . T and determine if S . T is one-to-one. For practice clearly show your work.
Can anyone explain to me why this makes sense. I just don't get why you wouldn't distribute to u1 as well but only to u2
Oh, I remember this page, I think it's just to how the scalar multiplication is defined for that particular question.
They proposed that, scalar multiplication is defined so only u2 is multiplied by c.
Oh
Which meant an axiom of vector space (which one is it needs to have distributive properties) is not true for how it's defined.
It was part of the same example
Do you understand it now?
So let me run this back. What this page is saying is that the scalar distributive properties is defined by (u1, cu2) so therefore if we were to distribute it would not satisfy axiom h
Is that what its getting at or am I just extra slow today
Yes, if you follow the proposed rule, then if you try to verify distributive properly, which needs to be true for it to be a vector space, you see it's not true, therefore since it's failed at least one of the axioms, it's not a vector space.
No, it's not you, from what I've seen this stuff is horribly described everywhere, Paul's is the best I've come across.
People will tend to just throw definitions at you, with no intuition etc, so makes it very hard to learn.
It doesn't help that my professor didn't upload a lecture on vectors spaces and subspace only linear indรฉpendance
I'd imagine these notes will be far superior that what you'd be given based on what I've seen anyway.
Yeah its better feels better to me. Again thanks for these notes.
No problem, just passing them on as someone passed them onto me.
I lost 10% of my grade for not showing it and not sure if its worth the appeal
Not graded towards anything
but just annoying seeing it on a homework
:(
I just did what question told me
Gotta be more careful it seems
Very fair
Thank you
Is there a name for the invertible matrix P such that B=PAP^-1 or B=P^-1AP (where A and B are similar matrices of course)?
change of basis matrix
why dimension 2 
i thought free variables in the rref form determined the dimension of the eigenspace
oh, maybe i forgot to subtract the value dangit
oh, but that still doesnt make sense
shouldnt it be 1?

no i was confused because theres one free variable in A-4I
but thats not what determines the dimension
its the rank of the REF
of A-lI
okay, cool
thanks
๐โโ๏ธ
no, 2 is the correct answer
thats why im confused
me too
theres only one dimension of freedom
is it because theyre repeated?
that doesn't gain you an additional dimension does it
it just adds generalized vectors
do you want i can post the problem again
slimvesus:
should be -4I?
oh im sorry
its -4
oh
you lose a row
gotcha
sorry my brain is fried from doing this for 2 hours
thanks again
anyone have ideas about mine?
you may wanna repost @edgy kraken
Hi all, need help with this
can someone explain me how is this possible??
what's $\mathcal{R}$ denote here? range?
Namington:
row space?
yes
yes to which one
row space
but I think it doesn't matter here
I have a problem to understand this
they are independent => they are all 0 => the are dependent
why it isn't false
yeah it seems like theyre abusing terminology here
unless youre taking it as convention that the 0 vector is linearly independent with everything, which would be... bizarre
so what now?
I think i don't take it as convention
I learned that set of vectors is dependent when there is 0 vector
but on the other hand, if all those vectors become 0 then we have 1 vector
and independence is not internal feature
maybe it is not false because of clavius rule
or I make vicious circle mistake
I'm trying to understand it for 8 hours
my guess would be that that should be rephrased as "linearly independent or zero"
but that argument doesnt really make sense either
since as far as I can tell, we have no reason to assume that
or its at least unjustified
those vectors are from subspaces
and there is direct sum
so linearly independent or zero make sens
i think
but I'm not conviced that there is problem
they are independent or zero => they are all 0 => the are dependent
but if they are dependent how can we know that they are all 0 ?
and I think this is where vicious circle comes
but I have not encountered such a situation before
I mean
they are independent or zero, using independence we have that they are all zero so they are both indepedent and zero, it is false, if we don't use independence we won't figure out that they are all zero
do you understand my thought?
the reasoning is
"either they are linearly independent are 0"
``but we have nonzero scalars $\alpha_0, \beta_0, \alpha_0 + \beta_0$ such that $(\alpha_0 + \beta_0)v_{\mathcal{R}} + \alpha_0 v_B + \beta_0 v_A = 0$"
Namington:
"this means they cant be linearly independent (that's literally the definition of linear dependence), so they must be all 0"
this is just $((A \lor B) \land (\neg A)) \implies B$
Namington:
no fancy logic going on
"it's either raining or snowing. but it's not raining. so it's snowing"
yes
you'r right
so the key was " linear independent or zero " instead of linear independent
so thank you very much
So I just started learning Gaussian elimination. I took down the note of an example my teacher did. Can someone please explain why x_3 and x_4 became free variables
you mean here?
no matter how we change x_3, x_4, we can "adapt" x_1, x_2 to make the equations still true
so the values of x_1, x_2 are determined ("bound") by what values the "free" variables take
as a general rule, free variables are any variables that are not pivots (After doing gaussian elimination)
if youre familiar with that term
I am not familiar with pivots. Sorry
okay well
once you've "finished" gaussian elimination
i.e. ended up in a row-echelon form system
the leftmost variable in each row is a "pivot"
if a variable is not the leftmost in any row, it's a free variable
Oh I see
But I don't get why x_3 becomes free variable
In a system of 3 equations
If we have three distinct primitive pythagorean triples, (x_1,y_1,z_1), (x_2,y_2,z_2), (x_3,y_3,z_3) , how to show that these 3 are linearly independent in R^3?
<@&286206848099549185>
I think it suffices to show that a linear combination of two primitive pythagorean triples is not a pythagorean triple.
well, of course it would suffice to show that, but i think that is the best approach to this problem
Reduce to the case when $z_1 = z_2 = z_3 = 1$ by multiplying the vectors by $1/z_1, 1/z_2, 1/z_3$ respectively. So you have three points $(x_1, y_1, 1), (x_2, y_2,1), (x_3, y_3,1)$ where $(x_i,y_i)$ is each a solution to $x^2 + y^2 = 1$, so on a circle. They're 3 distinct points on the circle because you started with distinct primitive pythagorean triples
and last hint: showing that these points are linearly independent is equivalent to the statement that a line intersects a circle on a plane at most 2 distinct points.
โ-adic:
You're welcooome.
But I had a doubt when you multiply each (x_i,y_i,z_i) by 1/z_i then shouldn't it divide x_i and y_i as well and if you first take z_1=z_2=z_3=1 , how is that a primitive pythagorean triple
they're no longer pythagorean triples after you divide by z_i. instead they become rational points on the circle (x_i,y_i), x_i^2 + y_i^2 = 1
(with that extra 1 stuck in in the last coordinate)
unless u are allowed to assume this, you would still need to show that after you fix one entry of each vector in a collection of 3-vectors, then as long as the other two entries are distinct, then the collection is linearly independent.
x^2 + y^2 = z^2 iff (x/z)^2 + (y/z)^2 = 1.
I understand it now. Thank you for explaining me
you have (x_1, y_1, 1), (x_2, y_2, 1), (x_3, y_3,1) with (x_i)^2 + (y_i)^2 = 1 for all i. Showing that they're linearly independent is equivalent to showing that (x_1 - x_3, y_1 - y_3, 0), (x_2 - x_3, y_2 - y_3,0), and (x_3, y_3, 1) are linearly independent. This is equivalent to showing only that the first two are linearly independent, and this in turn is equivalent to showing that a line intersects a circle at at most 2 points.
nice.
@wintry steppe Thank you very much.
You're welcome. One last thing: Do you see why the points (x_i/z_i, y_i/z_i) for i = 1, 2, 3 are distinct? This depends on the original points (x_i,y_i,z_i) consisting of distinct primitive pythagorean triples. One should provide an argument for this, albeit easy.
@round coral
One can prove the following more general lemma to show this: If (x_1, ..., x_n) and (y_1, ..., y_n) are points in Z^n with gcd(x_1, ..., x_n) = gcd(y_1, ..., y_n) = 1 then either they're linearly independent over R or if they're dependent, then (x_1, ..., x_n) = +/- (y_1, ..., y_n).
There are many easy ways to prove this, so I'll leave it here. DM if you need more help.
I have a practice question I don't understand. I have the answers and the first observation in the answer is that 1 is an eigenvalue of A with eigenvector (1,0,0).
I'm not sure why we know 1 is an eigenvalue with that eigenvector
A * [1;0;0] = [1; 0; 0]
Was that supposed to be obvious to me? aha yikes... I didn't notice that
A * [1;0;0] is the first col of A
If there's no requirement for X to be finite, shouldn't this say "finite or countably infinite"?
I meant that if X is finite, say for example R3, it can't have countably infinite subspaces with increasing dimension
I don't think the inclusion is strict there
also please say X is finite dimensional
also please say X is finite dimensional
Wym? There is no requirement for X to be finite elsewhere in the book
I meant X is finite is not the same thing as X is finite dimensional
Ah, sorry
So the inclusion is not strict
Does that not contradict the dimension requirement?
I was thinking this could this work with something like X = R as a vector field over Q, with the basis vectors being some irrationals
Constructed as described in the theorem... but idk if that would produce a countably infinite set of basis
Yeah I think it's probably wrong
Maybe they meant dim X_nโคn?
Or maybe they meant infinite dimensional X
Where is this from?
Ciarlet - Linear and Nonlinear Functional Analysis with Applications
๐ค it doesn't seem to be a typo from later mentions of the theorem
Constructed as described in the theorem... but idk if that would produce a countably infinite set of basis
Actually nvm - since we're taking the closure, the set of basis in the theorem doesn't have to be the set of all (uncountably infinite) basis ๐
Makes sense now
Anyone good with permutation matrices? been trying to find extra information to solve a question but to no avail
I think I understand this part of the question: It's the identity matrix with the k and k+1 rows swapped right?
What is P_1,P_2...?
the ones from a im assuming
so P_1 swaps 1st and 2nd row, P_2 swaps 2nd and 3rd, etc
Are you familiar with bubble sort?
Yeah i know it's basically do bubble sort on the identity matrix
but i cant put pencil to paper on how to prove it
Do it the same way you prove bubble sort
the problem is idk how to prove it lol
Like i understand the logic fine, i just dont know how to express it yknow?
Use Induction
on k or n?
Let's say all permutations of {1,2,3....(n-1)} can be written in this form
Now take {1,2,3,4...n} and move n to the point the permutation is supposed to take it to
Oh wait
If I start with the Identity matrix, I can apply P1,P2,P3...,P(whatever) until the 1st entry is in the right place
Yes
But after getting the thing to the first row,you have n-1 points left
So, It's true by induction hypothesis(After relabelling)
no i want to get the nth row entry in place 1st right?
cause if i did 1st column entry right, a subsequent entry could be lower which affects the position of the 1st entry
Just never use P1 again
Right
so apply all the P's in order, then all the P's (bar P1)
then P's except P1,P2
Yes
kk ty
@native rampart sorry for the ping but just one logic thing. The (n,n) entry of I will be in (j,n) after 1 "pass" of P matrices right?
Yes
kk ty again
can anyone explain this question to me? I dont really understand eigenvalues, or anything about them.
imagine the simplest possible matrix with these as eigenvalues
what would that look like for starters?
it would be a matrix with these values on the main diagonal, right?
the powers of this matrix would look like the matrix with each of its elements raised to the same power, yes?
yeah exactly
so when you take the limit you can imagine taking the limit of each element raised to the nth power
in order to be the 0 matrix, all of these must go to 0
exactly
thank you so much
yeah you're welcome, and similarly if it wasn't this simple
if it wasn't diagonal, you could diagonalize it, then the the power would factor through and give the same thing too
I have one more question that I am really struggling with:
for part a, I know that the eigenvalues of P are going to be either 1 or 0 but I am not sure how to determine how many would be 1 or 0.
as I was writing that last message I realized what might be the answer to part b, but I am not sure if it is correct so if someone could just confirm my answer then that would be splendid.
I think the two vectors that define the space is spanned by would by eigenvectors that correspond to eigen values of 1, and then there exists vectors orthogonal to the given vectors with eigenvalues of 0. Is this correct?
yeah that's right
Awesome, and so that means that half of my eigen values are 1 and half are 0?
is this true for all projection matrices? What if it was 5-dimensional?
yeah
think of it as all the orthogonal parts getting mapped to 0, and the parts that are projected on just stay where they're at
so to them it looks like an identity matrix with eigenvalue 1
Is it true that $(AB)^\tau=B^\tau A^\tau$ if yes how does one prove it?
27182818284tropy:
Here ฯ is the transpose over the anti diagonal
I mean itโs straight forward given the dimensions of the matrixes, but I couldnโt work out how to abstract the transpose over the anti diagonal to any dimensions and couldnโt find anything online.
you can rewrite it in terms of something called the exchange matrix
which is just a permutation matrix
an identity matrix with the 1s on the antidiagonal
$A^{\tau} = QAQ$ where $Q$ is the antidiagonal identity matrix
Ann:
$Q^2 = I$
Ann:
Huh alright thanks
Ok so wouldn't 5 to 8 work because of the first term. We would just have to disprove axioms form 1-4 right?
i have no idea how your book numbers the axioms
you're gonna have to give me your list
I have this question here, and I thought I knew how to answer it, but I am pretty sure my answer is wrong. Mainly I am wondering, is there a specific A that I should be finding, or is there more than one right answer?
I know that P is computed through A, and projects onto the column space of A. So I thought that if I just make a matrix with two of the columns equal to those already given, and then two more columns that are linearly dependent on the first two columns, then I would get a matrix A that has the column space spanned by the given vectors.
However, when I tried to compute $(A^TA)^-1$ I found that an inverse didnt exist.
Blu3_bear:
Need help with this xD
if you can expand f(au+bv) = af(u) + bf(v)
uhm
๐ค
any tips? @warm briar
x = au, y = bv?
oh we divide both sides by u
x/u (rational number) = a?
nope
x/k = au/k
x/k = (a/k) *u
wait how so
is the idea to express it in a/b (the form of rationals)?
hmm
how do I get from au to x, and bv to y
Hello everyone, I'm trying to understand this question. The first picture is the question and the second is the offical answer. I'm not sure where the 2^3 come from in the answer.
$\det(cA) = c^n \det(A)$ where $n$ is the size of $A$
Ann:
you can make sense of it by considering det(cI)
ah thankyou so much
Hi, (I don't know if it's the good channel for my question, so, sry if I made a mistake)...
My problem is very simple to understand :
If I have an integer i, such 1 <_ i < k.
How can I compute a prime factorization for each i between 1 and k, is there any simplification to have a form of logic ?
what is k? an integer?
Seems like you are writing a program, and want an algorithm, am I right?
This is a simple algorithm.
- While i is divisible by 2, print 2 and divide i by 2.
- After step 1, i must be odd. Now start a loop from j= 3 to square root of i. While j divides i, print j and divide i by j. After j fails to divide i, increment j by 2 and continue.
- If i is a prime number and is greater than 2, then i will not become 1 by above two steps. So print i if it is greater than 2.
one thing I forgot to put here is that there is a loop of i from 1 to k if k is an integer and if not then from 1 to the greatest integer of k
@round coral k is an integer, yep, and I my objective is to create an algorithm, but not a simple algorithm, I want to find a "fast" formula to create the algorithm
Check my out, this is the standard one.
Actually there are different algorithms we use depending upon how large your k is.
Check this out https://cp-algorithms.com/algebra/factorization.html
You will see lots of algorithms and the times they take
When dividing a polynomial with a degree of n by (x-1)^2, should I expand the expression and then do the division?
wrong channel, but there is a shortcut.
Which channel should I post in?
#precalculus would be most fitting for polynomial division specifically
otherwise there are 10 question channels that are for literally whatever
Thanks!
you know the algorithm?
Hi there can someone kindly help me with question 1?
@rustic panther What are the conidtions f has to meet to be a linear map?
Yes Lunasong is right
adding or scalar multiplying it before and after the function is applied should yield the same answer
Use these conditions
not sure how to manipulate what's given though ๐ค
So they already give you the first condition
Now you need to show f(ax) = af(x) where a is a rational number
the second condition can be proved from first quite easily
you need a little manipulation.
@marble lance i.e. express a as $\frac{\mathbb{Z}_1}{\mathbb{Z}_2}$?
@round coral what's the second condition sorry?
can you tell me what the first line of working is?
kinda get what you're saying but I have no idea where to begin
first prove f(nx) = nf(x) where n is a natural number
The way I am thinking of involves showing it for positive integers first
By the way, it is famous Cauchy functional equation
you can even find out its solution for fun
What does that give you?
f(0) = 0?
f(xv + yv) = f(xv)+ f(yv)?
Ah! You are going the wrong way, you don't need to do that. Just do as we said, read the messages before.
But if you want to play with the equation it is good exercise and a lot of fun.
Now you need to show f(ax) = af(x) where a is a rational number
@marble lance
first prove f(nx) = nf(x) where n is a natural number
@round coral
so I replace a with n/m for example?
I'm going to cry
sorry ๐ฆ
First prove f(nx) = n f(x)
For natural numbers n
So stop working with a
Until you proved that
Why is x in R?
in V?
And why is f(x) = 1x?
Uh, yeah
You need to show it equals n f(x)
So just f(x) = 1*f(x)
f(x) and x are not even in the same space
@rustic panther do you mean prove it with induction? Sure
is there a quicker way?
f(nx) = f(x+x+... +x (n times)) = f(x) + f(x) +... + f(x) (n times) = n f(x)
I don't understand what you are doing
Now you need to generalize it to all rational numbers
do I replace the n with a/b?
Hint:q((1/q)x)=x
Let p(x) = ax^2 + bx + c, and see what F(p(x)) looks like
That will tell you Im(F)
How can you write it as the span of a set?
@rustic panther Bro , it seems like we are solving your exercise
Sorry, I am a bit blunt, my weakness
Uhm do you have examples of similar questions with model answers by ant chance?
Nah itโs good
I personally study from Axler. It is a good book.
Friedberg Insel and Spence is also good, heard a lot about it.
Axler has very good questions for practice, and he gives a lot of examples also to hone understanding
Could someone help with this
@fickle shale which question? And a part of Q3 is covered up
Okay, what do you think?
Idk if I'll be around, but someone else might be. So just ask again when you're ready
Yeah no problem thanks anyway
Hi guys, I've attempted this a few times but can't seem to find the correct "combination" if you like to send the matrix to 0
all the elements are going to zero except for 1 of them, is there a quicker way to do this other than to compute each and every possible combination of the minimal polynomial?
6
no?
Well,in this case you can restrict T into 2 T invariant subspaces(which are linearly independent and direct sum is V) and and find minimal polynomial in each and multiply them back together to get the minimal polynomial
So,it's (t-11)^2(t-8)^2
I'm a little lost on the explanation ๐
Nvm, That's wrong
your answer was surprisingly right
Yes, but I'm about to sleep, sorry
@fickle shale What do you think? Go through it one by one. a)?
well what i was thinking is that V is Infinite so U can either be Infinte or Finite
If U if Finite
What do you know about the relationships between dimensions of V, U, and V/U?
Ok you can actually lift a basis of V/U to a linearly independent set in V.
Does this make sense to you?
Yes
Ok so dim U + dim (V/U) = dim V should be a reasonable thing to expect, yes? Regardless of dim U, dim (V/U) being infinite or not (if one of them is infinite declare that the sum is infinite)
Yep
Ok so look at part a), if you have U and V/U finite dimensional then dim U + dim V/U is finite so you'd expect that dim V to be finite also, no?
ye
So a) cannot be correct. Agree?
It's similar for the rest of the parts.
makes so much sense
a) False, dim U + dim V/U is finite but dim V is Infinite
b) True, dim U + dim V/U is infinte so dim V holds
c) true
d) False
@wintry steppe sorry for ping
Maybe a better choice of the words would be "possible" vs "impossible" in the context of this problem
thanks wording was never my strong point
