Message Boards Message Boards

0
|
170 Views
|
3 Replies
|
1 Total Likes
View groups...
Share
Share this post:

Issues solving symbolic matrix equation

Posted 10 days ago

Hi
I'm trying to solve a system of symbolic matrix equations in Mathematica, where two density matrices, pABC and Tt, are defined. I want to find values for the variables {x0, x1, x2, x3, y0, y1, y2, y3, λ} such that the elements of pABC and Tt are equal, with an additional constraint on the variables.
Here is my code ( i use vs 11 and can't update it currently)

POSTED BY: Reza rho
3 Replies
Posted 10 days ago

It is an answer, and it means no solution. Good luck with 27 algebraic equations in 9 unknowns. Establish first the conditions on the parameters:

Select[equations,
  FreeQ[Alternatives @@ {x0, x1, x2, x3, y0, y1, y2, 
     y3, \[Lambda]}]] // Union
conditions = Solve[%]
POSTED BY: Updating Name
Posted 10 days ago

no errors now but the result was as follows:

{}

actually no answer

POSTED BY: Reza rho

One of your equations does not contain the unknowns, and it poses severe constraints on the parameters:

equations[[16]]

Also, the syntax for Solve does not allow for a mixture of List and And. Try this:

Solve[And @@ equations && constraint, {x0, x1, x2, x3, y0, y1, y2, 
  y3, \[Lambda]}]
POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract