Hey all,(adsbygoogle = window.adsbygoogle || []).push({});

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?

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Calculating angles between matrices

**Physics Forums | Science Articles, Homework Help, Discussion**