MathGroup Archive 2010

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

Search the Archive

Re: How to get the Inverse matrix in symbolic way?

  • To: mathgroup at
  • Subject: [mg114478] Re: How to get the Inverse matrix in symbolic way?
  • From: Daniel Lichtblau <danl at>
  • Date: Sun, 5 Dec 2010 21:53:11 -0500 (EST)

----- Original Message -----
> From: "lightnation" <lightnation at>
> To: mathgroup at
> Sent: Saturday, December 4, 2010 5:11:59 AM
> Subject: [mg114422] How to get the Inverse matrix in symbolic way?
> The attached file is for getting the inverse matrix in the symbolic
> way, in the power system.
> You can see the message "Mathematica Kernel has been shut down." after
> running this file,
> or only to find the file running infinitely.
> If Mathematica cannot get the inverse matrix, I'd be very
> disappointed,
> because this matrix is very important for the power system analysis.

I doubt you can get a reasonable result (if you can get any symbolic result, in finite time). The matrix you have is 12x12, not especially sparse, and contains several variables, trig functions thereof, etc. The only way a usable result might emerge is if it has some banded structure (or can be permuted to have one) that I didn't see, and also gives ries to fortuitous cancellations in the process of row reduction. Else I would expect the result to be monstrously big even in simplified form.

It might in principle be possible to get a smaller form by judicious use of common subexpression elimination. But I do not know how to go about this in any way that would actually be likely to succeed.

I could be wrong, but I really expect you will need to work with these after numeric values are put in for the various parameters, rather than before.

Daniel Lichtblau
Wolfram Research

  • Prev by Date: Re: How to bring up specific doc page programmatically?
  • Next by Date: Re: How to short-circuit match failure?
  • Previous by thread: How to get the Inverse matrix in symbolic way?
  • Next by thread: FileName Widget