MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Outer product in mathematica

  • To: mathgroup at
  • Subject: [mg51282] Re: [mg51261] Outer product in mathematica
  • From: Matteo Delfino <delfino at>
  • Date: Tue, 12 Oct 2004 01:57:45 -0400 (EDT)
  • References: <>
  • Reply-to: delfino at
  • Sender: owner-wri-mathgroup at

Jonas Sourlier ha scritto:
> Hi there
> In the lections at my University I have learnt that the outer product
> of two Vectors is defined as follows:
> (a)       x (b)       = 0
> (a, b)    x (c, d)    = ad - bc
> (a, b, c) x (d, e, f) = (bf - ce, cd - af, ae - bd)
> For two four-dimensional Vectors the outer product produces a
> six-dimensional Vector (handled as a skew-symmetric 4x4-matrix).
> The general, axiomatic definition of the outer product says that it is
> graduately anti-commutative: u x v = (-1)^(k+l) (v x u)
> bilinear: (u + v) x w = u x w + v x w
> for two vectors u, v and w with dimensions k, l, m.
> Now, my question: The outer product seems to be implemented in
> Mathematica with the function Outer. But whatever I've tried so far
> with Outer I didn't manage to get the outer product of two vectors as
> described above.
> Outer[Times, {a,b,c},{d,e,f}]    produces the 3x3-Matrix
> {{a d, a e, a f}, {b d, b e, b f}, {c d, c e, c f}}
> How can I calculate the outer product of two vectors with Mathematica?
> Thank a lot for helping me!
> Jonas
Outer product (or tensor product) and cross product are not the same 
thing.Outer product is defined between two tensors and produces a tesor
  of higher rank,cross product takes two vector (read:tensor of the same 
rank) and produces another vector (read:tensor of the same rank as 
before).In mathematica cross product is defined as Cross[] and Outer 
product as Outer[].



It is still possible to extend the definition of Cross[] product to 
tensors of any rank,try searching google for informations such as:

Hope It helps.
Delfino Matteo

  • Prev by Date: Re: plotting groups of polynomial roots
  • Next by Date: Eigenvalues and eigenvectors of a matrix with nonpolynomial elements.
  • Previous by thread: Re: Outer product in mathematica
  • Next by thread: Re: Outer product in mathematica