top | item 26334403

(no title)

Double_Cast | 5 years ago

Suppose your friend Alice arranges your wedding. You ask her to arrange the lawn chairs in an arrangement of 2 rows and 3 columns. But she misinterprets your request as 3 rows and 2 columns. Oops. Now a particular family can't all sit in a single row without rearranging the chairs.

If all you care about is the total number of chairs, the order of operands is irrelevant. but if you care about the structure, "2 x 3" may encode information that "6" does not.

discuss

order

simias|5 years ago

I address that point specifically in my comment. What you say is that the units of the operands matter, which I agree, but the order doesn't. 2rows x 3chairs and 3chairs x 2rows is the same thing.

tomxor|5 years ago

Except we are talking about scalar multiplication, that was the premise, not matrices.

Double_Cast|5 years ago

The point isn't "matrix multiplication != scalar multiplication". The point is "the process of evaluating a reducible expression inherently discards information about the original expression", which is a fact about evalution rather than any specific operator. The fact that "the information discarded is of little consequence to the compressed result" is a quirk specific to scalar multiplication. Thus, the commutative property distracts from explicitly modeling the "AST" so that the student understands what multiplication represents under the hood, beyond the rote memorization of scalar multiplication tables.

Perhaps an analogous situation would be: Suppose a teacher wanted to introduce the notion of limits to a calculus curriculum. "That makes zero sense. The only things a student needs to know are the shortcuts for each parent function, e.g. that (d/dx x^2) reduces to (2x) via handwavey magic." But what if an engineer needs to integrate over an arbitrary curve? Can students solve the problem without being comfortable with Riemann Sums? Maybe 1st-year calc students should rederive the shortcuts from scratch? "Except we're talking about a math course, not an engineering course."

> In particular this bit regarding multiplier/multiplicand makes zero sense to me.

> Isn't 2 rows x 3 chairs the same thing as 3 chairs x 2 rows? It's a bizarre argument.

It's bizarre to simias (and you, I assume) because y'all can't imagine performing the operation without thunking. (Don't get me wrong, I think "repeated addition" is the best method. I'm just attempting to explain the opposite perspective so that it feels less bizarre.)