#linear-algebra

2 messages Β· Page 75 of 1

icy osprey
#

If I'm being honest

quartz compass
#

haha it's fine

#

the idea is pretty straight forward, it's just an algorithm for making an orthonormal basis

#

although you just need it to be orthogonal

icy osprey
#

can you define all the vocab just used?

quartz compass
#

yeah I can but

icy osprey
#

like orthonormal base and orthogonal

quartz compass
#

ok

#

orthogonal just means perpendicular really, but

#

in this context that boils down to <v,w> = 0

icy osprey
#

ok I see

quartz compass
#

so if your basis is orthogonal, all pairs of vectors have that condition

icy osprey
#

I'm slowly learning the vocab used in the class

quartz compass
#

normal means length 1

#

so <v,v> = 1

icy osprey
#

so is that equivalent of like a unit vector?

quartz compass
#

yep

icy osprey
#

Oh I see

quartz compass
#

do you know what a projection is or how to compute that

icy osprey
#

so what is the next step

#

I honestly dont know

#

I know what a prjection i s

quartz compass
#

well ok suppose you have two vectors

icy osprey
#

going from R^3 to R^2

quartz compass
#

they will generically not be orthogonal to each other, <v,w> != 0

#

it doesn't matter they could be though

icy osprey
#

so

#

to clarify

quartz compass
#

the point is, if we want two vectors to be orthogonalc

icy osprey
#

Vectors or orthogonal if they form a 90 degree angle?

#

are

quartz compass
#

it kind of depends, generically speaking

icy osprey
#

ok

#

continue

quartz compass
#

so if you have two vectors that aren't orthogonal, <v,w> != 0

#

you can simply subtract off the component that's in the direction of the other vector

#

so that you do have a vector that's orthogonal

#

that's what the projection is about

icy osprey
#

I have this hint for the problem I think I should send

quartz compass
#

yep

icy osprey
#

so the first step

#

they are subtracting off the parts that are in the other direction

#

correct?

quartz compass
#

the first line is just taking the equation 0 = <v,w>

#

and plugging in specific values for the components

#

it's not really solving anything

#

it's giving an equation in terms of scalars that has to be satisfied for v,w to be orthogonal

#

so you could consider it to be like, they're trying to simplify it by turning an equation with vectors and matrix into one with just variables

icy osprey
#

the scalars being w_1 and w_2?

quartz compass
#

and v_1 and v_2

icy osprey
#

ok

#

so the next step

#

Like honestly I'm so confused

#

but getting better

#

much better

icy osprey
maiden silo
quasi vale
#

@icy osprey double angle identities?

icy osprey
#

can you elaborate

quasi vale
#

$\cos(2 \theta) = 2\cos^{2} (\theta) - 1$

stoic pythonBOT
icy osprey
#

My work so far

#

what do you think @quasi vale

quasi vale
#

Yeah that's correct although you could've just done it in the last 3 lines

icy osprey
#

oh really? I hate my life πŸ˜†

#

so whats the next step?

quasi vale
#

Now you could express cos(2x) in terms of cos(4x)

#

using the same identity

icy osprey
#

so

#

$\cos(4 \theta) = 4\cos^{2} (\theta) - 1$

stoic pythonBOT
quasi vale
#

no $\cos(4 \theta) = 2\cos^{2} (2 \theta) - 1$

stoic pythonBOT
quasi vale
#

only the angles change, not the coefficients of cos

icy osprey
#

thanks let me write that down

#

wait so now i am confused

#

what do i do with that now?

quasi vale
#

Now isolate cos(2x) and then replace it with what you have

icy osprey
#

isolate cos(2x) from my previous work

#

ok

#

now i got

#

cos2x = cos(4x)-1

#

correct?

quasi vale
#

no, you have [cos(2x) + 1]/2 from your previous part

#

From this new equation, we have sqrt{[cos(4x) + 1]/2} = cos(2x).

#

Putting that in the first one, we get ( sqrt{[cos(4x) + 1]/2} + 1 )/ 2 = cos^2(x)

#

anyways, this isn't the place to do this. come to any questions channel

dawn fractal
#

youre gonna have to use the fact that their intersection is just {0}
@limber sierra thanks! got it now

#

@dusky epoch thx as well

daring solstice
#

over here I managed to find a bit more infomation but don't understand the concept till

#

Gaussian elimination, also known as row reduction, is an algorithm in linear algebra for solving a system of linear equations. It is usually understood as a sequence of operations performed on the corresponding matrix of coefficients. This method can also be used to find the r...

#
This algorithm differs slightly from the one discussed earlier, by choosing a pivot with largest absolute value. Such a partial pivoting may be required if, at the pivot place, the entry of the matrix is zero. In any case, choosing the largest possible absolute value of the pivot improves the numerical stability of the algorithm, when floating point is used for representing numbers. 
#

'improves the numerical stability of the algorithm'

#

What does that mean?

wintry steppe
#

Computers only calculate to a finite precision

#

It turns out that sometimes these errors accumulate to make the results completely wrong

#

That is called numerical instability

#

When you improve the numeric stability, you're not allowing small errors to balloon out of control

wintry steppe
broken hawk
#

iirc gaussian elimination is weird wrt numeric stability

#

it’s like, technically really unstable, but for all practical applications it works just fine

#

like worst-case it’s completely unusable but the worst case happens so rarely you can just ignore its existence in practice

steady fiber
#

It's really weird with floating point errors

#

Which get compounded insanely hard sometimes

#

But it's actually quite easy to not make a completely naive application of it

#

To deal with that possibility

#

Also, in the case where it's all integers or rational numbers in the matrix, you can technically do Gaussian elimination with no floating point errors but instead you get absolutely massive integers you have to work with and a slower algorithm

gleaming topaz
#

To find a equation for the plane which a parallelogram belongs to is it just the cross product of the vectors describing the 2 perpendicular sides?

steady fiber
#

not necessarily perpendicular

#

but the cross product of 2 non-parallel sides yes

gleaming topaz
#

Yeah my bad that's what I meant

#

but does that describe the plane?

steady fiber
#

it gives the normal vector to the plane

#

there's infinitely many planes that normal vector describes

gleaming topaz
#

Oh then I choose one of the points on the parallellogram to find the plane right

steady fiber
#

you also need a point from the parallelogram

#

yes

gleaming topaz
#

Yeah cool

gleaming topaz
#

If I'm given two conditions to find the line l1 which is parallell to the plane 2x-y+z=1 and intersects the line l2=(x,y,z)=(2-t,3t-4+2t) perpendicuarly in the same point that l2 intersects the plane x-y-z=0 perpendicuarly, does this mean that

my lines direction vector is given by s(2,-1,1) right? And I want the dot product of (2,-1,1) and (-1,3,2) to be 0 and the dot product of l2s and the other planes normal to be 0 as well?

steady fiber
#

you are given 2 lines that are perpendicular to the line you want

#

cross product gives the direction of your line

#

solving the intersection point gives the whole line

gleaming topaz
#

Alright thanks

maiden silo
#

What the heck is this question saying

plucky girder
#

hey guys i was just looking through this lin-alg book i found and I dont really understand how to go from 1) to 2) as theres no real explanation. any help understanding this would be great

1)   3x+2y=7
     2x+5y=12
2)   (5.3-2.2)x=5.7-2.12
     (2.2-3.5)y=2.7-3.12
#

and then they say that 2) simplifies to x=1 and y=2

#

nevermind i got it. their notation is just dumb

serene zenith
#

I have no idea how to work it out

daring solstice
#

Am I allowed to mix elementary row operations like this? (Guassian Elimination)

strong nexus
#

hi, how do I decide whether P is a subspace of R ^2,3?

dusky epoch
#

check whether it meets the definition of a subspace

strong nexus
#

I did. There are 3 conditions it must follow, but all the examples I found are with vectors, and here I have a matrix(a1..a6)

dusky epoch
#

do you know how to add and scale matrices

#

$\bR^{2 \times 3}$ is a vector space like any other. you should abstract away from the idea that vectors need to look like anything in particular.

stoic pythonBOT
strong nexus
#

so now I have to give 2 sets of values to the vector space so that the 2 conditions are satisfied, and then add the 2 new vectors?

dusky epoch
#

??

#

that's

#

what

#

that doesn't make any sense as written

#

IF you want to show that P is a subspace of R^2Γ—3, THEN you will need to:

  • take two arbitrary matrices A, B ∈ P, and an arbitrary scalar c, and show that A+B ∈ P and cA ∈ P.
#

IF you want to show that P is not a subspace of R^2Γ—3, THEN you will need to:

  • EITHER provide an example of two matrices A, B ∈ P such that A+B βˆ‰ P
  • OR provide an example of a matrix A ∈ P and a scalar c such that cA βˆ‰ P
#

what i'm saying here is simply the definition of a subspace, and the negation thereof

strong nexus
#

i noticed

dusky epoch
#

nothing complicated if you aren't stuck in the view that vectors have to be vertical lists of numbers

#

the only reason i am using the word "matrix" here is because R^2Γ—3 is a vector space whose elements are matrices. but looking at it purely as a vector space, it's irrelevant what its elements actually are, beyond their behavior when they are added and scaled - and this behavior is precisely what the structure of a vector space describes

strong nexus
#

thanks

dusky epoch
#

do you require further assistance here

strong nexus
#

no

dusky epoch
#

ok

uncut forge
#

Given a Banach space(Actually $$C^n$$ in this case) how do I show that the set of generalized eigenvectors $$E(\lambda )$$ is closed?

stoic pythonBOT
dusky epoch
#

C^n as in the set of all n times differentiable functions on an interval? also, generalized eigenvectors of what operator?

lament lily
#

would you guys reccomend Linear Algebra and its Applications by David Lay as an intro level book?

#

im trying to find a book to go alongside my course

dusky epoch
#

can't vouch either way for that book bc i've never heard of it until now, but if you want a good linalg course supplement, consider 3blue1brown's Essence of Linear Algebra

#

it's a video series rather than a book but it's still good

lament lily
#

alright and for books if you had to choose from the ones you know

dusky epoch
#

i personally didn't really study out of a book at any point, but i've heard mostly good things about Linear Algebra Done Wrong

lament lily
#

Alright thanks

dawn fractal
#

How do i go about doing 4c?

pallid rampart
#

Differentiate

dawn fractal
#

I can differentiate any vector even if it's not continuous?

pallid rampart
#

??

#

How are they not continuous?

#

You asked how to solve 4c, so I gave you a hint that works for 4c

#

It obviously doesn't work if you are given |x| as a function, as it's not differentiable

#

but e^{2x}, x^2, x are all differentiable

dawn fractal
#

Ah i see

#

Thanks

pallid rampart
#

K

#

Do you see how to prove that it's linearly independent?

dawn fractal
#

Yep

#

Done it

#

or did it, if you prefer

alpine inlet
#

Since all row equivalent matrices correspond to linear systems with the same solution set, and all elementary matrices of size n are row equivalent, does this mean that all elementary matrices of size n have the same solution set?

dusky epoch
#

if you're considering them as augmented matrices then yeah
the empty solution set

alpine inlet
#

Alright, thank you

ocean sequoia
#

hey with regards to the SVD why are we putting those on the diagonal in order from greatest to least
im be honest im hecka confused
also how do we know what those represent

#

in that video he mentions what they represent

gray nebula
#

Does anyone know if closure under scalar multiplication only includes nonzero scalars? Like can your scalar be 0?

#

<@&286206848099549185>

wintry steppe
#

Yes

#

Closure under scalar mutliplication includes the whole field

gray nebula
#

Thanks

limber sierra
#

but like, the 0 vector should be in your space anyway

#

so for "common" spaces this isnt a problem

gray nebula
#

In order for something to be in the span does my c1u1 + c2u2 ... cnun, does my c's have to be independent of one another?

limber sierra
#

wdym "independent of one another"

#

like, distinct? no

#

0 is in the span of any set of vectors for example

#

and you get that by setting c1 = c2 = ... = cn = 0

gray nebula
#

Lets say I end up getting c1 = 4-2c3, c2=8-c3, c3 = c3

#

Like parametric solutions for my c's

limber sierra
#

that's still in the span

#

but uh in that case

#

note that {u1, u2, ... un} is not linearly independent

gray nebula
#

So its not linearly independent but it can still span?

limber sierra
#

yes

#

it's just not a basis

restive hound
#

The result of a linear combination of eigenvectors is still an eigenvector right

quartz compass
#

suppose u and v are different eigenvectors

#

with different eigenvalues

restive hound
#

Ye

quartz compass
#

now multiply the matrix A(u+v)

#

what's the eigenvalue of the vector (u+v)?

#

should be able to work that out by linearity in terms of the original eigenvalues

#

show me

#

don't spoil it if you know the trick please lol

half ice
#

There's a trick?

restive hound
#

Wait

quartz compass
#

yeah I'm tricking him

normal canyon
#

how can i relearn linear algebra

long tendon
#

What do you mean by relearn?

quasi vale
#

"Several people are typing"

half ice
#

Go through 3b1b's video series on it, imo

long tendon
#

^

half ice
#

Currently one of the best ways to solidify applied LA

normal canyon
#

i already watched that

#

i think i know it pretty well

quartz compass
#

I don't believe in relearning

normal canyon
#

i just wnat to get technical

half ice
#

Well, start with pure LA

normal canyon
#

@quartz compass can u explain more

#

thats a good mentality

quartz compass
#

you just have your present state of ability at any moment

half ice
#

Actually, learn abstract algebra. Come back to a second course of LA after

normal canyon
#

so you don't believe in revising notes

quartz compass
#

"relearning" means nothing other than some illusory baggage of having gone through something without actually retaining anything

normal canyon
#

what is abstract algebra

quartz compass
#

I actually feel embarrassed for people who say stuff like that tbh

#

taking no responsibility for their own learning so blatantly, it's like blaming teachers

quasi vale
#

btw merosity I've been studying LA recently, eigenvalues etc. If we apply the vector (u+v) to the transformation matrix A, is the eigenvalue u + v

normal canyon
#

i love that mentality

quartz compass
#

no that's a vector, an eigenvalue is a scalar

#

let me say more concretely

quasi vale
#

What I meant was

quartz compass
#

Au = ru and Av=sv

quasi vale
#

Eigenvalue of v + eigenvalue of u

#

sorry

quartz compass
#

what's the eigenvalue of A(u+v) = k (u+v)

#

if you can do it, you should be able to expand the left side by linearity

#

to solve for k

#

show me your steps or as far as you can get

normal canyon
#

what if you just forget the formula for something?

#

Does that count as relearning

quartz compass
#

can you rederive it?

normal canyon
#

i think you are trying to say is if you never got the concept in the first place, relearning is stupid

#

but if you understand the concept, you shouldn't have to actually relearn it

quartz compass
#

it's not against the law to look stuff up if you're too lazy to rederive something either but

quasi vale
#

A(u+v) = Au + Av = ru + sv? Do we compare this with ku + kv?

quartz compass
#

"relearning" an entire subject is more than just forgetting a formula you're too lazy to play around for an hour to rederive

normal canyon
#

got it bro

half ice
#

Learn abstract algebra anyway it's the best

quartz compass
#

@quasi vale yeah

quasi vale
#

@quartz compass i dont understand, we're not getting k = r + s. or are we..?

quartz compass
#

you tell me, what does the algebra say?

dawn moss
#

F is any field here...

#

How and why can I think of these as functions from themselves to some other field?

quasi vale
#

uh, ku+kv = ru + sv. So what we're getting is that r=k and s=k. So the eigenvalue of u+v is r or s?

#

@quartz compass

gray dust
#

r,s are assumed to be distinct eigenvalues, but having k=r & k=s gives r=s which is a contradiction

quasi vale
#

So we can't distribute A over (u+v)? That's the problem here?

gray dust
#

you can... A(u+v)=Au+Av but pay attention here

#

original q:

The result of a linear combination of eigenvectors is still an eigenvector right
mero's response:
suppose u and v are different eigenvectors (of a matrix A with eigenvalues r,s respectively)
with different eigenvalues (r,s are distinct)

#

mero said not to spoil anything but it seems you're stuck, so to spell it out for you, this whole exercise was to show that assuming that a linear combo of u,v is an eigenvector of A leads to a contradiction

quasi vale
#

Ah.

wintry steppe
#

anyone know a place with good linear algebra problems

#

khan academy seems to have a limited amount of content

sonic osprey
#

find a textbook

dry spear
#

anyone know what they mean by "sharp"

#

im assuming they mean like the most strict

#

also idk how this is wrong

pallid rampart
#

Yes most strict

dry spear
#

ok

#

the rank is the number of leading 1's, and since there's 160 rows, the max number of leading 1's is 160

pallid rampart
#

So for example, if you write 0≀rank(A)≀160, you mean that there is no matrix A with given conditions such that rank(A)>160 or rank(A)<0, and there is a matrix A with rank(A)=0 and rank(A)=160

dry spear
#

and the minimum is 0

#

yes i know @pallid rampart

#

but how is that wrong

pallid rampart
#

Huh, I think that is right

#

0≀rank(A)≀160

dry spear
#

ok, it doesn't tell me which one I got wrong

#

so maybe it's one of the other ones

#

col's = rank + nullity = leading 1's + free variables

#

170 col's = rank 62 + 108 free variables

#

so I think that's right

#

and nullity = free variables

pallid rampart
#

Lol

#

The second one is wrong

#

Like you said

#

col's = rank + nullity

#

so nullity = # cols - rank

#

minimum rank is 0, so maximum nullity is # cols - 0 = # cols

#

maximum rank is 160, so minimum nullity is # cols - 160 = 10

#

@dry spear

dry spear
#

oh right

#

thanks @pallid rampart

maiden silo
#

can anybody explain this to me

quartz compass
#

imagine the columns as column vectors

maiden silo
#

okay

quartz compass
#

and look at what happens when you compute U^T U

#

all the entries are just dot products of the vectors

maiden silo
#

well if i imagine the columns as vector

#

then how do i take transpose

#

all the columns become rows

quartz compass
#

yep

#

so leftmost column becomes top row or bottom row?

maiden silo
#

but i thought it only holds for nxn

#

top row

quartz compass
#

"it" holds

#

which?

maiden silo
#

the theorem

#

,tex U^T \cdot U = I

quartz compass
#

this is saying something slightly weaker

#

just that the columns are orthogonal

maiden silo
#

how do i use texbot

quartz compass
#

just put $ before and after

maiden silo
#

$U^T \cdot U = I$

stoic pythonBOT
maiden silo
#

only holds when

quartz compass
#

like I said

maiden silo
#

U is an nxn orthonormal matrix

quartz compass
#

this is saying something slightly weaker

#

just that the columns are orthogonal

maiden silo
#

right, so it has to be false right

quartz compass
#

no

#

look at the columns as vectors

#

every entry of U^T U is now every possible dot product, look through that and see which vectors lie on the diagonal and which don't and what that means

maiden silo
#

ohh

quartz compass
#

even if it was an nxn matrix the statement of this is just saying diagonal, not identity matrix

#

that would be orthonormal

maiden silo
#

but how do i know they lie on the diagonal

quartz compass
#

the diagonal entries is a vector dotted with itself

#

write it out, like suppose I give you a 3x2 matrix

maiden silo
#

ya i got it

quartz compass
#

you have two column vectors in U now

#

ok

maiden silo
#

the diagonal entries are the vectors dotted with themselves

#

but

#

what about the other entries

#

you don't know that they're 0

#

right?

quartz compass
#

what are they?

#

in terms of column vectors

maiden silo
#

one sec

#

lemme calcualte

quartz compass
#

erm

#

the way you get the entry of a matrix AB is to take the dot product of a row vector of A with a column vector of B

#

where they basically form a crosshair on the entry

#

we could also just describe all this in terms of summations if that's more explicit but most people don't like that in my experience

maiden silo
#

im doing summations LOL

quartz compass
#

alright then I guess show me the summation you get for the entries of U^T U

maiden silo
#

lemme take a pic

quartz compass
#

$D_{ij} = \sum_{k=1}^m U_{ik}U_{kj}$

stoic pythonBOT
quartz compass
#

this is what I'm looking at

maiden silo
quartz compass
#

I guess we have a very different idea of what a summation is

#

lol oh well

maiden silo
#

ohhhhh

#

oops

#

i thought u meant

#

adding variables LOL

#

im sorry

quartz compass
#

this is fine

#

so now try to write the original matrix in terms of vectors and dot products

#

like let me one sec

maiden silo
#

hm?

quartz compass
#

so I'd rewrite the matrix on the right U as

#

and something similar for the transpose

#

and start writing the entries of your product matrix in terms of these

#

the first entry of your matrix product is u dot u

#

what's the second entry in terms of these vectors? this make sense?

maiden silo
#

holy shit

#

u dot v

quartz compass
#

yeah there you go

maiden silo
#

then u dot w

quartz compass
#

now you can fill out the whole box just with the vectors like this

#

so now you can look, when are those off diagonal terms 0?

#

see where this is headed now? πŸ˜›

maiden silo
#

when they're orthogonal

#

LOL

#

bruh

quartz compass
#

haha

maiden silo
#

wowza

#

that was 4000 iq

quartz compass
#

yeah and the diagonal terms aren't necessarily 1 either

#

so you're good, glad to help

maiden silo
#

bet bet thanks

#

also

#

this one is false

#

because the negative doubles

#

and becoems positives right

#

becomes**

#

@quartz compass

quartz compass
#

hmm what does orthogonal projection look like

maiden silo
#

y dot u

#

divided u dot u

#

times u

quartz compass
#

like geometrically though

maiden silo
#

oh

#

well

maiden silo
#

its the same line

quartz compass
#

like this right

maiden silo
#

ye

#

whether its negative or positive

#

im p sure its the same line

quartz compass
#

if you make the vector youo're projecting on negative

#

nothing actually changes

maiden silo
#

ya ya exactly

#

bc it still spans the same subspace

quartz compass
#

yeah

maiden silo
#

only multiplying by -1

#

cooleo

#

what math are you in rn?

quartz compass
#

wait I think I misread the question or your answer now

#

oh I graduated

maiden silo
#

oh damn

#

nah it was correct

quartz compass
#

I'm just bored wasting time for fun

maiden silo
quartz compass
#

even moreso now cause I can't really leave the house that much

maiden silo
#

oof im an idiot

#

i hate these enrichment classes lmao

#

right lol

#

stupid corona

quartz compass
#

oh this one's actually pretty easy to show

maiden silo
#

oof

#

i was going off of the nxn rule

quartz compass
#

$(Ux)^T (Uy)$

stoic pythonBOT
quartz compass
#

can you compute this

maiden silo
#

woah woah huh

quartz compass
#

like try to simplify this by algebra, this is like the dot product

maiden silo
#

since was that a thing

quartz compass
#

let me write it this way instead

#

$$a = Ux$$ $$b=Uy$$

stoic pythonBOT
quartz compass
#

you can use the dot product to compute the angle between a and b right?

maiden silo
#

yea

quartz compass
#

$a^Tb$

stoic pythonBOT
quartz compass
#

so now we plug in the matrices

maiden silo
#

why would u do that tho

#

the a^T b

quartz compass
#

well we want to see what the angle is

#

in terms of x^T y

#

if possible

maiden silo
#

but

#

its Ux and Uy

quartz compass
#

cause if they're the same, then they have the same angle

#

yeah

#

there's a rule for when you transpose a product

#

$(Ux)^T Uy$

stoic pythonBOT
quartz compass
#

the left part simplifies a bit

#

transpose that

maiden silo
#

but

#

how

quartz compass
#

$(AB)^T = B^TA^T$

#

you learned this?

stoic pythonBOT
maiden silo
#

ya

quartz compass
#

do that

maiden silo
#

oh

quartz compass
#

what do you get

maiden silo
#

oh wow

#

you get

#

$x^TU^TUy$

stoic pythonBOT
quartz compass
#

keep simplifying more if you can

maiden silo
#

because U is orthonormal

#

then $U^TU = I$

#

correct?

stoic pythonBOT
quartz compass
#

yup

maiden silo
#

and then

#

$x^Ty$ is what you end up with

stoic pythonBOT
quartz compass
#

yeah

#

so a^Tb = x^Ty

maiden silo
#

we know that $x \cdot y = 0$

stoic pythonBOT
quartz compass
#

nooo

maiden silo
#

oof

quartz compass
#

$x \cdot y = |x| |y| \cos 45$

stoic pythonBOT
maiden silo
#

yea

#

yes

quartz compass
#

so the other thing we should probably check is

#

if |a| = |x| and |b|=|y|

maiden silo
#

wait im confused

#

many steps what happened

quartz compass
#

yeah, the main thing is orthogonal matrices correspond to things like rotations and reflections

#

so if you take two vectors, rotate them the same amount, then the angle between them stays the same

maiden silo
#

but rotations and reflections are always square matrices

quartz compass
#

yeah that's true

maiden silo
#

we have a 3x2

quartz compass
#

well ok to put it another way, let's just forget all that intuition type stuff and look at what we can compute directly

#

$x \cdot y = |x| |y| \cos 45$

stoic pythonBOT
quartz compass
#

now right now we would like to do something similar with a dot b

#

to determine the angle

maiden silo
#

ya

quartz compass
#

$a \cdot b = |a||b| \cos \theta$

stoic pythonBOT
quartz compass
#

we just showed a dot b = x dot y

maiden silo
#

yes

#

wait

quartz compass
#

now if we show |a|=|x| and |b|=|y| we have shown everything to be the same so the cos(theta) = cos(45)

maiden silo
#

we showed a^T dot b = x^T dot y

quartz compass
#

$a \cdot b = a^T b$

stoic pythonBOT
maiden silo
#

im an idiot

#

okay yes

#

but how do you show magnitudes are same

quartz compass
#

just do the same kind of argument

#

but instead of a and b do a with itself

#

since a dot a = |a|^2

maiden silo
#

but how does that help

quartz compass
#

basically practice the trick I showed you earlier on your own now, it's really the same thing

maiden silo
#

hmmm okay imma try it

#

thanks!!

quartz compass
#

yw

formal pond
daring solstice
#

Thank u for the response from yesterday @wintry steppe
Pinging just to say thanks idk if its appreciated or annoying so let me know

#

was really helpful for me to understand the concept of numerical instability

pale obsidian
#

hey can anyone help me with a computer graphics programming assignment. i need help with camera matrix projection and transformation. we are using webgl and javascript in my class. my hw is due friday at 11:59pm. dm if you can help

cold topaz
dusky epoch
#

doesn't matter

#

there are many possible sequences of row operations that will allow you to row-reduce a matrix

open pivot
#

So to follow up, is there ever a wrong way to row reduce a matrix? Not sure how to properly phrase my question but is there a systematic way you should always use? Implying that, if using legal row operations, can you fuck it up? Thinking about it typing this, any row operation results in the same equivalent matrix so you cant fuck it up but just get further from a row reduced one. Someone correct me if I'm wrong or maybe someone will find my epiphany useful aha.

dusky epoch
#

Implying that, if using legal row operations, can you fuck it up?
if by legal you mean free of fuckups

#

then no

#

you can only fuck up a row reduction by fucking up the execution of one or more row ops

wide ravine
#

Hi. I'm stuck at this problem from Evan Chen's Napkin, probably having trouble digesting the material.

sonic osprey
#

well, do you understand the definition of T \otimes S?

wide ravine
#

as the vector space of the sums of t \otimes s for vectors t and s @sonic osprey sorry for taking long

uncut forge
#

If you have a cycle of generalized eigenvectors ending in the eigenvector v

#

Is it possible to have more than one linearly independent eigenvector of rank/height p > 1?

cold topaz
#

@dusky epoch and @open pivot well... When I do R1-R3=R3,
I get 0 2 -5, which enables me to go all the way to get a diagonal matrix/reduced row echelon form.
But when I do R3-R1=R3, then I get 0 -2 5, which wont let me to get RREF.
Slader has R3-R1=R3.
That's why I'm confused.

limber sierra
#

er, those are negatives of each other

#

so it shouldnt impact your ability to get an RREF form

#

since you can just multiply a row by -1

cold topaz
limber sierra
#

i mean, it could

#

the user just doesnt go all the way

#

no clue why they call it "reduced row echelon form"

#

but i mean, it's slader

#

i have no clue what the question is, though

#

did you just need to solve the system? if so you dont need to row reduce all the way

cold topaz
#

this is the question

is a line through the origin, a plane through the origin, or the origin only. If it is a plane, find an equation for it. If it is a line, find parametric equations for it.```
limber sierra
#

so yeah, you just need to solve the system

#

and clearly solving this system gets that x_1 = x_2 = x_3 = 0

#

you dont NEED to fully row reduce to get this result

#

although you could

#

multiply the last row by -1

#

add 3 times the third row to the second row

#

subtract 3 times the second row from the first row

#

done

#

still, the point is that you just need to solve the system

#

do so in whatever way works for you

remote elm
#

hello, i understand determining how a vector can be written given a linear combination of vectors, but i don't understand how a matrix can be written given a linear combination of matrices

limber sierra
#

matrices are just vectors in a vector space of matrices

#

anyway, if you want

#

note that you're only adding these matrices

#

and multiplying them by scalars

#

so they're "indistinguishable" from standard column vectors

#

for the purposes of this question

#

you could write, say, $M_1 = \begin{pmatrix}2&2\-1&3\end{pmatrix}$ as $\begin{pmatrix}2\2\-1\3\end{pmatrix}$

stoic pythonBOT
limber sierra
#

and similar for the other matrices

#

just make sure you keep the "rule" consistent, and remember to justify why you can do this

#

and then you can solve this exactly as you would solve a linear combination of vectors.

remote elm
#

ah ok, got it, thank you

digital garnet
#

any ideas?

half ice
#

L(5u)
= 5L(u)
= 5[2,1]
= [10,5]

digital garnet
#

so is the second just 6 and -18?

half ice
#

It's [6,-18] yeah

#

Remember a linear function lets scalar multiples out, and splits over addition

digital garnet
#

so if it was L(5u-6v)

#

can i take out the 5 and -6?

wintry steppe
digital garnet
#

@half ice

half ice
#

L(5u - 6v) = 5L(u) - 6L(v)

#

L pretty much moves over everything

digital garnet
#

so it would just be the 2 vectors minused?

#

[10,5] + [6,-18]

half ice
#

-, but yeah

digital garnet
#

wouldnt it be plus?

#

5L(u)+ (-6L(v))

#

yea got it

#

@half ice last question if u dont mind

half ice
#

Say you multiply A by some vector x. What is the size of x?

digital garnet
#

4

half ice
#

I like to keep that diagram in mind when multiplying two matrices. That's multiplying AB. @digital garnet

#

x would need to be size 2

digital garnet
#

so k = 2

half ice
#

Now, Null(A) is a subspace of the input vectors

digital garnet
#

right

half ice
#

So Null(A) is a subspace of R^2

#

Col(A) is a subspace of the output vectors

digital garnet
#

wouldnt it be r^2 as well

half ice
#

Nop. R4 in that case. The outputs are size 4 vectors

digital garnet
#

ohhhh

#

so for b

#

row(b) is 1

#

and null(5)

#

no sorry

#

null(b) = 5

#

row(b)=1

half ice
#

Col(b) is 1, you're correct there

#

Transpose the matrix first, then Row(B) switches to Col(B)

digital garnet
#

right

#

and then

#

the

#

null(b) would be 5

#

cuz it outputs in r^5

#

i got 5/6

#

one of them is wrong but im not sure which one

#

hmm

half ice
#

Row(B) is wrong

#

Transpose B, then find the column space of that

digital garnet
#

it can only be 5

#

how do u know if something is a linear mapping?

limber sierra
#

do you know what the definition of linear is

digital garnet
#

it means it can be expressed in a straight line right

limber sierra
#

thats not a formal definition

#

a map $f$ is linear if, for all vectors $x, y$ in its domain and scalars $r$, it satisfies:

[ f(x+y) = f(x) + f(y)]
[rf(x) = f(rx)]

stoic pythonBOT
limber sierra
#

so you need to check whether those hold.

#

to use part C as an example, we want to check whether $L(x_1 + y_1, x_2 + y_2, x_3 + y_3) = L(x_1, x_2, x_3) + L(y_1, y_2, y_3)$, and whether $rL(x_1, x_2, x_3) = L(xr_1, rx_2, rx_3)$

stoic pythonBOT
limber sierra
#

so lets do that

#

$L(x_1 + y_1, x_2 + y_2, x_3 + y_3) = (x_1 + y_1, x_2 + y_2, -x_3 - y_3) = (x_1, x_2, -x_3) + (y_1, y_2, -y_3) = L(x_1, x_2, x_3) + L(y_1, y_2, y_3)$

stoic pythonBOT
limber sierra
#

so indeed, it satisfies the additivity condition

#

do you follow the reasoning there?

#

and then:

#

$rL(x_1, x_2, x_3) = r(x_1, x_2, -x_3) = (rx_1, rx_2, -rx_3) = L(rx_1, rx_2, rx_3)$

stoic pythonBOT
limber sierra
#

so it also satisfies the multiplicative condition

#

hence, the map L in part C is linear

#

but if we look at, say, the map from part A

#

$rL(x_1, x_2, x_3) = L(1, x_2, x_3) = (r, rx_2, rx_3)$ while $L(r, rx_2, rx_3) = (1, rx_2, rx_3)$

stoic pythonBOT
limber sierra
#

so the map from part A does not satisfy the multiplication condition

#

since $(r, rx_2, rx_3) \neq (1, rx_2, rx_3)$ for some values of $r$ (in fact, every $r$ except $r = 1$)

stoic pythonBOT
limber sierra
#

[it also doesn't satisfy the additivity condition]

#

so the map from part A is not linear

digital garnet
#

holy crap tysm

#

ok wait i gotta read it

#

that means b isnt linear mapping

limber sierra
#

correct

digital garnet
#

d is

#

and e isnt ?

limber sierra
#

are you sure about that?

#

let's look at d for a second

#

lets take an example, say

digital garnet
#

lemme look again

#

yeah

limber sierra
#

$(1, 5)$ and $(-2, -3)$

stoic pythonBOT
limber sierra
#

then $L(x + y) = L(1 - 2, 5 - 3) = L(-1, 2) = (-8, 6)$

stoic pythonBOT
digital garnet
#

ohhhh

#

so d isnt

#

i see

limber sierra
#

but $L(x) + L(y) = L(1, 5) + L(-2, -3) = (-6, 15) + (-2, 9) = (-8, 24)$

stoic pythonBOT
limber sierra
#

and $(-8, 6) \neq (-8, 24)$ so $L(x+y) \neq L(x) + L(y)$

stoic pythonBOT
limber sierra
#

so, as you just said, D isnt linear

#

what about E?

digital garnet
#

i think e is

limber sierra
#

it is, but let's verify

#

just for the sake of example

#

we want to show $L(x + y) = L(x) + L(y)$, and also $rL(x) = L(rx)$

stoic pythonBOT
limber sierra
#

so write

digital garnet
#

so C,E are the only ones that show linear mapping right

#

yeah lets ee

#

oh shoot

#

did i miss one?

limber sierra
#

hold on

#

i misread E

#

i just realized

#

i thought the second term was x_1 + 4x_2

#

my bad

#

E actually isnt linear

#

thats entirely my mistake, apologies

digital garnet
#

np lol

#

i have one more attempt

#

but i tried c alone as well

limber sierra
#

oh also

digital garnet
#

so that means we missed one more

limber sierra
#

wait holy shit

digital garnet
#

but i cant seem to figure out which

limber sierra
#

ok so hold on

#

i just glanced over B

#

but its actually linear

#

idk what im thinking, sorry

#

i just had major brain farts

#

gimme a sec

#

for part E, we can see it isnt linear with an example

#

consider two vectors $(0, 0)$, then $L(0 + 0, 0+0) = (0, 4, 0)$ while $L(0) + L(0) = (0,4,0) + (0,4,0) = (0,8,0)$

stoic pythonBOT
limber sierra
#

meanwhile, for part B

#

note that the 0 doesnt actually ever

#

affect anything

#

the difference between A and B is

#

in A, the 1 is interplaying with summation/products

#

i.e. it changes with sums and scalar multiples

#

but the 0 in part B never will

#

since 0 + 0 = 0 always

#

(obviously)

#

and 0 * r = 0

#

sorry, im really not sure what i was thinking earlier

#

christ

digital garnet
#

so jus b n c

limber sierra
#

let me check again

#

sanity check

digital garnet
#

xD

#

B,C check

#

ok c checks

limber sierra
#

yeah, that seems good now; B and C

digital garnet
#

yes tysm!!!!!!

limber sierra
#

sorry for the confusion

#

no clue what i was thinking

digital garnet
#

np lol

#

cuz i got where u were going

#

but yeah it all worked out in the end

limber sierra
#

yeah i just got lazy mentally

digital garnet
#

now gotta find standard matrixes

limber sierra
#

the general heuristic trick is that

#

if you just have multiplication by a constant, it's probably linear

#

but if you add in higher-degree terms (like 4x^2 or whatever)

#

or addition of constants

#

it's probably not linear (unless the constant is 0)

#

and if you have "weird" functions like absolute value and whatnot

#

it's also probably not linear, but worth checking

#

since sometimes things simplify nicely

#

or sometimes, a function that you didnt expect to be linear actually is

quartz compass
#

finding the matrices should be pretty simple, since the columns of a matrix are just where the basis vectors get mapped to, which are easy to look at

digital garnet
nimble egret
#

Well, you know how your standard basis vectors are affected under this transformation

digital garnet
#

@nimble egret

nimble egret
#

πŸ€”

digital garnet
#

is it just

#

[1,6,9],[0,5,4],[8,2,7]

nimble egret
#

well

#

there's an easy way to check

#

multiply the matrix by the vector

#

and see if you get the result

digital garnet
#

wait what

#

sorry u lost me

nimble egret
#

multiply A by the column vector [1, 0, 0]

#

what should you get out of it?

digital garnet
#

oh are we saying A what i just stated

nimble egret
#

sure

#

what do you get out of it?

#

what should you get out of it?

digital garnet
#

i get [1,6,9]

nimble egret
#

multiplying by column vector [1, 0, 0] right?

digital garnet
#

yes

nimble egret
#

but what should you get?

digital garnet
nimble egret
#

look at the transformation given

digital garnet
nimble egret
#

L([1, 0, 0]) = [8, 2, 7] correct?

digital garnet
#

yes

nimble egret
#

so if you multiply A by [1, 0, 0], you should get [8, 2, 7] correct?

digital garnet
#

yes

nimble egret
#

so clearly something went wrong right?

digital garnet
#

yes

nimble egret
#

it should become pretty intuitive

#

that if [8, 2, 7] was the first column of A

#

then multiplying by the column vector [1, 0, 0]

#

would give [8, 2, 7] regardless of what the other entries are

#

similarly, if [1, 6, 9] was the middle column of A

#

then multiplying by [0, 1, 0] would give [1, 6, 9] regardless of what the other entires are

#

i'm sure you can figure this out for the last column as well

digital garnet
#

the first column is

#

0 5 4

nimble egret
#

umm how?

digital garnet
#

isnt that what u said

nimble egret
#

no

#

read what i said

digital garnet
#

oh u said first

#

so its switched

nimble egret
#

you should be able to do the matrix multiplication

#

and verify whether your answers are correct or not

digital garnet
nimble egret
#

yes

digital garnet
#

@nimble egret πŸ‘

#

🀝

maiden silo
#

Can anyone help me prove this

#

Is it just simply injectivity + surjectivity

pallid rampart
#

Hint: The statement is wrong

maiden silo
#

wait hUh

#

@pallid rampart how

#

it's true

pallid rampart
#

Example:
$v_1=\begin{bmatrix}1\0\end{bmatrix},v_2=\begin{bmatrix}0\1\end{bmatrix},v_3=\begin{bmatrix}1\1\end{bmatrix}$ spans $\bR^2$, but is it isomorphic to $\bR^3$?

stoic pythonBOT
maiden silo
#

o...

#

im so stupid LOL

#

@pallid rampart thanks

pallid rampart
#

lol sure you're not stupid

maiden silo
#

a subspace always has to be a subset of its parent vector space right...

pallid rampart
#

Yes

#

Yes

#

But the theorem is, a subspace H of V always has smaller or equal dimension than V

#

so "a subspace always has to be a subset of its parent vector space right..." is true, but it's not that relevant here

maiden silo
#

wait wait

#

R^2 isn't a subspace of R^3

wintry steppe
#

You can have 2 dimensional sub space of R^3

maiden silo
#

wait what since when

wintry steppe
#

I.e. take the basis (1,0,0) and (0,1,0)

#

These are linearly independent

#

2 elements

pallid rampart
#

R^2 is isomorphic to a subspace of R^3

maiden silo
#

ohhhh

#

like a plane can be a subset of R^3

wintry steppe
#

Yes

pallid rampart
#

when I say it's not that relevant, I kind of meant that it's obvious that it's true

#

By definition it's a subset of the parent vector space

maiden silo
#

gotcha

maiden silo
#

this isn't a trick question right

#

it's always true, not sometimes?

steady fiber
#

no

#

it's always false

maiden silo
#

@steady fiber nah why

quartz compass
#

are you trying to just milk answers without reading a book jesus christ

steady fiber
#

bruh

#

like if you truly understand what a change of basis matrix does

#

you can see right away it cannot be one

#

assuming that is a change of basis matrix, think about what matrix would give you the inverse change of basis

#

change of basis matrix from C to B

maiden silo
#

bruh bruh

#

we don't have a book

#

this is why

#

i am SO confused

maiden silo
#

oohhhhh shit

#

@steady fiber so i remembered the property that change of basis matrices have to be invertible, but it said change of coordinates, so i didn't rly pay attention

#

but its a change of basis LOL

hollow finch
#

Suppose we use the Gram-Schmidt process on an ordered set of vectors S to get another set S'.
Is there any special relationship between a S and S'? For example, suppose I find some vector u that is orthogonal to every vector in S. Is any information lost by using u as the first element in S' as opposed to the first element in S? Would it mess up QR decomposition?

#

ik that's a a lot of questions. Sorry about that.

half ice
#

@hollow finch
S should be a basis. Then, S' is an orthonormal basis on the same space. That's what Gram-Schmidt do.

If S is a basis to your space, there exists no vector orthogonal to all vectors S in your space.

finite kraken
#

is anyone familiar with hamming code

#

looking at hamming code, and I guess if you don't get ooo as the messace vector then there was an error

#

but if there is an error, how do you know what to change in your original message

nimble egret
#

It matches the second column of your matrix

#

So change the second element of your message

#

@finite kraken

finite kraken
#

ohh

finite kraken
#

I always get lost with finding the ker(T)

#

I get you write out a polynomial

#

and then row reduce accordingly

#

then you find your free variables etc.

#

but once you do that, how do you know what the span should be?

#

Like i'm assuming you use the form of your original polynomial at^2+bt+c

half ice
#

@finite kraken
With the line:
a = -c
b = 0
c = c

You've proven that the polynomials that map to zero are exactly:
-ctΒ² + c
= -c(tΒ² - 1)

But that's the set spanned by tΒ² - 1, so you can express it as the span instead

finite kraken
#

whoa

#

Oh wow

dusky epoch
#

t though

#

not x

#

just for consistency

finite kraken
#

yeah I see

half ice
#

Oop

finite kraken
#

okay but

#

could a ker(t) have multiple parts for the set

#

like

#

ker(t)=span (t^2-1, t)

#

something like that

dusky epoch
#

the kernel can be specified as the span of multiple polynomials

#

generally though, you'll want as few as possible

finite kraken
#

hmmm

dusky epoch
#

also, ker(T) not ker(t)

finite kraken
#

O true

#

linear algebra is hard lol

half ice
#

It ends up being the case that the number of columns without a pivot is equal to the number of vectors in the basis of ker(T)

finite kraken
#

I think subspaces for me were the hardest topic i've ever encountered

half ice
#

You have one column without a pivot, and so you have one free variable, and so the kernel can be spanned with one polynomial

finite kraken
#

ohh

#

so if I had

#

2 free variables

#

then i'd probably have a span of 2 polynomials

half ice
#

You'd have to have

#

Yeah

finite kraken
#

ohhh

#

its probably a rule, i'll check my book

#

Thank you so much for the help! I appreciate it

half ice
#

It's a consequence of rank-nullity theorem, as far as I know?

finite kraken
#

ooo

#

Yeah I think so

#

definitions in linear are super important

dusky epoch
#

definitions are super important no matter what

finite kraken
#

yeah True

hollow finch
#

@half ice right of course. What I was thinking about was an example a professor went over in his class for finding bases for the orthogonal complement of a subspace.

#

Say we want to find a basis for the orthogonal complement to a line in R^4. And I find 5 different vectors u1, u2,...,u5 that are orthogonal by inspection. If we did the Gram Schmidt process on a specific combination (say S={u2, u4, u5}) to get S', would there be any special relationship between S and S'? Or is it no different than using Gram Schmidt on u1, u2, and u3?

fringe pasture
#

What does this mean

#

I think it's linear algebra

#

I'm guessing something about a matrix of 2nx2n size judging by the context in the litterature

#

But that still doesnt explain R

thorn robin
#

2n-by-2n matrices with entries in R yes

dusky epoch
#

$\bR^{2n \times 2n}$ is the set of all $2n$ by $2n$ matrices with real entries

stoic pythonBOT
open pivot
#

If I have a system of however many equations with variables x1,x2,x3,x4 and one of those variables say x2 all had zero coefficients leaving the augmented matrix with a column of zeroes, what is significant about that? You can't ignore it can you?

shadow drift
#

You can't ignore it. If the entire x2 column is made of zeros.
e.g

1 0 2 3
3 0 2 1
1 0 2 3

It means x2 is free.

#

Which means x2 can be anything.

long tendon
#

If x2 has all zero coefficients, than there's no x2.

open pivot
#

Does a column of zeroes making x2 free, differ from any other scenario where x2 might be free?

long tendon
#

If you relabel x3 as x2 and x4 as x3, than you won't have that nonexistent column in the matrix. Why do you think there should be x2 in the first place?

#

Does a column of zeroes making x2 free, differ from any other scenario where x2 might be free?
@open pivot it's different in the way that non of other variables depend on x2 in that case. Therefor, it doesn't exist in the first place. You can add a ton more empty columns like those, but they won't affect other solutions or the dimensionality of fundamental system of solutions.

shadow drift
#

In all practical situations x2 shouldn't exist so it should be meaningless.

#

But in some questions they do matter.

#

So it would generally make the matrix unsolvable.

long tendon
#

Can you give an example? I've never seen a question about a variable that doesn't exist.

shadow drift
#

If a question asked to solve the matrix:

1 0 2 3
3 0 2 1
1 0 2 3
#

You can't just remove the column.

long tendon
#

You can, or you can just use Gauss method. The result would still be same, except of meaningless $x_2 \in R$.

stoic pythonBOT
open pivot
#

I'm working through a problem with a system of 3 equations in 4 variables but supposedly x2 "does not appear in these equations". My thinking was with no x2 why should it exist to begin with?

shadow drift
#

It wouldn't be meaningless.

#

With Gauss-Jordan, it would become inconsistant.

#

Because you won't be able to put it in REF.

#

Because your missing an entire pivot.

open pivot
#

Right, I'm asked to put the system into an augmented matrix and use G-J to analyse the solutions

#

So would you have to ignore x2 in order to row reduce the matrix?

shadow drift
#

I wouldn't but @long tendon disagrees. So maybe I'm wrong.

open pivot
#

I'll post the question if it helps

long tendon
#

If they particularly ask about that very matrix then, while it's a dumb impractical question, they're indeed forcing you to write something like $x_2 \in R$

stoic pythonBOT
open pivot
#

Here is the problem, they note 'x2' doesn't appear, and I don't know if that means its significant to the question

shadow drift
#

Feels like a trick question.
Since I would initially interpret it as:

2 0 1 3 2
1 0 1 1 c```
But algebraically I would agree with @long tendon and ignore x2.
long tendon
#

You must show what?

open pivot
#

My best answer is what @shadow drift mentioned about x2 being free to choose implying inf. many sol. But the latter part of the question asks for what values of c are there solutions. But if there are already infinitely many why does c matter?

long tendon
#

Yep, for some values of c there would be no solutions at all. x2 can be chosen freely if (x1, x3, x4) is a valid solution. In other words, x2 doesn't change anything about the solution at all.

#

Yep, for some values of c there would be no solutions at all. x2 can be chosen freely if (x1, x3, x4) is a valid solution. In other words, x2 doesn't change anything about the solution at all.

shadow drift
#

If you interpret it as:

1 0 0 2 1
2 0 1 3 2
1 0 1 1 c

And try to do gauss-jordan, it won't work.
Because the entire matrix is inconsistent.
So it has no solutions.

long tendon
#

Yep, for some values of c there would be no solutions at all. x2 can be chosen freely if (x1, x3, x4) is a valid solution. In other words, x2 doesn't change anything about the solution at all.

shadow drift
#

But yeah, if you interpret it as:

1 0 2 1
2 1 3 2
1 1 1 c

You should be able to do gauss jordan. And depending on what c is the number of solutions will change.
e.g c = 0, there won't be solutions.

open pivot
#

Cheers for the help guys

dull garden
#

i don't understand it

tardy eagle
quasi vale
#

@tardy eagle $c_1 \cdot <9, (18 + 3h), (9 + h)]> + c_2 \cdot <9, 12, (11 - h)> = <-3,-3,-2>$

stoic pythonBOT
quasi vale
#

idk the coding so I couldn't write the vector in column form

#

but there's 3 equations with 3 unknowns

#

so you can solve for h

#

Like, equation 1 will be 9c1 + 9c2 = -3 and then so on

tardy eagle
#

I tried that but could not get an answer

#

I have no idea how to solve it tb

#

h

quasi vale
#

what'd you try?

#

show your working

tardy eagle
#

Hmm I have it on paper but basically I tried to get it to row reduced echolean form with v1, v2 and b as the 2 columns but I cant find a way to solve for H

#

That method works when it is b that contains the h but I cant solve it when the 2 vectors contain h instead (the other way around)