#linear-algebra
2 messages · Page 297 of 1
Recommendations for a good, basic linear algebra book?
start by noticing that the original expression is convex, and so you can find a global minimizer by taking the gradient and equating it to 0
this gives you the answer to parts a and b
for part c just equate the given quantities and use the definition of the inverse
and for part d, use the given info from c, substitute it into the expression given in part b, and think about the pseudo inverse
Wow dude thank you lol
you were probably just asking in the wrong places
i don't think places where you pay to get your hw done are good
Does anyone know how to prove that a quadratic form is always equivalent to a diagonal form (over C, in R this just follows by diagonalizing the symmetric matrix I think)?
the problem is also not very difficult, i recommend you review your notes (answering ost)
which definition of quadratic form are you using
Homogenous degree 2 polynomial in multiple variables
I think equivalently x^TAx for a symmetric matrix A
It's not homework. How it works is here in norway is different. They don't teach nor give assignments that relate to the final exam. So we are given prior year exams with no solutions.
I do weekly problems, but none are like the previous years exams.
Our exam is 100% of our grade.
I'm essentially teaching myself with my friends. Please don't judge me so much.
Also thank you for your help, we're going over optimization of quadratic functions right now 😋
i see. it worked similarly for me in germany, too
i didn't say that to be demeaning though, just that the problem SEEMS difficult, but it is actually made up of many small parts
I did my bachelor's in the USA, was way different
so try to break it down into small parts to not get overwhelmed
that was the message i meant to pass on
Yeah I get it, your right
I'm bad at that, hence why I wanna prep
Get familiar if that makes sense
yep
Anyways, tyty have a great day
you too
any help with this? I know that the cross product will be (-1,1,0). I know the reflection on y-axis will be (-x,y,-z) but im not sure about the linear transformation. I found online that would be 2P-I. However I am not sure even if that is correct because how is that associated with the eigenvectors/values then?
@wintry steppe are you familiar w/ the concept of specifying a linear map by what it does to a linearly independent spanning set?
I think so, like after doing a linear transformation u get the spanning set as the linear combinations of the vectors u had
if that what u mean
no
you're overcomplicating it and/or throwing around words you don't have full cognizance of the meanings of
yes maybe I got some idea of it but not fully understood as i cant express it in my own words
what i was going to say is:
for compactness of notation, let $\bd{u} = \bmqty{1\1\1}, \bd{v} = \bmqty{1\1\0}$ and $\bd{w} = \bd{u} \times \bd{v}$. then your linear map is uniquely determined by the conditions $T\bd{u} = \bd{u}, T\bd{v} = \bd{v}$ and $T\bd{w} = -\bd{w}$.
Ann
thanks but i dont get how to solve the conditions to find T
if you want to turn ann's insight into a recipe, note that matrix multiplication of the form AB can be interpreted as applying the same transformation A to each column of the matrix B separately
so this gives you enough information to write something of the form AB = C, where you know B and C
then use your favorite method to solve for A
this is if you wanted to write it as a matrix, though, which isn't necessary
Hi, when diagonalising a matrix, I need to find PDP^-1. When finding P, is there any order in which i should arrange the eigenvectors?
is there a way with not finding matrices? bcs it seems hard for me
the order should match the order of the eigenvalues in D, but otherwise it doesn't matter
bless you, and thank you
If I had 2 planes that intersect, would the line of intersection of the 2 planes be parallel to the cross product of their normal?
yes
can you show me geometrically?
imagine one point of intersection
let's call the planes (A) and (B) and their respective normals $\vec{n}_A$ and $\vec{n}_B$
DarQ
now if you were to go along any vector that is orthogonal $\vec{n}_A$
DarQ
you'd still be in (A)
same for (B)
so if you were to go along a vector that is orthogonal to both $\vec{n}_A$ and $\vec{n}_B$ (i.e. orthogonal to $\vec{n}_A\times\vec{n}_B$)
DarQ
you could've just asked me lol

Huh, where did the question go?
I think I don't get it correct
Impossible to tell now.
{f ∈ R[x] | f(−k) = f(k) for all k ∈ R} I need to show is a subspace of R[x]
but I see it as the even function
It is true that this is the set of even polynomials.
but bcs is a subset of R[x] they must be polynomials
That doesn't mean it's not a subspace.
Are you confused about whether non-polynomial even functions (such as the cosine) are in the set?
tbh I started proving it and said The function 0 is the zero function defined by 0(k) = 0. It’s even since 0(−k) also equals 0. Thus the subset is non-empty/has the 0 vector. And then I got confused about the even function but I guess I am still correct even tho I got confused
That sounds good so far. Can you describe what it is that confuses you now?
I think I got it now thanks @fringe fjord
no wait mb that wasn't the q
(A,•,°) a ring
can all elements of A be written as a°b such as (a,b)€A²?
If I understand you correctly, how about R[X]?
You can't write X as a product of two squares.
they are written in terms of just f, but R[x] is a polynomial ring, so I guess is talking about finite polynomials
(My latest posts were in reply to Sami).
is A an associative ring with unity?
and is ° its multiplication?
yeah
yeah
what does the highlighted text mean?
(I can provide more context but it's a bit long)
I don't think I do
given a function $f: X \to Y$ and a subset $X' \subseteq X$ (usually proper) the restriction of $f$ to $X'$ is a function $f\big|_{X'} : X' \to Y$ which sends every $x \in X'$ to $f(x)$
Ann
guys please
what did he do here?
apparently you can swap columns and revert the signal, I didn't know that
Yeah, it's a general property of determinants of matrices that swapping two rows or two columns flips the sign of the determinant
cool thanks
thank you!
it's its 2nd internal binary option
no it wasn't given
how would that help tho I'm curious
well if ° were multiplication and if it were given that A has a unity, i.e. a neutral element wrt multiplication,
then any element a ∈ A could be written as a°1
but you said now explicitly
I think I misunderstood the notation in the question. Ann probably has the better answer.
that A is NOT known to be a ring with unity
it's not even known to be associative!
it's not even known whether or not "2nd binary operation" is supposed to refer to multiplication!
no, i mean multiplication in your ring
a ring comes with two binary operations
and the distributive law that governs them
u gavee a counter example which was enough, Ann gave me the case when it's possible, which is equally appreciated
A ring has two binary operations, but no matter what they actually are, they will be called "addition" and "multiplication" when talking about the ring.
no i didn't
ooooh
My counterexample was based on a misunderstanding of what you asked.
anyway
shit I'm sorry
there are two binary operations in a ring. one (called multiplication) distributes over the other (called addition)
are you explicitly banned from referring to them as such/
° is the multiplication
you have to refer to them as "the 1st operation" and "the 2nd operation" or face penalty?
Ann, cut them a bit of slack. They're obviously unfamiliar with the usual terminology, and might well have a definition where all rings are unital without knowing that word.
it's to remove confusion my teacher said
is existence of unity (or NEUTRAL ELEMENT WITH RESPECT TO 2ND OPERATION) a ring axiom?
for you, that is
you didn't say anything wrong
I'll look more into it
Wow.
i'm just trying to get through the conventions of your class
i don't know if you consider 2Z with the standard addition and multiplication a ring or not
2Z is the set of all even integers
or rather
2Z := {n ∈ Z | (∃m ∈ Z)(n = 2m)}
i'm not asking you what examples you did.
i'm asking you whether this, in your class, is a ring at all.
Even if you only considered Z as an example, it's still possible that 2Z satisfies your axioms.
Z is
sigh.
2Z isn't even discussed
please show me the definition of a ring, exactly as your teacher gave it to you.
no alteration.
even if it's in another language.
okay
What Ann is getting at here is that there are several subtly different concepts that are all called "ring" by different books, and we're trying to find out which of them it is you're being taught.
soit A un ensemble non vide muni de deux lois de compositions internes : • and °
on dit que A est un anneau si et seulement si :
-(A,•) est un groupe commutatif
-° est distributive par rapport à •
-si de plus ° admet un élément neutre, on dit que (A,•,°) est un anneau unitaire
- si ° est commutatif , on dit que (A,•,°) est un anneau commutatif
oooo I see why now
tfw you realise language doesn't stop you from reading definitions
aha.
° admet un élément neutre
So you ring is unital and Ann's original answer works.
-si de plus ° admet un élément neutre, on dit que (A,•,°) est un anneau unitaire
no
it says IF ° admits a neutral element...
It says if
Oh.
if, in addition, ° admits a neutral element, we say (A,•,°) is a unital ring.
yes
sami, did the exercise say "anneau unitaire" or just "anneau"?
okay
then the answer is in fact no.
there exist rings where not every element can be written as a product of two other elements.
like the one Troposphere gave?
no
take 2Z, the set of all even integers with the usual addition and multiplication of integers as the binary operations. the number 2 cannot be written as the product of two even numbers (as such a product would necessarily be divisible by 4, and 2 isn't divisible by 4)
Btw, side question: A ring in measure theory has nothing to do with the above ring, right?
It actually does.
It does?
you mean like a ring of sets?
An algebra of subsets becomes a ring by taking "addition" to be symmetric difference of sets, and "multiplication" to mean intersection.
Only for an algebra?
but in measure theory you do not really care that much about symdiff
Having the addition be symmetric difference instead of union ensures that additive inverses exist -- namely, every subset becomes its own additive inverse.
Oh wait
It's right this is not particularly relevant in measure theory, but it explains where the word comes from.
Yes, that just has extra properties.
There are a variety of things that are called "algebras" without actually being rings (according to the most common definitions), such as Lie algebras.
Or, indeed, Boolean algebras if we consider unions and intersections as the base operations.
This has partially historical background -- many of these were named before the concept of "algebra over a ring" became prominent.
Alright, thanks for the info
and a lot of these structures were historically more like "vibes" rather than something with a concrete definition
there was over a century between the invention of groups and someone actually writing down group axioms
they were formalized mostly as subgroups of permutation groups in the meantime
(which is also a valid definition, to be clear, but not really what we think of as an "axiomatic definition")
I was around in internet seeing some interesting lin alg problems and saw R^R (I guess presented as a vector space) and I would like to ask if someone can explain what is it just out of curiosity bcs I never saw it in my studies
The set of functions from R to R
Well it's the set of functions from R to R. Given two such functions f and g and some real c, we can define f+g and cf in the obvious ways to give R^R the structure of a vector space
We can similar consider C(R), the continuous functions R->R, and so forth
any algorithm to find the signs of eigen values without calculating the eigen values itself
matrix is not symmetric
also 3x3 if that makes it easier?
Ignoring complex eigenvalues?
For 3×3 it ought to be feasible to calculate the characteristic polynomial explicitly and sketch its stationary points (if any) and y-intercept in a coordinate system. That's enough precision to see how many zero crossings it must have in each half of the x-axis.
thing is my entries are parameters
I just need the sign, not the actual values
this is my matrix
this is the char poly
so yeah

*sign of the real part
the imaginary part can be ignored
probably should ask in dynamical system... idk
Count the number of elements in basis
number of vectors in the besis
"and what if i'm unable to count"?
Are you suggesting axiom of choice is false
can someone help me with this
For the dimension of $M_5(\mathbb{R})$, consider the set of matrices $E_{ij}$, with a 1 in the ijth position and 0's everywhere else, for i,j between 1 and 5 inclusive. This forms a basis for the space.
For the subspace, I recommend trying to find a basis for it.
1345631
can someone help me out with this question?
@maiden star what is your definition of an affine subspace?
V is a vector space, U is a subspace
An affine subspace is
{v + U = V | v in V}
Something like that
P much an affine subspace is a point in a vector space
as written {v + U = V | v in V} is nonsense
and no, "an affine subspace" and "a point in a vector space" are not the same thing
but despite your notation, it appears that your defn of an affine subspace is "a linear subspace shifted by a fixed vector"
oh what
v + U | v In V is what I learned is an affine subspace
Where U is a subspace of V
Oh you meant like definition
.....
Mb mb LOL
while doing the gram schmidt finger exercise for these vectors a1 = (1,0,1), a2 = (1,1,0), and a3 = (0,0,1), I've reached a point where I'm unsure how to interpret the results:
I've constructed the first and second normalized orthogonal vectors, and lo and behold, the projection of the third vector is apparently the same as the projection of the second vector, which I can't really fit into my mental model of how I've been picturing this and seems like it must be a mistake
Try and ignore how horrific my handwriting is
guess it doesn't really make any difference because you can finish the algorithm without any trouble. but how can I picture that situation?
the projection onto the vector u1, you mean?
Like this I guess, where x is the projection of a and of b in the direction of x?
your drawing already captures it
except in 3d, the vector could lie anywhere on a cone surrounding the vector x
and it would have the same projection
this means there are infinitely many vectors with the same projection on x
got it, that explains it perfectly :)
alternatively, if you consider that in the algorithm you explicitly split vectors into a component parallel to x and another perpendicular to it
you can fix the parallel component
and the perpendicular one can be anything you want
what signs are you looking for? there are some methods that can tell you specific cases and some general principles you may be able to use. also every time i say positive or negative i mean positive or negative real parts.
the most important fact: the trace is the sum of the eigenvalues and the determinant is the product of the eigenvalues.
this is true for any square matrix.
for 2x2s is pretty easy based on the trace and determinant. if det(A)>0 then the real part of both eigenvalues have the same sign, and if det(A)<0 then the eigenvalues are real and have differing signs.
something that applies to any sized matrix: if the trace is positive, you have at least one positive eigenvalue. similarly, if the trace is negative then there is at least one negative eigenvalue.
if the det of a 3x3 is negative, then either exactly one eigenvalue is negative, or all three are negative.
you can also look into the Routh–Hurwitz stability criterion. that tells you if the eigenvalues are all negative based on the coefficients of the characteristic polynomial. and it works for any square matrix.
you can also look at descartes' rule of signs.
another thing is that the characteristic polynomial of a 3x3 is
t^3-tr(A)t^2+(C11+C22+C33)t-det(A) (picture attached)
where Cii is the cofactor of the ii entry (the picture says minor but cofactor of a diagonal entry is just the minor so w/e). then you dont need to do the whole determinant formula for that mess of a matrix. but it looks like you got it already so idk
you might be able to use these if you know the signs of your parameters. but idk im looking at that matrix/polynomial and i dont really want to try applying any of them.
Hey, I have a proof that isn't the same as my textbook, so I'd appreciate if someone can check it for me.
Let H and K be subspaces of a vector space V. Show that dim(H ∩ K) ≤ dim H.
My proof: Let B be a basis for H. Then, B spans H, hence H ∩ K. Therefore, any basis for H ∩ K cannot contain more than dim H vectors, for they would be linearly dependent. Thus, dim(H ∩ K) ≤ dim H.
The argument my textbook gave was probably better, but I wanted to know if this is correct. The textbook essentially started with a basis of H ∩ K and said that it could be expanded, if necessary, to give a basis for H.
It's correct
I will reformulate your statement a bit:
"if there's a basis for H \inter K containing more than dim H elements,see the set as a subset of H. Now,This has to be a Linearly independent set,but basis is the maximal independent set of H. So this set has to be linearly dependent and hence not a basis of H inter K"
Ah, that's much nicer phrasing. Gotcha now. Thanks so much!
yeah these are the things I have tried already. with RH I get F = det(A)-tr(J)*(tr(J)^2-tr(J^2))/2 > 0.
This is actually an epidemiological model where we have to find R0. I already have an expression for R0 but it's really long and I am supposed to show that R0 < 1 implies all roots of the matrix (real parts) are <0.
RH says it's enough to show that F<0 so I have to find something like F = K(R0-1)
really long expressions so I even want to bruteforce
picking it was a mistake
Im trying to solve this. Im given the reduced row-echelon and i need to figure out the original A matirx.
My current thinking is "they have the same determinate, so UA must be a scaled version of A. Can i transpose UA, then multiply it by a constant so that it's first column = a1, then id have my answer?"
im not positive i can just transpose stuff freely though
or, maybe its the same as A but with different basis vectors technically? (ones that are scaled) so I need to do a change of basis? I cant figure out how to go about solving this
why don't you do the row operations needed to turn columns 1 and 2 into the ones they have given you
wait they gave you rows, why did you write them as columns
yes, what you mentioned is correct
you could transpose the given mat and solve a system of equations
but what is a4 if there's no 4th row?
are you sure you wrote everything correctly?
omg those are 0s and not 8s
at any rate... you can thing of row reduction as a full rank matrix R that multiplies from the left
after transposing, this matrix multiplies from the right
you have that [a1 a2 a3 a4] = U(A)^T * R^T
well, this is the point i dont quite get about linear algebra. If I have a matrix
1 1 0
1 0 1
then, that means "this is where your basis vectors are (each row is a 3D basis vector).
now, i have a collection of vectors I want to transform by that, i would put my vectors in a collection like this ```
2 1
2 2
3 4
where each COLUMN is a vector.
Heres what i dont understand: if i have 2 collections of vectors (the second thing i sent), is that somehow different than what a transformation is? (the first thing i sent). Or could I treat any collections of vectors as a transformation as long as i transpose them before multiplication?
this depends on the context in general
if you are explicitly told that one thing is a transformation and the other is a vector, and the transformation is supposed to act on the vector, sure
but normally one is careful to make it clear which things are "columns" and which ones are "rows"
and which ones are vectors or matrices, and which of them represent transformations
this is not implicit
if i had a ball located at ```
1
1
1
and i wanted to know where it would be sent if i kicked it and there was wind, and i said the amount they move something by is
``` 1 0
kick = 1 wind = 4
1 3
would i need to Transpose the kick vector, then multiply it to figure out where it goes after the kick, then transpose the wind vector and multiply to figure out how the wind affects it?
Is a transformation merely "where your current vectors would go after these vectors (which are sideways) were to be added to the tips"?
I may be doing a terrible job at putting my question into words lol
i'm struggling to follow, but i also just woke up
i think what would help is to think of vectors as matrices too
just size N x 1
then you see that addition is not defined for matrices that are not of the same size
im asking if i can just traspose any collection of vectors to "apply" them to another group of vectors, or is there something fundementally different about a transformation?
so you cannot add an N x 1 vector to a 1 x N one
which is what i understood you wanted to do in this example just now
separately from this, if you have column vectors, you transform them by multiplying them with a matrix from the left
e.g. Mx
if you have row vectors, you transform them by multiplying a matrix from the right, as in yP
given a matrix with non-negative entries, can I say we can find an eigen vector with max eigen value (abs) in the first quadrant?
I feel like it's true but don't want to prove it
any reference to cite will be helpful
and for clarity, it is usually said that row vectors are the transpose of column vectors, so it should have been y^T P
YTP
what is ytp
i think doubly stochastic matrices might be helpful to look at, ryu
that's mostly a guess though
i know there are some results for their eigenvalues and all of their entries are >= 0
I'll see
i didn’t clearly understand can u explain pls
I answered my own question when i tried to visually explain it 😂
that's not uncommon 😛 trying to put things clearly in words for others makes you fill in the gaps
So, since A is a matrix, that is different than it being a collection of vectors, right? It means its side-ways?
So, are a1 and a2 column vectors, or are the row vectors?
the "sideways" part doesn't matter
im confused on "Transformations have their vectors as rows. A random collection of vectors have their stuff as columns. When you say that A is a matrix, are you saying that it is a transformation that is defining some sort of basis vectors, or are you saying it is an actual thing or collection of vectors, so its vectors are columns
this problem only makes sense with more context, presumably given in your class and/or notes
gotcha
the thing is, I think i have been able to do a lot of this math without actually learning this math
linalg can do that, yeah
the way matrix multiplication works, you could treat matrices by looking at their rows or their columns
both interpretations are valid, but what is going on in each case is different
looking at rows, you're interpreting the transformation as taking dot products
as columns, you interpret it as taking linear combinations
i think that makes sense. kinda like how an ascii and a digit are the same, its only different by how you interpret those bits?
im getting off topic, one sec let me word my actual question in a cohesive way
is a1 a scaled version of the blue, or the red?
how does a1 relate to U?
i know they have the same determinate, and that a1 could be a basis vector, but "sliding" a1 up and down would be confusing. U is telling me the sum-total change created when i increase a1
bc a3 and a4 probably undo a1 or a2 in some way, they arent helpful in our span
or, they can be undone BY sliding a1/a2 in some way
i just dont know if A1 would be a basis vector, or if the basis vector would be "the first digit of a1, the first digit of a2, the first digit of a3, and a4"
no way to tell without further context. i would normally say column
you'll have to check the notation used in your notes
actually, it would need to be colum right? Because we know that -3 turns into 1. meaning the row must have been divided by -3.
nvm, that cant be correct bc a2's first item is 4
you need to look at the definitions given in your class
there is no way to know just from looking at this image
For the linear algebra course in my school, we start with field then define VS on field we also used Zorn's lemma proving each VS has basis
what's a good approach to linear algebra actually
What are some elegant books on LA you have ever read
/lecture notes
what do you mean by this? did you not like something with the use of zorns lemma?
like some people would start with determinant using gaussian elimination as the first principle for a more computational approach LA class
I want to know if there's any elegant approach to LA. Want to know it for fun
Start with systems of linear equations
this is a pretty elegant approach imo
Matrices come into picture because a Linear transform can be modelled like a system of equations(I mean linear combinations)
And we already developed theory to deal with matrices in context of systems of linear equations
conversely, you develop the theory for matrices by starting from fields when you want to study linear transformations between vector spaces. they just pop up naturally
the LA course I taken in high school it was followed by linear equations, matrices, singurlarity, subspaces, null spaces, eigenvectors
I feel that I would like to have a LA course that also includes some abstract algebra. I feel like I would like it if the role of algebraic structures were stressed more
try hoffman and kunze linear algebra
Aren't these two matrices equivalent to each other?
equivalent in what sense?
if i don't want to work with a rational matrix can
can't i just multiply the second one with the denominator to get rid of the denominator? if that makes sense
if you mean to ask if those matrices are equal, then no, they are not
to get the rid of 1/2 can't you just multiply B with 2 so you have A*2B or something
ok weird, i thought you could do that <.<
no, you can do what you just described
i guess i was misunderstanding what you were trying to say earlier
yeah what i said didnt make any sense at first but
ok i did A*2B but for some reason i get the wrong answer
so
When i solve this i get this: but the answer is actually
4 -11
-6 15
i don't understand why it doesn't work, i get:
8 -20
-12 30 after i divide the last matrix with 1/2
I'm suppose to solve this equation AXB = AC
oh i need to divide it twice
Can I calculate the area of a triangle using vector algebra?
yea
Thanks
In linear transformations what does T:R^n - > R^m mean
I just can't seem to get it, what exactly are we doing with matrix T
here is a possibly oversimplified explanation.
T is just a function that eats vectors in R^n and spits out vectors in R^m. we are just multiplying the matrix m x n matrix T by some n by 1 vector x to get Tx an m x 1 vector.
T is linear, so it has the property that T(x+y) = Tx + Ty and T(ax) = a(Tx) where x, y are vectors in R^n and a is a real number
hi
when determining the eigenvectors of a matrix 5x5, i got solutions b=0, d=0, e=0
can anyone explain why the eigenvectors are (1,0,0,0,0) and (0,0,1,0,0) ?
and why not just the vector (1,0,1,0,0) ? is that because it's a sum of two linear independent vectors?
you mean you get an eigenvector of the form (a,0,c,0,0)?
yep
if you don't have a=c, then the vector (1,0,1,0,0) does not cover all the possible vectors of the form (a,0,c,0,0)
e.g. if you take a = 2 and c = 5 (we can do this because a and c are free variables, so they should be able to take any value)
i see, thank you very much!
Hi everyone! How would i go about doing this? "Is it true that for any invertible matrix A, we have tr(A^(−1)) = (tr(A))^(−1)?"
I thought I could prove using examples but it seems to me like I have to prove this by definition which I'm quite unsure of how to proceed
do you know any relationships between the eigenvalues of A and the trace of A?
and also between the eigenvalues of A and those of A^-1
I need to prove that the group (R^2,x) -> (G,x) an isomorphism. I proofed that (G,x) is an commutative Group. My problem is to assing G a basis to proof the homomorphis is surjective.
or you can just show from the definition that it's surjective
is there a name for like, a subspace which contains vectors that're orthogonal to another subspace?
orthogonal subspaces?
why is it that if T is injective (with the corresponding matrix A being mxn) then A has a left inverse
I think it's called orthogonal complement
it's only orthogonal complement if it contains ALL vectors orthogonal to the other subspace
yeah, that's what I meant
i.e. their direct sum is the whole vector space
but they didn't say that was the case
who?
oh lmao it was you

anyway, it's only orthogonal complement if the two subspaces together form the whole vector space
but you didn't say that in your original post
yeah, sorry I wasn't clear enough
So glad I found this discord!
so I had to prove that this set
was a basis
and now that I've done that I need to create the change of basis matrix from it to the standard basis (1,t,t^2,t^3)
but isn't that matrix just the coordinate matrix that I generated so I could row reduce it to prove it was a basis?
so this is my change of basis matrix then?
it's throwing me off cause I feel like I need to do math at it or something
that looks correct
the question will probably go on to ask you for the other one
change from the standard basis to this one
and then for T_ab it's jsut that matrix ^-1
yeah
wait I thought this WAS the matrix to go from the standard basis to this one
I am new to linear algebra, and haven't done math in 16 years lol can someone help to explain if this is linear or not?
oh oops i misread your statement
no, this matrix takes coordinate vectors in this weird basis, and returns a coordinate vector in the standard one
you can see this by noticing that if you multiply this matrix by the vector (1,0,0,0) it gives you the polynomial 1 + 2t - t^3
\cal = ker, this is my proof of rank-nullity... i was wondering if it is complete/correct
any other feedback would also be appreciated
have you tried using the definition of linearity?
I know it needs to be a straight line
that is not the case
I was initially tempted to claim that was exponential, but if you work out all the Lns I'm pretty sure it's just pi(2z)-1/2 y -2z =3 -x
which is a plane I'm pretty sure
can you look up the definition of linearity used in your course or book?
Looking now quick
did you get why what you have is the opposite?
all variables occur only to the first power and not appear as arguments of trig, log or exponential functions
does this server have a tex bot
yes
all right, and do you have any trig, log, or exponentials here?
so my understanding is that I"m trying to solve for $B\mathcal{B}= T\mathcal{A}$ where $\mathcal{B}$ is our new fucked up basis and A is the standard one that can be represented as the identity matrix
mr.mseeks
so then, $\begin{bmatrix}
1 & 3& 0 & 4 \
2 & 1 & 0 & 0 \
0& 4 & 6 & -5 \
-1 & 0 & 2& 0 \
\end{bmatrix} = \begin{bmatrix}
1 & 3& 0 & 4 \
2 & 1 & 0 & 0 \
0& 4 & 6 & -5 \
-1 & 0 & 2& 0 \
\end{bmatrix} * I $
inverse log In(e power 3)
mr.mseeks
not quite
so sin cos tan will be trig right?
yes
and log then? or do we not look at inverse?
so you want the change of basis matrix from the standard basis to this one
exponent I see still the 2z
I want both, so if our wonky matrix is $B$ and that's the first matrix I want, then the other one is gonna be $B^{-1} right$
what you originally have is $[x]\mathcal{A} = T^{\mathcal{B}}{\mathcal{A}} [y]_{\mathcal{B}}$
this vector y has coordinates using the weird polynomials as its basis B
e.g. it maps the coordinate (1,0,0,0) in the weird poly basis to (1 + 2t - t^3) in the standard poly basis, which corresponds to (1,2,0,-1)
it took it a coordinate 1 and it spat out a weird polynomial
right so that's changing our basis FROM A TO B
no
it's saying that the weird poly has a coordinate of (1,0,0,0)
let's do this a different way
look at your matrix and consider its columns
let's say the matrix is M and we have a coordinate vector v
M has 4 columns, let's call them m_i
the product Mv is equivalent to writing m_1 v_1 + m_2 v_2 + ...
where v_i are scalars (the entries of v) and m_i are vectors (the columns of M)
you can see that the result of this operation is a linear combination of the columns of M
and the columns of M are the weird polys
i.e. you are using the weird polys as a basis
in this basis, the polynomial (1 + 2t - t^3) has coordinate (1,0,0,0)
in the standard basis, this polynomial has coordinate (1, 2, 0, -1)
there exists some OTHER matrix that provides the inverse mapping
we give in the coordinate (1,2,0,-1) , which corresponds to the weird poly, and it gives us its coordinate in the new basis
which would just be (1,0,0,0)
this would be the matrix that changes coordinate vectors from the standard basis A to the new one B
the columns of the matrix are the basis here
saying u = Mv is the same as saying "the vector u can alternatively be constructed by taking linear combinations of the columns of M, and the coefficients are the entries of v. this means v is the coordinate vector of u in the basis of the columns of M"
okay I just saw that in(e^2) will be 2 for example?
so in(e^z) will be z
I think I kind of understand? I gtg but appreciate your help
small note: you can just write, v1, v2, v1 u v2. a basis is already a set of vectors
that's just how my book denotes a basis
(I can prove that lol, I'm just lazy)
does this work?
how can you show that a linear transformation T that is injective always has at least one left inverse for its corresponding matrix
since T is injective, the columns of $[T]$ are linearly independent
DarQ
if you're going this route, why not gram schmidt
that means the rows of $[T]^T$ are linearly independent
DarQ
which mean $[T]^T$ is onto
DarQ
which means the equation $[T]^T \vec{x} = \vec{e}_1$ has a solution
DarQ
now $\vec{x}$ is just the first row of the left inverse of $[T]$
just do this all the vectors of the standard basis and you'll construct a left inverse of [T]
does that make sense? @twilit minnow
coz I don't know what that is 
DarQ
is there a better way of doing (a)?
if ker T2 is not a subset of ker T1 then there is some vector v in ker T2 not in ker T1. T1 v != 0 but T2v = 0. any linear transformation S has to take 0 to 0….

oh did i do the wrong direction

what's the question
(a)
the other way
ok
v ∈ ker T2 then S*T2(v)=0 => T1(v)=0 => 0 ∈ ker T1 so ker T2 ⊆ ker T1
Is this what you wanted?
@molten pilot
for converse use first isomorphism theorem, if not already done
I mean that's literally the first isomorphism theorem

but how do you know S exists?
wait
yeah, it exists by hypothesis lmao
what's the first iso theorem? 
if ker T2 subseteq ker T1 then there is an unique map from Rⁿ/kerT2 to imT1
that doesnt seem like a pretty way to do it
im looking at this now
how can he be so sure that transpose(A)*A will have an inverse
that's cheating 
i get that its a square matrix, but how do we know that the result will have full rank and be invertible
im assuming that the rank(A) = n here
it doesn't
but they have assumed that the cols are independent
otherwise use pseudoinverse
okay but if the cols of A are independent, how do we know that transpose(A)*A will have an inverse
rank A = rank A'A
let me think of an easy proof
let v ∈ N(A) then Av=0. now <Av, Av> = 0 => <v, A'Av> = 0 for all v in N(V)
ok reverse this
I hope forst inclusion is clear, N(A) ⊆ N(A'A)
let v ∈ N(A'A) then <v, A'Av> = 0 since A'Av=0 so <Av, Av>=0 or ||Av||=0 so Av=0 or v ∈ N(A)
so N(A)=N(A'A) so null space have same dim, so does their col space and hence have same rank

why is this the case though
Av= 0 mtlb A'Av=A'(Av)=A'0=0
Hello guys
I have a problem with a exercice
So i have this expression: $(u - a.Id_E) \circ (u - b.Id_E) = 0_{L(E)}$
Pako
u is a linear funtion
I don’t know if you use L(E) in english to say that
And my first question is to prove that a or b is a eigenvalues
Then i have to proove that if u isn’t a homotety, a and b are eigen values of u
In this subject, a /= b
I doubt that you haven't written your question properly
(U-aI)(U-bI)= 0 doesn't mean a and b are eigen values
wasn't talking abt that
for example take U = aI then b is not an eigen value
yes a or b is correct
oh u said a or b my bad
this makes no sense to me
can u explain
say (U-aI)≠0 then you have a vector v s.t.
(U-aI)v≠0
now assume (U-aI)v=u and look at (U-bI)v
did you get why N(A) = N(A'A)?
no
A'Av=0
how can u assert that
taking v in null space of A'A
Why take (u - aI) /= 0 ?
and then how can <Av,Av> = 0
What is s.t. (Pls write with full name, all is different)
where v is an element of N(A'A)
if (U-aI) is zero then you already got your Eigen vector
s.t. = such that

Okk i understand this point
so done?
how do u apply that to what u said earlier
with the <Av, Av>=0
well <v, A'Av> = 0
sine A'Av =0
now pull the A' back to first term
you get <Av,Av>
this is the first time im hearing that u could do that o_O
where can i read about this
which grade you are in?
2nd year uni
ok not familiar with the metric
LADR is a good start
or you can just search adjoint operators
what year r u in
2nd year masters (india)
In fact, I don’t understand
Because if u is bot a homothetie, u /= lambda .x
Are you agree with me ?
My country too 🙂
Hey can anyone tell me wether this is true?
(A + B)C = CA + CB
My friend says that it has to be
C(A+B) = CA + CB to be true
are A, B and C matrices?
if so then (A+B)C = AC+BC but not necessarily CA+CB
also you will need to be more careful when specifying sizes
but that is beside the point
I have another plan
I suppose that b have not a eigen vector
But, i don’t know how to process then
What is the difference between W⊥ and (W⊥)⊥?
W is and euclides subspace
$W^\perp$ is the orthogonal complement of $W$ and $(W^{\perp})^\perp$ is the orthogonal complement of the orthogonal complement of $W$
Icy001
Does that answer your question?
Ok i will fraze it diferently
Becouse i clearly didnt get something
W⊥ - means that every vector in this subspace is perpendicular to every other
Right?
(every other in this subspace)
So what is the point of orthogonalization of something that is already orthogonal
No!
That would make no sense because if W is any nonzero subspace, it'll contain two vectors parallel to each other
just take some nonzero v in W and also take 2v
$W^\perp$ is another vector space, consisting of all vectors perpendicular to all vectors in $W$
Icy001
Oh so i missunderstood
W⊥ is not about all beeing perpendicular to each other
It's about beeing perpendicular to base subspace
Right?
Yes
any pair of vectors is perpendicular
By pair i mean that they one comes from W and other from W⊥
What do you mean by "any pair works"
any pair of vectors is perpendicular
I think you're missing some quantifiers in order for me to answer your question
Start from the definition of the orthogonal complement and write it as one whole sentence
ok , so by perpendicularity i mean that the Dot products of 2 vectors is equal to 0
Now let there be a subspace of vectors W
And W⊥ - which is a orthogonal space of W
By definition, an element of W^⊥ is perpendicular to every element of W.
I just want to make sure i correctly understood that
That's the definition of W^⊥.
Sorry, I had only one class of this subject and dont fell quite good at it
Thanks guys, you really helped me out ❤️
A helping hand pls 😭 🤲
Well what do you know as the statement of Lagrange's remainder theorem? what equation do you end up getting when you apply it to exp ?
You should precisely get that e - (1 + ... + 1/n!) = something you can estimate beneath 3/(n+1)! from that, lmk if you get stuck
(This is pretty far from linear algebra, though).
now he said theres not gonna be corrections for this one; but one of the proofs on this test was if T is a normal operator on Complex V with T^8 = T^9, prove that T is hermatian and idempotent.
I basically just said that from the complex spectral theorem, we'd have a diagonal matrix, and the only way the diagonal matrix = itself applied one more (8 to 9) is if everything was 1 or 0 on the diagonal, so any diagonal with 1 or 0 on the diagonal is hermatian and clearly idempotent?
i'm wondering how correct that is so i can estimate my grade
Do you know V is finite-dimensional?
i cant remember
it might have been
Also, another thing was in the "computation" section and it was something about a projection operator P_U on a proper subspace U of V, what were are the eigenvalues.
I just said 1 was the only eigenvalue because the only time a vector retains its form is for P_Uu=u, and hence lambda=1, otherwise the vector loses its direction (and hence isn't an eigenvector). But idk if thats what they were looking for or if its even correct
i guess 0 might have also been an EV since P_U(u perp) = 0
Indeed.
yo in linear algebra
whats the symbol for like saying a certain value in a matrix
lets say i want to show the value at row 1 column 2 of matrix T is 0.5
whats gonna be the symbol
$T_{1,2}$
anamono
alright thx my g
ye
i have a question about the state vector in a markov chain
the thing u multiply by the transitional matrix
does it have to be like [ 0.25 0.25 0.5] so lets say 25% of students are in A, 25% are in B..
and totalling 1
or can it be like [ 100 200 250], 100 students are in A, 200 are in B...
does it have to be a proportion or can it just be like raw data
nvm it has to be between 0 and 1 i got it
I don't get you, you can speak hindi
Test today 😬
Is this formula familiar to anyone? It is used for a linear mapping problem, im wondering if it suppose to be inverse of S instead of transpose
that depends on what structure S has
let me see
as ryu says, some matrices are diagonalizable in an orthonormal basis, so that S is an orthogonal matrix
then S^T = S^-1
" The imaging matrix in the new base is A = ST AS where S is the matrix whose
columns are the base vectors. So is (if we break out 1 / √6 from S), The image is a projection on the line through the origin with the direction vector "
what structure does the original "imaging matrix" A have?

one sec
and u_3 = 1/sqrt6(-1,1,2)
and this is the A matrix
ig you answered it up there
looks symmetric to me
Can anyone help me here, I am trying to model inaccuracy in a WW2 RTS game.
Basically I have this base function that I want to scale non linear.
However I need multiple 'base' variants of this function which have a linear scaler, and I don't want to multiply the linear scaler by the exponential.
For reference. The base function is y=0.0266 * n * m where n is the position on the x axis and m is the linear multiplier of the function
The non linear scaler function is (1.08+0.015x)^n where x is a series of number 1-8.
I was just multiplying the two together until I realized its scaling the whole thing non linear
To put the idea in words; I'm creating an accuracy system based on minute of angle (0.0266m) and human misjudgment of range on first shot based on skill (x).
I want the MoA part to remain constant with addition of the misjudgement on non linear
When choosing a direction vector (maybe it's called unit vector?) does it matter whether you pick the vector like $V=\overrightarrow{P_1P_2}$ or $V=\overrightarrow{P_2P_1}$?
pesthaio
or is there a rule that you should follow when creating a unit vector, (P_1 and P_2 are two points in the plane btw)
No rule, just depends on what your doing. Also you can obtain from from the other. V = p_1p_2 = -p_2p_1.
just keep in mind that if the direction is reversed, your coefficients will have the opposite sign, as plegasus says
the determinant of a triangular matrix is the product of its diagonal
oooohhh yeah you're right
soooooooo if i have a question like this
i can just try making a triangular matrix
and get n! or n-1! or whatever it becomes afterwards
i mean that's a very specific example
im not sure how often you'll encounter a matrix that can be transformed so easily
it's not even possible for all matrices
you can certainly row reduce any matrix
how does my instructor get this on -1^
look a the operations that are being done as elementary operations
scaling a column by -n multiplies the determinant by -n
i understand that its n times -1 to the power of but i dont know why it's that power specifically
it's row + collumn
but thats n + n or 2n
it's not clear to me what operation was done on the second row just from what is written
what is done to get from 1 to 2?
hmm idk what you mean by that
let's see if someone else shows up
ah you mean laplace expansion of the determinant, so cofactors
so the sign changes depending on which row and column you are on
i don't think it's a division
it looks like a bracket
that was also throwing me off
its in brackets i think
what i mean is that what is written is
really?
that's what it looks like to me
okay i get that
and below that?
n-2 / 2
and i also notice that the columns are reversed
i think that has something to do with it?
yeah
i guess they permuted the columns
it says something like permutation there, right?
nope nothing says permutation
but i'm not sure if they flipped only columns or also rows
it says
we are flipping
switching
it says also
2nd row far right
its of format (n-1) X (n-1)
what does it say on top and below the equal sign
third row?
yep

yeah
how do you do that?
ah i get how they formulated it
you take the first and last column, and swap them
this multiplies your determinant by -1
then you swap the second column with the second to last column
you get another -1
then as a toy example, consider that a matrix with 2 columns requires 1 flip
and a column with 3 columns also requires only 1 flip, the middle one isn't touched
thats 1 * -1
they have generalized it as, you have n-1 columns, we wish to flip half of them
and to make the expression work regardless of having n-1 odd or even, they have written this as floor((n-2)/2)
btw on the second row i would argue that it should be (-1)^((n-1)^2), but you still get the same result since this always yields 1 here
umm
i kinda dont get it
sooo we have n-1
we want half of them
that's n-1 / 2
correct?
you have to think about it a bit more carefully and see the pattern
if we have a 1x1 matrix, we need 0 flips
2x2 its 1 flip
oh i get it
4x4 is 2 flips
let's say the matrix has M columns now
okayy
let's see...
oh i think it's ceil, not floor. we round up
(1-1)/2 = 0
(2-1)/2 = 0.5, we round up to 1
(3-1)/2 = 1
(4-1)/2 = 1.5, we round up to 2
so in general for W columns, we do ceil((W - 1)/2) where ceil means rounding up
then we recall that for your matrix, there are W = n-1 columns
so ceil((n-2)/2)
and some people denote this rounding operation with brackets, so on your notes it reads as [(n-2)/2]
is that clear?
im sorry im reading now hmm
oh so
n-1-1 is n-2
and then / 2
is the number of flips
sooo -1 to the power of n-2 / 2
i dont get the round up and ceil things you are saying
the thing is that, for example, if n = 3
you get 1/2
you certainly don't expect the determinant to be imaginary
yup
oh okay i get it
Can someone help me w a question on determinants?
I had it on my test today and i remembered it i think i’m pretty sure i got it right but i wanna make sure for peace of mind
Is it plausible to prove nxn matrix A has k^n*det(A) = det(kA) by associating the idea that A can be row reduced into REF, a triangle matrix, which has the property that the product of the elements on main diagonal equals det(A).
hope that makes sense

what kind of proof is that
also after REF you'll get 1's or 0's in the diagonal
not necessarily the det
no body asked anyway
DetA= 3 DetB=5 and it gives a) det(CA^3)=7 and u gotta find detC and b) det(2AB^-2)=? also it’s a 4x4 matrix
det(AB) = det(A) det(B)
can I use this to prove that using k*identity matrix? Thought it might be circular logic
you can
$kA$ = \m{\dmat{k}{\ddots}{k}}A$
hint ^
Compile Error! Click the
reaction for more information.
(You may edit your message to recompile.)
ryu
is there a way to find the left-inverse with row operations
or is this really the best way
I like the 'tall matrix' term
"left inverse" is kinda least square solution matrix
it has nothing to do with the classical inverse
in that case you have right inverse but I'll not get into it
these are just names, don't take the 'inverse' term too seriously
okay assume we have to find the left-inverse of a tall matrix (m > n)
what would be the best way to do it
I mean they are 'pseudo inverses' but idk
the normal equation you are given
do you know least square?
say you have $Ax = y$ with $m>n$ then you can't find an solution of this system
but what you can do is find a solution $\hat{x}$ that minimizes the error, i.e. $A\hat{x}-y$
x~ s.t. there is a soln right
no your system may not have a solution
x^ is a least square solution
i.e. one solution that minimizes the error
yeah so it's like you can have a vector in a plane and you have to find one of such vector x^ s.t. the distance of Ax^ and y is the least
I hope you can see why it has to be perpendicular to our plane
actually let me send a video for you to follow
that would be helpful
MIT 18.06 Linear Algebra, Spring 2005
Instructor: Gilbert Strang
View the complete course: http://ocw.mit.edu/18-06S05
YouTube Playlist: https://www.youtube.com/playlist?list=PLE7DDD91010BC51F8
- Projection Matrices and Least Squares
License: Creative Commons BY-NC-SA
More information at https://ocw.mit.edu/terms
More courses at https://ocw....
watch this
they're equivalent when the mat is invertible
yes
I NEED TO KNOW IF LINEAR ALGEBRA GETS ANY EASIER
Cuz for the last couple of weeks classes have been absolute hell
Everyday we cover a topic that is even harder than the one before 💀
DEPENDS ON WHAT YOU ARE DOING
you need to review the stuff until you understand it well, because every topic will build on the previous ones
i.e. it only gets worse
TENSOR PRODUCT OR MULTILINEAR STUFFS AREN'T EASY
Exactly!!
WHY ARE COVERING SO MUCH TOPICS LIKE TF?
im looking at this review problem and i kinda get how to prove it but im getting stuck
so i know we need an iff proof here
rank(A) = n iff left inverse of A
BECAUSE THERE'S SO MUCH TO COVER
so lets assume rank(A) = n
OK WELL IT SHOULDN'T ALL BE PUT IN ONE COURSE THEN
They can have a lin alg II or smthng
Like calc
we can say that a transformation T for the corresponding matrix A will need to be injective
it isn't put in only one course, you probably are only seeing a small part anyway
ig you can say that
Ig so ...
Still think it's a lot of content tho ....
nullity = 0 means it has a left inverse
in the proof how do i even get from rank(A) = n to injective
is it enough to say if rank(A) = n iff N(A) = {0}
in the notation in your image, this isn't true
you need full column rank
so rank(A) = m
only if you have some relationship between m and n
Wait if a matrix isn't full rank it wouldn't be invertible right?
well, you have to state that
because otherwise it's just not true
both sided invertible no, but one sides could be
For dquare matrices ofc

