How do you define a four vector in Mathcad with Minkowski metric?

  • Thread starter Thread starter jcsd
  • Start date Start date
  • Tags Tags
    Mathcad Vector
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 3K views
Science Advisor
Gold Member
Messages
2,113
Reaction score
13
How can you define a four vector in mathcad?

Bascially, I want to adjust the vector (mutiplying by arbitary constants if necessary):


[tex]I = \left(\begin{array}{c}cdt\\dx\\dy\\dz\end{array}\right)[/tex]

such that:

[tex]|I|^2 = c^2dt^2 - dx^2 - dy^2 - dz^2[/tex]
 
Physics news on Phys.org
You need the (Minkowski) metric to take the inner product.

- Warren
 
I worked out eventually that all I needed to do was mutiply were suitable by i and take the inner product of I and I.