#linear-algebra
2 messages ยท Page 170 of 1
aight
It should be positive definite
yes
HW had a typo
otherwise no inverse
But yeah we good
Actually @lavish jewel, I proved M^-1/2 exists, but how do I prove its symmetric?
Is the inverse of a symmetric matrix also symmetric?
a symmetric matrix can be written as Q D Q^T
with Q being unitary, i.e. QQ^T = I = Q^TQ
you can invert that simply as Q^T inverse D inverse Q inverse
which is of the same form
Multiplying a positive definite matrix on both sides with a symmetric matrix produces another positive definite matrix.
I need it to finish my proof, but I'm having a bit of trouble proving it
Yes, I actually am multiplying a PD matrix on both sides by the M^-1/2 we talked about above
ah, then yes
How could I prove it?
I meant orthoginally diagonalized
all with same element
for example 2 by 2 matrix with all elements 1
still yes
do the evd
here you go @momo
a bit messy, but i think that is rigurous
thw first line is a definition of PD matrices, oops
not just symm, cuz the factors might not exist then
everything was PD here tho
what level are you at? i hope you're at least in uni cuz otherwise that won't make much sense lol
i forgot to ask before going HAM on decompositions
Yeah I'm currently taking an ML course at a university
So we are going over linear algebra pre-requisites and stuff
oh, then this is about right
Yep! I can follow it ๐
Ty :)))
i only called it D there, but that's the diagonal matrix of the reciprocals of the square roots of the eigenvalues. should be ok
its insane how i forgot everything about lin alg i learned half a year ago ๐ฆ
now suddenly I need it for numerical methods and struggling again lol
I was wondering if anyone here knew anything about the equation z = ax + (1-a)y 0<a<1?
Im trying to understand why this plots a line segment between x and y.
ah, the definition of convexity
Yes im in an optimization class doing LP
the name of that is the convex combination of the points x and y
i can hopefully convince you with 3 examples
even better, id love to see your examples
try a = 0 and you get y. x = 1 and you get x. a = 0.5 and you get the average of x and y
which is between the two
@lavish jewel Sorry, I see how you proved its symmetric, but how do we know its PD?
that's what i meant. the first line was actually PD -> A = B^T B
not just symm. otherwise the matrix B doesn't exist
regarding the convex combination, you can set x and y as columns of a matrix, and a and 1-a as elements of a vector that multiplies the matrix
its intuitive to see that a the convex combination generates vectors that essentially make a small inner triangle to the original vectors IE:
It just seems pretty incredible that these fractional vectors managed to land on that line
Your examples help though. The average case for sure.
that's why i also suggested to put x and y as columns in a matrix
I dont quite follow that line
they become a sort of basis and span a space that is a straight line
oh i see what ur saying
Hint: if x is an eigenvector what will x^T (Ax) be
ah, yes, rayleigh quotients
In mathematics, the Rayleigh quotient () for a given complex Hermitian matrix M and nonzero vector x is defined as:
R
(
M
,
x
)
=
x
โ
...
Excellent job from the discord preview bot
ye boi
Which section should I look at?
anyway, follow the hint you were given. the link i sent follows up with complex matrices
try the suggestion they gave you, this one is pretty straightforward. you can read the link after
I'm not sure what x^TAX is
Are you familiar with dot products?
Yes
If X is an eigenvector AX=cX for some eigenvalue c,now X^T AX=X^T(AX)=c X^T X=c ||X||^2
Is there a range for possible values of a norm?
Oh, so we just set the norm equal to 1 so that lambda is isolated?
Yes
Gotcha, so we're done then?
you have to show what the vector x should be
Why?
follow the logic to find that if x is the eigenvector corresponding to the largest eigenvalue of A, then the expression is equal to the largest eigenvalue
if A is symmetric PD, it has full rank and you can express any vector x as a sum of the eigenvectors of A
arrange the eigenvalues and eigenvectors in decreasing order and go from there
Can we not just say let x be the eigenvector corresponding to the largest eigenvalue of A, followed by this ^, and be done?
Hm, that is true...
but that's not done right?
i'd do it in two steps
i'd say x is an eigenvector
show what happens
and then say it has to be the eigvect of the largest eigval
you also need to show that for any vector in V, it's x^TAx is less than if x was the maximum eigenvector
or why not?
If x is not an eigenvector,That will still be lesser than the max eigenvalue
what i said about A being a full rank matrix with orthogonal eigenvectors is an extra argument, because you end up with a convex combination of all the eigenvectors
with max when all the weight is at the largest eigenvalue
that would be the most general way of showing it
My logic is this line showed how x^TAx = lambda, and why norm needs to equal 1
Therefore, we're left with the expression that we need to prove
yea^ because all symmetric matrix have eigenspace = V
So I'm not sure why we need to do any more
because you also need to show given any vector v in V, it's smaller than that eigenvalue i think
yeah
that's what's missing
my suggestion is to expand A
x^T Q D^(1/2) D^(1/2) Q^T x
What's V, and how can a vector be smaller than a scalar?
I'm not quite following
from there it is evident that x^T A x is the norm of the vector D^(1/2) Q^T x
capital V i meant is the vector space
i'll let you peeps handle it, having 3 explanations isn't gonna help ๐
@zealous junco How can a vector be smaller than a scalar?
Ah ok
I'm probably going to sleep, just dm me if you figure it out
It's nearly 4am here LOL
Thank you all
What would be the determinant of a matrix A size nxn
which the mid row is 0 and the rest are 1's?
(0,...,1)
(...,...,...)
(1,...,0)
0
Revise your notes
there's a section about identity matrix, but not on this kind of matrix
in identity matrix by defintion it's going to be det(I) = 1, while trance(I)=n
Do you know how to compute a determinant?
manually, yes
Just do it along the row filled with zeroes
It'll be if n=3 than det(A) = 0
if n =2 than det(A) = -1
just want to confirm
if A is diagonalizable
then PAP^-1 = D, then P^-1 stores then eigenvectors right
because P^-1 is the change of basis matrix s.t. [a]stdbasis = P^-1 [a]eigenbasis
ooooo this channel is perfect for helping me with my homework
is there a way to find out there is no solution to a system of equations without gauss-elimination?
that's really the easiest way
try to solve it and fail
there are other ways, but they are sophisticated
EVD, SVD, and other matrix factorizations
alright
another question, what is the reason for having a double absolute value of a vector?
isnt one enough?
double absolute value?
you mean the double bar notation for the norm of a vector?
$\nrm{x}$ like this
Ann
yes
to distinguish it from absolute value (or modulus if youre working in C)
why would we wanna do that? aren't both the length of a vector?
there's different ways of measuring length
what you're doing there is actually the 2-norm of the vector
let's see what wolfram says
,w l-p norm
not very useful
I have shown that (v1, v2) are linearly independent of each other in R^2. How do i prove that that they are a basis in R^2 or well how do I say that the span of the vectors is equal to R^2?
โLet V be a finitely generated vector space. The vectors v1,v2,...v_n in V is a basis in V if :
Span{v1,v2,...v_n} = V
and
The vectors are linearly independent.โ
Or well, they never said โandโactually, they just listed
Is a basis if:
a)
b)
Not sure if I can interpret as in it is a basis in R^2 if one of the conditions are met or if both have to be true. I assume the latter
both have to be true
cause for example [0,1];[1,0];[1,1] span R^2, but they arent indep. so it's not a basis
Well lets say the general case
I prove an arranged order of vectors are linear independent in R^n how do I claim they also span R^n?
u gotta show that any vector in R^n can be written as a linear combination of these vectors
You can even try to prove the generalized version that if V is an n dimensional vector space then any linearly independent set of n vectors is a basis
Why is a) listed then if linear independency implies it is a basis?
that's not true
Linear independence is not enough to show it's a basis
Notice in my theorem I said V has to have dimension n. So you must already know that it has a basis of n vectors. Then you can prove any other linearly independent set with n vectors is a basis.
If you don't know if it's finite dimensional or what its dimension is, then you still need to check that it spans the space.
right. it's not enough that you have linearly independent vectors. you need enough of them, too.
a way of proving that it is a basis is converting the vectors in your set into the canonical basis, and then substituting the coefficients
hello, I was trying to reduce the rows of my matrix using the Gauss-Jordan algorithm, but I can't understand how in the notes of the teacher it makes the division by 8 of the row when it makes R4 - 18 / 8R3 because if I only do the difference without dividing I still get all 0's in the last row, could someone help me? Thanks in advance!
the thing is that the goal was to make the 18 into a 0
nothing else
18 - 8*18/8 is 0
if you do r4 - 18r3, you get
18 - 18*8
that's not 0?
at any rate, the teacher did the operation in one go
you did it in two steps
that's the only difference
you took more steps
they directly followed the definition of gauss-jordan
same result, you're both correct. do whatever is easier for you as long as the operations are valid
what you write is correct and I understood what the goal but did my teacher make R4 - 18/8 * R3 on the intermediate matrix I wrote or did he apply the algorithm directly on the original?
directly to the original
the original
Ok, thanks Edd and Luna!
R^n is a finely generated vector space and the vector space R^n for any n will always have a basis of dimension n. That means that in R^n I just need to show that the vector is linearly independent and has the same dimension as the standard basis, am i wrong?
i see what you meant now, yeah, that procedure was kinda obscure
they should've stated the steps more clearly
you clarified a trivial doubt but very important to me, thank you very much
guys do u know that linear algebra comes form the arabs ^^
Algebra does not linear
I mean, not surprising since Arab mathematicians did alot, same with Babylonians
I mean the word algebra is Arabic and the method of solving equations by adding or diving both sides is arabic but I wouldnt really say linear algebra is an Arabic invention though
I mean,Who cares if "arabs used linear algebra first"
Can someone explain whats intergration. Im a beginner.
we know ur a troll why are u bothering
Hello people
I have this graph
and I have been asked to "visually interpret" to determine what the frequency might be
how do i go about visually interpreting it?
you guys are all in the wrong channel
@wicked axle try one of the questions channels
@burnt prawn try the calculus or a questions channel
Thanks Edd
okity
i dont have a question currently but i just wanted to say that linear algebra is thus far THE BEST MATH, i'm just learning what a linear transformation is now
and seeing how matrices transform inputs into outputs is very interesting
That's algebra in general
yeah i wish i had taken this in college
is analysis an extension of algebra or is a separate aspect?
i.e. real analysis
Separate
cool thanks, as an economist i have to find a way to take classes on that too
Linear algebra so far is fun but I hate the computation part
Is there, um, a place where cheapo students go to peruse available current textbooks
in PDF form
Am I allowed to talk about pirating it?
Or just any forum where people talk about this stuff
Is there an operation that allows you to take the entry-wise product of two n-length vectors?
hadamard product
thx
hello LA chat:
So ive done my time in my senior algebra course. I know what all these terms mean
but the fact that the set is of linear equations is throwing me off
idk if im over thinking it or if theres just something im missing
can someone help me with some questions on my algebra home work
@lucid cedar the terms stay the same, even if its a set of equations.
@toxic karma you can send here a question and people will answer, that's how this server works. (obviously let us know what you tried)
oh ok sounds good
just to clarify an equation like y = 2x + 6 wouldnt be considered here because it does not pass through the origin correct?
Edd
you can see how this generalizes to Ax = b when you add more equations of x and y, yeah?
right
okay
but if im testing this for linear dependence I would have.... Ax + Bx = 0? that does not seem right
a1Ax + a2Bx = 0 but that still looks definitely wrong
both are wrong
atleast i was right about that
make up another equation like the last one
y = 2x + 6 and y = 5x - 1
$\begin{bmatrix}
-2 & 1 \
-5 & 1 \
\end{bmatrix}
\begin{bmatrix}
x \
y
\end{bmatrix} =
\begin{bmatrix}
6 \
-1
\end{bmatrix} $
Edd
how do you test for linear independence?
I only really understand this term as linear combinations of vectors. if a set of vectors span another one then its dependent
I dont want to be annoying and stupid, but.....
build the extended matrix
(is that what it's called in english?)
ah, augmented
$\begin{bmatrix}
-2 & 1 & 6\
-5 & 1 & -1\
\end{bmatrix}
Edd
Compile Error! Click the
reaction for more information.
(You may edit your message to recompile.)
how do i conceptually define this, the are linearly dependent when the coefficeints of all the terms are linearly dependent?
when you cannot get one equation from the other
look at this
x + y = 1
x + 5y = 3
2x + 6y = 4
you see how the third equation is the sum of the top 2?
yes
$\begin{bmatrix}
1 & 1 & 1\
1 & 5 & 3\
2 & 6 & 4\
\end{bmatrix}
Edd
Compile Error! Click the
reaction for more information.
(You may edit your message to recompile.)
do you still see it?
yes
mmmm okay that makes sense
alright im seeing it, sorry lol I didnt mean for this to be difficult
it's aight
its amazing how much time I can spend learning soemthing and then still feel like i know nothing about it
the thing with linear algebra is that they tend to teach it in one of two ways
all with vectors and matrices
or based on the definitions of what vector spaces are
with vectors and matrices, people get lulled into thinking that is all linalg is
with the latter, holy crap,
I took an intro class that was packaged with diffyQ. and then I took a follow up class with axlers book
The follow up class was a challanging semester as many of the helpers here can probably attest lol. but it was alot of symbol manipulation. I felt like sitting to ponder the material was too slow
too slow when you have looming test deadlines i should add
yeah I wish I could learn it based on what vector spaces are
I think my class focused on the matrices & vector part though
@rose grotto help
this is not linear algebra; next time ask in #prealg-and-algebra . You should review https://www.wikihow.com/Find-the-Equation-of-a-Line and see if you still don't know how to do it.
ok thank you for the help
What is this first theorem?
Is it not obvious??
The inverse of an inverse is the original thing
Just like the transpose of a transpose is the original thing
I don't think that follows straight from the definition
but it's a really quick proof
actually, it almost immediately follows from the definition lol
but it's something that would require proof anyway
How am I supposed to interpret this?
Like it's not just the inverse of A
And it's not 1/A^2
Oh it's A^2 inverse
Weird
Earlier the textbook said that AC = BC doesn't always imply that A = B; so can you only cancel when the matrices A and B are invertible?
If C is invertible, then C^-1 exists
so then you can right and left multiply by C^-1
could i get some help understanding how they get to the last line with the three equations?
what does it mean to equate coefficient of powers
ah nvm i got it
If AA^T=A^TA yes(assuming we are talking over real matrices)
See Spectral Theorem
I mean A A^T =A^T A is a weaker condition
yea ic
If we are talking complex matrices, this is no longer true
For that you would need AA*=A* A,A* is the conjugate transpose
I need to compute the dimension of the vector space n x n matrices with trace 0. Would like some hints for the same.
I tried working with nxn matrices to check how many matrices I need to span the space. For the case where trace 0 is not the restriction, it has dimension n^2(I guess?). I don't know how things work when we have the trace 0 restriction. I'm assuming it should free me of the burden of the diagonal(and hence should have a dimension n^2-n), but not entirely sure.
yea n^2 if trae nonzero
trace(A) = 0 i haven't figured out a basis but im guessing n^2-1
because a11+...+ann = 0 is the only restriction
actually yea
you could construct a standard basis B
Aij in B where Aij = ith row jth column 1, else 0
and so you see that once you constructed everything else Ann is a linearly dependent vector
Thanks!
np
So if I have an induced norms on linear transformation T:V->V
then if A is the unique matrix of T,
is the basis the infinity norm works on the standard basis for A?, if say it induces infinity norm from V
nvm im being dumb
find the projection of x onto theta and theta_0
then subtract that projection from x
you get the component of x that is not in the hyperplane, and you can find its norm to get the distance
@hallow cliff You still there?
I'm trying to make sense of what is theta_0
geometrically
by the description
theta is the normal of the plane
theta0 is a poimt on the plane
An offset is a point, @lavish jewel?
sure
think about it. if you have a point, you can describe it as a vector pointing from the origin to that point
but if you want to offset the origin to a particular point
then you get a new vector
say the original was x, w.r.t origin
Oh damn....
the new one is x - x0
This is gonna be messy to explain in words
just do head - tail
But I'm imagining the normal as a vector with its tail in the origin
And the offset is a displacement vector of that tail
Then I still can't figure out the offset
the offset tells you how vectors are related to theta0
and the normal theta tells you if the orientation is correct
do you know the definition of a plane?
or understand it geometrically? a drawing really helps here
I don't remember it
I know that in a plane
ax + by + cz = d
(a,b,c) is the normal vector to the plane
But I've always struggled with understanding the role of d geometrically
how do you know if a vector is in a plane?
$\vec{n} \cdot \vec{x} = d$
Max Hetfield
Aha
Only this?
whats another way of writing the dot product?
The square of the norm of a vector
not quite
No?
I gotta go Edd, thanks for the help
I'm gonna try to keep thinking about what you said
I think I solved this but wanted to check
since I'm quite new to concept of norms & on lin operators
So to show this, is to show $||D||_\infty = \underset{||v|| = 1}{\sup}||Dv||$
Anticipation
is equal to max of the Dii
yea,
where $\underset{v = 1}{\sup}||Dv|| = \underset{|x_i| โค 1}{\max} {|D_{11}x_1|, ...,|D_{nn}x_n|}$
what's v on the right sight
it's not there anymore tho
just go ahead and replace that by abs(x_i) <= 1
yes
that's the definition of the infinity norm
anyway there is no v on the RHS so it makes it confusing ๐
does this make it better in any way
Anticipation
And then I have to claim that if wlog I let |Dnn| to be the largest diagonal entry
then it is an upper bound and least of the upper bound?
to finish the proof
well D could have all negative values
but i guess in the case of a diagonal matrix it's ok
since you're not adding up terms per entry
ic
so |Dnn| is an upper bound is just obvious
but it's a least because suppose I have a smaller one K, then I can design v = (0,...,1)
right
yeah, you can first say that the expression is trivially maximized by letting all x_i = 1
for contradiction
and then address Dnn
which smaller K do you mean
Like suppose K is a smaller upper bound K < |Dnn|, then what i meant was
I can just say let v = (0,....,1) then |Dv| = |Dnn| contradiction so there is no smaller UB
in infinity norm
i guess ur way is much better, like let all the i's be 1
so it naturally becomes max{|Dii| i = 1,...,n}
i just don't see how considering K shows it's a least upper bound
we already said Dnn had the maximum magnitude
oh I meant to consider K after showing |Dnn| is an upper bound
an upper bound to what
you owuld have to construct what the upper bounds look like first
the you mention has nothing to do with it
the K
I'm wondering if this is jutified
wait i'll write my full proof down
yea idk how to justify the last step?
i know it makes perfect sense
i'm a little rusty at this but
i think you can just swap out supremum by maximum in this case
someone else will have to help you with the last part cuz i haven't done this, specifically, in a long time
Kind of
ok thanks i mean everything before last line seems well justified right
How are you defining arithmetic operations?
What do arithmetic operations mean?
On an arbitrary set

Subtraction and divison aren't exactly operators
You can use addition and multiplication to define those 2
Addition with an additive inverse
And multiplication with a multiplicative inverse
That's a very specific thing in N
yea
Yes
given an ordered field you can define up to Q I believe
rationals
just using 0 and 1
how do you define multiplication as repeated addition in R?
[hint: you cant]
what would you be adding
??
what addition formula does pi * pi represent?
(aside: as you progress in linear algebra, you may learn that the dimension of R over Q is infinite, and in fact the basis is unconstructible)
(which implies that there's no way to define multiplication as repeated addition in R)
even R is a bit overengineered though
consider the finite field of size 2^2 = 4
let's label the elements, 0, 1, a, b
okay so consider the field of size 4
this has 4 elements, 0, 1, a, b
0 is the + identity, 1 the * identity
its operations are given as such
(taken from google images, sorry theyre messy)
as you can see, a*b = 1; but how do you represent this as repeated addition?
well a + a = 0
and b + b = 0
so if you "repeat addition" by a or by b
a bunch
you'll get either 0 or a/b
theres no way to get 1 from that
so theres no way to represent a*b = 1 as repeated addition.
it's a totally separate operation
now, it's related to addition by distributivity
but it's separate from it
not really, {0, 1} forms a subfield of the field of 4 elements, and it's of prime order so it behaves like the integers
for fields that behave like the integers, it does make sense to connect multiplication to repeated addition
that's how multiplication in the integers (and hence in modulo fields) is defined, in fact
but i wouldnt worry too much about this
they are not.
Elements
ab = 1
which is outside of the subset {a, b}
so it cant possibly form a field
even ignoring that issue, there's no additive identity
They also require the identities too
right
if you just look at this part of the tables
you get a field
the unique field of order 2, in fact
but you cant do the same if a and/or b are involved
(unless it's the ENTIRE field)
one fact that's worth knowing is that all finite fields have order p^k for some prime number p and some natural number k
and moreover, two finite fields of the same order are isomorphic
this fact may not be discussed in a linear algebra class but it's good to have for a "gut check"
graph isomorphisms are one type of isomorphisms.
field isomorphisms are another.
it's just saying that two things are "the same", just with elements "relabelled"
As sets yes
my guess is that this looks suspiciously like a test
How does linear independence over spaces of function work? If I use coefficients x_1 and x_2, set them up as x_1(1)+x_2(t)=0, I get x_1+tx_2=0. Is this sufficient to conclude x_1=x_2=0? If t itself happens to be 0, x_1 would be forced into being 0, but x_2 could assume any value, right?
(I'm responding to part (a))
the zero vector in a space of functions is the zero function
ie the function that maps t |-> 0
anyway
from x_1 + tx_2 = 0 you can conclude tx_2 = -x_1
which would imply that tx_2 is a constant function (unless x_1 = x_2 = 0)
Yes
but that obviously aint true since t varies
if youd like, formally you can rearrange this to t = -x_1/x_2
which is constant
which is clearly a problem
but i dont think that last step is necessary
it should be fairly obvious that tx_2 cant be the constant function
(unless x_2 = 0, in which case x_1 = 0 as well)
Makes sense. I was kinda getting confused between the variables and constants here; somehow I kept thinking x_1 and x_2 could keep changing as t changed so that the equality makes sense.
iw as thinking
if T^(n-1) โ 0
T^n = 0
does T have n eigenvectors
and ifso why
cuz T^n has n eigenvectors right
anyway your wording was off
it does have n eigenvectors, the problem is whether the corresponding eigenvalues are 0 or not
wait D does?
does what?
have n eigenvectors
what is D
Differentiation on P_n -> P_n
ah
D has infinitely many eigenvectors if it's a linear differential operator
as far as i recall
oh, that's a lot more specific
just by looking at your question though, it has to be singular
Yea
so at least 1 eigenvector as a 0 eigenvalue
mind you it still has n eigenvectors
just that past a certain point, the eigenvalues are 0
with multiplicity of the size of the null space
hold o
N(D-lambda*I) = [1, 0,...,0] isn't it, if I choose the basis {1,x,x^2,...,x^n}
like, tell me the eigenvectors of $\begin{bmatrix}
1 & 0 & 0 \
0 & 1 & 0 \
0 & 0 & 0
\end{bmatrix}$
Edd
how many eigenvectors are there?
what is lambda
the eigenvalue
i think i'm not understanding your english haha

there's 2 eigenvalues for that matrix
0, 1
and for 0, I think the eigenvector is [0,0,1]
for eigenvalue 1, the eigenvectors are [1,0,0], [0,1,0]
yeah
my point is D is kind of different though
what are the dimensions of D for a given order n of polynomials?
$\begin{bmatrix}
0 & 1 & 0
0 & 0 & 2
0 & 0 & 0
\end{bmatrix}$
Anticipation
not necessarily right
some eigenvalues have multiplicity โฅ 1 and null space of that is small
for instance i mean
[0, 1, 0;
0, 0, 2;
so you mean UNIQUE eigenvectors that are also linearly independent?
oh yea
yea from what i seen
that' be normal matrix or something
isn't it normal iff diagonalizable
no
normal iff it commutes with its hermitian transpose
and this implies it is diagonalizable
but not backwards
you are assuming your matrix is diagonalizable, i guess. idk if its, mind you. a lot of differentiable operators are hermitian though (or so-called "self adjoint"), so it should be ok
and yes, similarity transformations are "eigenvalue-preserving transformations"
(the EVD is precisely this)
can someone help me to get to start with this problem: let f : R^3->R^3 be linear systems (x, y, z) โ (3yโ2z, 4x+2z, yโx). find Transformation matrix for system f from standard base (e1,e2,e3) to standard base (e1,e2,e3)
find each f(e_i)
yeah i get the idea of substityting x,y,z with e1,,e2,e3 but im not sure what happens when i need to "switch" base
just do it. f(e_1)=?
then i would get (3e_2+2e_3, 4e_1+2e_3, e_1-e_2)?
but im not sure how to get the transformation matrix out of this
you wrote nonsense. that's not what e1,e2,e3 mean
the standard basis of R^3 is e1=(1,0,0), e2=(0,1,0), e3=(0,0,1)
so i should be getting matrix like this out when i input the standard ones in
and do the math
find each f(e_i) and those will be the columns of the matrix
thats what i got out from calculating that 1st colum is 3e2-2e3 (got it wrong there the -2 should be bottommost)
again that's not what the standard basis means
for example e1=(1,0,0) so f(e1)=f(1,0,0)
now im kinda confused what im supposed to do on this then
for example e1=(1,0,0) so f(e1)=f(1,0,0)
we find f(1,0,0). plug x=1, y=0, z=0
you keep thinking e1, e2, e3 are components of a vector. they are not. they are vectors themselves defined here
the standard basis of R^3 is e1=(1,0,0), e2=(0,1,0), e3=(0,0,1)
so when i plyg them in i get e1= 0,4,-1, e2=3,0,1 and e3=-2,2.0?
you mean f(e1)=(0,4,-1), etc
yes
then those vectors make up the columns of the matrix we want
then what about the part 2 i need to change them from standard base to standard base
that should be the transformation matrix?
each f(e_i) is ALREADY its own coordinates in the standard basis. no more work to do
yeah that is the part that got me confused on this one as well. why i eed to change them to standard basis if they are already in standard basis
in GENERAL we must obtain the coordinates of each output with respect to whatever basis of the output space we have. however vectors in R^3 are already their own coordinates with respect to the standard basis of R^3
yeah, i think i get this idea now
Let V be a K-Vectorspace and f:VโV and ker(f)โฉim(f)={0}. can i assume that fโf=f.
that's not enough. we must in fact have $\ker(f)\oplus\im(f)=V$
RokabeJintarou
yeah that is the part im trying to prove, i found nice math stackexchange but it reguires fโf=f.
Just curious, when would that not be the case?
for infinite-dimensional spaces?
Because I thought ker(f) โฉ im(f)={0} meant you have a direct sum
if not, then I better update my notes
@tame mural we must have ker(f)+im(f)=V too in order for ker(f) oplus im(f)=V
i imagine what you're proving is $\ker(f)\oplus\im(f)=V$ iff $f^2=f$
RokabeJintarou
@novel hamlet in which case you must prove an implication both ways
basically i got same problem as https://math.stackexchange.com/questions/12122/show-that-v-mboxkerf-oplus-mboximf-for-a-linear-map-with-f-circ
but that i know ker(f)โฉim(f)={0} .and not that fโf=f .
then you don't really have the same problem
back to google it is then
back to transformation matrices, i have
i ahve done (e11,e12,e21,e22)
but im not sure how to get 4x4 matrix out of them
wait do i just put them in the 4x4 matrix like
not they, me
this problem is multilinear algebra btw. choose your poison of vectorization, unfoldings, or contractions
the issue is you don't know what basis means
i know the 2x2 basis vecotrs are, and i know how to run them trough the function, the problem is i dont understand how i am supposed to get 4x4 matrix out of 2x2 matrices
sorry english is not native to me
the math is wrong, not the english
do you know what e11 is?
F(E^11) is wrong
thou shallt not commute the matrices
what are the coordinates of F(E^11) in the standard basis of R(2x2)?
tell me the definition of coordinates wrt a basis
basis is any amount of vectors that span base ie. all other vectors can be expressed as their linear combinations.
so... what linear combination do you need here
i asked for the definition of coordinates in a basis, not a basis itself
also that's not a complete definition of basis
coordinates are some linear combination of basis
no
eg. 2d space point (3,4) is same as 3(e1)+4(e2)
in a general vector space, how are coordinates in a basis defined?
doesnt it work the same way, coordinate in space are linear combination of basis of the space?
@red ether channel occupied
coordinates are NOT the linear combos themselves
the coordinates of a vector in a basis is a tuple made of the unique coefficients that make the vector a linear combo of the basis vectors
isnt that same as coordinates are some linear combination of basis (there is only 1 unique way of doing so)
the vector $$F(E^{11})=\m{a&0\c&0}$$ is written as a linear combo of $(E^{11},E^{12},E^{21},E^{22})$, the standard basis of $\bR^{2\times 2}$, as $$F(E^{11})=aE^{11}+0E^{12}+cE^{21}+0E^{22}$$ so the coordinates of $F(E^{11})$ in the standard basis is $(a,0,c,0)$
RokabeJintarou
isnt that the thing i have been doing?
not at all. look at the coordinates of F(E^11)
note especially that the coordinates of F(E^11) is a tuple with 4 entries
so end result looks like that?
i just slap them as colums to 4x4 matrix
like in the previous example
note especially that the coordinates of F(E^11) is a tuple with 4 entries
THAT'S why we expect the standard matrix of F to be a 4 by 4 matrix
no really, make sure you get the definition of coordinates in a basis
the coordinates of a vector in a basis is a tuple made of the unique coefficients that make the vector a linear combo of the basis vectors
may i ask why you preferred doing everything symbolically instead of explaining with an example?
easier to use later on + all textbook examples are symbolically
i meant the other person, but sure
how is the latex not an example
i just meant a simple b = Ax was easier since it's already in the form they need
ofc isomorphic and whatever, but maybe clearer to see
what
using a coordinate vector x and putting the linear combination directly as a matrix-vector product
doesn't matter, don't sweat it
there's 0 need to rewrite that way
sure
there's 0 need to write it as you did too
the original problem is a 3-mode tensor product with a vector
but some formats are easier to grasp
it's fine, don'T mind me. i'm nitpicking
there's no nitpicking for you to do. but i'll nitpick you instead
i directly used a definition of coordinates. write each f(..) as a linear combo of the basis vectors. the coeffs go into a tuple. that's it
i understand and i agree
that's an example of finding coords. don't say it's not
my wording was poor indeed
you didn't seem to get your point across tho, so a different way of doing the same thing, which was already correct and properly exemplary, might have been helpful. that is what i meant
it is literally of no import now that it's solved, i'm just being annoying
Im confused about the notation on my assingment, how do you read/understand A=[e1....ek 0....0] โ R^nxm
see...
show a picture
each e_i is likely an m-tuple and 0 is really a column of 0s
question is: let f:v-w be finite vecotr spaces show that bases for V and W exist that linear map f transformation matrix is A
see, the reason i asked is that i tried and they deleted my message
so that is why i was asking about all this
basically i need to show that (v1...vn) and (w1...wn) exist with that kind of A
but the prroblem is i dont know how does that matrix A look
each e_i is likely an m-tuple and 0 is really a column of 0s
each entry you see really represents a column
k columns e_1,e_2...,e_k then n-k columns made of 0s
this is one of these math courses that want me to just go and hit my head on wall
I think i am fucked. I am halfway through this book and kinda rushed the chapter about determinants.
I got three weeks left to learn all stuff about linear maps required for spectral theory and applied specteal theory. I just need to be able to solve some differential equations and some difference equations (recurrence relations) to pass.
Is this even doable? Planning to just focus on the other courses instead and do Linalg some other time.
Hello,axler

idk if this is the right channel but I need help with question b
for a), what have you tried
for a) I proved there exists an inverse of the function
I proved that the function preserves distance
sounds about right
I've been using this to get started
I have a point p(s, t) and I need to show that the point exists on m, but I'm lost
idk, not gonna lie :x a lot of people have been lurking around. maybe they can help
Does the geometric formula (|a||b|sin(theta)n) for the cross product work in all situations?
say I have two vectors: <0, 0, 5>, and <6, 3>. I don't think that this formula would work, correct?
because there is no unit vector (n) perpindicular to these two vectors
sorry, what does it mean for an opperation to be undefined?
it does not exist
you cannot even calculate the cross product between those two vectors
Cross product only works if the 2 vectors are in R^3
no?
oh wait no
well
they have to be on the plane which contains ihat and jhat, or khat
All vectors are in some plane so yes but no
all you need really is that they are vectors in r^3
they have to exist in 3d space
they have to be on a plane with at least two unit vectors
that's all
R^3 vectors are cartesian vectors with an x,y,z
all planes have at least 2 basis vectors that describe them
i think you have more than one problem here :x
you can make the R^2 vector into and R^3 vector though
by recognizing the xy plane is located at z=0 in a 3D space
that's kinda... wishy washy ๐
huh, sorry I am little bit confused. So in what situations are you able to calculate the cross products and which ones are you not?
so if you have the vectors <0, 0, 5> and <6, 3, 0> can you calculate the cross product?
yep
yeye but the point is made lol
but the geometric formula (|a||b|sin(theta)n) would not work? You would have to use the "elemental" formula which subtracts the elements and stuff?
cx = aybz โ azby
cy = azbx โ axbz
cz = axby โ aybx
this one
i am confusion
the formula |a||b|sin theta only gives you the magnitude of the cross product, anyway
here lemme make my question more clear
the cross product can be calculated for any pair of vectors in R^3
you should usually use the non-geometric formula, cause how else do you find the n vector for the geometric formula?
orthogonal complement
ik, i just want to make sure i understand it
is that what the normal vector is called?
basically; the orthogonal complement is a subspace
and in the case of a plane in R^3, it's just the span of the normal vector
so yes...?
ask away
yeah basically
@wintry sphinx don't confirm if you know he's wrong
so |a||b|sin(theta) gives you the scalar which represents the magnitude of the vector returned by the cross product. Then n is the unit vector that is at right angles to both vectors. But for the vectors <6, 3, 0> and <0, 5, 0>, there is no unit vector which is perpindicular to both of these vectors. So, to my understanding, this formula: |a||b|sin(theta) is just scaling a unit vector. But in this case there is no unit vector perpindicular to both vectors.
shit
how do I get rid of the bubble
put a \ in front of one i believe
your assertion that for those two vectors that there is no vector orthogonal to both of them is just wrong
two linearly independent vectors always span a plane
i can give you an alternate way to think of it
and the normal vector to that plane is orthogonal to both of them
you can always find a plane that passes through 3 points
and planes are defined with help of a normal vector that is perpendicular to the plane
yeah?
yes
ok
you know you can get a vector by subtracting two points in space, yeah?
and that vector points from one of the two points to the other
so far so good?
basically you can always find a plane between two vectors
I see, and n is the vector perpindicular to that plane
(it depends on how you interpret the vectors, calm down a sec)
yeah
you grab the origin, and the points the vectors point to
that's 3 points
so, is n always a unit vector
for a plane, yes. in a cross product, no
the vectors perpendicular to the plane are not necessarily unit vectors, but you can always normalize it to make it a unit vector
alright, lemme open like a 3-d gepahing calculator to see this stuff . My brain is overloading sorry
Why did the co-ordinate vectors of the functions go into the matrix as rows and not columns if they're transposed?
I don't think it matters; since you're trying to figure out whether it's a basis or not, the matrix is always square
and then whether the matrix is invertible or not (i.e. the basis vectors are lin independent) can be ascertained by either row or column operations
alright, so say I had these two vectors
and I wanted to calculate the cross product of it. How would the |a||b|sin(theta)n formula work?
Im probably mistaken, but the vector <0, 0, 1> doesn't seem to be perp to both?
but you can clearly see that there's a plane between them
rref works on rows, so it shows that rows are linearly independent. so you put the vectors you wanna test as rows. as stated though, the row rank and column rank of a matrix are equivalent
and that there is a vector that's perpendicular to both
yes, I see that plane
just imagine the normal vector to that plane
that's clearly perpendicular to both of those vectors
an I understand that there is a vector perpindicular to both.
that is basically in the same direction as the cross product
I just don't understand how you can calculate the cross product for these two kinds of vectors using the |a||b|sin(theta)n
what vectors did you plot
(or opposite, but nitpicking)
you can't really calculate the cross product with that formula
you can only calculate how long it is
well, there's the whole solve a system of equations thing to figure out the direction, but the point is that formula alone won't get you the cross product
so, just to make sure that I am understanding correctly: This formula |a||b|sin(theta)n will only work if you have two basis vectors in that same plane (or you change the location of the basis vectors to the plane that passes through the two vectors a and b, but that is probably not practical)
Ok cause the next example had them inserted as columns so I was confused lol
no, I think you're thinking of it in a very improper way; even if what you say is technically correct, it's missing the point
I suggest writing the formula like
$||a \times b|| = ||a||||b||\sin \theta$
Saccharine
that formula only gives you how long the cross product is
i.e. the magnitude
not the direction
the two vectors that you're crossing are always in the same plane; this is just a fact of vectors
your leaving out the 'n' part of the formula
I'm not
The way I wrote it says exactly the same thing
the reason why I wrote it that way is because you don't seem to understand what the n means, and it's not particularly relevant
and it's pretty abstract
the equation you wrote is correct, and I understand that, it is jut a part of the defintion for the cross produt


