- #1

spicytaco

- 2

- 0

I was hoping someone could explain to me how to calculate the angle between matrices, ie. two square matrices

[ 2 0

0 -1]

and

[0 1

1 3^(1/2)]

under the inner product <A|B> = trace (A^TB)

Also, how would you go about determining an angle between x and y when they are functions, ie. x = f(x) = x^2 +2 and y=(g(x)=x^3 -7x, under the inner product below:

⟨f |g⟩ =

1

∫ f (x)g(x)dx.

−1

I already know how to determine angle using cos theta = (x^Ty)/ ||x|| ||y|| but does this only work for column and row matrices?