4
$\begingroup$

I'm watching videos of Gilbert Strang's linear algebra lectures. In lecture 17, where he goes over orthonormal bases and the Gram-Schmidt process, he proves

$$ A^TB = A^T\left( b - \frac{A^Tb} {(A^TA)} A\right) = 0 $$

by having

$$ A^T \frac{A^Tb} {(A^TA)} A $$ cancel out into ATb. I don't know how the ATA on the top was allowed to cancel out with the ATA on the bottom if there is an ATb sandwiched in between the AT and the A on the numerator. Shouldn't the AT and the A on the numerator not be allowed to multiply each other?

I wondered if the AT on the numerator can cancel out with the AT on the denominator and the same for the two A's, but I do not know if this violates the order of operations for matrix multiplication. If I were to write (ATA)-1 rather than have the (ATA) on the denominator below the (ATb), where would it go?

  • 3
    Dividing by matrices is completely insane (undefined) in every context I'm aware of, FYI. It might be a misunderstanding. Are we sure these are not dot products, or something of that nature?2017-01-18
  • 0
    I believe the (A^T)A on the denominator is also interpreted as (A^T)A inverse.2017-01-18
  • 1
    The term on the right doesn’t look right for another reason: If $A$ is a matrix and $b$ a column vector the product $bA$ doesn’t make much sense, either. Also, are $B$ and $b$ meant to be the same object? I’m with @TheCount: if this is about the Gram-Schmidt process, then all of the variables in your question are likely vectors. If so, then $A^TA$ is a scalar (well, a $1\times1$ matrix, which you can treat as a scalar most of the time), so you can move it around and divide by it all you like.2017-01-18
  • 1
    @eriche the problem with that interpretation is that it doesn't specify if the inverse is supposed to be on the right or on the left of the expression:)2017-01-18

1 Answers 1

5

Here's Prof. Strang's blackboard at 33m56s:

enter image description here

Note that $\mathrm A, \mathrm B$ are vectors, not matrices!! In other words, the question makes no sense whatsoever.

  • 0
    Unconventional notation, to say the least! Thanks for clearing it up!2017-01-18
  • 0
    Ohh, thank you so much. I let the notation confuse me into thinking A and B were matrices!2017-01-18