#linear-algebra

2 messages · Page 71 of 1

dusky epoch
#

or rather, construct a candidate for the inverse, then show that it is indeed the inverse as required

leaden wyvern
#

What’s the best linear algebra textbook

wild pagoda
#

I just need to quickly make sure I'm not being dumb here

#

If V and W are vector spaces and V \neq W and V \subset W, does V neccisarily have fewer basis vectors than W?

#

I believe so

#

@leaden wyvern linear algebra done right?

leaden wyvern
#

Wdym

dry spear
#

so first I found a vector normal to the normal of H

#

then did the point normal eq with a point on L

#

by normal to the normal I mean, I found the normal vector of H, which is parallel to R, then found a vector normal to that, which is normal to R

wild pagoda
#

can someone help me verify part b of this problem

#

I think I'm right

#

but I'm less confident than I was 2 minutes ago

#

@leaden wyvern that's the name of the book

radiant meteor
#

How do they get a negative in front of xsin(theta)

#

for w_3 for the counter clockwise rotation about the y-axis through angle theta

#

I tried doing it but my signs are messed up

#

maybe the XZ plane

#

cause that looks like the angle they have listed

#

errr

#

I think it is xz

#

Am I just supposed to memorize this lmao

cursive narwhal
#

@wild pagoda Try proving that. You’re saying that if V and W are both vector spaces over the same field such that $W \subset V$, then $\dim(W) < \dim(V)$. Try proving the truth of that assertion.

stoic pythonBOT
broken hawk
#

Am I just supposed to memorize this lmao
if you look at it for like five seconds you’ll notice that it’s just a 2x2 rotation matrix (which you should definitely memorize) embedded into a 3x3 matrix with the remaining bits filling it up to an identity matrix). the only tricky bit is the signs, which you can derive e.g. by setting the angle to 90 degress and checking where the basis vectors should be taken @radiant meteor

#

e.g. Ry(π/2) should take
(1,0,0) ↦ (0,0,1)
(0,1,0) ↦ (0,1,0)
(0,0,1) ↦ (-1,0,0)
so the three vectors on the right here should be the columns of the rotation matrix Ry for θ=π/2
which tells me that they messed up either the signs in the formula, or the direction of the arrow in the image

stoic pythonBOT
cursive narwhal
#

"f vanishes at a given point in S" seems to indicate that there exists an element s in S such that f(s) = 0.

#

Also, why introduce L? Is there more context behind the question? L seems to have come out of nowhere, as far as I can see.

#

S has just been stated to be some set. You can't assume it's a linear space.

#

$F(S) = {f: f: S \to K }$

stoic pythonBOT
cursive narwhal
#

Uhhhh memey notation

#

But it's the set of functions that map some element of S to some element of K, where K is known to be a field.

#

I would assume that you could turn it into a vector space over the field K. I mean, it hasn't been stated in the question so maybe it's from previous context.

stoic pythonBOT
cursive narwhal
#

I suppose but not really, because linear transformations are usually spoken of when you're talking about functions between vector spaces over some field. Here, S is arbitrary.

#

Uh what text is this?

#

Okay yea, so going by what kostrikin previously said, you can do it if you assume that S is a linear space, as opposed to just an arbitrary set. In that case, yea, you can just do what he asks you to do in order to check linearity.

#

There'd be few other ways to interpret 'which of the following conditions are linear'. Unless there has been anything said in particular about this beforehand, it's safe to assume that he's asking you to consider the linearity of a subset of F(S) that is defined by the given conditions.

swift plaza
#

the way i'd interpet it is: if f,g are functions that satisfy the condition and c is a scalar, do cf and f+g also satisfy it

cursive narwhal
#

Hm

#

Okay yea maybe that's what he meant

fierce silo
#

Never mind thanks!!! I figured it out I guess

#

Do I use Cos (angle) times the area of the base which equals to the Volume?

#

I isolate for Cos and get the angle...

gray dust
#

h=w-(vector projection of w onto the plane spanned by u & v)

fierce silo
#

oh thanks!

dry spear
#

ik that a b c are column vectors with 3 elements in each

#

but what does the det tell me about them

hollow ridge
#

quick question

#

can i use either rref or ref for basis?

vast torrent
#

@hollow ridge that question doesnt make sense, what do you mean?

hollow ridge
#

does it matter whether you use ref or rref to find a row basis?

#

or column

vast torrent
#

I think you're asking

#

Well

#

A basis for what?

hollow ridge
#

row/column space

vast torrent
#

Doing e.r.os on a matrix changes its r/c space

hollow ridge
#

e.r.os?

vast torrent
#

Elementary row operations

hollow ridge
#

oh

#

well the book examples use ref and the problems back answer resulted in rref

vast torrent
#

well row operations change the column space

#

book examples of doing what, can you take a picture?

hollow ridge
#

And here I got this

vast torrent
#

ah okay for the row space, row operations don't change the space

#

but the row space is much less important than the column space

hollow ridge
#

Hmm ok

vast torrent
#

so you can use either ref or rref to find a basis for the row space

#

now, for the column space, the more important one

#

e.r.o.s can show you how the columns are linearly dependent, if they are

#

if in row echelon form you see that col1 = 2 col2 - 5col3

#

then in the original matrix col1 = 2lo2-5col 3

#

so you can use that information to go back to the original matrix and delete the extraneous columns and get a basis for the column space

hollow ridge
#

Lemme work on the last problem of the row space and I’ll let you know what happens when I get to column.

hollow ridge
#

#23

#

Am I doing this right?

#

It’s different than the back book answer

#

@vast torrent

vast torrent
#

I don't know what that set is supposed to be

hollow ridge
#

there are two methods

#

but anyways i think im right

vast torrent
#

if that's a correct ref then that's a correct choice of basis

#

what's the book's answer?

hollow ridge
#

they use transpose

vast torrent
#

,w is span {(1,0,5/9,2/9),(0,1,-4/9,2/9)} = span {(2,7,02,2),(-3,-6,1,-2)}?

stoic pythonBOT
vast torrent
#

no I meant sideways

#

,w is span {(1,0,5/9,2/9)^t,(0,1,-4/9,2/9)^t} = span {(2,7,02,2)^t,(-3,-6,1,-2)^t}?

stoic pythonBOT
vast torrent
#

D:

hollow ridge
#

uh

#

i was following my prof's note

#

i think t should be T

#

A^T

vast torrent
#

{transpose(1,0,5/9,2/9),transpose(0,1,-4/9,2/9)^t} = span {transpose(2,7,02,2),transpose(-3,-6,1,-2)}?

#

,w span {transpose(1,0,5/9,2/9),transpose(0,1,-4/9,2/9)^t} = span {transpose(2,7,02,2),transpose(-3,-6,1,-2)}?

stoic pythonBOT
vast torrent
#

whatever

hollow ridge
#

Wait I am so confused..

#

Books answer is 1,2

#

But I got .5, 1

ivory tulip
#

What is the easiest way to determine if a linear system is triangular?

wintry steppe
sonic osprey
#

Do you understand why this is true intuitively? (think about matrices)

wintry steppe
#

So every matrix can be considered as a linear transformation and since matrix spaces have m*n bases, the space L(V,W) has dimension mn?

#

this is my intuition so far

#

@sonic osprey

sonic osprey
#

yes

wintry steppe
#

oh

#

ok then

#

the proof was kinda hard to follow, but i guess they were trying to be rigorous

sonic osprey
#

yeah, depends what the proof is I guess

vast torrent
#

So every matrix can be considered as a linear transformation and since matrix spaces have m*n bases, the space L(V,W) has dimension mn?
@wintry steppe its true that every matrix M has a linear transformation $v \mapsto Mv$. What's more interesting than that is that every map in $L(V,W)$ can be represented as a matrix

stoic pythonBOT
wintry steppe
#

wait even for transformations like derivatives and integrals

vast torrent
#

well yes if you're in a finite dimensional case

#

so for example

#

let's take the space of polynomials with the basis ${1,t,t^2,t^3}$

stoic pythonBOT
vast torrent
#

and another space with the basis ${1,t,t^2}$

wintry steppe
#

ok

stoic pythonBOT
vast torrent
#

then the operator $v \mapsto \int_0^x v , \dd t$ is a linear operator from $\text{span}(1,t,t^2) \to \text{span}(1,t,t^2,t^3)$

stoic pythonBOT
wintry steppe
#

ohhhh

vast torrent
#

however if you consider the space of "all integrable functions"

#

that's infinite dimensional

wintry steppe
#

and the matrix would be 4 by 3

vast torrent
#

yeah so

#

you can actually figure out what it would look like if you use the bases I chose

#

so like

#

I should have said $v \mapsto \int_0^t v , \dd x$ to keep it t but it doesnt matter

stoic pythonBOT
vast torrent
#

$1 \mapsto t$ obviously

stoic pythonBOT
vast torrent
#

$t \mapsto \frac 12 t^2 = 0 + 0t + \frac 12 t^2 + 0t^3$

stoic pythonBOT
vast torrent
#

so you see now the coefficients

#

1/2 t^2 is like a vector (0,0,1/2,0)

#

neat, right?

wintry steppe
#

what about the C?

vast torrent
#

I chose a definite integral $\int_0^t$

stoic pythonBOT
wintry steppe
#

oh ok

vast torrent
#

to avoid that problem

wintry steppe
#

ok so the matrix would look like this : {0,0,0}, {1,0,0}, {0,1/2,0}, {0,0,1/3}?

vast torrent
#

if you mean those rows stacked on top of each other then yes

wintry steppe
#

yeah thats what i mean

#

ok so in this case what is the basis of the transformations from space 1 to space 2

#

there should be 12 basises

#

oh wait

vast torrent
#

what do you mean

wintry steppe
#

nm i get it

vast torrent
#

you can have {4,t^2+t^3, t-t^2,t} and that's probably a basis for the same space

#

unless I accidentally chose a linearly dependent set by me picking random numbers that is

wintry steppe
#

the set of all transformations for the first space to the second space would have 12 basis's because every transformation can be represented by a 4 by 3 matrix

vast torrent
#

but there are infinitely many bases

wintry steppe
#

im talking about transformations from {1,t,t^2} to {1,t,t^2,t^3}

#

the integral is one of them

vast torrent
#

oh you want a basis for L(span(1,t,t^2),span(1,t,t^2,t^3))?

wintry steppe
#

yeah

vast torrent
#

no idea

wintry steppe
#

well since i can represent all of those tranformations with a matrix

#

it would just be the basis of the matrix space

vast torrent
#

well in matrix form you can make a basis for the matrices

#

but to say in function form what elements of a basis are for L(span(1,t,t^2),span(1,t,t^2,t^3)) I have no idea

wintry steppe
#

oh ok

#

this integral transformation is not invertible right?

#

wait it has to be

#

because the derivative is the inverse of the integral

#

i thought only square matrices had inverses

vast torrent
#

the domain and codomain aren't the same dimension

#

a derivative will kill the highest power of t

#

that's the problem with limiting ourselves to a finite dimensional case with polynomials, you cant have a square matrix here

#

of integrals

#

of derivatives you can but it wouldnt be invertible

wintry steppe
#

but for infinite dimensions, this isn't a problem?

vast torrent
#

lots of cool stuff happens in infinite dimensions but not with matrices

#

there are infinite dimensional things similar to matrices that I don't know how they work

#

at least for countably infinite bases

#

so having the domain be one more than the codomain doesnt matter if the bases have infinite cardinality

wintry steppe
#

ok

vast torrent
#

anyway good night

wintry steppe
#

ty

sonic osprey
#

yeah, you should focus on finite dimensional stuff for now

#

it becomes harder in infinite dimensional cases, because some things don't transfer over

#

Functional analysis is kind of the study of infinite dimensional linear alg

broken hawk
#

maybe I missed it somewhere but the integral operator isn’t surjective; span(1,t,t²) doesn’t hit all of span(1,t,t²,t³) but only span(t,t²,t³); seems kinda relevant to mention here

pallid rampart
#

Wait the integral operator on a vector (function) $f$ is defined by $\int_0^xf$ right?

stoic pythonBOT
vast torrent
#

So you're saying if we go from span(1,t,t²) to span(t,t²,t³) it would be invertible @broken hawk ?

#

I suppose that's true but the matrix representation would lose the connotation that the domain and codomain are different

sonic osprey
#

@pallid rampart they're talking about vector space of polynomials

#

Not L^p

vast torrent
#

@wintry steppe do you see @Sascha's point

#

(1,0,0) in the domain would represent a different object from (1,0,0) in the codomain

#

But if you were willing to live with that loss of information you would indeed have an invertible square matrix

broken hawk
#

well, I’m not explicitly saying that; it’s true though :P

#

I’m just saying that there are no constant functions in the image of this operator

#

(except 0 ofc)

vast torrent
#

I don't think it's worth it

#

I didn't mean to imply it was surjective,it just felt right to have the domain be a subspace of the codomain here

pallid rampart
#

Yeah still

#

@sonic osprey you'll need a bound, or else you have a family of functions instead of a single function

broken hawk
#

they did

#

integral from 0 to t

sonic osprey
#

Sure

wintry steppe
#

How do you work out paralel and perpendicular lines

#

Eg

#

Find the equation of the straight line passing through the point (,) which is perpendicular to the line y=3x+2

#

Wont say the coordinates for no ban

wintry steppe
#

not linear algebra bro

#

@wintry steppe

gray dust
#

it's probably easier to look up the definitions of span & subspace rather than have someone regurgitate them

cursive narwhal
#

Wait wtf someone deleted my message?

cold topaz
#

What's the difference between ||Proj A u || and Proj A u?

pallid rampart
#

Does ||Proj A u even make sense?

cold topaz
#

sorry

#

fixed it

pallid rampart
#

is Prof A u the orthogonal projection of u onto A?

gray dust
#

sm crossposted to another server, it's already answered

fossil mortar
#

So I have this problem:

#

A used car salesperson is paid a commission of $25 plus 40% of the selling price in excess of owners cost. The owner claims that used cars typically sell for at least owners cost plus $200 and at most owners cost plus $3000. For each sale made, over what range can the salesperson expect the commission to vary?

#

And according to a website this is how it's done: 25+1.4(200) <= commission <= 25+1.4(3000)

#

But I don't get why its multiplied by 1.4 and not .4 considering .4=40%

#

Im assuming both the 200 and 3000 are equal to the min and max "excess" meaning: (selling price)-(owners cost),

vast torrent
#

What's the dim of a map?

#

You mean rank?

#

Ah

#

Nullity

#

ν (nu) for short

ionic dust
#

can someone explain to me why are the two unit vectors divided by 2?

void relic
#

unit vectors mean the length is 1, but the length of a column in A is sqrt(1^2+1^2+1^2+1^2)=2, so you gotta divide by 2

ionic dust
#

OH

#

It's u = (1/|v|) * v

void relic
#

ye

ionic dust
#

thanks

#

Im working my ass off now since I'm failing linear algebra 😅

ionic dust
#

the definition of a kernel is a subset of all vectors that equal 0 correct?

slow scroll
#

set of all x such that Tx = 0

ionic dust
#

the transformation

half ice
#

T transforms vectors.

The Kernel of T is the set of vectors that become 0 after T transforms them.

ionic dust
#

the way you phrase it sounds much more easier

#

the projv(x) is parallel to the subspace V

#

if that transformation is 0

#

x is perpendicular since the dot product of just x with T(x) = 0?

slow scroll
#

so the question its asking is when is proj_V(x) = 0?

half ice
#

That's exactly it, when x is perpendicular to V

ionic dust
#

the question wants me to describe the kernel and image

half ice
#

That's a perfect description of the Kernel. Understand the image?

ionic dust
#

What I've read about the image is that its the set of linearly independent vectors that can be used as building blocks to make other vectors in the vector space

#

although, I have a hard time wrapping my head around that definition

#

It reminds me of the span]

half ice
#

No, that's a basis

ionic dust
#

oh yeah

half ice
#

The image of T is the vectors that T can possibly make.

#

The possible outputs of T, if you will

ionic dust
#

the set of all possible outputs of T

#

is that why its called the image?

#

the set of all those vectors of a transformation is literally an image on a coordinate plane?

half ice
#

I couldn't tell you lol. It's a very common name for the possible outputs of a function, you'll get very used to the term "image"

ionic dust
#

okay

#

i'll take my time with it

#

I think I'm going to have to retake the course, but I've made my peace of mind with that possibility

#

and i'll definitely be spending more time in here to make up for it.

#

not a bad thing.

half ice
#

You're doing fine! These terms do take some time

ionic dust
#

a lesson learned

shy atlas
#

ah my handwriting

half ice
#

Yes. In fact that's a pivot.

shy atlas
#

what r u srs ??

half ice
#

You can reduce that 5 and 3 out

shy atlas
#

what if this happens to be an augmented matrix

#

that 1 would count as the constant term right ?

#

yet its still a pivot ?

#

thonk thonk

#

hello ? sadcat

#

fine ok its a pivot

half ice
#

It's a pivot of the matrix. That may not be useful to your system though

ionic dust
#

not exactly sure what this means

half ice
#

Which?

ionic dust
#

the solution

#

where did they pull out the inequality from

#

for projL(x) <= magnitude(x)

half ice
#

They did kinda pull it out of nowhere

#

With the way the question is set up, the vector x will end up being a hypotenuse, which is always longer than the base.

ionic dust
#

and the only time a hypotenuse will ever be the length of one of the legs is if we project the hypothenuse to any of the legs

fossil mortar
#

Anyone know how to do this? I'm so lost rn

gray dust
fossil mortar
#

oh my class is called linear alg xd

#

But tyty

restive hound
#

Can I say span is the basis of column space?

#

Would that be correct?

broken hawk
#

no

dusky epoch
#

no

broken hawk
#

span is applied to a set of vectors
column space is a concept related to matrices
and the span of sth is a (sub)vectorspace

restive hound
#

But isn't column space the pivot columns of the original matrix after rref. So then isn't it the set of linear indepedent vectors such that it's basis is the span

sonic osprey
#

it honestly feels like you're just throwing a ton of linear algebra words together

#

"it's basis is the span"

#

doesn't really make any sense

#

the span of a set of vectors is always going to be linearly dependent, and so cannot be a basis

restive hound
#

? If they're linearly dependent how do can they span?

#

Don't they have to be linearly independent

sonic osprey
#

no

#

you can consider the span of any set of vectors, not just linearly independent ones

restive hound
#

So
Basis - the set of vectors that generate the set of all vectors of some subspace
Span - a set of vectors that generate a subspace
?

dusky epoch
#

no

sonic osprey
#

You should think of span as a function that takes in a set of vectors and outputs all the vectors that can be formed as linear combinations of the vectors you inputted

restive hound
#

Oh

#

Then how would u define basis?

sonic osprey
#

like you said, but a basis also has to be independent

restive hound
#

Oh

#

So basically

#

The difference between the set of vectors in a span and a basis is that a basis must be linearly independent but the spans set doesn't

dusky epoch
#

no

#

it honestly feels like you're just throwing a ton of linear algebra words together

restive hound
#

?

sonic osprey
#

okay for one, you meant to say independent

restive hound
#

Oh oops

#

Typo

sonic osprey
#

and no, there's are a lot more differences

#

the span of a set of vector is a vector subspace

#

and you should know all the properties that brings

#

that adding any two vectors is still in the subspace, and scaling any vector is still in the subspace

#

a basis is just any set of vectors, with none of these properties that I just described

restive hound
#

But they're linearly Independent right

sonic osprey
#

yes

ionic dust
#

Does anyone know how the simplex method works?

#

For linear programming problems how do we decide which variables to switch when making a new basis

dusky epoch
#

ok so

#

what is your linear program stated as

#

i'm going to assume it's "minimize <c,x> subject to Ax = b and x ≥ 0"

ionic dust
#

Our question primarily asks

dusky epoch
#

if it's not stated like that, we might have some difficulty communicating

ionic dust
#

and I can provide the matrix if you'd like

dusky epoch
#

why don't you show me the entire problem exactly as stated.

ionic dust
#

it is stated like that

dusky epoch
#

superb

#

ok so

#

you have your basic feasible solution x and your dual vector u

#

and your optimality condition is uA - c ≤ 0

#

so among the positive components of uA - c, you select the greatest

#

that's your entering variable

#

...if i didn't fuck this up somehow

#

hold on

#

yeah

#

uh. hm

#

maybe i can't explain this all that well because of all the fucking terminology that i keep having to translate on the fly.

ionic dust
#

It's okay

#

If I have any other questions that can maybe specify it further I will let you know

restive hound
#

Why is an invertible matrix plus the identity matrix not invertible?

void relic
#

you mean why it sometimes isn't invertible?

restive hound
#

Oh

#

So if A is negative identity matrix

#

Then it wouldn't be invertible

#

For example

void relic
#

right you wouldn't check the box

polar imp
#

hi all - im working through a problem where the author talks about projecting a vector onto the null-space of the Jacobian matrix corresponding to some multivariate function. im wondering if anyone can help provide some sort of intuition as to what this means, geometrically or otherwise?

slow scroll
#

@polar imp I believe it’s the component of the vector which is “level” with the function. By level, I mean the derivative of the function in that component is 0.

quiet moss
#

Why does this give a 2x1 0 vector instead of a 3x1? Is it because the last row is a scaler multiple or because there are only two column vectors?

pallid rampart
charred stirrup
#

how do you imagine this?

#

what if the lines are not necessarily parallel, but skewed

#

this one too

slow scroll
#

It’s not asking about skew lines, it’s asking about parallel lines @charred stirrup

#

Err hmm, what is your definition of parallel?

real wedge
#

Help is appreciated

#

Really confusing me

slow scroll
#

@real wedge do you know how vectors in a T-cyclic subspace are generated?

real wedge
#

Yeah

#

If W is a T-cyclic subspace of V generated by x then W=span(x,Tx,T^2x...)

#

T: V -> V

restive hound
#

Quick question

#

If vector v is in null(A) and if BA is defined, then v isn't necessarily in null(BA) right

slow scroll
#

nope, if v is in null(A) then v is in null(BA)

restive hound
#

Why though?

slow scroll
#

one sec, kiantheboss needs help

restive hound
#

Ok

slow scroll
#

since W=span(x,Tx, ..)
by def, if w is in W, w is a linear combination of vectors in {x, Tx, T^2x, ....}

#

i.e. w = ax + bTx + cT^2x + ....

#

basically its just applying definition of span

#

@restive hound lets say v is in Null(A), then Av = 0
It follows that BA(v) = B(Av) = B(0) = 0 so v is in Null(BA).

restive hound
#

Wait what is B(0)?

slow scroll
#

any linear transformation evaluated at 0 is 0

#

remember: 0 is always in the null space

restive hound
#

Oh, but we didn't learn about transformations

#

.-.

slow scroll
#

matrices too. take A(0) where 0 is any matrix whatsoever

restive hound
#

Oh

#

Also

#

One more question

#

Take two matrices A and B, does 0A + a constant times B = some other matrix count as a linear combination

slow scroll
#

yep

restive hound
#

Ok

#

95% not bad

#

Just finished my test

#

Think that's the only question I got wrong

slow scroll
#

@real wedge did you get 47?

real wedge
#

@slow scroll that explanation was for 47 right?

slow scroll
#

yea

real wedge
#

Yeah I think I got that one, its pretty trivial right?

#

I got it but I was like ehhh this seems too simple

#

48 has really stumped me tho

#

48 im not even sure how to use the hint or why the hint helps us

#

I gtg but i appreciate the help i will be back later

slow scroll
#

alright

slow scroll
#

feel free to ping if you need help later

somber quest
slow scroll
odd kite
#

yup it's the 2nd equation on that page

slow scroll
#

the first blank is some vector orthogonal to the line and the second blank is a vector that lies on the line

somber quest
#

ohhhh thank you

slow scroll
#

u can think about how it works: if you take a position vector $\mathbf x$ on the line and subtract it from any other arbitrary vector $\mathbf a$, the vector $\mathbf x - \mathbf a$ lies on the line and is therefore orthogonal to the same vector that is normal to the line $l$. If $\mathbf n$ is that normal vector, then it follows that $\mathbf n \cdot (\mathbf x - \mathbf a) = 0$ for any $x \in l$.

stoic pythonBOT
somber quest
#

ooohhhh

#

thank you so much!!

slow scroll
#

npnp

real wedge
#

@slow scroll im back

slow scroll
#

hi

real wedge
#

Yo

#

so whats up with 48 lol

slow scroll
#

hmm i thought I saw the => direction but now im not so sure.
Well, starting with the <= direction, do Let U = g(T). You need to show that UT = TU

real wedge
#

yeah

slow scroll
#

in other words, you just have to explain why g(T)T = Tg(T).

#

do you see why?

real wedge
#

im a bit confused by "V is a T-cyclic subspace of itself"

#

oh right

slow scroll
#

any vector in V is a linear combination of vectors in {Tv, T^2v, .....}

real wedge
#

But why doesnt it specify the "generated by ___" part

slow scroll
#

I guess because the particular vector doesn't really matter, as long as its nonzero

real wedge
#

hmm ok

slow scroll
#

since g(T) = aT + bT^2 + cT^3 + ...
Tg(T) = T(aT + bT^2 + cT^3 + ...)
so why should Tg(T) be equal to g(T)T?

real wedge
#

one thing is g(T)(T) = g(T^2)?

slow scroll
#

well no not exactly
g(T^2) = aT^2 + bT^4 + cT^6 + ...
while
g(T)T = aT^2 + bT^3 + cT^4 + ...

real wedge
#

Right

#

Im a bit confused by the notation

#

from what u wrote it makes sense that Tg(T) = g(T)T

slow scroll
#

yea, but why? What are you using to conclude that

real wedge
#

T(aT+bT^2+...) = aT^2+bT^3... = g(T)T

#

cuz T is linear?

slow scroll
#

err close..... basically.... || T commutes with itself ||

real wedge
#

haha i like how u blurred it out

#

k ill think

#

ok well i had to see answer

slow scroll
#

T(aT+bT^2+...) = aT^2+bT^3... = g(T)T works fine as an argument imo.

real wedge
#

ok cool, yeah cuz we have not discussed much about commutativity

#

Ok thats cool, now I guess the => direction utilizes the hint in some way

slow scroll
#

but I mean if you had some arbitrary operator D, obviously
D(aT+bT^2+...) = aDT+bDT^2... = g(T)D
doesn't follow

real wedge
#

Yeah true

#

makes sense

slow scroll
#

unless ur given DT = TD, a hint for the other direction

real wedge
#

Like I just dont really know what to do with UT=TU, like what does this give me to work with?

slow scroll
#

If you have some polynomial g(T), then you can conclude that Ug(T) = g(T)U.

#

Another hint: you want to show that there is some polynomial $g(T)$ such that $Uw = g(T)w$ for all $w \in V$, i.e. the \emph{actions} of $g(T)$ and $U$ are the same

stoic pythonBOT
real wedge
#

right

slow scroll
#

starting from Uw, you can bring T into the mix by representing w as some linear combo h(T)(v) = w.

real wedge
#

and that fact is from 47 right?

slow scroll
#

yes

real wedge
#

ok just to be clear g(T)(v) is g(Tv)?

#

g(T(v))?

slow scroll
#

nope, not true. Just take T to be some linear operator from R to R (i.e. a constant). f(x)a = x^2a != f(xa) = x^2a^2

real wedge
#

f(x)a is f(x) times a???

#

so g(T)(v) is multiplication? hat

#

what

#

Sorry idk why this notation is confusing me

slow scroll
#

well, by choosing some a in R to be my operator, im assuming a basis for R and a would act like a matrix.

Fine, take T to be an arbitrary linear operator on a space V and let g(T) = T^2.
Then g(T)(v) = T^2(v) = T(T(v)) but
g(T(v)) = well uh, actually means nothing here.

#

just think of g(T) as a linear operator itself

real wedge
#

g(T(v)) is literally just g(T) righ

#

right

#

ok so ur saying ignore the v

slow scroll
#

g(T(v)) means nothing. T(v) is not a linear operator, so T(v) is not even in the domain of g

real wedge
#

ok I see what u mean

#

I was just thinking u put a vector in T and then that goes to g

slow scroll
#

u put v into g(T) and that goes to w

real wedge
#

ok

#

yeah

#

So

#

Uw=U(g(T)(v))

#

g(T)(v)= aTv+bT^2v+...

#

U(aTv+bT^2v+...) = aUT+bUT^2+...

#

= aTU+bT^2U+...

#

lol is this something?

slow scroll
#

yeah

#

keep going

real wedge
#

Yay

#

then I guess you can say that equals g(T)(w) but im still trying to figure out why

#

its the notation im trying to wrap my head around again

slow scroll
#

what equals g(T)(w)?

real wedge
#

= aTU+bT^2U+...?

slow scroll
#

yeah ur going to have to be more clear what you are writing here.
aTU+bT^2U+... = g(T)U is an operator, not a vector. g(T)(w) is a vector

real wedge
#

but im trying to show Uw = g(T)(w) right? for all w in V

slow scroll
#

yes. have we confused letters? You just need to show that there exists some polynomial that equals U when evaluated at T. Its not necessarily the same g that gives us w = g(T)(v)

real wedge
#

O

#

oh

#

Wait so im done

#

wait no

stoic pythonBOT
real wedge
#

Right ok

#

g(T)U(v) is just some other polynomial?

#

so youre done

slow scroll
#

its a vector, and no, you are not done.

real wedge
#

Dang it

slow scroll
#

You need Uw = p(T)w for any w in V where p is some polynomial

#

hint: || you should apply the result from 47 again ||

real wedge
#

apply it to U(v)?

slow scroll
#

yep

real wedge
#

so U(v)= p(T)(v) for some other polynomial p?

#

oh

slow scroll
#

yep

real wedge
#

Wait thats what we trying to prove

slow scroll
#

no not yet

real wedge
#

Bruh this is so weir

#

LOL

#

Fail

#

so now we have Uw=g(T)p(T)(v)

slow scroll
#

yep

#

literally two more steps

real wedge
#

polynomial is commutative

slow scroll
#

yesyes

real wedge
#

Uw = p(T)g(T)(v)

#

Uw = p(T)(w)

#

we done

slow scroll
#

👏

real wedge
#

Wow

#

Well thank you so much for that

slow scroll
#

np

real wedge
#

Really appreciate it

river jasper
#

I need some help with this question, do I correct this quote by changing the part where it says "A won’t be an invertible matrix.” into "a is only invertible if there is no solution or infinitely many"?

slow scroll
#

@river jasper Its true that A would not be invertible in general, but that doesn't mean there isn't an exact solution (i.e. exact model) for the data. Like you said, there could be none or there could be infinitely many whenever A is not invertible.

#

Which case do we care about for linear regression?

river jasper
#

@slow scroll it would be infinitely many right? since we're trying to find the line of best fit

slow scroll
#

if I have a bunch of random points that look roughly like a line, are there going to be infinitely many lines that exactly hit every point?

#

thats what infinitely many solutions would mean

river jasper
#

oh then given that circumstance there would be no solution

slow scroll
#

yep. linear regression is non-trivial only when Ax = b has no solution (i.e. when there is no exact model)

#

so if our best possible fit model (i.e. x) deviates from b, then it follows that Ax = b had no solution to begin with

#

by deviates, i mean Ax is not exactly b

river jasper
#

oh so would the corrected quote be “Here’s an easy way to remember how this works: Doing linear regression is just trying to solve Ax = b. But if any of the observed points in b deviate from the model, A won’t have a solution"

#

to eliminate the thought that the line of best fit could have infinite many solution

slow scroll
#

yep, exactly

#

@river jasper err Ax = b won't have a solution

#

"A won't have a solution" wouldn't make sense

river jasper
#

oh yeah I need to specify, thank you!!

slow scroll
#

npnp

wispy perch
#

hi, when we say a vector space is a subspace of R^3, does that mean it has to span R^3?

slow scroll
#

nope

#

a subspace is a subset of a vector space which is also a vector space

dusky epoch
#

no, and any proper subspace will in fact not span its parent space

slow scroll
#

the span of a subspace would just be itself

wispy perch
#

so, what makes something a subspace of R^3

dusky epoch
#

read up the definition of a subspace

wispy perch
#

apart from, the space containing (0, 0, 0) and it's closed under addition and scalar multiplication

dusky epoch
#

that's the answer to your question

wispy perch
#

is that the only requirement

dusky epoch
#

that's the definition

#

something is a subspace of R^3 if and only if it satisfies the definition of a subspace of R^3

slow scroll
#

it has to be a subset of the parent space, obviously

#

in addition to the closure properties

dusky epoch
#

tautological as that may sound

wispy perch
#

oh i get it now. subspace of R^3 means it's a vector space which is a subset of R^3 and it follows the definition of a subspace

#

so, is there such thing as a "subspace of V" where V is just a subset of R^3

dusky epoch
#

any vector space has subspaces

slow scroll
#

when you have a subset of a vector space, you are assuming that properties like associativity, commutativity, scalar multiplication, etc already exist on the set. All that remains are the usual properties that you have to check.

Not that I know of, but the span of any subset of R3 is a subspace of R3

#

so you can take any subset and "use" it to make a subspace containing those vectors

wispy perch
#

i see

#

for these two vector spaces, is it true that V1 is not a subspace of R^3 because (2, 4, 6) is not inside?

#

and V2 is a subspace of R^3

dusky epoch
#

yes, V2 is a subspace while V1 is not

wispy perch
#

for V4, it is not a subspace of R^3 because it doesn't contain the zero vector. but how would i go about showing V5 is a subspace?

cursive narwhal
#

Check if it satisfies the 3 conditions required for it to be a subspace.

wispy perch
#

do i make 2 arbitrary vectors and use them to see if it satisfies the conditions

cursive narwhal
#

So:

  1. $0 \in V_5$

  2. $x,y \in V_5 \implies x+y \in V_5$

  3. $\lambda \in F, x \in V_5 \implies \lambda \cdot x \in V_5$

stoic pythonBOT
wispy perch
#

i think i got it, thank you

cursive narwhal
#

I mean, clearly, you need to just check conditions 2 & 3. Condition 1 is self-evident. For condition 2, you need to pick two arbitrary vectors. For condition 3, consider an arbitrary vector and a scalar

#

You're welcome.

ionic dust
#

I know that to get the orthonormal basis I need to get u1,u2,u3,u4

#

but how do I find the kernel?

#

its the set of vectors that go to 0 after a transformation correct?

cursive narwhal
#

Yes that’s the kernel of a linear map.

So, for this, the linear map takes a vector in F^4 (w,x,y,z) and maps it to a vector in F^2 (w+x+y+z, w -x-y+z).

ionic dust
#

hold on..

#

when I'm looking for the null space or kernel

#

I need to augment the matrix with variables w,x,y,z

cursive narwhal
#

?

ionic dust
#

and set it equal to 0?

cursive narwhal
#

No, I just found the linear map associated with the matrix

#

But basically, the way I'd get the kernel is to turn information about the matrix into information about the linear map. Then, you can focus on getting the kernel

#

Because this matrix $A$ is associated with a linear map $f:F^4 \to F^2$. So, $f(w,x,y,z) = (w+x+y+z,w-x-y+z)$

stoic pythonBOT
cursive narwhal
#

@ionic dust

ionic dust
#

can I show you work I did

cursive narwhal
#

Sure

ionic dust
#

I did it differently

#

rewrote x2 in terms of x3 and x4

#

then set x3 and x4 to x and y

#

not sure if I was on the right track with this approach

#

oh i messed up

#

the last one i thought was -1 instead of 1

#

hold on

cursive narwhal
#

Ya that looks more reasonable. That's what you would've gotten if you had set the vector that I wrote above to (0,0)

ionic dust
#

okay now I understand what a kernel is

#

well the basics of it at least

cursive narwhal
#

I mean

#

There is a precise definition for what a kernel is

#

Suppose we have a linear map between two vector spaces $f:V \to W$. Then:

$Ker(f) = {x \in V: f(x) = 0 }$

stoic pythonBOT
ionic dust
#

I think I will practice basis, kernel, and span

#

I tend to get confused between a basis and span

cursive narwhal
#

There are formal definitions for all of those terms. Refer to them whenever you're confused.

#

Like, it takes time to get the definitions in and really wrap your head around them. So, take as much time as you need.

ionic dust
#

okay

#

The image is the set of vectors that are linearly independent

#

so if I have redundant column vectors I exclude them from the image?

cursive narwhal
#

?

#

"The image is the set of vectors that are linearly independent'

#

What

ionic dust
#

I'm not really familiar with image but the set of vectors that come from the image of a matrix

#

they will always be linearly independent?

dusky epoch
#

it feels as if you're throwing linear algebra words together without much of an understanding for what any of them mean thonk

cursive narwhal
#

Let $f:V \to W$ be a linear map. Then:

$f(V) = {w \in W: \exists x \in V: f(x) = w }$

That's your image set. Linear independence is another thing entirely.

stoic pythonBOT
cursive narwhal
#

There are formal definitions for all of those terms. Refer to them whenever you're confused.
^^^

#

Fuck

#

@ionic dust

dusky epoch
#

abhi

ionic dust
#

okay

dusky epoch
#

just a stylistic note

#

you might wanna replace x with v

#

bc then you get v denoting an element of V

#

just like w denotes one of W

ionic dust
#

thanks for the help

#

@cursive narwhal

cursive narwhal
#

@dusky epoch Thanks ❤️

#

You're welcome.

wintry steppe
#

The image is the set of vectors that are linearly independent
@ionic dust
I suppose you might be talking about a transformation matrix?

stoic pythonBOT
cursive narwhal
#

No u

craggy crag
#

A complex 4x4 matrix A satisfies A^4 = 0

#

What are all its possible Jordan normal forms?

#

To help answer that, can I say that A^4 must be A's characteristic polynomial?

#

It seems I can infer 0 is an eigenvalue

dusky epoch
#

you mean the polynomial p(t) = t^4, and 0 is the only eigenvalue.

craggy crag
#

The question just states A^4=0. It doesn't say anything else about it

#

If I can show that 0 is indeed the only eigenvalue of A then I know right away there is only 8 possible Jordan normal forms

#

By Cayley-Hamilton theorem, a matrix satisfies its own characteristic equation. But can I say that since A^4=0, p(t) = t^4 must be its characteristic polynomial?

dusky epoch
#

suppose A has a nonzero EV λ

#

with eigenvector v

#

then v must be an eigenvector of A^4 with eigenvalue λ^4

#

contradiction

craggy crag
#

hm

#

I need to review the properties of how eigenvalues change under matrix operations

#

Thanks for that

#

Oh yea that is trivial

#

just from definition of eigenvalues/vectors

dusky epoch
#

Oh yea that is trivial
catthumbsup

gloomy arrow
#

I forgot what the trick was here. Which row/column should I go through

slow scroll
#

the one with most zeros

gloomy arrow
#

Because if I go down the second column I get all 0s

wintry steppe
#

The determinant is 0 anyways

gloomy arrow
#

Or is the determinant just 0 then

#

I see I thought that was kind of weird but that makes sense

wintry steppe
#

Because if you use the transpose and then gauss you can bring the 0 to the outside

gloomy arrow
#

I just wasnt expecting our professor to make it easy

#

Thank you though

#

Oh the determinant of the transpose is the same as the determinant of the orignal right?

wintry steppe
#

Yes

slow scroll
#

the matrix isn't invertible, since there is a linearly dependent column, so determinant is zero

gloomy arrow
#

Right because its not onto

#

or surjective

wintry steppe
#

Surjective?

slow scroll
#

well since its square, it is neither surjective nor injective

#

but yea

gloomy arrow
#

In this case its neither but if there wasnt that colum of zero it could be both normally

#

Because of invertible matrices

wintry steppe
#

Do you mean as a transformation matrix for a function? sully

gloomy arrow
#

As a transformation yes

wintry steppe
#

Oh lol

slow scroll
#

same thing...
yea, square matrices are either bijective or neither injective nor surjective

gloomy arrow
#

Makes perfect sense

#

Thank you

slow scroll
#

np

gloomy arrow
#

Last question for now. Because this is neither the determinant has to be 0 because there isnt a pivot in every column

slow scroll
#

yea

gloomy arrow
#

Alright perfect. Thank you very much

slow scroll
#

npnp

broken hawk
#

…to be fair, the question “if M is a 7x7 matrix with {property}, what is its determinant” is like almost guaranteed to have 0 as the answer. maybe ±1, if they get creative

dawn fractal
#

Let $S=\begin{bmatrix}0&I_2\I_2&0\end{bmatrix}$, a 4-by-4 nonsingular matrix and define the linear transformation $\sigma:\mathds{F}^{n\times n}\to\mathds{F}^{n\times n}$ by $\sigma(A)=S^{-1}A^TS.$
Determine if $\sigma$ is an epimorphism.

stoic pythonBOT
dawn fractal
#

ofc n=4

#

I'm not really sure how to go about this. For any B in the vector space, I found the image of A = B - S^{-1} A^T S using 2-by-2 block matrices

#

iirc the definition of block matrices, but you get the gist
i.e. B = [B1 B2 B3 B4], A = [A1 A2 A3 A4]

slow scroll
#

you just need to show that for any 4x4 matrix B there is a matrix A such that sigma(A) = B. Try working backwards

dusky epoch
#

are we talking about sigma being a RING epimorphism?

#

bc it fails to even be a ring homomorphism

dawn fractal
#

epimorphism means "surjective linear transformation" here

dawn fractal
#

it is still a linear transformation

dawn fractal
#

start with the second pic

#

i used block matrices here

#

where each A_i and B_j are 2by2

#

so am i doing it right?

slow scroll
#

Why can't you just do:
Let $B \in \mathbb F^{n \times n}$. Since $S$ is symmetric and $S^{-1} = S$, we have $$\sigma(S^{-1}B^T S) = S^{-1}(S^{-1}B^T S)^T S$$ $$ = S^{-1}S^T B (S^{-1})^T S = S^{-1}SBS^{-1}S = B $$

dusky epoch
#

oh, so you're only considering $F^{n \times n}$ as a vector space? not as a ring?

stoic pythonBOT
dusky epoch
#

yeah you can do that, and honestly you should

dawn fractal
#

@slow scroll we have to add S^{-1} B^T S

slow scroll
#

what?

dawn fractal
#

right. my bad

slow scroll
#

this is what i meant by work backwards earlier

dawn fractal
#

,,\sigma(A)=A+S^{-1}A^TS

slow scroll
#

I just took B = S^-1 A^T S
and deduced that S B S^{-1} = A^T

dawn fractal
#

$\sigma(A)=A+S^{-1}A^TS$

stoic pythonBOT
dusky epoch
#

ok well that's. an entirely different transformation lol

slow scroll
#

im much confoosed

dusky epoch
#

fields misspecified the transformation in question

dawn fractal
#

yep.

#

sorry bout that

slow scroll
#

hmm well same concept should apply

dusky epoch
#

nope, dim im σ < 16

#

assuming i didn't screw anything up

#

yeah so

#

nope. this ain't surjective

#

bc it's not injective and it's a map between findim spaces

#

i can explain how i arrived at this but it might be a little tricky

somber quest
#

If v and w are any two vectors, then ∥v+w∥=∥v∥+∥w∥.

#

is that true or not true help

slow scroll
#

check norm axioms

dusky epoch
#

uh

#

are. those meant to be norm bars

somber quest
#

idk maybe dnsvjsnv

slow scroll
#

do u have a name for them? xd

half ice
#

| does exist

limber sierra
#

if you dont know what these objects are, you should probably get that cleared up first

#

before trying to answer questions about them

half ice
#

No, it's not true. Even in R² you can create triangles that aren't right triangles

limber sierra
#

take: every triangle is right

slow scroll
#

geometry has left the chat

#

Since fields hasn't said anything, I'm curious how you showed that sigma isn't surjective, if ur still down to share, Ann.

dawn fractal
#

same question @slow scroll

#

i'm down for some explanation @dusky epoch

dusky epoch
#

okay great so

#

aight

#

i'll need to lay out some notation

#

i'll denote by e_ij the 4 by 4 matrix with a 1 in its (i, j) entry and zeroes elsewhere

dawn fractal
#

yes, i'm familiar > i'll denote by e_ij the 4 by 4 matrix with a 1 in its (i, j) entry and zeroes elsewhere

dusky epoch
#

okay great

#

so

#

first off

#

$S = S^{-1} = e_{13} + e_{24} + e_{31} + e_{42}$

stoic pythonBOT
dusky epoch
#

and also, $e_{ij} e_{kl} = \delta_{jk} e_{il}$

stoic pythonBOT
dusky epoch
#

do these statements make sense to you

dawn fractal
#

the second, nah

#

idk what delta means there

dusky epoch
#

it's the kronecker delta

dawn fractal
#

nope, doesn't ring a bell
but ive learned about bases of ker sigma and of im sigma

#

about dimensions, and the rank nullity theorem

slow scroll
#

delta_{jk} is 1 when j=k, 0 otherwise, thats all

dawn fractal
#

but rnt isn't useful here since the space is infinite-dimensional...

#

oh ok

#

so it talks about the entries along the diagonal

slow scroll
#

this space is not infinite dimensional btw thonk its 16

dawn fractal
#

right sorry lol, was thinking of the number of elts the space has

dusky epoch
#

rnt??

#

anyway

dawn fractal
#

rank-nullity theorem

dusky epoch
#

if you let $e_i$ denote the i'th col of the identity matrix, you can write $e_{ij} = e_ie_j^T$

stoic pythonBOT
dusky epoch
#

so you get $e_{ij} e_{kl} = e_i(e_j^Te_k)e_l^T = e_i(\delta_{jk})e_l^T$

stoic pythonBOT
dusky epoch
#

bc the e_i form an orthonormal basis

dawn fractal
#

haven't learnt orthonormality yet, but ok

dusky epoch
#

what

#

wait ok alright

#

$e_j^Te_k = \delta_{jk}$

stoic pythonBOT
dusky epoch
#

if the 1s don't line up the product is zero

#

if they do it's 1

#

that make sense?

dawn fractal
#

yes

dusky epoch
#

aight great

#

oh and i'll need another thing

#

$e_{ij}^T = e_{ji}$

stoic pythonBOT
dusky epoch
#

so

#

σ(e11) = σ(e33) = e11 + e33

#

so σ(e11 - e33) = 0

dawn fractal
#

wait

#

slr

#

wdym by e_(ij)^T?

slow scroll
#

transpose

dawn fractal
#

or rather e_i^T e_j ?

slow scroll
#

e_i^T e_j would be delta_{ij}

dawn fractal
#

damn, i confused e_ij with the entry e_ij

slow scroll
#

rewriting things the way Ann laid out i get:

σ(e11) = e11 + e13 e11 e13 + e24 e11 e24 + e31 e11 e31 + e42 e11 e42

= e11 + e13 e13 + 0 + e31 e31 + 0
= e11 + 0 + 0 + 0 + 0
= e11 != e11 + e33

did i make a mistake somewhere?

dawn fractal
#

ok i get it

#

slr @dusky epoch, pls continue

dusky epoch
#

"slr"?

dawn fractal
#

sorry late reply

dusky epoch
#

@slow scroll also that's wrong

#

it's (e13+e24+e31+e42)e11(e13+e24+e31+e42)

#

not e13e11e13 + e24e11e24 + e31e11e31 + e42e11e42

slow scroll
#

yea, distributed incorrectly 🤦‍♂️

dawn fractal
#

anyway

#

where is this all going to

dusky epoch
#

e11 - e33 in ker(sigma)

dawn fractal
#

yes

#

and then?

dusky epoch
#

dim ker(sigma) > 0

#

so dim im(sigma) < 16

#

so sigma isn't surjective

dawn fractal
#

so dim im(sigma) < 16
this follows directly from
dim ker(sigma) > 0
because it's a finite-dimensional space?

slow scroll
#

^
yea, rank nullity holds on finite dimensional spaces

dawn fractal
#

ah yes, it follows from the rank nullity theorem

slow scroll
#

Also, tanks for explaining ann

dawn fractal
#

thanks guys!

#

i have another question

#

is this also a correct way of justifying that dim ker sigma > 0?

#

since the choice of E is "not dependent" on B, C, and D

#

and I chose B instead to be equal to -E^T

#

sigma here is the same linear transformation in the previous question i asked

dusky epoch
#

well this is a characterization of the entire kernel

#

so unless you're explicitly asked for it i'd say this is a bit above and beyond

dawn fractal
#

oh so i should just look at the basis of ker sigma

#

since its dimension is the cardinality of ker

#

lol i confused dim ker sigma with |ker sigma|

#

in this case dim ker sigma = 12 > 0

dawn fractal
#

hi, any mistakes in my proofs?

dusky epoch
#

steinitz replacement theorem?

#

oh

#

god

#

suppose F spans R^2

#

and what if it doesn't?

#

your contradiction gives you that F either is LD or fails to span R^2

#

as written that's all you can conclude

dawn fractal
#

pft. knew it

#

how do i use the steinitz replacement theorem then?

#

i tried using the contrapositive

#

the theorem states that if a finite set spans a vector space, then any linearly independent set is finite

#

*where the elements of the linearly independent sets are vectors in the space

dusky epoch
#

you can prove that F actually does span R^2.

dawn fractal
#

ah yes, for any vector (r1,r2) in R^2,

#

(r1,r2) = a(2,1) + b(1,2) + c(1,1)

#

and all i have to do is solve for a, b, c

#

how do i do #4 ? it doesn't seem linearly dependent

#

there's just no way to 'cancel out' the x^2 term without setting the coefficient of x^2+x+1 to 0

#

nvm, i know what to do. damn it

timber blaze
#

If a and b are vectors, then (a x b)^2 = 2(a x b), right?

hoary agate
#

what is x

#

@timber blaze

dusky epoch
hoary agate
#

cause if that's a cross product it doesn't make sense

dusky epoch
#

what do you even mean by like. squaring a vector

timber blaze
#

x is cross product

dusky epoch
#

what do you even mean by like. squaring a vector

hoary agate
#

^

timber blaze
#

|(axb)|^2 = 2|axb|?

hoary agate
#

ah

dusky epoch
hoary agate
#

still no

#

cause |axb| =|a||b|sinQ

dusky epoch
#

it's true iff a×b = 0

timber blaze
#

So we can do (a • b)^2 = a•a + 2a•b + b•b but not with x

dusky epoch
#

uh

#

no, (a · b)^2 ≠ a·a + 2a·b + b·b in general

#

if you take a = b = (1, 0, 0) you get the left hand side as 1 and the right hand side as 4

timber blaze
#

oh sorry I meant (a+b)^2

dusky epoch
#

what do you mean by squaring a vector

hoary agate
#

^

timber blaze
#

(a+b)•(a+b)?

hoary agate
#

oh

dusky epoch
#

okay, (a+b)·(a+b) DOES equal a·a + 2a·b + b·b yes

timber blaze
#

So (a+b) x (a+b) = ?

dusky epoch
#

0

#

cross product of a vector with itself is 0

timber blaze
#

Oh yes i get it

#

a xb = -bxa

#

Sorry was confused

#

Thank you

dusky epoch
#

you don't even need to expand

#

(a+b)×(a+b) is the cross product of a vector with itself

timber blaze
#

Right, but I was just exploring and was assuming axb + bxa = 2axb

#

Thank you

dusky epoch
#

your assumption holds if and only if a×b = 0

real wedge
#

My linear algebra prof is just going to be posting lecture notes for the remainder of term due to virus

#

So we are basically just gonna have to self study 😦

timber blaze
#

Are any two lines in 3-d space coplanar?
I am pretty sure the answer is no, but can't we always find a vector perpendicular to both of the lines and so if we let a plane have the direction ratios of the perpendicular vector?

pallid rampart
#

Sorry out of context but nice name you have there

gleaming topaz
#

@timber blaze Wouldn't you get a vector perpendicular to both lines if you take the cross product of their direction vectors?

polar imp
#

can someone help me understand this passage from this paper: "since R is an orthogonal matrix, only 3 of its 9 components are independent". Furthermore, how would one determine which 3 of the 9 components they are referring to ?

#

in this case, R is a composition of 3x3 rotation matrices, if that helps

half ice
#

What do you get when you actually multiply LDU together?

digital garnet
#

@half ice

#

wdym?

half ice
#

They gave you L, D, and U. So, multiply them. What's LDU?

pallid rampart
#

Multiply the matrices with the variables

desert portal
#

Hi
I need help with some problems
Can someone help me please?

slow scroll
desert portal
#

idk how to upload images here

#

well ,there are 2 images only

#

I have also another problem, if A is a nxn matrix. Is this true: if rank A=n, then A can be diagonalized?

#

@slow scroll Could u give me a hand?

slow scroll
#

for the first one, there is a formula you plug the points into

desert portal
#

which one?

half ice
#

You have every point on y = ax + b + μ, where μ is the error. You want to minimize Σ |μ|

desert portal
#

I have no idea how to do that

slow scroll
#

well, you have a system of equations:

-a + b = c
a + b = 2
2a + b = 7

you can create a matrix equation out of this.

#

and plug it into the least squares formula

desert portal
#

I don't know the formula

half ice
#

I don't think the question is asking for the least squares regression

#

"least linear" which is ez to calculate by hand

slow scroll
#

you mean linear least squares?

desert portal
#

I don't mean to bother you, but i need to send this assigment in less than 20 minutes 😬

slow scroll
#

im talking about the one where you solve A*Ax = A*b

half ice
#

For example, let's say the line is y = 2x + 1
It passes through the point (1,3)
This misses the point (1,2) by one unit. So, that adds 1 error

#

You're looking to minimize the total error

#

That (-1, c) is throwing me off pretty bad though. It must be possible to get a and b with only two points

#

Or no, clearly they depend on c

slow scroll
#

@desert portal yea so it is least squares. can confirm

#

umm so do you know how to get this in Ax = b form?

-a + b = c
a + b = 2
2a + b = 7
desert portal
#

Yeah

#

I guess so

slow scroll
#

you get $\begin{pmatrix} -1&1\1&1\2&1 \end{pmatrix} \begin{pmatrix} a\b \end{pmatrix} = \begin{pmatrix} c\2\7\end{pmatrix}$ right

stoic pythonBOT
desert portal
#

yeah

slow scroll
#

let A be the matrix part, and b be the right hand side, and let x be the (a,b)^T solution we're looking for.

To find the least squares solution, you just have to solve this:
A^T Ax = A^T b

That is, you compute A^T A = G and compute A^T b = b' which give you a new matrix and vector respectively. the solution to Gx = b' is (a,b)^T
Then you can just take the components of (a,b)^T and add them together to get your answer

#

for the next question: in short, rank A = n only gives you invertibility of A. This is not enough to conclude diagonalizability.

#

in fact, its not even necessary for diagonalizability since there are plenty of non-invertible matrices which are not diagonalizable.

desert portal
#

got it

#

there was just one question left

slow scroll
#

@desert portal you know what T(6x, 4y) is

#

since T is linear, its 2T(3x, 2y)

#

What is T(6x, 4y) + T(5x, 7y)?

#

(apply properties of linear transformations)

desert portal
#

(1,11,11)?

#

then what?

slow scroll
#

Yea, this is T(11x,11y), do you see why?

#

Apply linearity one more time to get 11T(x,y) = (1,11,11)

desert portal
#

but it's not an option

#

maybe it's d?

#

Holy shit, I forgot this

#

I promise it's the last one

slow scroll
#

Find A(2,3)^T and find values of a and b that make 2 and eigenvalue. Then umm, plug and chug the answer choices to see which one is an eigenvector. im sry i can't reply quickly

cold topaz
half ice
#

There's a nice solution here. An equation for the plane is:
4x + 0y - 5z = 0

#

This makes it easy to generate two vectors

cold topaz
#

what I did is: I found two vectors that are orthogonal to my v. Then I did p+tv1+tv2.

half ice
#

Typo? You mean
p + tv1 + sv2

cold topaz
#

yes

#

p=(0,0,0)

half ice
#

And p can be (0,0,0) cuz origin