#linear-algebra
2 messages · Page 237 of 1
Exactly
In the case of linear functions
It is the same thing
If I have two linear maps
T,T' : V -> W
(T+T')(x) = T(x) + T'(x)
whats the type signature of this sum
We must also prove that the sum of two linear maps is linear
For this sum to be well defined
But is quite trivial
I would recommend doing it as an exercise
ok
In general, as Luna has stated before
Notice the following
I could have any set X
And another vector space W fixed
I can then define
$\mathcal{F}(X,W) := {f : X \rightarrow W}$ the set of all functions between X and W
MisterSystem
This is also a vector space as Luna has stated
And we can take the domain to be anything
let me organize some facts to see if i understand: the set of all linear maps between two vector spaces is a vector space (what i want to prove) and what you're saying is that this set under addition and scalar multiplication is also a linear map?
(ill prove that too)
Nope
The thing is this
We have the set of all linear maps between V and W
And we have already defined a sum on it
Which is great
But
A priori
We don't know
If this sum is well defined
Meaning that
If I take two linear maps T,T'
Their sum is T+T' is still a linear map
Or that λ T is still linear
All we know so far is that these are functions
But we have also to prove that they are linear
And you use the same definition as before
To prove T+T' is linear
We would go as follows
$\forall u,v \in V$, we have that:
$$
(T+T')(u+v) = T(u+v)+T'(u+v)
$$
But $T$ and $W$ are linear, so we have that
$$
T(u+v)+T'(u+v) = T(u)+T(v)+T'(u)+T'(v)
$$
Using commutativity and associativity, we can rearrange this sum as
$$
(T(u)+T'(u))+(T(v)+T'(v))
$$
But notice that $T(u)+T'(u) = (T+T')(u)$ and $T(v)+T'(v) = (T+T')(v)$
This means that
$$
(T+T')(u+v) = (T+T')(u)+(T+T')(v)
$$
MisterSystem
Here, that's part of the proof of how to prove that the sum of two linear maps is also linear
You'd also need to prove what?
scalar part of linear map condition
Exactly
You would have to prove that (T+T')(λu) = λ(T+T')(u)
So we can put scalars to the front
And there we go
With this we prove that the sum of two linear maps is also linear
You would have also to prove that multiplication of a linear map by a scalar is also linear
These things are quite conceptual, right?
yeah!
They are not intrinsically hard
Just like
Formalism
These things are so intuitive that you can get confused
Try to do it on your time and you will know exactly what you have to do
i will
thank you
i dont have a lot of time to work through it now, but have enough to start and will come back to this
you helped me gretaly
thank you
you gave me a lot so i can start y own proof
You also need to prove the same things for λT to get that it is linear.
Yeah, I stated this here.
I just went over the sum part
Because I thought it would be like
Less confusing
Like, proving that λT is also linear is so trivial that I think can be like
Even a bit confusing pedagogically lmao

yeah, you guys gave me enough so i can start the proofs. i will come back when i get the time and try the proofs, but i got enough lego pieces to start which i didnt when i asked initially
so thanks again!!!
Np
One of my answer is wrong and I cannot find out which one is it
Can someone explain to me what it means when vector spaces are finitley generated?
Ok, so if a question ask which of the following vector spaces are finitley generated? Do i just check if it has finitley many elements?
So if the vector space maps from R to R then it is not finitley generated, right? Cause there are infinite elements
you have a bunch of issues there
something mapping from R to R is a... map, not a vector space. unless you mean some sort of vector space of functions from R to R
Ye i meant vector space of funtions from R to R
M bad
Do i just check if it has finitley many elements?
no, this doesnt work
ℝ² is finitely generated, say by the vectors (1, 0) and (0, 1)
but it has infinitely many elements
show that any basis of your vector space must have infinitely many elements
Okay i think im starting to get it, thanks
starter hint: note that the polynomials form a subspace
the space cant be finite dimensional if it has an infinite dim subspace
Why 4 is false? I have checked the answer
Are there counter examples?
Define equivalent system?
Same solution
Systems are equivalent if they have the same solution space
Are you familiar with linear transformations?@glad acorn
At least for me it is easier to see this way
How? Can you show it to me?
Ok so
We can associate to the system of equations (S)
A linear map
Such that the system of equations may be rewritten as S(x) = b
Where x = (x_1,x_2,x_3, x_4,x_5) and b=(b_1,b_2,b_3)
We can a analogously associate to (T) a linear transformation T and rewrite it as T(x) = d
Notice that
The systems (S) and (T) are row equivalent iff S and T have the same kernel (null space)
And the systems (S) and (T) are equivalent
Iff the solution set S(x) = b and T(x) = d are the same, i.e:
$$
S^{-1}(b) = T^{-1}(d)
$$
MisterSystem
So what we want to try to construct
Are two linear maps
That have different kernels
I'm looking for a rigorous book on linear algebra which I can find on pdf by free, like just first or second undergrad year linear algebra topics. Currently I'm using a book meant for engineers, because is the one I found lol, it's good, but not too rigorous on everything. I want to get the fundamentals right. Thanks
But that have the same solution set for two (potentially distinct) vectors b and d
And like, we can construct such maps artificially in some sense lol
For instance
If we fix a vector x \in R^5 in this case
We can extend it to a basis of R^5
Meaning that there are vector y_1, y_2, y_3, y_4 such that {x,y_1,y_2,y_3,y_4} is a basis for R^5
Now
Let b,d,p \in R^5 be distinct vectors non zero vectors in R^5
Define the map S(x) = b, S(y_1) = 0, S(y_2) = 0, S(y_3) = 0, S(y_4)=0
Since we have taken a basis for R^5
This uniquely defines a linear map
Analogously
We can define the linear map T(x) = d, T(y_1) = p, p≠ 0, T(y_2) = 0, T(y_3) = 0, T(y_4) = 0
And there we go
Notice that S and T have different kernels
Since I picked p ≠ 0
But the systems S(x) = b and T(x) = d have the same solution sets (i.e (S) and (T) are equivalent systems)
So they define equivalent system of equations
Whose augmented matrices are not row equivalent
@winter harbor going back to the earlier discussion of the set of all linear maps between two vector spaces.. if i want to define what the sum and scalar multiplication means between elements in this set then am i understanding you correctly by defining it in the following way: T,T': V->W where v in V, and T(v), T'(v) in W and addition is defined by the function signature (T+T'): V->W, where the function is defined as (T+T')(v) = T(v) + T'(v) and scalar mult is defined by the function signature cT: V ->W where the function is defined as (c * T)(v) = c*T( v) ?
Yup, that's it
(cT)(v) := c*T(v)
Exactly
What would be a function signature tho?
Ah
Function assignment I guess
what was throwing me off is typically linear maps are defined by one function signature: T: V->W for both sum and scalar mult, but in the above i have two different function signatures for add and scalar?
is that because im taking into account 2 linear maps
and what sum and scalar mult means for them
i usually refer to function signatures as type signatures (due to programming). not sure what to stick with but type signatures make sense to me since you're mapping from type V to type W
nah dont worry
it's just how i translate things in my head
it's the same thing im doing math not cs
stick with standard LA for the sake of this haha, just a personal translation going on in my head
Yeah so, we define the sum to be like this
\begin{align*}
- : \text{Hom}(V,W) \times \text{Hom}(V,W)& \mapsto \text{Hom}(V,W) \
(T,T') \mapsto T+T'
\end{align*}
Where T+T' is the linear map defined by
\begin{align*}
T+T' : V& \rightarrow W \
v \mapsto T(v) + T(v')
\end{align*}
MisterSystem
So like
Sum of functions is a map that takes two functions
and assigns to it another function
and same goes to multiplication of a function by a scalar
what does the v |-> T(v) + T'(v) notation mean
it means that (T+T')(v) = T(v)+T'(v)
whats the function signature/assignment for scalar mult
so the function T+T' applied to v is equal to T(v)+T'(v)
\begin{align*}
\cdot : \mathbb{R} \times \text{Hom}(V,W) \rightarrow \text{Hom}(V,W) \
(\lambda, T) \mapsto \lambda T
\end{align*}
Where
\begin{align*}
\lambda T &: V \rightarrow W \
v \mapsto \lambda T(v)
\end{align*}
MisterSystem
So yeah
We are dealing with functions
that take another functions as arguments
and that's how we define sum and scalar multiplication of functions and give Hom(V,W) a vector space structure
the way we define addition/scalar mult across linear maps in this set is the definition of a linear map itself, so do we need to prove that this is the case still?
Idk what you mean by that exactly
Like
We have to prove that + is well defined
Meaning that it in fact T+T' is a linear map
(why do we need to prove + is well-defined?)
And λ T is also linear
(what does well-defined mean here)
(and why do we need to prove lambda is also linear)
Well defined is a math jargon
It basically means like
If we define a function f : X -> Y
We have to make sure that for every x in X
There exists a unique y in Y with y = f(x)
In this case
Uniqueness is a not a problem
The problem is that like
- : Hom(V,W) × Hom(V,W) -> Hom(V,W) in fact maps two linear maps (T,T') to another linear map T+T'
T+T' is a function sure
But is it linear?
It indeed is
But we have to verify
what i meant was X={T, T', ....}, where X is the set of all linear maps between vector spaces V, W. we want to define what it means to add any two vector spaces in X T and T' together and what it means to take a c in F and scalar mult it with T, ie, c * T -- the way we did that is by using the linear map definition on what add and scalar mult means --- is it self-evident from here that this is linear or do we need to verify it? if it isn't self-evident why isnt that the case
you're helping a lot btw, ty for all of this
The thing is that we didn't use the fact that T and T' are linear in the definition at all
Like
We can sun two functions
Even if they are not linear
Say sin(x)+x^2
This is a sum of functions
The nice thing about linear functions
Is that if you sum two linear functions the way I had defined it before
We still get a linear function
Get it?
And you can prove this
Using the properties of linear maps
And here we explicitly have to use the fact that these maps are linear
Not necessarily to define the sum
Because as I mentioned before, you can sum even non linear functions.
But linear functions have the property that if we sum two linear functions, the sum is still linear.
ahhh i see why we need to prove this now
ok ty
ok im going to work more on this, ty again for the help
can someone help w this question? im not sure what to even do to start
is there a visual representation of the wronskian
umm i just googled that I never heard of what that is
but what i sent is everything i see for the question
Yeah the Wronskian has nothing to do with your question
I think they were just asking their own question
this is just for me, just wondering if the little proof on the bottom right is sound logic with regard to the preservation of linear relations in the row reduction of a set of vectors
The key concept is to
represent the current orientation of the turtle in space by three vectors
H,L, U , indicating the turtle’s heading, the direction to the left, and the
direction up. These vectors have unit length, are perpendicular to each
other, and satisfy the equation H ×L = U
What is "unit length"
When you are doing an LU factorization like this, how do you decide what the pivot will be for the rightmost column? I’ve done two of these and the pivot of the rightmost column is always the wrong part in my answer
Here is an example where my L is correct but my U is not because of the 3rd pivot.
funny
yeah blanks stand for zero
Ok thanks 🙂
Can i get some help...
Is the answer key wrong? It is claiming (B). However note A^2-2A=0 implies that the minimal polynomial is an unit multiple of P(X)=X^2-2X=X(X-2)=0. By cayley hamilton, the characteristic polynomial is a multiple of the minimal polynomial of any matrix. This implies that 0 is an eigenvalue of A.
Yeah that's what I thought. Obvious I is false. How do we get that A is diagonalizable from A^2=2A though?
And it could be an n by n matrix
For n=3 for example
Then you'd be missing an eigenvector
So just knowing our two isn't sufficient
oh it's nxn, wait let me think
actually yeah
A^2=2A is the minimal polynomial and it's splits into linear factors
with power 1
so it'll be diagonalizable
you get non-diagonalizability if the minimal poly is of the form $(x-a)^n \cdots p(x) = 0$
Ryuzaki
where n>1
interesting, I will check that out
What's the typical operating procedure when you calculate the eigenvalues of a 3x3 matrix and one of the roots of the characteristic equation are repeated? In your eigenvalue matrix (diagonalized) matrix do you list just 2 eigenvalues or do you list the repeated solutions in the diagonal matrix?
Just listing two eigenvalues in the diagonal matrix will produce a vector which isn't conformable and hence you wouldn't be able to find a corresponding eigenvector matrix for the diagonalized matrix
you are already given that 4 is an eigen value
then why don't u just calc the vector with it?
Right, and I calculated further that -2 is another eigenvalue, but it's repeated
I can calculate the vector for the 4 eigenvalue
what's the issue if it is repeated?
check the nullity of A-(-2)I
or 3
if it's 2 then you have yr diagonal, otherwise you won't
no you can't put the EV's in the diagonal if they are repeated
unless the nullity of A-mI matches with the power of (x-m)
yeah I know I am right
sorry, im doing basic high school linear algebra course. i have no clue what this means
Should the diagonal matrix be like this
$$\begin{bmatrix}
4& 0 & \
0 & -2 & \
\end{bmatrix}$$
azeem321
yes
then?
no
with the same eigenvectors
3
sorry yes i meant 3
take example the identity matrix of order 2
any vector in R2 is an eigen vector
you just have to choose any two of them
such that they are not dependent
do something similar here
What do you mean by dependence
one is not a constant multiple of the other
Let A be a matrix such that $A^TA=I$ and $Y$ be a symmetric matrix. Find a matrix $X$ such that $Y = A^TX+X^T*A$
Finitely Many Bananas
Is this true?
try multiplying A and A' in some way with yr original eqtn
Just need to verify that first
true what?
Does such an X exist?
you are asked to find one X s.t. its true
Bananas
you won't know unless you try will you?
lol
The system of equations formed when finding the set of eigenvectors which satisfy the corresponding eigenvalue all lie on 1 line. So how can you find an eigenvector for that eigenvalue which is not a scalar multiple? Unless you just use (0,0,0) as an eigenvector
nevermind, brain wasn't working as usual. thx for the help
Won't A^T^{-1} just be A?
Yeah, that's the indeed the case since
$
A \in \text{O}(n) \subset \text{GL}(n, \mathbb{R}) \implies AA^{T} = I \implies (A^{T})^{-1} A^{-1} = I \implies (A^{T})^{-1} = A
$
$A \in \text{O}(n) \subset \text{GL}(n, \mathbb{R}) \implies AA^{T} = I \implies (A^{T})^{-1} A^{-1} = I \implies (A^{T})^{-1} = A$
Finitely Many Bananas
But like, notice that in this proof we are not using much about O(n) at all
So in general
We could take X = 1/2(A^T)^(-1) B for a general matrix A \in GL(n,R)
So the argument is more general
Say I have an integral with respect to x multiplied by some other function, g(y): g(y) * integral(f(x) dx)
In this case, I can move g(y) inside of the integral because it's not dependent at all on x. But what if g(y) and f(x) don't commute? Do I move g(y) to the left hand side of f(x), or the right hand side of f(x)? That is, which of the following would I do?
g(y) * integral(f(x) dx) = integral( g(y) * f(x) dx)
or g(y) * integral(f(x) dx) = integral( f(x) * g(y) dx)
so fg =/= gf
what made you think they won't commute
That's what I'm asking though, in a scenario where they don't commute, how would I do this
there won't be any scenario when they don't commute
f(x) and f(y) are real(cpx) numbers
ok, I should be more specific - I was trying to be more general but I might have generalised too much
In the scenario I'm actually trying to solve, it's operators in place of those functions
you if are working with that general field, then redefine the integral and come back
or just write the integral in terms of infinite sum and see what the order should be
ah good idea
why wouldn't approximating the integral in terms of a sum work though? That implies that g should be on the left hand side of f, what's wrong with that?
I must not be explaining it well, but I'm specifically referring to a scenario where they don't
maybe referring to them as functions at the beginning was a bad way to try to generalise it
The approach he mentioned before doesn't make sense in a general field because you need it to have some topology in order to define convergence of series. Also, even working over a general topological field it may still not be enough in order to define a nice notion of riemann-stieljes integration.
ah right
thanks
but yeah, I'm referring to two objects, G, which is not dependent on x, and F, which is partially dependant on x, and I know they don't commute
so I'm still unsure on whether G int(F dx) = int(G F dx) or int (F G dx)
so you want to define Integration on a object that doesn't commute?
whatever it's G*F
why is that though? Is there some clear proof I'm missing?
i think ryuzaki doesn't understand your question, and you might be better off asking in the analysis channel
No I do, I just don't see the point of defining the integration that way
sure you can, may be u have figured out to define the integration, $g\sum f_i = \sum gf_i = \int gf$
Ryuzaki
if the functions are matrices, for example, they won't commute
integration over matrix?
anywho
depending on the type of integration and the outputs you get
the G would go on the left or right
we can't say without knowing what the transformations are
if you can treat integral f(x) dx as a single operator, and then you want to use g after that, then g goes on the left
it might also be that g(y) f(x) exists and f(x) g(y) is undefined
i don't really know about spinors to help you out more than this
ok, thanks anyway!
ah but
since they're tensors, you can represent them with a matrix and use usual matrix-vector calculus and such
so if you originally had g on the left, it should stay on the left when it goes inside the integral
since composition of matrices behaves that way too
Ahhh, gotcha! Thank you!
<@&268886789983436800> advertising
ty
Are there any good resources for learning the linear algebra proofs?
or the abstractness?
axler's and gilbert strang's books
ty
Ex: In each of the following, find (if possible) conditions on a and b such that the system has no solution, one solution, and infinitely many solutions.
x+by= −1
ax+2y= 5
not entirely sure what to do here. i converted it to matrix form to try get something in row echelon form maybe, which allows reading off the no solution case I suppose, but not sure about the other two cases
@little scarab For unique solution, you need the rank of the matrix of coefficients = rank of augmented matrix = no. of variables
for infinitely many solutions, you need rank of the matrix of coefficients = rank of augmented matrix but not equal to no. of variables
Can you give me a hint (just a direction) how to efficiently solve such ($a_{ii}=0$, $AC=C$) matrix equations in general?
JohnDark
What is caliey hamilton theory. I actually can't understand that.
u mean the theorem?
No
given a matrix $A$, the characteristic polynomial is $\mathrm{det}(tI - A)$. $t$ is a variable, so the resulting determinant will be a polynomial in $t$
Namington
for example, given the matrix $\begin{pmatrix}4&2\3&1\end{pmatrix}$, the characteristic polynomial is[\mathrm{det}\begin{pmatrix}t - 4 & -2 \ -3 & t - 1\end{pmatrix}]
Namington
| A - Xl | = 0
which we can compute by hand to be $(t-4)(t-1) - (-2)(-3) = t^2 - 5t - 2$
order doesnt matter
Ohh ok
Namington
anyway, the statement of cayley-hamilton is that each matrix satisfies its own characteristic equation
Yes
so if we replace $t$ in the above with the matrix $A$
Namington
Then
\begin{align*}A^2 - 5A - 2 &= \begin{pmatrix}4&2\3&1\end{pmatrix}^2 - 5\begin{pmatrix}4&2\3&1\end{pmatrix} - 2I \&= \begin{pmatrix}22&10\15&7\end{pmatrix} - \begin{pmatrix}20&10\15&5\end{pmatrix} - \begin{pmatrix}2&0\0&2\end{pmatrix} \&= \begin{pmatrix}0&0\0&0\end{pmatrix}\end{align*}
bleh
one sec
Namington
and this is the case for the characteristic polynomial of any square matrix.
(over a commutative ring with identity)
Thank you @limber sierra
i'm trying to prove the set of all linear maps between vector spaces form a vector space and am trying to show that associativity is satisfied but stuck, where (T+T'): V->W, (T+T')(v) = T(v) + T'(v), i have ((T+T')(u+v)) + (T+T')(w) = ((T(u+v) + T'(u+v)) +T(w) + T'(w) -- and then stuck from there, how can I proceed? Can I then say ((T(u+v) + T'(u+v)) +T(w) + T'(w) = (T(u) + T(v) + T'(u) + T'(v) ) + T(w) +T'(w) (due to T, T' being linear maps) = T(u) + T'(u) + T(v) + T'(v) ) + T(w) +T'(w) (due to T,T' evaluating its inputs to fields and fields being assoc) = (T+T')(u) + ((T+ T')(v+w) ) ?
just start multiplying, from the first row you see a_13 must be 1 for example
@tranquil steeple You've missed the "in general" part but thanks for the reply. I appreciate it
that would be how you do it in general.
obviously easiest using just a symbolic solver
Alright, thank you for your advice
if C can be of any form then I can not see any other way
What is singular matrix?
can anyone look over my proof?
so a singular matrix is a noninvertible matrix.
Very few times google shows direct answer
Yeah. Because determinants = 0
Product of Eigen value also zero
?
@sonic beacon ?
@zinc timber :i'm trying to prove the set of all linear maps between vector spaces form a vector space and am trying to show that associativity is satisfied but stuck, where (T+T'): V->W, (T+T')(v) = T(v) + T'(v), i have ((T+T')(u+v)) + (T+T')(w) = ((T(u+v) + T'(u+v)) +T(w) + T'(w) -- and then stuck from there, how can I proceed? Can I then say ((T(u+v) + T'(u+v)) +T(w) + T'(w) = (T(u) + T(v) + T'(u) + T'(v) ) + T(w) +T'(w) (due to T, T' being linear maps) = T(u) + T'(u) + T(v) + T'(v) ) + T(w) +T'(w) (due to T,T' evaluating its inputs to fields and fields being assoc) = (T+T')(u) + ((T+ T')(v+w) ) ?
the real coordinate space of n dimensions is basically that if u take the n components of ur vector, they all shud be real numbers
am i right or is this definition flawed?
yeah why not
they are linear from VS to VS and the addition you are doing, i.e. T'(a)+T(b) is actually a sum in V' and + is associative in a VS so
yeah
okay cool, ty for checking, does the proof overall look good
the proof is simple, u can't go wrong unless u horribly mess something up
?
would the last line be something like 'therefore hom(V,W) satisfies associativity"
no
- is associative in L(U,V)
??
@stray meteor yeah
oh alr then ty
@zinc timber i also proved commutativity and distributivity for hom(V,W), how should i word the last line of those respective proofs? like 'therefore hom(V,W) satisfies commutativity/distributivity" or should i word it differently
oooh
same language
ok i see
a space can only be associative/ comm only under some kind of operation
a set cannot be comm/asso itself
ya
so i'd say 'therefore + and * is distributive in hom(V,W)' for the other one
*?
- for scalar multiplication
kk
I'm a little confused about a homework problem regarding free variables. In a 3x4 matrix, using RREF I get rows 1 and 2 having values, and rows 3 and 4 having all zeros. Normally this means using x3 as a free variable. The question wants me to use x1 as the free variable and I'm confused about how to go about that. Am I missing something, or is it as simple as reordering the columns in the original matrix - swapping C1 and C3?
i'm thrown off right from where you say 3x4 matrix but you say it has 4 rows
@zinc timber i was told i proved assoc wrong, that i needed to prove: (T + T’) + T’’ = T + (T’ + T’’) --- why isn't what i wrote correct and what do i need to prove
in reference to this
i dont understand how to prove (T+T') + T'' = T + (T' + T'')
for maps T,S:V->W we say T=S if T(x)=S(x) for all x in V. so we must show ((T+T') + T'')(x) = (T + (T' + T''))(x) for all x in V
ok
let me use that to re-attempt
@gray dust will i still use the fact (T+S)(x) = T(x) + S(x)
yes
ok i will re-try thank you
i was confused because the way i saw it written was like ((T + T') + T'') = T + (T' + T'') without a function input
and was very confused
is it implicitly understood when written in the form of: ((T + T') + T'') = T + (T' + T'') that this means ((T+T') + T'')(x) = (T + (T' + T''))(x)
right we must distinguish equality of vectors vs equality of maps
i wanted to prove commutativity too which is T + T' = T' + T, so what is the explicit formulation of that? is it T(x) + T'(x) = T'(x) + T(x) ?
(hoping I can ask a y/n Q: if you have an augmented matrix with a row [0 0 0 1], is that classed as a 'leading 1' for the purpose of determining the rank of the matrix?)
(T+T')(x)=(T'+T)(x) for all x in V
(my thinking is no but my textbook isnt really clear)
that's the definition of T+T'=T'+T
the 1 is leading bc all entries before it are 0
and lastly i was trying to formulate c * (T + T') = c T + c T' correctly with the (x), is that c * (T(x) + T'(x) ) = c * T(x) + c * T'(x) ?
the formulating IMMEDIATELY after applying the definition isn't that
that's what you get after also using the definition of T+T'
i wanted to write 'prove expression 1 = expression 2' correctly
so i prove the correct thing
so recall the def of equality of maps
for maps T,S:V->W we say T=S if T(x)=S(x) for all x in V.
im not sure how to correctly translate c* (T + T') = c * T + c * T'
with the input (x)
rhs yes, lhs should be (c(T+T'))(x)
oh i see
THEN applying the definition of scalar*map turns that into c(T+T')(x)
ok i have a correct formulation of what to prove for the 3 axioms i wanted to show. i'll work on them to see where i get
@sonic beaconu only asked if you can write T(x)+T(y) = T(y)+T(x) or not which it is and that's what I said
also associativity means a(bc) = (ab)c
in case yr operation is + so it'll be T+(T'+T") = (T+T')+T"
What do the concepts of orthogonal and symmetric matrices mean exactly?
And how are they both related to each other?
orthogonal matrix has columns form a set of orthonormal vectors
symmetric means when you transpose you get the same matrix (square matrix)
What are orthonormal vectors exactly
- they're orthogonal to each other
- unit length
$\mathbf{Q}^T \mathbf{Q} = \mathbf{I}$ is a direct effect, so whenever you see this, you're dealing with orthogonal matrix
Vee
That's how I normally see orthogonal defined (along w Q being square)
is this a valid proof of assoc for Hom(V,W) under +: ((T+T') + T'')(x) = (T + T')(x) + T"(x) = T(x) + T'(x) + T"(x) = (T(x) + (T'(x) + T"(x))) = (T(x) + ((T+T')(x) )= (T + (T' + T")(x)
@zinc timber or @gray dust
yes
ty for checking
If anyone is free for helping on Python, relating to matrices, you can join vc
I really need an exterior point of view on the question asked right now. It's mostly about understanding it
It doesn't seem to make sense
What is the difference between a trivial and nontrivial solution? The book makes it confusing
It's not a clear thing, it's just when the reasoning behind finding the solution is easy enough
So it doesn't have to be explicitly written
like for example, Ax=0 has the trivial solution x=0 cause "no shit x=0 is a solution"
however if Ax=0 also had say x=[1,2,3] as a solution, this would be a nontrivial solution
cause... it's not trivial
It is just function notation
If we have a function f : X -> Y between two sets
We denote it in this way
Where X is the domain
And Y is the codomain
If you have two functions f : X -> Y and g : Y->Z where the codomain of one function equals the domain of the other
You can compose them
To get a function g ° f : X -> Z
This question is just asking you to like
Write down the domain and codomain of the composition of these two functions...
g°f : X -> Z is the function such that for all x in X we have (g°f)(x) = g(f(x)).
Like, you have never seen this before?
That should prolly be a prerequisite for linear algebra...
You can search it up on the internet
Function composition or whatever
Any suggestions for how to do this problem?
I am not quite sure where to start
there are 3 non singular values so
i guess we cant have any variablility
in U and sigma
and V?
idk but i am prolly missing something
Factor the matrix
$$M=\left[\begin{array}{cc}
3 & 4 \
8 & 11 \
\end{array}\right].$$
as a product of elementary matrices.
burga
looking for help youtube isnt doing well
D:
is there an easy way to do it with code?
Im looking to learn that problem, or this one
Demonstrate the use of Gauss-Jordan elimination to compute $M^{-1}$, where
$$M=\left[\begin{array}{ccc}
1 & 4 & -2 \
4 & 15 & 6 \
0 & 0 & 2 \
\end{array}\right].$$
(Recall that $\mathrm{rref}\left[M|I\right]=\left[I|M^{-1}\right]$ whenever $M$ is invertible.
burga
Uh
I think im going with the second problem
First, I form the block matrix M = [A,I] and row reduce M to an echelon form:
yeah you just augment A with I, then perform Gauss Jordan
sorry, Im new to latex and linear algebra, its hard for me, ill ask in the proper channel for latex help
its those combined matrix
yes sorry
whats confusing about the notation
well when I tried to copy the format and write that double matrix (the one with M, and the 3x3 identity
i get jumbo #latex-help
im trying to write in latex, what the book is showing
the block matrix
$$M=\left[\begin{array}{ccc|ccc}
1 & 4 & -2 & 1 & 0 & 0\
4 & 15 & 6 & 0& 1 &0\
0 & 0 & 2 & 0& 0& 1 \
\end{array}\right].~$$
burga
well im trying to figure this problem going by the books example so hopefully it will teach me better
im pretty bad at it
yes
so it looks like its just row idenitys or something
but im still a bit lost
have you even read the textbook?
ERO's yeah
maybe watch a yt vid of gauss-jordan elim
do you know what an elementary row operation is
something simple like multiplying maybe?
i saw the video explanation on inversing after figuring some stuff out
I suggest
going back to the basics and don't start learning about inverses till your comfortable with that
stuff
My question got buried :/
how do i aproach this problem?
write a system of equations maybe who knows not me
<@&286206848099549185> ?
help me 2 
https://cdn.discordapp.com/attachments/540211747613704221/892569281378799616/Snapchat-1926426597.jpg how did we get from the first matrix to the second
they keep the top the row the same
the second row ___
Demonstrate the use of Gauss-Jordan elimination to compute $M^{-1}$, where
$$M=\left[\begin{array}{ccc}
1 & 4 & -2 \
4 & 15 & 6 \
0 & 0 & 2 \
\end{array}\right].$$
Known that $\mathrm{rref}\left[M|I\right]=\left[I|M^{-1}\right]$ whenever $M$ is invertible.
First set up the matrix with the 3x3 identity, then add -4 times the 1st row to the 2nd row
$$M=\left[\begin{array}{ccc|ccc}
1 & 4 & -2 & 1 & 0 & 0\
4 & 15 & 6 & 0& 1 &0\
0 & 0 & 2 & 0& 0& 1 \
\end{array}\right]~.\left[\begin{array}{ccc|ccc}
1 & 4 & -2 & 1 & 0 & 0\
4 & 15 & 6 & 0& -1 &14\
0 & 0 & 2 & 0& 0& 2 \
\end{array}\right]$$
burga
Compile Error! Click the
reaction for more information.
(You may edit your message to recompile.)
can someone help
(b) Demonstrate the use of Gauss-Jordan elimination to compute $M^{-1}$, where
$$M=\left[\begin{array}{ccc}
1 & 4 & -2 \
4 & 15 & 6 \
0 & 0 & 2 \
\end{array}\right].$$
Known that $\mathrm{rref}\left[M|I\right]=\left[I|M^{-1}\right]$ whenever $M$ is invertible.
First write the augmented matrix with the 3x3 identity, then RO1: add -4 times the 1st row to the 2nd row. eliminate each column into identity matrices.
$$M=\left[\begin{array}{ccc|ccc}
1 & 4 & -2 & 1 & 0 & 0\
4 & 15 & 6 & 0& 1 &0\
0 & 0 & 2 & 0& 0& 1 \
\end{array}\right]~.\left[\begin{array}{ccc|ccc}
1 & 4 & -2 & 1 & 0 & 0\
0 & -1 & 14 & -4& 1 &0\
0 & 0 & 2 & 0& 0& 1 \
\end{array}\right] ~.$$
$$!~.\left[\begin{array}{ccc|ccc}
1 & 4 & -2 & 1 & 0 & 0\
0 & -1 & 14 & 0& 1 &0\
0 & 0 & 2 & 0& 0& 1 \
\end{array}\right]~.\left[\begin{array}{ccc|ccc}
1 & 0 & 54 & -15 & 4 & 0\
0 & 1 & -14 & 4& -1 &0\
0 & 0 & 2 & 0& 0& 1 \
\end{array}\right]$$
$$!~.\left[\begin{array}{ccc|ccc}
1 & 4 & -2 & 1 & 0 & 0\
0 & -1 & 14 & 0& 1 &0\
0 & 0 & 2 & 0& 0& 1 \
\end{array}\right]~.\left[\begin{array}{ccc|ccc}
1 & 0 & 0 & -15 & 4 & -27\
0 & 1 & 0 & 4& -1 &7\
0 & 0 & 1 & 0& 0& 1/2 \
\end{array}\right]$$
After eliminating the 3rd column, we arrive at the inverse matrix of \left[\begin{array}{ccc}
-15 & 4 & -27\
4& -1 &7\
0& 0& 1/2 \
\end{array}\right] $$
burga
Compile Error! Click the
reaction for more information.
(You may edit your message to recompile.)
Suppose $A,B\in\mathbb{R}^{n\times n}$ are matrices. Say that {\it $A$ is similar to $B$}
and write $A\sim B$ if there exists an invertible matrix $P$ such that $B=P^{-1}AP$.
Prove that this defines an equivalence relation on $\mathbb{R}^{n\times n}$.
(This is comparable to exercise 3.76 on page 109 of the text. This is also foreshadowing
Chapter 9.)
To prove this defines an equivalence relation on $\mathbb{R}^{n\times n}$.
by checking 3 steps;
- A \approx A
A=IAI
2)If A \approx B , then B \approx A
If A = PBQ, then B = P$^{-1}$AQ$^{-1}$
- If A = PBQ and B = P$^{'}$CQ$^{'}$, then A=(PP$^{'}$)C(Q$^{'}$Q)
burga
Compile Error! Click the
reaction for more information.
(You may edit your message to recompile.)
does this make any sense at all, I pretty much just copied the example
1 is fine
2 and 3 are not. Read the definition of similar in the second sentence again
When is A similar to B?
When B is similar to A
o_O
because uhh
communitative property of equivlence or what
I'm just asking you to read the definition in the second sentence
When is A similar to B?
Say that {\it $A$ is similar to $B$}
and write $A\sim B$ if there exists an invertible matrix $P$ such that $B=P^{-1}AP$.
burga
So can you show that if A is similar to B, then B is similar to A using this definition?
Suppose $A,B\in\mathbb{R}^{n\times n}$ are matrices. Say that {\it $A$ is similar to $B$}
and write $A\sim B$ if there exists an invertible matrix $P$ such that $B=P^{-1}AP$.
Prove that this defines an equivalence relation on $\mathbb{R}^{n\times n}$.
(This is comparable to exercise 3.76 on page 109 of the text. This is also foreshadowing
Chapter 9.)
To prove this defines an equivalence relation on $\mathbb{R}^{n\times n}$.
by checking 3 steps;
- A \approx A
A=IAI
2)If A \approx B , then B \approx A
If A = PB, then B = P$^{-1}$AP
- If A = PBQ and B = P$^{'}$CQ$^{'}$, then A=(PP$^{'}$)C(Q$^{'}$Q)
burga
Compile Error! Click the
reaction for more information.
(You may edit your message to recompile.)
maybe try looking up about matrix multiplication rules first, especially about dimensions
Does that make more sense for 2?
because there exists an invertible matrix P that when mutliplied by B is A
Is that what the definition of similarity says
yessir
Uh
Say that {\it $A$ is similar to $B$}
and write $A\sim B$ if there exists an invertible matrix $P$ such that $B=P^{-1}AP$.
Zopherus
Is this the same as what you said?
guess not
If there exist an invertible matrix $P$ such that $B=P^{-1}AP$, we can say A ~ B
burga
Yup, it is.
Since reflection is a linear transformation, and we are considering matrices in the standard basis
We only need to check where (1,0) and (0,1) are mapped under reflection on the x axis
We can see that (1,0) is mapped to (1,0) ofc
And (0,1) is mapped to (0,-1)
I think you can see that intuitively
Np
Im still trying to fix B)
- [10] Suppose $A,B\in\mathbb{R}^{n\times n}$ are matrices. Say that {\it $A$ is similar to $B$}
and write $A\sim B$ if there exists an invertible matrix $P$ such that $B=P^{-1}AP$.
Prove that this defines an equivalence relation on $\mathbb{R}^{n\times n}$.
(This is comparable to exercise 3.76 on page 109 of the text. This is also foreshadowing
Chapter 9.)
To prove this defines an equivalence relation on $\mathbb{R}^{n\times n}$.
by checking 3 steps;
- A \approx A
A=IAI
2)If A \approx B , then B \approx A
If A = PB, then B = P$^{-1}$AP
- If A = PBQ and B = P$^{'}$CQ$^{'}$, then A=(PP$^{'}$)C(Q$^{'}$Q)
burga
Compile Error! Click the
reaction for more information.
(You may edit your message to recompile.)
I mean im still trying to fix 2)
Just write down a 2×2 matrices with entries a,b,c,d
Then solve a linear system of equations
you can also answer it with trivial values tbh
Yeah so
@charred root #linear-algebra message
Suppose that $A$ is similar to $B$, then $\exists P \in \text{GL}(n,\mathbb{R})$ an invertible matrix with
$$
B = P^{-1}AP
$$
Then, we have the following chain of equivalences
\
\
$
B = P^{-1}A P \iff P B = P(P^{-1}AP) \iff PB = AP \iff (PB)P^{-1} = (AP)P^{-1} \iff A = PBP^{-1}
$
\
\
Now, notice that this implies
\
\
$
A = (P^{-1})^{-1} B P^{-1}
$
And $P^{-1} \in \text{GL}(n,\mathbb{R})$.
\
\
So $B$ is equivalent to $A$.
MisterSystem
I will let you prove transitivity
But really
There's not much to it
Just use the definition
transitive property would be something like if a =b , and b = c, then a =c because transitive property
but there is only A and B?
or do we throw in P there
We know that A ~ B (use the definition)
And B ~ C (B and C are similar)
And then you apply the definition
There are P \in GL(n,R) with B = P^-1AP
And S \in GL(n,R)
With C = S^-1AS
And you want to find another invertible matrix
Say H
With C = H^-1 A H
Think about what operations you can do
With invertible matrices
That still yield another invertible matrix
And use it to construct such H
that's the defination
Hi, I have a question about finding the general solution to a matrix. My textbook mentions that the general solution = the particular + homogeneous. Do I simply take the matrix I was given and set the vectors equal to 0 to find the general solution? And then use the original matrix that is equal to other constants to find the particular solution?
Sorry I am mad confused about it
pretty much
although you can just RREF in the original form and see what lies in the null space
set the vectors equal to 0
what vectors?
The vectors inside the matrix, or are those just equations?
if you have a system Ax = b, with a matrix A and vectors x and b, you'd have to set b = 0
setting the vectors in a matrix to 0 makes me think youre zeroing out the matrix
you mean to set the constant vector equal to 0
which is correct
Okay yes, I was thinking of setting the b =0.
dont know if this is regarded as linear algebra
but have some problems regarding mathematical induction
so the first line below for m=1 in the solution section
i dont get how it is derived from the question
please help
@wintry thorn#proofs-and-logic
x+3=9
This is a problem for #prealg-and-algebra
Hi all I was finding inverses of matrices today and I was thinking why is the determinant a thing like why does it work where does it come from?
Do you mean geometric interpretation or ...?
So the determinant is the change of area of a linear transformation
for example T(x) = Ax
yeah
But still like is there a proof of determinant or something ?
Um.. I don't think there is a proof but if you look up "why does the determinant work" there are some good resources
Alright thanks
the easiest way to understand it is with the eigenvalues, if you've already covered that topic
he probably hasn't noting that he just learned the determinant, but when you do learn eigenvalues it might be helpful to relook over this
Eigenvalues is next lesson
So I am probably a bit early lmao
We did determinant of 2x2 last year
maybe watch some visualisation for some intuition
its kind of abstract, but the conceptual motivation for the determinant in a mathematician's eye is that it's a scalar value that carries multiplicative info about the matrix
mathematicians like to understand things by looking at simpler things
scalars are simpler than matrices
and the property det(AB) = det(A)det(B) tells us that determinants preserve the multiplicative structure of matrices
this is where things like "invertible iff nonzero determinant" come in
every real number has a multiplicative inverse... except 0
this explanation might not connect with you right away, and thats fine
its an abstract motivation
but its a very handy one to know
It’s a very good explanation I like the way u said it carries info about the transformation
My brain feels dead after doing inverses of 3x3 all day lmao especially when it’s algebraic and no 0 terms
why would your teacher make you do that
Nah becuase it was in many different contexts like we was just doing the exercises from the text book so some were just find determinant and some were find inverse or solve an equation or find the image of points after a transformation but they all involved calculating Inverse
And when I say all day I mean like 3 hours and probably only like 1 hour total doing the questions
He is a good teacher
Were you using the 1/det * conj A = A^-1
Yeah
cuz that one is pure pain
idk why it exists, because its soo much easier just to do the (A | I) --> (I | A^-1)
I’ll have a look into it , I mean it’s not that bad when you get used to it because once you have the minor matrix you just transpose and apply the sign matrix in one go
And then det is easy since it’s just the row 1 x row 1 but remembering the +-+
what if u have a 4x4 or 5x5 matrix?
We won’t on our spec becuase it’s just pointless
I am further maths a level btw going uni within a year
Uk
learning lin alg before uni?
Hi, does anyone have a good simple guide on changing standard basis to a basis consisting of orthogonal vectors given 3 vectors?
v, b1, b2 and b1 and b2 are orthogonal to each other
so im trying to find b in the basis defined by b1 and b2
I can give like an example
and we want to find an orthogonal basis that is induced by this one?
im just confused about how to incorporate the dot product
to find the answer
yea i already checked the CosTheta to check if it is orthogonal
so im aware of that
If that's what you are looking for
There's something called the Gram-schmidt process
so like given vectors v = [5, -1], b1 = [1,1] , b2 = [1, -1]
im trying to find v in the basis defined by b1 and b2
theyre all standard basis
and b1 and b2 i checked are orthogonal
I watched the khan academy video on it but they were using more variables than I was
ok, we have v,b_1, b_2 all written in the standard basis of R^2
and we want to write down
so It was hard to apply the theory
Thats another interesting principle, my professors recording talked about an R
Yeah so
but he just defined R in a previous example with no explanation
so IM not sure what R even is, since its not given
I just am looking for essentially Vb
if im not mistaken thats the format
Since $\mathcal{B} = {(1,1), (1,-1)} \subset \mathbb{R}^{2}$ is a basis, that means that $\exists a,b \in \mathbb{R}$ such that
$$
(5,-1) = a \cdot (1,1) + b \cdot (1,-1)
$$
Notice that this defines a linear system of equations
\
\
\begin{cases}
5 = a + b \
-1 = a - b
\end{cases}
\
\
So in order to write down $v$ in the basis $\mathcal{B}$ we have to solve this system of linear equations.
MisterSystem
Compile Error! Click the
reaction for more information.
(You may edit your message to recompile.)
And notice that the solution to this system of linear equations is a = 2 and b = 3
so v in the basis of b_1 and b_2 has coordinates (2,3)
Interesting. Im going to have to break this down.
So what is that sign before R^2
and what does R^2 mean?
R^2 is the plane
so the size of the vectors right?
so if there were 3 numbers in the vector it would be r^3
i.e, $\mathbb{R}^{2} = {(x,y) , \vert , x,y \in \mathbb{R} }$
MisterSystem
yup
in general, R^n denotes the vector space of n tuples of real numbers
the symbol before R^2 means that the basis B is a subset of R^2
Ok so is just defining it in linear terms
help
v = (5,-1)
ah rght right
so essentially Vb = A(b1) + b(b2)
yup
v written the basis B is ab_1+b b_2
just look at the pairs
(5,-1) = a(1,1) + b(1,-1) = (a+b,a-b)
but like
remember equality of pairs
this means that 5 = a+b and -1 = a-b
so is there a more simpler way to get the solution with the dot products?
that was what I was originally trying to go for after the lesson taught it that way
There indeed is
and we can use that b_1 and b_2 are orthogonal in order to find that
notice this
Thank you so much btw for your time, I hope this isnt annoying man.
I really like linear algebra and like our professor just jumped into the how rather than the why so Im confused.
If im projecting this correctly, B1 and B2 are right angle vectors with V coming straight through the middle, but I dont understand the visual of what the question means im kind of just trying to under stand how to solve]
but I feel like if I KNEW why more it would be so simple
Suppose that
$$
v = a b_{1} + b b_{2}
$$
For some scalars $a,b \in \mathbb{R}$, we can then take the dot product on both sides with respect to $b_{1}$
$$
v \cdot b_{1} = a (b_{1} \cdot b_{1}) + b (b_{2} \cdot b_{1})
$$
Notice that since $b_{2} \cdot b_{1} = 0$, we have that
$$
v \cdot b_{1} = a (b_{1} \cdot b_{1})
$$
This then implies that
$$
a = \dfrac{v \cdot b_{1}}{b_{1} \cdot b_{1}}
$$
So we can plug now the numbers in and get that
$$
a = \dfrac{(5,-1) \cdot (1,1)}{(1,1) \cdot (1,1)} = \dfrac{4}{2} = 2
$$
Similarly, we can take the dot product on both sides with respect to $b_{2}$ and get
$$
b = \dfrac{v \cdot b_{2}}{b_{2} \cdot b_{2}} = \dfrac{6}{2} = 3
$$
MisterSystem
let me look
Thank you so much man
I hope oneday I can be able to understand the theory behind it
because you really summed it up exactly How i wanted
Np man
I wanted to show the first method
because it is more general
it works for any sort of basis
this one works for orthogonal basis only
you can try as an exercise
choosing another orthogonal basis
and another vector v
and trying to find the coordinates of v with respect to this basis
Using the two methods I have presentend
I am going to thanks.
So when adding up vectors
on the step where it says a = ....
how are you getting 4 / 2
which then = 2
I calculated both dot products
I know how
Im blanking out
Oh nvm I remember
you multiply the first iteration by the other first iteration
and so on
so in the case im given more vectors
would I just use v = ab1 + bb2 + cb3 + db4 ?
so c = v.b3/b3.b3
d = v.b4/b4.b4
and so on
yup
but why?
The same argument applies
given that b_1, ..., b_4 are orthogonal
just how im plotting it out on my mind
yea they're all pairwise
orthogonal
oh so your saying that since theyre orthogonal
the last part of that beginning theorem is to be ignored
since it = to 0
and pretty much the same formula for a and b is the same all around
for all variables
whats the fastest way to find whether 2 vectors are linearly independent or dependent
I know the vectors a, b and c are dependent if a = q1b+q2c where q1 and q2 are scalars
but if im only given two vectors A and B
what the hell is C and what does q1 and q2 even mean
well 2 vectors are dependent iff you can non-trivially take a linear combination and get the 0 vector
Nice
fixed it*
so $av_1+bv_2=0$ and at least one of a and b aren't 0, then $v_1$ and $v_2$ are dependent
Mosh
It's strange that you weren't given the general definition for linear independence.
I was
its just hard to apply the terminology
like i take notes and my notes say that basis is a set of n vectors that are not linear combination, span the space, and that the space is n-dimensions
but when it comes to applying that it gets interesting so
what does q1 and q2 mean
in the case of a = q1b+q2c
basis is a linearly independent spanning set, to which the cardinality of the basis (in the finite sense) is the dimension of the space
linear independence is characterized by the ability for the set of vectors to "reach" 0 in a sense.
They're independent if the only way to reach 0 is to set all scalars in the linear combination to 0 and dependent if there's a non-trivial way to reach 0
so for ${v_1,v_2,v_3}$, they're independent if $$q_1v_1+q_2v_2+q_3v_3=0\implies q_1=q_2=q_3=0$$
Mosh
makes sense
anything other than 0 it is dependent and must be apart of the same dimensional plane
sure
if I was trying to find a = q1b + q2c
is that entailing
vector a = b and c
and then use that to find the q1 and q2?
i am confused on what q1 and q2 imply
q1 and q2 are just the scalars
interesting interesting ok
What if I wanted to find out the scalars with respect to b and c
however, you're still using a corollary of dependent vectors
instead of the definition of independence/dependence
ahh
testing independence by definition results in just solving a linear system, which is algorithmic
solve the linear system
ah so
visually for that image, you can just note that 1b+3c=a
no, cause clearly a isnt b
a=[2,2]
b=[1,-2]
c=[-1,0]
