#linear-algebra
2 messages · Page 9 of 1
is that not simply all of the elements of the matrix?
2(1, 5, 9) + 3(2, 6, 10) + -3(3, 7, 11) - (4,8,12) is the linear combination that corresponds to
P(2, 3, -3, -1)^T
OHH
i get it
thank you so much
a scalar is applied to each column - C (column 1) + C2 (column 2) ...
e.t.c
sick np. Basically the column space is like the range of a linear transformation, We know P will map to R^3, but the column space tells us exactly which vectors get mapped to
The span of a set of vectors is exactly that, a scalar is applied to each vector
The column space is the span of the columns
yeah I was just unsure how to do a specific combination for the column space
@half ice [1, 5, 9]^T, [2, 6, 10]^T
is it true that the rank of column space = rank of row space?
yea. I think i said Col(A) = Col(A^T) earlier which is not true, but dim(Col(A)) = dim(Col(A^T)) definitely is
when you put a matrix in row echelon form, the column pivots correspond to the column vectors that make up the basis for the column space. When you transpose that matrix, the same columns make up the basis for the row space.
nullity is determined by the number of free variables
you're really good lol
thank you
helped me link column pivots to basic variables
np. rank + nullity = columns makes sense because every column either corresponds to a free variable or a column in the basis of the column space
How do I find a in all of this?
I should be able to solve this but I'm a little rusty.
That's a picture not a question
BA = BC
"The point (a,5) has the same distance from (4,2) as (2,3). What is a?"
Ahh I see
Sorry if I made that unclear.
It's annoying me a bit because I solved a question like this on a fairly recent test.
Well, we have pythag for that
|AB|² = (a - 2)² + (5 - 3)²
|BC|² = (a - 4)² + (5 - 2)²
But I don't know if it's a right angle
It's probably not!
I'm taking the length AB, and turning it into a hypotenuse of its own right triangle
(Length of AB)² = (Width of AB)² + (Height of AB)²
$(x+y)^2 = x^2 + 2xy + y^2$
Ann:
sound familiar?
Ah
The quadratic rule, right?
That's at least what we call it here.
I'm taking a break, I'll be back in about 20 minutes.
here = where?
Sweden.
I'm back, and I've been focusing on that math problem so hard that I legit forgot how to fold a burrito and it took me like 30 seconds to remember.
<@&286206848099549185>
well first of all, can you diagonalize A, cause that's the first step
its the determinant that shows how a matrix transforms the unit square thing right
im tryna refresh myself on what to think of it as
axctually i got it (i think) i think Q would have to be P^-1 which i can find right here
@dense holly watch the 3b1b video on determinants
Can anyone explain 15c to me?
I had b1 basis and b2 b3 not basis
But the book had it flipped, i dont get it. Doesnt independent=basis?
<@&286206848099549185>
According to my wikipedia sources, $$(\text{Col} A)^{\perp} = \text{Null} A^T$$
kxrider:
@oblique crag
so find a basis for the left null space of A to get the basis for the column space of span(S)'s orthogonal complement
hey , so one of my friends sent me her notes but i don't understand how she got that equation , could someone help me understand it please
presumably, she makes x2 and x5 her free variables
and expresses everything else in terms of that
Can someone help me with part C? I've found from part b that all 2nd partial derivatives are positive. However, I don't understand how H would be PSD since aj and ak can be negative.
all entries positive may generally not imply PSD
yes I'm just having trouble with part c which states that L is convex
meaning H must be PSD
i'm having trouble showing H is PSD using their definition a^T * H * a >= 0
i mean ok, what'd you get for your partials
oof
@dusky epoch Because of your hint yesterday I managed to solve the problem, thanks! I was on that thing for hours.
i have this determinant
i'm supposed to get Dn= n+1 but i got no idea what i'm doing wrong
first to second line i expanded following the first column, all of the other terms are 0,
second one i expanded following the first line, and all the other terms are also 0, which gives me Dn=2Dn-1 + Dn-2
characteristic equation of this doesn't give n+1
thats a matrix with the main diagonal having 2's and two extra diagonals with -1's in them
nvm i was missing a - sign
ok then
Hi, I have a problem thats asking whether there exists a basis B such that matrix of transformation in that basis is M (given matrix). What are necessary equirements for that to exist? Same eigenvalues, is that enough? I know the matrix of the transformation in standard basis
same eigenvalues may not be enough. you need M and the standard basis matrix to be similar.
So finding whether they have same Jordan form should be enough, right? If they do then they are similiar
tahnks 
and waht does it mean if rank of the matrix - aI (a is eigenvalue) is 4 and the rank of matrix squared is also 4 in terms of Jordan form?
then it isnt similiar to any Jordan matrix?
do you mean rank(A - aI) = rank(A^2) = 4?
rank(A - aI)=rank((A - aI)^2)=4
oh
so that means rank(A - aI) - rank( (A - aI)^2 ) = 0, which means that there are no jordan blocks of size exactly 1 for eigenvalue a in the jordan form of A
well but then I get rank( (A - aI)^3 ) = 4 and rank( (A - aI)^4 )=4 as well and this transformation is in R4 to R4
so that means theres no Jordan form of A?
huh what? there's always a jordan form
wait
what even
can you post the problem you're doing
i'm p sure you can't have (4, 4, 4, 0, 0) be the rank sequence of a matrix
SRYS RY, i mean its alwasy 4
yes
I will paste the matrix in standard basis and the one I need to determine whther the basis exists
are you sure you calculated the rank sequence correctly
det (Br- λ*I) is (λ-1)^4
same with the standard matrix
and matrix in standard basis has two cages 2x2 if I checked correctly
Let me (br-λ)^2 again, Ill paste it
ok I think I screwed up multiplication
,w Jordan form [ [0, 1, 0, 0], [-1, 2, 0, 0], [1, -1, 2, -1
bah fuck
,w Jordan form [ [0, 1, 0, 0], [-1, 2, 0, 0], [1, -1, 2, -1], [1, -1, 1, 0] ]
yesh
so yeah actually I see where I fkd up
r(br - I)^2 = 1
and r(br - I)=3
so that means its jordan form will be like one block 1x1 and one 3x3, right?
uh
that's a decrease of 2, so that would signify two blocks of size 1
(and accordingly, one block of size 2)
$q_i = r(B^i) - r(B^{i+1})$
Ann:
number of blocks of size 1 = rank(B^1) - rank(B^2)
...
wait.
hang on.
yes. bc rank(B^1) itself is the number of blocks of size at least 1
by book says$q_i = r(B^{i-1}) - r(B^{i})$
dog:

Can there exist a matrix A nxn such that {I,A,A^2,....,A^n} is linearly independent?
uh, I think the answer is no, but I don't quite remember why
Cayley-Hamilton
What
but whatever, CH has many proofs
Cayley-Hamilton says the characteristic polynomial specifically kills off the matrix
Isn't that a different story though, you're using there that A^nv, A^{n-1}v, ... aren't linearly independent, and that's more of a dimension count
I don't remember the whole proof, but I'm pretty sure the powers of the matrices came up
Ok so, characterisitc polynomial can be up to nth degree right?
It's degree n exactly
yeah
and that automatically gives you A^n = linear combination of previous powers
wait why?
cayley hamilton says char_A(A) = 0
so $A^n + a_{n-1}A^{n-1} + \dots + a_0 I = 0$
solve for A^n
Ok, I see it now, thank you
Sascha Baer:
And how would I use it (since its probably the same deal) to determine whether there exists matrix A in M 2x2(Q) such that A,A^2,A^3,A^4 is a basis of matrices 2x2(Q). Like what does the Q do here?
Q as in rationals?
yes
I don't remember, was CH only over C or general fields?
Using this, where A is an n x n matrix, how do i find:
e^A is defined :
where Bm is
What do you want to find ?
e^0n and e^In
Exp(0_n) ?
Oh ok
For exp(0_n)
Utilize the partial sum
You can show that for every m in N, B_m is I
im confused though, how do you do it with a matrix...
Exp(A) and B_m are defined
Use their definition to find exp(0_n)
To continue
B_m is I for every m in N, because (0_n)^m is 0_n for every m in N*
So the sum of the series will be I
So exp(0_n)=I
So far so good ?
I_n
yes i understand that
Ok, one second to put my phone on charger to tell you how to do the second one
Ok
As for I_n
Use the definition of the partial sum again
You have for every m in N, (I_n)^m = I_n
So for every m in N we have:
B_m=I_n+I_n/1!+I_n/2!+...+I_n/m!
got it
Sorry my phone died
nw
Ok let's continue
You can take the sum into the matrix I_n
So for a fixed m, you will have on the diagonal of I_n, the sum 1+1/1!+1/2!+...+1/m!
When you take n to infinty, the sum of the series will be exp(1)=e
So you will have e on the diagonal
Take e out, you will have e times I_n
So exp(I_n)=e.I_n
Ok ?
makes sense
@vale arrow i think i know what to do here, im just confused by what they mean by a^3=0_3 and b^3= 0_3
A(A(A))) = the 3x3 zero matrix
how does that help here though
e^A = I + A + A^2/2!
because every term after A^2 is just zero
e^A = I + A + A^2/2!
e^B = I + B + B^2/2!
so does e^(A+B) = ( I + A + A^2/2!)(I + B + B^2/2!) ? Well, presumably not, but thats what you gotta prove
np np
wait, so now i can just add the matrices and show that theyre not equal right
yea u can do that
@slow scroll srry 1 more question, for doing e^A+B, can I use B_m=I_n+(A+B)/1+(A+B)^2/2...
hmm the tricky part is that (A+B)^n isn't necessarily ever zero, so the series e^(A+B) doesn't necessarily ever terminate
Trying to make sure I understand this. Is the dimension of the null space of (A - λI) the amount of free variables of rref(A - λI)?
yea. thats true for any matrix
oooh cool, thanks for the clarification
np
lol it feels nice to understand something in this class for once
@slow scroll then how would you do it?
@rare barn im not quite sure tbh...
hmm alright, could u help me w/ 1 more q
maybe :p
well since A and B are strict upper triangular matrices (ie upper trig + diagonal filled with zeroes), A+B is also one
so it will 'decay' like A and B
(not rigorous at all ik, just showing the idea)
yea im thinking 
well how do you find the power of a diagonal matrix ?
oh wait a second
PD^nP^-1
i'm not talking about diagonalisation lad
the diagonal entries of a diagonal matrix are just A^n_ii = d^n right?
yea, if the d_ii are the original entries in A
i was trying to figure that out by summing rows*columns, but ofc that isnt' necessary 🤦
$D^2_{jk} = \sum_{m=1}^n D_{jm}D_{mk}$ but when $j=k$ we get $D^2_{jk} = \sum_{m=1}^n D_{jm}D_{mk}$. Now, $D$ is a diagonal matrix so $D_{jk} = 0$ except when $j=k$. That means all of the terms of the sum are zero except when $j=m=k$. Therefore $D^2_{jk} = 0$ when $j\neq k$ or $D^2_{jk} = (D_{jk})^2$ when $j=k$
kxrider:
kxrider:
hmm that makes sense
is that all we need to show it?
also dont you mean E^d_jk
dont see why its _jj
i think so. To prove that the thing i wrote above holds for all D^n, you may have to use induction or something, but idk if your teacher cares for you to get that pedantic about it.
e_jj^D corresponds to the diagonal entries of e^D. same thing as e_jk^D when j=k
oh yep, got it, and i think my teacher is fine with this tbh
sorry, but i have one LAST question
okiee
Well we know that (PDP^{-1})^n = PD^n P^{-1} right
I think it follows from that pretty easily
@rare barn can you see why?
no...
what do i plug back into the series though....
$$e^A = \sum_{m=0}^{\infty} \frac{A^m}{m!} = \sum_{m=0}^{\infty} \frac{??}{m!}$$ hint
kxrider:
since A = PDP^-1 can i use that?
ye
ok, then how do you show e^D
i dont see where this is going...
$$e^A = \sum_{m=0}^{\infty} \frac{A^m}{m!} = \sum_{m=0}^{\infty} \frac{PD^m P^{-1}}{m!} = P\left(\sum_{m=0}^{\infty} \frac{D^m}{m!}\right)P^{-1} $$
kxrider:
i had this too'
oh
oh
dude im so stupid, i didnt realize that the sum there is e^D
my bad
can you only identify pivots in reduced form? what about just echelon form?
I figure you generally identify pivots in rref anyway?
i usually identify pivots in row echelon
i think the only time i really use rref is when i am finding null space or something 
we identify pivots by the first non-zero entry of the row, but consequently, the column that pivot in is defined as a pivot column?
the column that the the row pivot entry is located in is a pivot column
hey guys, does swapping the rows of a matrix change the determinant?
yea, it flips the sign of the determinant
thank you!!!!
np
what if theres a 3x3 matrix, determinant is given prior to change
one of the value of row 1 is doubled
how might that change the determinant?
doubles the determinant. Its a linearity thing
how might something like this change the determinant?
sorry for multiple questions :/
does your teacher/professor want you to come up with a general solution like what rider is saying?
cause you could just take the determinant, wouldn't that give you the answer?
im currently prepping for finals and the prof gave up practice exams..... but there are no solutions to them
The idea is that for a matrix [v1 v2 v3], the determinant satisfies the properties
D(av1,v2, v3) = aD(v1, v2, v3)
D(v1 + v2, v2, v3) = D(v1, v2, v3) --invariant under column operations
D(v2, v1, v3) = -D(v1, v2, v3) --obtainable from other properties
because the determinant works out to be the product of the diagonal entries of a triangular matrix, det[v1 v2 v3] = det[v1 v2 v3]^T
@charred stirrup it ends up as 5x -2xy -39 = 0
as i was trying to solve for determinant
You can't take the determinant directly, you need to use determinant properties, as kxrider said
im just retarded dont worry about what I said
@slow scroll @half ice thank you! Ill look more into determinant properties
thank you for taking your time to help me 😃
@charred stirrup you too ❤
So on #17 for the reflection
I got the exact same answer as the solutions. But without the 1/65 can anyone explain where the 1/65 is from
I feel like it should be (3,-2)
because R is a subset of C 👀
tfw C is a subset of R @dusky epoch 👀

complex space => real space isn't true though
why not
you can take a complex space and just inherit scaling from it but for real scalars only, and get a real space
yea
time to die ig
Hey friends! I am currently learning proof in my linerar algebra course, and don't really know how to continue at this exercise im working on.
The question is
(n+2)^3 + n^3 (divisible by 3) => n (not divisible by 3) , n is a natural number
What I have done: We learned a lot of complete induction but that does not seem to be the way to go
wait
wrong channel
sorry ill be on my way!
our course is called linear algebra so I thought it would be that
welp
#elementary-number-theory is maybe more appropriate
nah I'm supposed to write in a help channel, just forgot the discord server I am on
but thanks!
( ^_^)
is a basis for a subspace another way to think about it just the fewest amount of vectors to describe a span?
that's exactly what a minimal spanning set is
so I'm wrong?
no, you're right
you're exactly right
i'm just saying there's a word that captures your intuition exactly
ok ok ty
Can anyone help me with (6)
ok so you have your P and your D, great
so now
consider this:
consider this a hint
So I will have to invert p first as well
seems so.
So I’m stuck because d^2019 is still pretty complicated to write down
Using diagonalization to get powers is black magic
Or u can find Jordan form
Wait So thats True for any A thats diagonalizable?
@wicked trellis you know how diagonal matrices behave under multiplication, right?
@winter reef what are you talking about
A =PDP^1 where d is diagonal only if a is diagonalizable?
a) ^-1, not ^1
b) that's literally the definition of diagonalizable
It would be my values 4^2019, 5^2019, 5^2019 in a diagonal wouldn’t it
yes!
Unless I just leave it as that form it would be a really large number
leave it as is.
Oki, thanks =)))
And whats P? Idebtity Matrix from standard basis to basis of egein vectors?
If not then what basis should it be?
Ya
Take a matrix A.
Let's say that there's a way to write A = PDP¯¹ such that D is diagonal
Then we say A is diagonalizable and it's easy to take the powers of it
Does this make sense
Multiplying those matrixes looks pretty complicated
Oh nvm
It’s not
Feel like I messed up somewhere
Okay
Thanks
Also that’s not RREF because you still have non zero values in v3 in the second and first row @charred stirrup
Yea The matrix you put is in REF form but not RREF form
Because if you look at the third column there’s non zero values above the pivot
AHH I SEE
leading ones are defined by the "1" in each ROW
and the entries of the column it's in must then all be zero (except for the 1)
thank you two
@wicked trellis @half ice
Yes
u mean the columns? no, but it will be a basis for a 3d subspace of R^4
err i wasn't clear, im assuming u r asking about whether the columns of the matrix span a certain space?
this is what im tryna answer
i get span but im unclear on bases
whats the difference
a basis for a vector space is a set of vectors that spans the space (you can represent every vector in the space as a linear combination of the basis), and representation of each vector in the space is unique.
if {v1, v2, v3} is your basis, representation of vectors in the space are unique if the only way to represent the zero as a linear combination is
0v1 + 0v2 + 0v3 = 0
(1, 0, 0) , (0, 1, 0), (0, 0, 1) form a basis for R^3 because i can represent every vector as a linear combination
(a,b,c) = a(1, 0, 0) + b(0, 1, 0) + c(0, 0, 1) for all a,b,c in R
and the only way to write the zero vector is when a,b,c = 0
I feel you're giving us the reduced matrix, and not the set itself. Note the very important distinction between the two.
If B is invertible, then the determinant of A equals the determinant of BAB^-1
kinda lost on how to show this if someone could give me a pointer assumming that its cause BAB^-1 = A
det(BAB^-1) = det(B)det(A)det(B^-1)
det(A) = det(B)det(A)det(B^-1)
don't want to give it away 
indeed 1 = det(I) = det(BB^-1)
ty
np
can someone kindly explain to me the overarching idea to differentiate PMD and SVD? I know they are both applications of eigenvalues/eigenvectors, but I don't understand their applications very well.
@summer dagger
More generally, det(A¯¹) = 1/det(A)
Which is why zero determinant matricies have no inverse.
Can anyone help me understand 7
it looks like there are multiple answers to that to me... 
Yeah theres multiple but theyre askin which can be possible
Its not multiple choice
I got it figured out though, thanks guys cx. I do need hep with a proof though
okiee
#50 if u were offerin to help 😛
think about what it would mean for the original statement if v_n was a member of span(v1,v2, ..., v_{n-1})
my teacher said in class that a polynomial of degree 0 = - infinity but can't 8 for example be a polynomial of degree 0 for example 8*x^0
did your teacher actually say that the zero polynomial has degree -infinity?
well it's written in the notes of a friend
as an arbitrary choice we say that deg (0) = -infinity
oh okay i see
it's not really that arbitrary a choice imo
it's the only choice which preserves order of degrees in a sensible way and keeps them sensible wrt addition and multiplication
that is deg(f+g) ≤ max(deg(f), deg(g))
and deg(fg) = deg(f) + deg(g)
stupid stupid question
so i have this vector space C[0,1]
of all continuous f: [0,1] --> \mathbb{R}
with the weighted inner product <f,g> = \int_0^1 f(x)g(x)x dx
ok so say i have three functions
i want see if they;re orthogonal
can i still just toss them in a matrix and see if det(matrix) = \pm 1
no
matrices in infinite dimension, that's news to me
-_-
rank
yes sry
@half ice isn't the rank the non zero column number ?
bcs here if I row reduce, it is the non zero row numer
If I fully row reduce, I can write:
[1 1 1]
[0 0 0]
[0 0 0]
See there's only one pivot, meaning rank is one.
so if we row reduce, we check the number of non zero row ?
or we can check dim(vect(column)) ?
Does anyone know if there are any particular special properties of matrices that are symmetrical across the diagonal?
I've been working with adjacency matrices and noticed that every undirected graph is symmetrical across the diagonal and was wondering if this could somehow be used to imply anything else
Awesome @proper crescent thank you very much i'll check it out
hello
check if the subset W is a vetorial subspace of the vetorial space V.
V = M_2 , W = { (a b). a, b, c are real numbers}
M_2 = square matrix 2x2
below that (a b) there's a (-a c)
what i did is to prove if W is a subspace of V, but i'm not sure if that's right. Could someonbe help me, please?
So I'm supposed to diagonalize A by writing A=PDP^-1
ive already found eigenvalues and eigenvectors
then if X_1 and X_2 are your eigen vectors you can let P:= (X_1 X_2)
got it
ill do that rn,then i got 1 follow up q
is the diagonal matrix just the eigenvaluyes
y
should be it
i'll try to be more specific with my question (i think)... if i prove that the subset W, is a subspace.... is ok to say that W it's subspace of V?
@lyric sphinx P is a singular matrix though...
by that matter, W must be a subset of V. Right?
yeah
but you have it wrong
you only try to prove that W is a subspace of V
if you know that W is a subset of V
got it!
so is it x_n= (what i just computed)^n [x1 x2]?
kinda confused
<@&286206848099549185>
Could someone please confirm if i've made the correct steps to prove that W is a subset of V, please?
any1?
<@&286206848099549185>
yoo can someone confirm the differentiation operator on the basis {1, x, x^2}
is equal to
[0 1 0]
[0 0 2]
[0 0 0]
looks right
and then the hermitian transpose is just
[0 0 0]
[1 0 0]
[0 2 0]
but this gives eigenvalues of all 0
that is correct
is hermitian transpose of a matrix the same as adjoint of a matrix
generally do u need to show steps for matrix multiplcation on tests or can you just write the answer
what does your prof say?
its an online course so i have no idea
i don't think i have ever shown steps for matrix multiplication, but i have also never taken a test in LA 🤷
Matrix multiplication is very likely not what you'll be tested on for an LA final exam
So no don't worry about the steps
yeah, what i was thought. just wanted to make sure
Hi another formatting question
Show that if : $$ D = \begin{bmatrix} d_1 & 0 & ... & 0 \ 0 & d_2 & ... & 0 \ \vdots & \vdots & \ddots & \vdots \ 0 & 0 & 0 & d_n \end{bmatrix} $$ is a diagonal matrix, then $$e^D = \begin{bmatrix} e^{d_1} & 0 & ... & 0 \ 0 & e^{d_2} & ... & 0 \ \vdots & \vdots & \ddots & \vdots \ 0 & 0 & 0 & e^{d_n} \end{bmatrix} $$
Zo:
how do i just make this into one line
Show that if : $ D = \begin{bmatrix} d_1 & 0 & ... & 0 \ 0 & d_2 & ... & 0 \ \vdots & \vdots & \ddots & \vdots \ 0 & 0 & 0 & d_n \end{bmatrix} $ is a diagonal matrix, then $e^D = \begin{bmatrix} e^{d_1} & 0 & ... & 0 \ 0 & e^{d_2} & ... & 0 \ \vdots & \vdots & \ddots & \vdots \ 0 & 0 & 0 & e^{d_n} \end{bmatrix} $
kxrider:
well, in general, $$ $$ makes a new centered equation, while $ $ is just inline math
got it, didnt realize the difference between $$ and $
I have a matrix $$ \begin{pmatrix}0.4 & 0.3& 0.3\0.3 & 0.5 & 0.2 \ 0.3& 0.2 & 0.5\end{pmatrix}$$ and I want to find the eigenvector corresponding to the eigenvalue $\lambda_1=1$ so i set up that $v_1=\begin{pmatrix}x_1 \ y_1 \z_1\end{pmatrix}$ which gave me the expanded matrix $$ \begin{pmatrix}1.4 & 0.3& 0.3&0\0.3 & 1.5 & 0.2 &0\ 0.3& 0.2 & 1.5& 0\end{pmatrix}$$ row reducing this would give me the identity matrix does that mean that since $A=I$ giving us $I_3v_1=v_1$ so the eigenvector of $A$ is $$v_1=\begin{pmatrix}1 \1\1\end{pmatrix}$$?
⨋ρ:
I don't get the last column of your expanded matrix why are there 0's?
But yeah your v1 is indeed an eigenvector, you can check that Av1 = v1
I mean I did $$\begin{pmatrix}0.4 & 0.3& 0.3\0.3 & 0.5 & 0.2\ \ 0.3& 0.2 & 0.5\end{pmatrix} \begin{pmatrix}x_1 \y_1\z_1\end{pmatrix}=\begin{pmatrix}x_1 \y_1\z_1\end{pmatrix}$$ giving us the system of eq's $$\begin{cases}0.4x_1 +0.3y_1+0.3z_1=x_1\0.3x_1+0.5y_1+0.2z_2 =y_1\ 0.3x_1+0.2y_1+0.5z_1=z_1 \end{cases}$$
⨋ρ:
You micalculated your expanded matrix
Yeah
Reducing the expanded matrix gives you a basis of eigenvectors for the eigenvalue 1 then if that's what you asked
I'm genuinely confused
How did he get this
After taking the determinant of that
I didn't get = 1
got a bunch of $\cos{\phi}^2 + ....$
⨋ρ:
He takes out the -(R + scos phi) from the 2nd column and the s from the 3rd because the determinant is multi linear
Then you can expand the resulting determinant against the 3rd row
I get that part, but that means that the determinant should be = 1 right?
Yeah
expand the determinant against 3rd row?
Consider the matrixThe determinant of is the sum of three terms defined by a row or column Each term is the product of an entry a sign and the minor for the entry The signs look like thisA minor is the 2times2 determinant formed by deleting the row and column for the entry Fo...
ty
weird
didn't get 1
got $cos^2\phi cos^2\theta+cos^2\phi sin^2\theta+sin^2\phi sin^2\theta+sin^2\phi cos^2\theta$
⨋ρ:
correct
thats also $\cos^2(\psi)(\cos^2(\theta) + \sin^2(\theta)) + \sin^2(\psi)(\sin^2(\theta) + \cos^2(\theta))$
oumid:
np
as a side note these matrix are called rotation matrix
you can compute A^2 you'll get the identity matrix
so their determinant are either 1 or -1
is there a website where i can bury myself in linear algebra problems?
Uhm, @lyric sphinx how does this work? I want to find an expression for the amount of cars in the city after n days
do I just simply multiply them in?
meaning that the amount of cars after n days is given by $$\begin{pmatrix}40^{n+1}(-1)^{n+1}\40^{n+1}+4.5^{n+1} (-0.5)^{n+1}\ 40^{n+1}-(4.5)^{n+1}+0.5^{n+1}\end{pmatrix}$$
⨋ρ:
I dont get quite get your working
but if you have $X_{n +1 } = A X_n$ where $X_n = (x_n , y_n , z_n)^{T}$
oumid:
then $X_n = A^n X_0$
oumid:
if you have $A = PDP^{-1}$ you can easily compute $A^n$
oumid:
I'm supposed to write $$\begin{pmatrix}30\60\30\end{pmatrix}$$ as a linear combination of the eigenvectors and then find an expression for the amount of cars in the city after n days
⨋ρ:
I set that the in the beggining $$\begin{pmatrix}x_0\y_0\z_0\end{pmatrix}=c_1v_1+c_2v_2+c_3v_3$$
⨋ρ:
Which I later found out to be $$\begin{pmatrix}x_0\y_0\z_0\end{pmatrix}=40v_1+15v_2-5v_3$$
⨋ρ:
and since $$\begin{pmatrix}x_{n+1}\y_{n+1}\z_{n+1}\end{pmatrix}=A\cdot\begin{pmatrix}x_n\y_n\z_n\end{pmatrix}$$
⨋ρ:
then I did what I first sent you
think its good then just check your calculations because $2 \times (0.5)^{n+1}$ isnt $(-1)^{n +1}$^
oumid:
think its good then just check your calculations because $2 \times (0.5)^{n+1}$ isnt $(-1)^{n +1}$^
```Compile error! Output:
! Missing $ inserted.
<inserted text>
$
l.11 ...$2 \times (0.5)^{n+1}$ isnt $(-1)^{n +1}$^
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
wym
thanks again
what does "row of zeros" mean?
matrix R will have atleast 1 row of all 0's? in any row?
Yes
matrix R of some square order, must be an identity matrix or just have a row of zeros in any row ?
i think i get what it's saying but i dont know why that's significant
Alone, it isn't lel. One might say it's obvious
But following it, you'll have theorems based on how many zero rows there are
Those are important
And np! Feel free to ask if you have anything else
You can give the null space without giving a basis
For example, the null space of the zero matrix is the whole space
Regardless of dimensions and bases
i have a midterm of linear algebra 2 tomorrow 
damn good luck to you
the closer i get to the exam timewise , the more depressed i am

I would argue that you will always present the null space as a basis. Finding that basis is the same process
@sage mantle
Heyo, did you have a question?
yes but they it's actually multiple ones which is why i thought that it would be better to ask you per private message whether it'd be okay with you if i ask them to you privately and if you have time/you don't mind. I decided to change for the best and become more active in my studies but since it's quite a recent change , i have a lot of troubles ^^
Well, feel free to ask them here, if you'd like. That way if I'm not active, you might still get answers
i've been trying to understand how to compute the kernel a matrix and the basis using the kernel of a matrix but i don't really get it x.x
Have an example by chance?
whats a good way to visualize null space?
@sage mantle
You want to solve
[1 1 1 | 0]
[1 1 1 | 0]
[1 1 1 | 0]
isnt there a diagonal of 0's?
As this will give you the vectors, that when passed through M + I, gives you the zero vector
but how would you solve that?
It's not consistent, so you'll need to solve with row reduction
my matrix is :
[0 1 1 | 0]
[1 0 1 | 0]
[1 1 0 | 0]
M + I
It's worth taking a step back and seeing what's actually going on here. We're solving this system:
[1 1 1] [a] [0]
[0 0 0] [b] = [0]
[0 0 0] [c] [0]
We want to know what vectors we can pass through our matrix to get the zero vector. That's what the null space is!
If we carry out that matrix multiplication, we get one important line:
a + b + c = 0
So that's the rule. If each of the entries of our vector sum to zero, then M + I will map it to the zero vector
This is just getting the idea of the rule that puts a vector in the nullspace
Now, if I hand you a vector, you can easily tell me if it belongs in the nullspace
So we're half-way there so to speak.
isn't there infinite answers for a + b + c = 0
We can describe the nullspace itself with its own basis. Take our equation:
a + b + c = 0
Only one of these two variables are fixed.
a = -b - c
Which means we can write this vector space as:
[-b - c]
[ b ]
[ c ]
We can write that as:
[-1] [-1]
[1] b + [0] c
[0] [1]
And thus those two vectors are a basis for the nullspace
what do you mean by fixed variables?
You're right that a + b + c = 0 has infinite solutions. Since it's one equation with three variables, (3 - 1 = 2) two of them are free, and the fixed one will be written in terms of the other two.
so we can choose which ones are fixed?
Yes. No matter which, you'll get an equivalent basis
okay so if my teacher asks me what is the kernel of this matrix
then i give those two vectors right?
Yes yes
To summarize:
We developed a rule that a vector belongs to the null space if its entries sum to zero
[-b - c]
[ b ]
[ c ]
Describes all of those vectors
That set of vectors is spanned by
[-1] [-1]
[ 1 ] [ 0]
[ 0] [ 1 ]
Since the basis has two vectors, the nullspace is 2 dimensional
i see , so kernel = the vectors and basis = the dimension?
Kernel is a vector space made of the vectors that your matrix will map to zero.
Every vector space can be described with a basis which is a set of vectors that span the entire space
i see , so the teacher won't really ask me for precisely for the kernel but rather for the basis?
They'll ask you for the kernel by having you state the basis of that kernel
Np. Feel free to ask if you have anything else!

@half ice when i do the row reducted echelon form , is my goal to get a row full of zeros? because i feel like i could get an identity matrix in the third question
@frosty pewter for part (a) you have to notice that if Bv = 0 then (AB)v = A(Bv) = A0 = 0
And part (b) is similar
do inverses of a matrix only exist if the matrix is a square order?
how would you answer exercice 5 question 1 ? i would compute the eigenvalue and then see if the eigenvector of one of the eigenvalues is a multiple of the u1 but since they asked about the eigenvector first , it looks like i fucked up the order
@sage mantle , calculate Su_1
It should be like this:
$S \cdot u_1 = \lambda \cdot u_1$
Patrick Salhany:
By calculating it, you find λ and answer the second part of the question
@sage mantle
i see thanks
Welcome
howwwwww
Can you prove (3=>4)?
no .-.
What is the sign after prove that in exercise 3 question 1?
$\chi_C$
Ann:
well since you're going to use it in part 2
i guess it makes sense for you to compute it
Okay i See
For the second question exercise 2 , I found that the rank is equal to 1 but for the dimension , it depends on which n*n we are working on so how am I supposed to answer? I wanted to use the rank nullity theorem. Maybe I misunderstood since I don’t know what to do with the second part of the question
@sage mantle you can use rank nuity theorem the dimension depends of n
Well should I just show them for n=2 and n=3 and explain that the dimension depends on n
give the dimension in terms of n
It would be R^n-therank
Like if it’s a 2*2 matrix , the dimension of the eigenspace is 1
3*3 = 2
And so on
Is the trace the eigenvalue for symmetric matrices?
Think of the diagonal matrix yatori
Questione
Now contraction in V∗⊗V,is defined by the rule v∗⊗v↦v∗(v)
How rigorosuly spoken was this?
Not all elements of V∗⊗V have the form u*⊗v so that's why it doesn't seem entirely rigorous. It does definr a function exactly but that's slightly a posteriori right?
Sorry Annn, I'll try fixing it
i mean like
you know that to define a linear transformation it suffices to say what it does to a basis on its domain
right
Yrah that worka
this isn't exactly that but it's similar
Yeah
I just realized my confusion was pretty stupid
I was thinking which elements of V*⊗V cant be represented as just u*⊗v. And can that even happen?
Of course. I just have to think in terms of matrices and ranks and everythongs pretty clear i think
Thanks, nice to see you back btw!!! Even though it's been a while

help? (my bad if its the wrong channel bc the problem is apart of my linear unit )
if a question askes to find the dimensions of null, col and row space is it assummed to find the bases of them first?
not necessarily, they exist independent of their bases
ty
but they would probably be easiest to describe in terms of some basis
If asked not to find the basis wouldnt it just be the rows for row and the span of the matrix
meant to ask the non bases case
https://gyazo.com/9d8b5d3539768c2ed45ba77405011f77
Fin an element Y in V that is not in W
confused as to how something could be in V and not W if they are equal
2
how'd you arrive at that
it has 2 matrices stored in it
can you find a basis of V?
that would give you the dimension for sure
(mind that V itself is a subspace of a 4-dimensional vector space)
(namely that of all 2x2 matrices)
oh vV is a vector space os f 2x2

so let me make sure
you're claiming the dimension of V is 2
let M1 = [ 1 0, 0 0 ], M2 = [ 0 1, 1 0 ], M3 = [ 0 0, 0 1 ]. these are all matrices in V.
find me a nontrivial linear combination of these which sums to zero.
is V an arbitrary Matrix in this case?
no, V isn't a matrix
V is the vector space defined in your question
that is, the space of all symmetric 2x2 matrices
So if we talk about the vector space of a matrix do we have to prove the properties of a vector space using the matrix as a vector?
yes, if I understood the question right
you can think of matrices as vectors rearranged into a square for all intents and purposes
(but unlike other kinds of vectors there’s a multiplication on the space of matrices, so they’re special in that regard)
?
(in abstrac algebra terms, matrices form both a vector space and a ring)
ring?
ok i think i get it more now basically W is a section of V so creating a symetric matrix that would be outside one of the given span matrix?
a ring is basically a generalization of the structure of ℤ: a set on which you can add and multiply, but not necessarily divide
wdym by "section"
nico, if you want me to detail this further, let’s move to #groups-rings-fields
so as to not interrupt ann and avocado
W is a subspace of V indeed.
I'm fine I have a test in lin soon so I'm trying to understand concepts of lin here
but the important thing is that you understand that dim(V) is not 2 @summer dagger
I kinda feel like it’s not the worst idea to explain what it means for the matrices to form a vector space, the ring bit is just interesting extra info
um i honestly don't know what the dim(V) would be
nah i'm just slow af
That's the weirdest basis ever xd
it's not the simplest one you could think of yeah
it’s the second simplest tho :P

to get that basis did you think of it in terms of the values being diagnoal of eachother so when you take the transpose
To think of that basis you think of how a symmetric 2x2 matrix looks like
a b
b c
it’s actually pretty easy to prove that this is a basis:
the space of 2x2-matrices has dimension 4, this set is linearly independent, not all 2x2 matrices are symmetric. therefore this must be spanning
And then you write a matrix for each of the entries a, b, c so that you may express this as a linear combination
(how do you write your matrices)
?
Fancy
So ig the ansewr to my question would be
5 1
1 1
ty
Is this correct?
dim(Col(A)) is the number of pivots columns since Col(A) is the span of the column vectors of A
sounds right
The linear combination of column vectors of A will reduce dependent column vectors
?
I'm still trying to grasp this concept of dim
oh yea what I wanted to elaborate on:
you can add matrices, and you can multiply them with scalars; those operations behave how you’d want them to (with things like distributivity); you can check that quickly by noting that e.g. you can simply view a matrix as a rearranged column vector; the way you write it doesn’t affect how the operations work
This means the set of matrixes (of a given shape) are a vector space
matrix multiplication doesn’t play into the vector space structure, it’s an additinoal thing you can do with matrices
In most contexts you can read dimension = degrees of freedom
not sure what you mean with “reduce dependent column vectors”
That is why the space of symmetric matrices had dimension 3
You have 3 entries with which you can play around
The fourth one is fixed by the matrix being symmetric
also mind that a set doesn’t have a dimension yet, the column space is the subspace generated by (spanned by) the vectors in the columns
since the number of basis vectors in the column space of A will be the dim(Col(A)) any redundant column vectors will be "discarded"
discarded in order to turn the set into a basis, yes
you can write each of those redundant vectors as a combination of the pivot ones
which should be easy to convince yourself of
just start with the last one, multiply it to get the last coordinate right. then add the penultimate one in the right amount of times to get the second-to-last coordinate right, etc
In the "degrees of freedom" point of view that means that whatever you could do with the vectors you remove, you can do with the remaining vectors anyway
nice and the dim(Col(A)) = dim(row(A)) since the number of pivot columns = number of pivot rows
if f is a linear applicaion : E -> F , rank(f) <= dim(E)
I think it's true, is that right ?
yes
I just wanted a confirmation
But for a different reason
bcs it's linear the base of im(f) is the im of the E base right ?
Exactly
Well
It's not a basis
It's a spanning set
That's why the dim is lower or equal and not just equal
I think this is something super basic that I've missed somewhere but
[-1-i -2
1 1 - i ]
apparently gives
x = [ 2
- 1 - i ]
I don't understand what the x is
uhh so apparently
okay so the context is
?
why is my text getting deleted
A = []
@dreamy coral #prealg-and-algebra
apologies, lemme get paint
i'm trying to get A's eigenvectors
and one of the eigenvalues is (2+i)
and when I do A - (2+i)I
I get
and from that, apparently I can know that the eigenvector is
but I don't know
where that vector came from
I am assuming (-1-i)a + (-2)b = 0 and (1)a + (1-i)b = 0 will give me a=2 and b=-1-i
but how
is there a way to cross eliminate that I'm not seeing
(you can multiply by complex numbers yk)
yk?
yk : you know
$$\begin{cases}(-1-i)a - 2b = 0 \ (1+i)a + (1-i)(1+i) b = 0\end{cases}$$
emeric75:
oh no im dumb
that's a way of cross-eliminating dope
still not sure
oh
since the first can be interpreted as
(1+i)a + 2b = 0
i can substitute (1+i)a with -2b
if you want ye
or you can just do gaussian elimination
$$\begin{cases}(-1-i)a - 2b &= 0 \ (1-i)(1+i) b -2b &= 0 : L_2 +L_1 \to L_2\end{cases}$$
(but for 2 by 2 system whatever)
emeric75:
(and (1+i)(1-i) is just 2)
$$\begin{cases}(-1-i)a - 2b &= 0 \ 0 &= 0\end{cases}$$
emeric75:
💤 good night (or whatever)
is there a trick for creating a idempotent matrix?
you can take the matrix of any projection
[ -4i -4
1 -4i ]
how do you find a non-zero eigenvalue for it? (It's already in A-λI form)
in dimension 2 any matrix has exactly 2 complex eigenvalues
and the trace of the matrix equals the sum of these eigenvalues
uh
OH
sorry eigenvector
eigenvector
😭
not eigenvalue, eigenvalue is 4i, hence why it's -4i in the given matrix
solve for X the equation AX = 4iX
alternatively if you have an eigenvector for 0, you can take any other vector such that these two form a basic of C^2
C^2?
and it will be an eigenvector for 4i because the matrix is diagonalizable
diagonalizable?
$\mathbb{C}^2$
oumid:
shoot wait i don't think i know those terms
diagonalizable means that the direct sum of the eigenspaces spans the whole space
wym
i don't get it
whats ur definition of eigenvectors
wait
the coordinates in space that will multiply by a scalar no matter how many times the space is stretched by a given transformatio matrix
i think
oh
an eigenvector X for an eigenvalue lambda of the matrix A is a non zero vector such that AX = lambda X
okay
i am getting something strange
okay so the original matrix is
0 -4
1 0
and the eigenvalue turn out to be (if i am correct)
+4i and -4i
but both are giving me
0
0
the eigen values are $\pm 2i$
oumid:
If w is not in Span{v1, v2, v3} and {v1, v2, v3} are linearly independent, then
{v1, v2, v3, w} is also linearly independent
Is this true b/c there is no combination of v1,v2,v3 that makes w
it's true
i know how to diagonalize the symmetric matrix corresponding to the given quadratic form, but how do i find the angle alpha?
i feel like i can do it in reverse
so i diagonlize first, get my new bases, then do change-of-coordinates from the new bases to the original x,y bases of the point farthest away along the major axis, then do arctan(y-coordinate/x-coordinate)
does row reducing change what my determinant is
in general, yes. but you can keep track of exactly how it is changed by each row operation


