#linear-algebra
2 messages · Page 125 of 1
i can use /= if you prefer that
it's okay
now i can see
so to deduce A != I
i need to look at the char.polynomial
two matrices with different characteristic polynomials cant be equal
identity has eigenvalue 1 but 3 times
and you know the char. polynomial of A
complex number
yea, they cant be equal but you dont have to calculate the roots
you just compare the polynomials
also why is it saying 3 complex number? it has 1 real and 2 compelx
you can compare the polynomials by their coefficients
well one argument would be that you could diagonalize the matrix over C and since you have roots of unity for z³ = 1, you need A³ to get the identity
yeah A^3 i can tell that it's identity matrix
well if you choose the complex eigenbasis, you get a diagonal matrix
and if you square that, it just squares the eigenvalues
oh
well squaring it wont give you the char polynomial of the identity
but that isnt the point
the char polynomial of the squared matrix has the squared eigenvalues
because you can diagonalize it
at least if you interpret everything over C
just draw some matrices i guess
if you have a diagonal matrix and you square it, it just squares the values on the diagonal
yeah i get it!!
you have 3x3 matrix with 3 distinct eigenvalues, hence its diagonalizable over C
now square the diagonal matrix
yes
an easier way to think about it is that a diagonal matrix has always the eigenvalues on the diagonal
so the squared matrix here has the squared eigenvalues
yes
well, but your eigenvalues are solutions to x³ = 1
and the identity has the eigenvalues 1
yeah so A^3 needs to be Identity
yea, thats another way to get there
but also the complex eigenvalues wont get to 1 if you only square them
you need to take them to the third power
true
ohhh
thanks!!
can i also one last question! i need some confirmation that if my work is right!
okay
here is something i would like you to do so you can see even better whats going on
okay!
write the complex roots of that polynomial in exponential form
that makes them really easy to multiply
and write out the diagonal matrix over C
this was the roots
yea but write them in exponential form
like how you would calculate them in the first place
$e^0$, then $e^{i \cdot \frac{2 \pi}{3}}$ and $e^{i \cdot \frac{4 \pi}{3}}$
Flow:
i hope i did that right
now if you multiply by that matrix, you see how the exponents change by exponent laws right?
$\frac{2 \pi}{3} \mapsto \frac{4 \pi}{3} \mapsto \frac{6 \pi}{3} = 2\pi = 0$
Flow:
yes
ohh yeah
$\frac{4 \pi}{3} \mapsto \frac{8 \pi}{3} \mapsto \frac{12 \pi}{3} = 4\pi = 0$
Flow:
so after A³ you end up exactly with e^0 = 1 in each component
lol
lol
that works because we have an eigenbasis for this matrix
the power of matrix similarity
jesus like this is kinda killing
wait how did you convert (-1+iroot3)/2
like how to write them down in terms of e
using the euler's foormular?
complex numbers have a very nice property
this is how you calculate the roots
the takeaway is, if you want to find the complex numbers z for z^n = 1
yeah?
then you can use the property that multiplication of complex numbers adds the angles
and the roots are spaced out evenly on the unit circle
you just divide the angle 2pi by n
for example the solutions of z³ = 1 will be at 0*(2pi / 3), 1 * (2pi / 3), and 2 * (2pi / 3)
so you can just read off the exponential representation
you can find more info on the wiki page
but this is how you calculate complex roots in general
there are very nice group theoretic properties to study here
but knowing the roots isnt really important for the problem anyway
you just see -x³ = 1 so it has 3 roots in C
yeah
hence, your matrix is diagonalizable over C
and when you have a diagonal matrix you can see how the char polynomial of its square has the squared eigenvalues
yes!
so thats one way to find the char polynomial of the square
im not fully satisfied with that answer tho since i didnt use any of your theorems
it's correct tho
uh
(a) is fine
which one were you doing?
but for (b) did i do right
yea (a) is just sum of eigenvalues and product of eigenvalues
for (a) i can tell -pi i pi i and 0
0*
so i can directly tell trace=0 and det = 0
paper work is for B
uh okay
yea that should work
because taking A^k is just taking the values on the diagonal ^k
and the diagonal is the eigenvalues
if you then divide by k! and take the sum k = 0 ... inf
then its the definition of e^(eigenvalue)
but (c) i kinda have problem
what's the problem with (c)?
well that (c) works is kinda obvious
you are in the eigenbasis of A
then exp(A) has the e^(eigenvalue) on the diagonal
the eigenvectors of A in the eigenbasis are (1,0,0) (0,1,0), (0,0,1) and their scalar multiples
exp(A) is still diagonal, so the eigenvectors stay eigenvectors
eigenvectors for A are also eigenvectors for exp(A)
yessss
because exp(A) is diagonal in the eigenbasis
and for (d)
according to thi
rank(A) = 3
cuz all eigen values are non-zero
right??
uh yea, basically A doesnt have full rank if 0 is an eigenvalue
because Ker(A - 0I) = Ker(A)
if 0 is an eigenvalue then Ker(A) has dimension >= 1
but now you look at exp(A)
and none of its eigenvalues is 0
so it has full rank
if rank(A) = 2, it means A has one eigenvalue=0, and other two are non-zero?
rank(A) = 2 means dim Ker(A) = 1
that means the geometric multiplicity of 0 in A is 1
hence, 0 must have at least algebraic multiplicity 1
and it turns up exactly once
yes
ohhhhhhhh
yes A has rank two because one of eigenvalue is 0
but exp(A) has 3 of non-zero eigenvalues
as we showed on paper
oh my god Flow
you're absolutely geneius
lol
love you flow
diagonal matrices are your friends
you're my love
loool jk x
those two questions kept me awake until 4:39am in korea
all this jazz with eigenvalues is usually about choosing an appropriate basis and relying on similarity
i seee
once you have similarity to a matrix with a nice layout, you can just throw determinants at it
the matrices you want always have triangular form
because for all triangular matrices the determinant is just the product of the elements on the main diagonal
can similarity shown by having same determinant
so if you want to prove anything about characteristic polynomials you show that the matrix is similar to some matrix in triangular form
and then they have the same char polynomial because of similarity
and for the triangular matrix its very easy to reason about because the determinant is found via the diagonal
that works really well for a lot of proofs about the char. polynomials and eigenvalues
can similarity shown by having same determinant
@pastel kettle similar matrices need to have the same determinant but I don't think it's enough to prove similarity
yea you need more
ohh
showing that they have the same eigenvalues isn't enough too I think
the usual way is to find a similar matrix that is easier to work with and then use the fact that they have the same determinant and char polynomial etc.
not the other way around
not the other way around
not the other way around
(because it doesnt work)
ohh
there are some stronger arguments
where knowing that same eigenvalues + additional properties implies that the matrices are similar
ohh
but it's easy to construct matrices with the same determinant that are not similar, like smh said
so that direction doesnt work in general
one example for a stronger requirement is orthogonal similarity or symmetric matrices
two symmetric matrices (or hermitian if you prefer C) are similar iff they have the same eigenvalues and for all eigenvalues they also have the same geometric multiplicities
so in this particular case you can compare eigenvalues and their geometric multiplicities to get similarity
but that's specific to symmetric / hermitian matrices
i guess you know that already but the whole point of studying eigenvalues is to characterize similarity
find certain classes of endomorphisms (and their transformation matrices) where you can characterize similarity quite well
lol
i should probably stop bothering you anyway, it's late for you
,ti
The current time for Flow is 09:52 PM (CEST) on Sat, 29/08/2020.
i think you can check anyone's time with ,ti @username if they have it set in the bot
germany
ohh
i've been to berlin only
because i studied in London
then went tropical island for summer
lol
danke flow
❤️
love you
now im off to bed
lol i screenshotted all maths thing we've talked cheers mate
lol
Suppose $T \in\mathcal{L}(V)$ has a diagonal matrix A with respect to some basis of V and that $\lambda\in F$. Prove that $\lambda$ appears on the diagonal of A precisely $\dim E(T -\lambda I)$ times.
Konoha:
Compile Error! Click the
reaction for details. (You may edit your message)
is $T-\lambda I$ similar to $A-\lambda I$
Konoha:
Yes
I'm pretty sure I get it.
But I'm just asking for validation
We know that given the product of two matrices, we know that the rank of their product is bounded above by the ranks of the indvidial matrices
So we know that $rank(AB) \leq rank(B) \leq n$
JohntheDon:
Weird question. Any matrix can be written as the sum of rank 1 matricies.
Just take the matrix with all zeroes except for one entry. It's rank 1 but can clearly be used to create anything
Sum of n matricies I missed that bit
Dorp
Can anyone confirm if this is correct index/suffix multiplication?
What is $x_i$ or $x_j$?
DrunkenDrake:
Ah, should x_i*x_j = x_ij?
No,how do you define them?
<@&286206848099549185>
where did the kronecker delta come from
kronecker
lmfao
hey guys
acoording to this i can see rank = 1
and using rank nullity theorem, i can tell that nullity is also 1
but when i read " nullity of A equals "number of columbs without leading entries"
i just get confused all of sudden
if it's like this
because of K, the nullity is 1?
i mean J
where did the kronecker delta come from
@median forum isn't it *(d_ik)(d_kj) = d_ij?
@pastel kettle the first column doesn't have a leading one, so it contributes one to the nullity. The second column does have a leading one, so it contributes one to the rank. So both the rank and the nullity are 1.
The second column has a leading one (the leading one of the second row), but technically that is not in rre form since the zero rows should be at the bottom
ohh
if it's
1,1, on top
1,1
0,0
like this
it has two reading entries?
so nullity is 0
No
The second column does not have a leading one
Only the identity matrix would have a nullity of 0 in rre form
A leading one is the first 1 in a row. So that second one is NOT leading.
what about this
There are literally only 4 possible 2x2 matrices in rre form: (0 0, 0 0), (1 0, 0 1), (1 0, 0 0), (0 1, 0 0). The first one has nullity 2 rank 0, second one has nullity 0 rank 2, last two have nullity 1 rank 1
Where before comma is first row, after is second row
That's what I meant, sorry
(1 1, 0 0)
in case of this
this cannot be considered?
this has rank 1 right
but without using rank-nullity theorem
how do we tell it has nullity 1?
the vector [1; -1] is in its nullspace
There are literally only 4 possible 2x2 matrices in rre form: (0 0, 0 0), (1 0, 0 1), (1 0, 0 0), (0 1, 0 0). The first one has nullity 2 rank 0, second one has nullity 0 rank 2, last two have nullity 1 rank 1
Yeah, I left out (1 1, 0 0), dont know why. Sorry.
you left out $\bmqty{1 & a \ 0 & 0}$ for all real $a$ except 0
Ann:
these are all inequivalent rrefs
Not much?
ugh why im so confused lol
\\
im_molee:
You convert a thing to rref because it usually makes your life easier
$\bmqty{1 & 1 \ 0 & 0}, \bmqty{1 & 2 \ 0 & 0}, \bmqty{1 & 3 \ 0 & 0}$ and $\bmqty{1 & -\sqrt{\pi} \ 0 & 0}$ are four matrices each in RREF and not row-equivalent to one another
Ann:
What is bmqty short for? Can't figure it out
bracket matrix quantity
Ah thanks
I can't imagine life without me either
I have got 3 questions
-
What is a euclidian space ( intuition, geometric view,... )
-
What is a prehilbert space
-
What is an inner product, what is the difference between dot products and inner products
The inner product is a function,which takes in 2 vectors and spits out a scalar,satisfying some conditions
An inner product is a dot product in some basis.
@native rampart whats the geometric interpretation of the innerproduct ?
Same as dot product? Just change your basis to an orthonormal one(basis, where the inner product behaves as a dot product is called that)
the concept of "inner product" generalizes that of the dot product
inner products definitionally have all the same properties that make the dot product important: bilinearity, symmetry and positive-definiteness
an inner product space also naturally comes with a norm: |x| = sqrt(<x,x>) - this is in some sense a generalization of the distance formula in R^2 or R^3
aaaaah
Think of it as a dot product,but designed for a different basis,rather than standard one
you should abstract away from trying to view it purely geometrically
So its just an approximation of the norm, you say ?
no?
How?
where did i say approximation
nvm, you didnt, I just made that unconsiously up.
Ann
Could you also explain those three things ( bilinearity, symmetry and positive-definiteness )
i take it you'll reject my attempts to write out their definitions?
i'm doing the real case
<au + bv, w> = a<u,w> + b<v,w> [linearity in 1st argument]
<u, av+bw> = a<u,v> + b<u,w> [linearity in 2nd argument]
<v,w> = <w,v> [symmetry]
<v,v> >= 0 for all v, and <v,v> = 0 implies v = 0 [positive-definiteness]
For the complex case,the difference is $\langle{\alpha,\beta}\rangle=\overline{\langle{\beta,\alpha}\rangle}$
And change linearity of second argument condition accordingly
bruh why did you put the equals sign outside of mathmode
DrunkenDrake:
I have a little question about this type of writing :
What is the différence between
$ this : [0 ; 1) and this :[0 ; 1] $
AIDRI:
In 1st 1 is not included,later 1 is included
ok but for "not included", isn't it : $[$
AIDRI:
Both symbols are used equivalently
yep, I m french
because in France, " ) " says "can't catch" so we use the ) for the infinite like : [0 ; +inf)
Why not just use [ for everything,if you are using that?
because in france, if you write [ , you imply you can catch the number... but you can't catch infinite, so you write ) 😅 France is strange
Is there an area form for n vectors in a larger than n dimensional space? I see no reason determinants need to be for square matrices only
Put those vectors on their own orthonormal basis, and now the volume they enclose is the determinant of the matrix they form. Basically, cut the dimensions you don't need
@half storm i saw that question about writing a matrix product as a sum of rank 1 matrices. i approached it in a more general setting since there is something to be learned about linear maps. thought you might be interested in this as well. the statement about matrices follows directly by taking an isomorphism between the matrix spaces and the spaces of linear maps
Thanks
i guess the key takeaway here is that if some matrix has rank r, then you can write it as a sum of r rank 1 matrices. writing it as a sum of n >= r matrices is not a problem, since any more matrices you add can just be in the span of the first r matrices. so for the remaining matrices you just choose a matching linear combination. i chose mine such that they just add up to what i had originally, but you can get really creative here...
I've actually proven that first Lemma
It's in my text book lol
It's stated a little differently in the form of linear transformations but same drill.
I didn't prove that there exists a basis that such that you express the function as a linear combination of the others it gave it to me and showed me to prove it was possible
I've done problems in the book that are basically drawing on these ideas but they were just different.
Like every vector space is isomorphic to a space of functions.
But now I'm seeing it being used for something
yea
well spaces where the vectors are linear maps are quite common
and if those maps go between finite dimensional spaces, then those spaces are isomorphic to spaces where matrices are vectors
once you choose a basis, you can define an isomorphism between them
and the isomorphism is just the obvious one
but yea, L(V,W) type vector spaces are quite common, and you will do more with those when you study dual maps, bilinear forms etc.
or when you go towards tensor products
1th, have you guys ever heard of wedge product? I'm here to actually say that I finally can appreciate the existence of the cross product because of this, and that we should all study this union of dot and wedge product. (inner/outter product).
2nd, @dusky epoch nice hs pic.
thank you
the wedge product is pretty cool
oh i dont know
its just the way they write it at my university
im in south america if that means anything idk
but thanks!
np
i usually just see A_{11} or A_{1,1}, or even in weird diffgeo cases A^1_1, never with square brackets around it
Yea and his set builder notation is something that I've never seen before too
the / instead of :
| is used too, not far from /
inverse of a matrix is the same as switching the rows and columns correct?
ok guess not from an easy google search
that sounds like transpose
yeah for some reason I thought it made sense, but it was a bad thought process
transpose isn't always the same as taking the inverse. for one, you can take the transpose of a nonsquare matrix, but not the inverse
I see that M*M^-1= I
wait to clarify, the * is for times, right? Because some people denote the transpose with star
should be
^
so we can find the inverse of a matrix by ... deviding the unit matrix I by M?
uh
and yes * is times
short answer: you don't divide by matrices
ah you don't? pretty sure I did often
you could say that multiplying by the inverse is like dividing by a matrix
well maybe that was computer software, could be different I guess
you can multiply something by the inverse of a matrix and call it division, if you want
oh i got sniped
so my definition is wrong
I see that M*M^-1= I
^this is right
but it also needs to be true the other way to be a true inverse (M^-1)M=I
what definition is wrong? that MM^(-1) = I? this is correct; some work shows that the other way works
other way?
that M^(-1)M = I
uh
as long as rows and columns are the same should work I guess
?
^
do you mean number of them?
that didnt make sense, we're talking about the same matrix lol
only square matrices (number of rows and columns are equal) have inverses
oh
otherwise the products MM^(-1) and M^(-1)M don't even make sense
well look I proved it 😂
i do have some bad background about matrices
but how would you calculate inverse of M , if you only know M?
there are many ways
the most common is by doing a row/column reduction on the augmented matrix (M | I) until you get something of the form (I | A); the matrix A will be the inverse of M
will be honest, I never saw that notation
if A and B are n by n square matrices, then (A | B) means the n by 2n matrix formed by placing A first and then B second
ah i see
i.e. first n columns are those of A, rest are those of B
i would prove this but im on my phone so
don't worry, just promise me you're telling the thruth
necessary and sufficient condition for invertibility is nonzero determinant, so you might want to check that before you try inverting any matrices
i think im not bullshitting lol
i used to use it a lot so i hope i remember it correctly
you can probably find the augmented matrix thing on wikipedia or in any LA book
I see no bullshit here
yeah I did search it up, was just a joke haha
no need to prove it
alright, I'll head back to work
there are probably other ways to calculate the inverse of a matrix, but i think that's the most straightforward
👍
@jolly turtle The way things work is you ask a question and someone might answer you.
I can't get help
Asking generically for "help" is a major turn-off. Please bear in mind that people on these forums are not working to provide homework help. So it's up to you to present your problems in a way which would interest people in helping you.
If you ask an interesting question and show an intent to learn, people will be more likely to offer help.
It's much harder to learn things when your panicking.
how about you take a break from your test, don't do anything that'll get you banned, and come back to your test when you've calmed down
Ok 😞
Hello, I'm struggling understanding something here
It says prove that set P (...) is not a vetor subspace of R^3
I don't understand the transition to the last line
Why is (u1+v2) squared in the first place?
@median forum are you asking me if I'm Brazilian?
because for every element of that set, the second coordinate is equal to the first coordinate squared
$x_1^2 - x_2=0 \iff x_1^2 = x_2$
Fractal:
you found out that u + v is that vector
then you test if the elements in there is equal to 0 or not
Oh, so the last line is what it is supposed to be in case it belonged to the set?
yea
if it is, then that axiom is satisfied
then you move on to the next one
but because it's not, you can say that P is not a subspace
That is very helpful. You guys are very helpful here, I admire the time you spend teaching us 🙂
happy to help :D

can anyone explain how to read these sets? its too confusing for me... i believe option 1 is a plane but i don't know how to read the other options
You're right the first one is a plane. It is the vector equaiton for a plane. The 2nd one is also a plane ; Look up the scalar equation of a plane, and the 4th one is also a plane ; the xy plane.
(x, y) is a plane where x and y are arbitrary parameters? they only used x and y to confuse us?
I guess you could say that. If you think about what it's saying, it just means the set of all ordered pairs such that x and y are real numbers; that's the whole xy plane. Or, if prefer it to be in a form that you recognize i.e. the vector equation form that you have for number 1, you rearrange the equation as $$\begin{pmatrix} x \ y \ \end{pmatrix} = x \begin{pmatrix} 1 \ 0 \ \end{pmatrix} + y \begin{pmatrix} 0 \ 1 \ \end{pmatrix} $$
TheDon:
Hopefully now it's unambiguous that it's a plane.
oh i see!!!
yeah it's very clear thank you! why is the second one a plane though if there are 4 variables and 1 equation? that gives us 3 parameters correct..?
The second one is a plane because it is the scalar equation of a plane. There are two ways of viewing planes via their scalar equations and their vector equations.
The first answer is a vector equation of plane, but there is another formulation and is expressing the plane and it's general form is given by $A_1 x_1 + A_2 x_2 + \cdots + A_n x_n = D$ where $\langle A_1, A_2, \dots , A_n \rangle$ is the normal vector of the plane.
TheDon:
second is a plane?
Oh I see.
it lowers one degree of freedom
should be a 3-hyperplane
the third should tho
me thinks
I think the question asks though which of the following correspond to a plane in their respective space.
For the third one, it seems a bit strange because you have a plane in $R^3$ given by the first equation and then a line given by the second equation yea? So then, we would want to find the solution space of the set of equations given by
$w - 5y - z = 3$ and $x + 2y = 5$ yea?
TheDon:
Yea the third one is
i actually just did it out and you can parametrize it so that it is the vector equation of a plane in R^4
I did not understand really the difference between planes and hyperplanes but now Ido.
I thought I did
a hyperplane is just the generalization of the plane
an n-hyperplane is like a linear bisection of R^(n+1)
you can probably generalize that to convex vector spaces with some properties
but cba
So in axler he has a chapter on polynomials. I don't really understand the second half of the proof, when he chooses c such that the coefficients are equal, why is that polynomial smaller than $q-sr$
Otoro:
i actually just did it out and you can parametrize it so that it is the vector equation of a plane in R^4
@half storm Sorry, so is the 2nd one not a plane and the third is?
Yea, lol it's really my fault.
@half storm No no not your fault D: thank you so much for the help
No problem
<@&286206848099549185>
For b), I thought it could be exactly the same plane as A and that would work (but im not sure), but I was wondering if there was any other solution
So in axler he has a chapter on polynomials. I don't really understand the second half of the proof, when he chooses c such that the coefficients are equal, why is that polynomial smaller than q-sr
@old flame what is degree of (2x^2+1)-2x(x) ? Is it less than 2x^2+1?
He is doing exactly that but for general cases
@native rampart So for this case deg r is 2 and deg p is 1, z^j is x and c is 2 ?
Yeah, that is deg 0 while the original polynomial is 2
Yea
So he is consider the case where we add an extra term cz^j and compare this to the original r and he found that this new polynomial is even smaller than r ?
Yes
But r is the minimal deg polynomial according to the original condition
So, Contradiction
Oh alright, so basically z^j is the required polynomial to match degree of p to r and c be the coefficient to make the term of same degree cancel ?
Yes
Ohhhhhhhhhh okok thank you so much
Well the notation confused me lol, cause I couldn't visualise how it worked
Well I know what he wants to do with the explicit statement but I just couldn't see it
Play with examples,then
If you don't understand the proposition even a bit, that's the best thing to do
But I guess u do have to understand the statement in the first place in order to make a correct example
You know p,q,r are polynomials so take some 3 random polynomials
The 2nd part says deg(r) is not less than deg(p)
So take accordingly and check
Can someone help with this ?https://gyazo.com/bd7aedce7c4a52b5981ad8de458dd5a7
😦
I'm little confused by this cuz it says 3 equations in 4 variables so 3 x 5? And I thought elementary matricies are n x n so I thought they would be size 5 x 5 instead of 3 x 3
the augmented matrices are 3x5 matrices
but the elementary matrices are 3x3
so when you left-multiply the augmented matrix by the elementary matrix, you get a 3x5 matrix, same as before
ah okay
Okay thanks @native rampart
what is the worst mixture problem you've ever seen
What do you mean by that?
as in the kind of differential equation question?
If a polynomial function from an n-dimensional space to itself has Jacobian determinant which is a non-zero constant, show that it has a polynomial inverse

Is there a way to recognise immediatly that this, is a rotation matrix without computing its determinant ?
And how did you know its orthonormal, I see that the norms of the columnvectors are one but not that it is orthoganl.
Take 2 column vectors and apply dot product
Aight gotcha
It's a shorthand way of doing AA(t)
You get I
If I wanted to rotate a figure around a point
how could I know if I have to apply the translation first or the rotation
@little frigate good question, tbh, I need an answer on that too
I was thinking about just dealing with inverses but idk
Make that point your zero point first(translation) and use rotations
haven't really seen them in class but I know one or two stuff
alright I'll try that, thanks
I mean I already tried did but maybe I did something wrong
anyone know how how to get a normal in triangle (cross product)?
in game is with relative or absolute positions?
My normals are weird
The ideia is to have a vector that faces a triangle
Like this
Now that I've introduced vectors in Part 1, we need to look at some of the fundamental tools for working with them. The most important tools to understand are length, normalization, distance, the dot product, and the cross product. Once you wrap your mind around these concepts...
i see in this site
but i cant recreate idk why
Im_Infinite:
Im_Infinite:
Im_Infinite:
Im_Infinite:
Im_Infinite:
Im_Infinite:
Im_Infinite:
Im_Infinite:
Im_Infinite:
Im_Infinite:
Im_Infinite:
Im_Infinite:
Im_Infinite:
Im_Infinite:
Im_Infinite:
Im_Infinite:
Im_Infinite:
Im_Infinite:
Im_Infinite:
I have tried to solve this question 6 times already. I'm trying to inverse A using matrix transformation, what am I doing wrong? what rules am I breaking? I'm pretty sure it's not the calculations because I've triple checked every calculation, although there's a chance that its the calculation. Please help
Im_Infinite:
Hi just a quickie, does this notation mean y is a column vector with those entries vertically? I'm needing to use it in matrix multiplication so I assumed so, just wanna be sure
cool, ty 🙂
this requires knowing how to write a linear system of eqns as a matrix eqn & vice versa
@barren cove instead of introducing fractions, after this step
do this
$\begin{bmatrix}1&3&-2\0&-1&4\0&9&-11\end{bmatrix}=\begin{bmatrix}1&0&0\-2&0&1\3&1&0\end{bmatrix}A$
nix:
then multiply the 2nd row by -1 and you have your leading 1
no fractions necessary
should make the remaining reduction easier
The normals seems pretty nrmal
but idk why is not working
Wrong Output
the idea is to remove the triangles behind and that you can't see
I mean nobody knows the problem unless you post your code
The best we can do right now is to guess the problem but I don't see why it isn't working
my cross function seems normal
im normalizing too
@pallid rampart Do u need something more?
relative position
Ok so your cross function is not correct
On the second line, the x has already been changed
so what i need to put?
It's not the original x anymore
sure
Also it's probably better to use a static function that takes in two vectors instead of having a function that takes in one vector and modify the vector
It is just a bit weird to do it that way
yes...
Because for your current implementation, after
Vec3 normal = line1.cross(line2);
the variable line1 will be the same as normal
yup
ok the output is still not correct
but its better
probably the triangle order is not correct
The normal might be facing the wrong way
yes
Yeah it seems like it renders that triangle when looking at it from behind
lmao it's a very very common mistake
the problem is that i have been in this problem for over 3 hours
still it is this kind of small details that build up
but eh
it's ok if you know what you're doing
Nice nice
One of the things I've always wanted to do is also to build a rendering engine
Im doing that 😛
but i will add shaders texture and that stuffs too
not a simples rendering engine
but with time xDD
Nice
I am struggling to understand how the basis was found in this question. I can clearly see the pattern, but that's not really that useful. I can also see why the basis is only 3 vectors; because, there are only 3 variables after making substitutions and combining. Thats about as far as my reasoning goes here though.
recall defn of basis. B is a basis of U if span(B)=U & B is linearly independent
after doing algebra you should find any vector in U is expressible as a linear combo of 3 vectors v1,v2,v3, hence span{v1,v2,v3}=U. check that {v1,v2,v3} is lin indep and that's a basis of U
I am not smart
I get exactly what ur saying and i cant believe i had to ask
thanks for helping
you're welcome, and no shame in asking
excuse me, does anyone have a good video for matrices? :c
anything specific regarding them that you need to learn?
3blue1brown
multiplication please, so i can take notes ;w;
is there only one operator within a certain eigenvalue and eigenvector or there can be multiple ones?
consider T(x,y) = (x, 2y) and S(x, y) = (x, -2y) on R^2
they share the eigenvector (1, 0) corresponding to the shared eigenvalue 1
but they are not the same operator

@half osprey or take any T with eigenvalue L & L*identity
I've been scratching my head at this for 20 minutes, can someone explain this, preferably in normal english?
that is in normal english
I absolutely hate it when they take they explain this stuff in the most convuluted way possible
It's been happening more and more often and it's getting really frustrating
to find the vectors, it might help to draw the parallelograms
so, in this case, the parallelogram rule for addition says that c is given by adding the two vectors that represent the other vertices (not the opposite one, at the origin)
since these vertices lie on the lines spanned by u and v, you should be able to guess from the picture what those vertices are
that is, find the points circled in green in terms of u and v
then you add them. the parallelogram thingy tells you that when you add these vectors, you get c
the idea for the other vectors you're asked to find is similar
to push even closer to the answer: you should see immediately that one of them is 2u
i have not explained why the parallelogram rule works, only how to apply it in this scenario
The top right one, is 2u I presume?
yes
the picture's a little cut off for the other one but i think you can give a good answer
How are you supposed to figure that out just from the sentence "The parallelogram with one vertex at the origin and the opposite vertex at the point b has a vertex in the u/v/whatever direction"?
After staring at it for quite a while I think I got it. It's asking "where on line u/v/whatever does it line up with b"
LIke, why can't it just say that, why does it have to take such a convuluted way in asking it
it probably wanted you to figure that out
I'm just venting now, maybe I need a break
reading information-dense mathematical writing and figuring out what it means is part of learning
it is a skill that you get better at
Thanks for the help... though I got at least 6 more of these so I might be back here in like less than 10 minutes and it's going to be nothing short of awkward
nothing awkward about asking questions
So apparently I+BA^-1 = (A+B)A^-1
Does anyone know how?
Right, so it appears some kind of factorization can lead from I+BA^-1 to (A+B)A^-1
I = AA^-1
okk so i have a task to show a matrix of a linear opperator in a certain basis, i found the matrix in the standard basis, and i found the change of matrix basis, whats the next step?
Do the PAP^-1
@errant wyvern if A is the map's matrix wrt standard basis & P is the change of basis matrix from the given basis to the standard basis, then the matrix of the map wrt the given basis is P^-1 AP
allright anonther question, so in my exercise that i am doing i need to use the differential operator. The way our proffesor gets the differential operator is that he uses the standard base for the space of polynomials {1,x,x^2,x^3}, applies the differential opperator to each one of those and writes the result in the shape of c1*v1+c2 *v2+ c3 * v3+ c4 * v4, where v1,2,3,4 are the vectors of the basis {1,x,x^2,x^3}. now, if i want to use another basis for the differential operator, could i do the same thing? If so what are the vectors that i would apply the differential operator to, 1,x,x^2,x^3 or the vectors of the new basis? lets say {1-x,1+3x^2, 2x^2, x+x^2-x^3}
by "use this basis for the operator" you mean construct the matrix of the operator with respect to that basis, you already asked this in #help-9 and i answered but you never replied.
i feel asleep didnt mean to be rude, but let me clarify the question
you can either do what i suggested back then or, seeing as you already got the matrix wrt the standard basis, compute a change of basis matrix then this formula gives the matrix wrt the other basis
if A is the map's matrix wrt standard basis & P is the change of basis matrix from the given basis to the standard basis, then the matrix of the map wrt the given basis is P^-1 AP
ok so this is how our prof, gets the matrix of the differential opperator, to simplify the question, if i was to use a different basis, would i, while doing this proces, apply D to the standard basis, or the new one?
i answered in #help-9 earlier
let B=(b_1,b_2,b_3,b_4) be the given basis. the i'th col of the matrix of G wrt B is the coords of G(b_i) wrt B
yeah i see now, i was having trubble understanding what you wrote. My bad, didnt mean to be annyoing once again
not understanding is generally ok, not asking me to clarify what i said earlier is bad
im telling you i fell asleep, i find it amazing that you are still here, i had like a nice 6 hours of sleep lul, i thought that i wouldnt get a reply if i asked under questions l channel
it's fine, just make sure to check replies after waking up. back then i said something else on computing a matrix representation of a linear map but it isn't totally relevant to the hw
yes
though i called the basis vectors b1,2,3,4 and you called them v1,2,3,4 out of nowhere
So i need to use kronecker capelli theorem to solve this syatem of linear equations, meaning i need to check if rankA=rank(A|b)
where A is the matrix we get by representing the system of linear equations as A*x=b, b is the solution of the sistem, x is the vector of x,y,z like on the picture
but im lost at what i need to do now
i dont think i can solve it by doing row reduction, so maybe i should try and get the detA
im lost i got no clue, any ideas?
"discuss and solve the system based on the variable m"
If we have linnearly dependant vectors {x1,x2,...,xk} how can we prove that dimSpan{x1,..,xk}<k?
Is it enough to point out that if a system is linnearly dependant we can write one of the vectors from it as a linbear combination of others, ans then the dimSpan{x1,...,xk} would be less then k?
i mean sure
you can write one of the vectors, say wlog x_k, as a linear combination of the others
so Span{x1,..,xk} = Span{x_1, ..., x_{k-1}}
so a basis of that span has at cardinality k-1
Hi, can anyone explain to me this symbol ?
$\bigodot$
AIDRI:
as opposed to $\odot$?
Namington:
since i havent seen specifically big odot be used
often times $\odot$ is used to represent arbitrary multiplication in a vector space (or other mathematical structure), especially where the $\cdot$ symbol may be ``overloaded"
Namington:
for example, we may define multiplication in a ring by $a \odot b = a \cdot (2b + ab)$ or whatever
Namington:
(ignore that that doesn't follow the ring axioms, its just an example)
here we use the $\odot$ symbol just as a reminder" that this isnt conventional" multiplication
Namington:
that's one possible use
there may be others though
in what context did this symbol arise?
in a physics context M_odot is often used to represent solar mass
Hey, thanks for your answer, I wrote \bigodot but I think \odot is the same thing. I use this symbole on this context : (2 sec, I take a screenshot)
So, we have theta - n/sqrt gt + e \odot g_t
for example we can simplify such as : $\theta_t - \eta \odot g_t$
AIDRI:
ok, but thanks for your answer
I find a not too bad answer on wikipedia : Hadamart product
And i think it s better to use only one cricle and not circle + point because tropical maths used the same symbol
Which of the variable am I free to chose in this case ?
a
Why ?
write out the equations
none of them will involve a
therefore the value of a will have no effect on the system
Thanks, now it makes sense
Also, how do you know when a matrix is not diagonalisable ?
if it's n by n and doesn't have n linearly independent eigenvectors
I was given this question:
|a b c| |d e f|
|d e f| = 6, find |g h i|
|g h i| |a b c|
I interpreted incorrectly, and thought I have to make a matrix of det 6
I pulled another big brain move, and decided to use the volume of a parallelogram
I ended up with a pre wacky looking formula:
$$det = \frac{\left|a\right|\left|b\right|\cdot \sqrt{1-\frac{a\cdot b}{\left|a\right|\left|b\right|}}}{\left|c\right|}$$
box:
The formula doesnt look too terrible for me to assume its outright wrong
I was pre careful making it so I think it should be okay (maybe the |c| part might be wrong)
yea ikr, is there a easy way make a bunch of matrices of like 4x4 with some arbitrary det?
hmm yea nvm i guess i messed something up, thanks ann 👍
consider that calculating det of diagonal matrices is pretty easy
(or triangular for that matter)
Guys how would make an n by n matrix, that has 1 when n/i and n/j are divisible, and -1 where it’s not divisible. I and j are the rows and columns. So how would such a matrix look like for n= 5? I had a problem knowing when certain numbers are divisible and other not. I tried making a boolean, but no luck.. any help? It’s more about the reason and logic behind this question, more so than the code. But if it helps, we needed to use matlab. To set up this matrix
Can't you just enumerate and count?
For n=5,except for (1,1),(1,5),(5,1) and (5,5) all will be -1.
Well it’s for all indices, so i goes from 1 to n. And j goes from 1 to n
A = -ones(n);
for i=1:n
for j=1:n
if (mod(n,i) == 0 && mod(n,j) == 0)
A(i,j) = 1;
end
end
end
this code constructs your matrix
Wow that so stupid, I didn’t know mod existed
You’re pretty much spot on, shame I couldn’t think of it during the test
Welp, thanks ann
ok lol, im pre confident that this is an unnecessarily long version of the formula for 3x3 det:
$$det = \left|a\right|\left|b\right|\left|c\right|\cdot :\sqrt{1-\left(\frac{a\cdot :b}{\left|a\right|\left|b\right|}\right)^2}$$
box:
lol
you dont need any computation for this problem
that's why it is a mega bruh moment
i know, but i stopped looking at the problem a while ago
im just enjoying how wacky it got
lol
while im not confident, just adding |d|, to the formula might work for 4x4 det?
i have no idea, i just got it from messing with parallelograms
yes, but is the absolute value symbol representing a norm there?
oh yea, magnitude
ok
it'd be cool if it worked for 4x4, but i wouldnt be surprised if it didnt
unlikely
i imagine it would just mean: multiply a parallepiped made of a,b,c by the magnitude of d
are you trying to use the fact the determinant will mean oriented volume with the canonical basis?
yea, i guess
neither
anyway gonna test it, not that it'll be proof
yea it blows up for 4x4 haha
owell was pre ineresing
Can someone check if I made a mistake somewhere I had to find the inverse of matrix M.
Ah thanks, can you now explain me, why you were so fast ??!??!!!
She has familiarity with matrices lol.
But still tho
so it wasn't hard for me to check your work
Even if Ive been doing linear algebra for 10 years, I think I wouldnt be so fast lmao.
lol you would, everyone does after time
@half storm I hope so 😦
Finally !!! Been trying to find my mistake for 30 minutes. The negative sign I forgot, ruined my mood.
This might be a stupid question, but I dont see how it follows that if each vector can be generated indivdually then it implies that linear combinations of vi and vj can also be created.
f followed by fi ligature
not even using the ffi ligature despite its existence
[judges you silently]
On the chapter of polynomials. The question is "Prove that every polynomial with odd degree and real coefficients has a real root." Heres my proof. Since $p \in P(\mathbb{R})$, by theorem, we could write p as $p(x)=c(x-\lambda_1)...(x-\lambda_m)(x^{2}+\alpha_1x+\beta_1)...(x^{2}+\alpha_M x+\beta_M)$, for $c,\lambda_1,...,\lambda_m \in \mathbb{R}$. Consider the case where $m=0$,
then $p=c(x^{2}+\alpha_1x+\beta_1)...(x^{2}+\alpha_M x+\beta_M)$, therefore $deg p=2M$, which is even, hence this cannot be the case. Now consider the case for $m=1$. $p=c(x-\lambda_1)(x^{2}+\alpha_1x+\beta_1)...(x^{2}+\alpha_M x+\beta_M)$, $deg p=2M+1$ for $M=0,1,...$.
Hence p is an odd power polynomial. Thus, odd power must have at least one real root.
Otoro:
o.o this is cool, rather than text
Hey guys, I just started Linear Algebra and have a noob question: What determines the dimensionality of a matrix, i.e. R^n. Is it rows or columns?
Oh right, the rank of the matrix.
What if I have a 2x3 matrix?
same thing applies
the rank of said matrix will be 2, 1, or 0 (only if its the 0 matrix)
you can check that both the rows and the columns have the same amount of linearly independent vectors
Mhm okay
Because there is this one task that goes like "Suppose T: R^5 -> R^2 and T (x )= Ax for some matrix A and for each x in R^5. How
many rows and columns does A have?"
And the solution is 2 rows and 5 columns. Therefore I thought that rows would determine R^n
wait
i missed the start of this convo
why is rank being discussed at all
since rank doesnt relate to that question
I think I dont understand the basics yet. I dont understand how R^n relates to a matrix is basically my question I think.
And what it says about a matrix if R^n is 3 for example. That there are three rows?
the question is saying that T(x) = Ax
in other words, that the matrix A represents the linear transformation T
note that:
- it must be possible to multiply a 5-entry vector "x" by A on the left
- the result must be a vector with 2 entries
note that x will be a column vector, and when you multiply A * x, we take each element of a_row_ of A and multiply it by an element of the corresponding column of x; this only makes sense if A has the same number of columns as x has rows
so A must have 5 columns (since x has 5 rows)
Right. I got that part (how to calculate). But then I started wondering about why R^5 would go down to R^2 if we did that. Since I noticed that the rows equal 2 I wondered why the rows would relate to R^n.
i'm not sure exactly what you mean
what are the dimensions of A?
we already know one dimension; it must have 5 columns
so how many rows should it have, if we want our resulting product to have 2 rows?
Oh wait, you are right. I read the question wrongly, confused vectors with matrices.
Thank you for your explanation.
Hi there, Im struggling with a problem, can someone help me out
Solving the linear equation set:
A + 5C - D + E = 7
2A - B + 6C + 3E = 8
So far the steps Ive taken have been to use gaußian elimination to rewrite it to:
A + 5C - D + E = 7
-B - 4C +2D + E = -6
and Identified that A and B are non-flexible variables
and C, D, E are flexible variables leading there to be infinite solutions
but Im stuck
What happens if a homogeneous system of ecuations has det(A) = 0 ?
Sorry english isnt my first language
is a homogenous set a set like:
where the leading variable in each equation proceeds the next by one?
Homogenous means equal to 0.
In the case of a system, all equations are equal to 0
speaking of the dimension of a spanning set S doesn't make sense unless S itself is a vector space
to find the dimension of a vector space, count the cardinality of any basis for it
then you don't have a sufficient defn of dimension
if you learned linear independence & span, then that's enough for a defn of basis. a basis of a vector space V is a subset S of V where span(S)=V and S is linearly independent, equivalently stated as any vector in V is expressible as a unique linear combo of the vectors in S
if S is a basis of V then you can further define the dimension of V as the cardinality of S, ie how many vectors are in S
Can someone help explain these two? https://gyazo.com/ce0977adfa9d9b81fabf3a8255d8ad34
Can people explain how to do LU decomposition? https://gyazo.com/4ce5e2aedc767df5958c3c14e1da73fa
2 because it's in absolute value
also we're in the same class lol
check my profile on mutual server
@wintry steppe
How do we do #2 with the triangle inequality I don't know how I think I have everything else done though
A commutes with B if AB=BA
np
<@&286206848099549185> how do I go from a solution parameterization to an echelon form matrix?
what do you mean by solution parametrization?
Say you have 4 variables and 2 equations, but you substitute some parameters for the 2 extra variables and continue producing the solution
gaussian elimination?
yeah

