MathGroup Archive 2005

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

Search the Archive

Re: symbolic matrix calculation doesn't work

Contrary to what it says in Help, MatrixForm isn't a wrapper.

You could input something like this:

MatrixForm[T = (-(2*u)^(-1))*{{1, 1}, {1, 1}}]
MatrixForm[d = {En1, In1}]
MatrixForm[P = {{0, 1}, {1, 0}}]
a = (1/2)*Inverse[P - T . P . Transpose[
         Conjugate[T]]] . d . Conjugate[d]

(output omitted)

Note that the line


in your notebook could have been simply


There is no difference.

The result is a scalar, as you probably intended, but there's no way to simplify away the conjugates without assumptions about the variables. For instance,

Simplify[a, u > 0]

((En1 + In1*(-1 + 2*u^2))*
     Conjugate[En1] +
    (In1 + En1*(-1 + 2*u^2))*
   (4*(-1 + u^2))


On Fri, 22 Apr 2005 06:25:51 -0400 (EDT), Jack <jack.peng at> wrote:

> Hi,
>    I am new to Mathematica and I can't seem to get mathematica to
> multiply symbolic matrices. Can anyone please help? The notebook file
> is at
>    Thank you so much. Please reply to xpeng at
> Jack

DrBob at

  • Prev by Date: Re: Simplifying Jacobian elliptic functions
  • Next by Date: Re: Adding new rules to Simplify
  • Previous by thread: symbolic matrix calculation doesn't work
  • Next by thread: Re: symbolic matrix calculation doesn't work