#matrix help

72 messages · Page 1 of 1 (latest)

peak sail
#

So I have to find the matrix of this picture I don’t really know how to do this can’t really find how to do it

iron kilnBOT
peak sail
#

I would love just a point in the right direction

#

Oh and the problem asks to find the matrix of the left graph and use linear mapping to get the right side if that makes sense

unique rain
#

what you can do is look at how some specific points of the figure changed from left to right

#

for example, what happens to the bottom left of the K when you go from the 1st picture to the 2nd ?

#

@peak sail

peak sail
#

Goes from a straight line where x=0 to one that goes from x=0 to x=2

#

But i dont get how to find the matrix of that

unique rain
#

no, the bottom left stays put, it doesn't move

#

(0,2) in the first pic is (0,2) in the second pic also

peak sail
unique rain
#

now yeah we can talk about the top left of the K if you want

peak sail
#

Point moves from 0,6 to 2,6

unique rain
#

yep

#

so let's say our transformation matrix from 1st pic to 2nd pic is called T

#

what can you say about T from these two pieces of info ?

peak sail
#

I’m not really sure how you make this matrix but the points on the bottom (y=0) is the same in both of the matrix but they shift by +2 at y=6

unique rain
#

my goal is to get the matrix from knowing how these 2 points move

#

indeed we don't know what T is yet

peak sail
#

So wait is t how we change left side to make ther right side

unique rain
#

yeah

peak sail
#

So like LT=R L=left side R=right side?

unique rain
#

yeah T*L = R

#

where L is a point on the left side

#

and R is the corresponding point on the right

peak sail
#

Ahhhh ok

unique rain
#

so if you plug in these two pairs of L/R points we got earlier

#

what equations do we get ?

peak sail
#

T x [0 6] = [2 6]

#

Am i doing that right ?

unique rain
#

yeah assuming you mean column vectors for your points (it's hard to type them on text ik)

#

T goes from R^2 to R^2, so it's gonna be a 2x2 matrix

peak sail
#

So in the 2x2 matrix Will it be the highest and lowest point

#

So 2,6 and 0,6 in the 2x2 matrix

unique rain
#

not sure what you're saying here

peak sail
#

Wait nvm i missread

#

Ok so T is a 2x2 matrix

#

Wich makes the matrix with [0 6] into a matrix [2 6]

#

And just so im doing this correct R and L are 1x2 and not 2x1

unique rain
#

2x1 they should be

#

otherwise the matrix-vector product doesn't make sense

peak sail
#

Yeah my bad i meant the other way around 2x1 not 1x2

unique rain
#

$$T\begin{bmatrix}0 \ 6\end{bmatrix} = \begin{bmatrix}2 \ 6\end{bmatrix}$$
$$T\begin{bmatrix}2 \ 0\end{bmatrix} = \begin{bmatrix}2 \ 0\end{bmatrix}$$

tranquil thicketBOT
#

aPlatypus

unique rain
#

so that's what we got

#

2 equations about T

#

now it turns out we can combine these 2 equations into 1

#

by the power of matrices again

#

$$T\begin{bmatrix}0 & 2 \ 6 & 0\end{bmatrix} = \begin{bmatrix}2 & 2 \ 6 & 0\end{bmatrix}$$

tranquil thicketBOT
#

aPlatypus

unique rain
#

I matched the columns together

#

[L_1 | L_2] gives [R_1 | R_2]

peak sail
#

Yes that makes sense

#

Do we do this for every important point?

unique rain
#

2 are sufficient

#

we're working in R^2 that's why

peak sail
#

Alright ill do the calculation

#

See if i get this 1 second

#

1,1 is 1/3

#

Does this look correct

#

This should be T

unique rain
#

,w {{2, 2}, {6,0}} * {{0,2}, {6,0}}^-1

tranquil thicketBOT
unique rain
#

well maybe you swapped the columns at some point

#

but it looks roughly good

peak sail
#

Yes ok i see Where i went wrong i didnt put it back into the correct spots

#

I get the same answer as you sent now

unique rain
peak sail
#

Thank you for the help!! ❤️

unique rain
#

you can use .close if you're done @peak sail

peak sail
#

.close