r/rational • • Sep 09 '16

[D] Friday Off-Topic Thread

Welcome to the Friday Off-Topic Thread! Is there something that you want to talk about with /r/rational, but which isn't rational fiction, or doesn't otherwise belong as a top-level post? This is the place to post it. The idea is that while reddit is a large place, with lots of special little niches, sometimes you just want to talk with a certain group of people about certain sorts of things that aren't related to why you're all here. It's totally understandable that you might want to talk about Japanese game shows with /r/rational instead of going over to /r/japanesegameshows, but it's hopefully also understandable that this isn't really the place for that sort of thing.

So do you want to talk about how your life has been going? Non-rational and/or non-fictional stuff you've been reading? The recent album from your favourite German pop singer? The politics of Southern India? The sexual preferences of the chairman of the Ukrainian soccer league? Different ways to plot meteorological data? The cost of living in Portugal? Corner cases for siteswap notation? All these things and more could possibly be found in the comments below!

24 Upvotes

90 comments sorted by

View all comments

Show parent comment

7

u/somerandomguy2008 Sep 10 '16

Disclaimer: I didn't know how to do matrix multiplication prior to answering this question. I thought it might help to hear how someone who doesn't grok linear algebra would remember the algorithm.

Personally, I found the first page of this to be a fairly intuitive explanation.

Basically, it takes a look at one use for matrices - representing linear equations in a way that clearly separates the different components of the equation (coefficients, unknowns and constants in this case). It then asks one simple question - how do you turn the matrix representation of the linear equations back into a more standard form? Matrix multiplication.

Do this:

  1. Make up three linear equations, each using the same three unknowns, and line them up in three rows.

    2x + 3y + 4z = 100 3x + 4y + 5z = 126 4x + 5y + 6z = 152

  2. Go ahead and ignore the right half of the equation - it's not important for remembering how to do this.

    2x + 3y + 4z 3x + 4y + 5z 4x + 5y + 6z

  3. Convert this into two matrices (coefficients in one, unknowns in the other).

    [2 3 4][x] [3 4 5][y] [4 5 6][z]

  4. Ask yourself - how can you revert from step 3 back to 2? Answering this question reinvents matrix multiplication.

    [2x + 3y + 4z] [3x + 4y + 5z] [4x + 5y + 6z]

  5. If you have more columns in your second matrix (step three only has one column), just remember to multiply one column at a time.

    [2 3 4][x a] [2x+3y+4z 2a+3b+4c] [3 4 5][y b] = [3x+4y+5z 3a+4b+5c] [4 5 6][z c] [4x+5y+6z 4a+5b+6c]