Group Abstract Group Abstract

Message Boards Message Boards

Finding conjugating matrix

Posted 6 years ago
POSTED BY: Jonathan Tsu
4 Replies

The system does not appear to have a solution.

xmat = {{a[1], 1}, {b[1], -a[1]}};
cmat = {{0, 1}, {b[1] - a[1]*a[1], 0}};

In[308]:= lmat = Array[l, Dimensions[xmat]];
Solve[xmat.lmat == lmat.cmat, Flatten[lmat]]

(* Out[309]= {{l[1, 1] -> 0, l[1, 2] -> 0, l[2, 1] -> 0, l[2, 2] -> 0}} *)

General remarl: avoid capital letters for variables. Many have built-in meanings.

POSTED BY: Daniel Lichtblau
Posted 6 years ago

That works perfectly! Thank you so much for the help!

POSTED BY: Jonathan Tsu

Okay, so same idea. I changed lmat to be explicitly unimodular lower triangular.

lmat = {{1, 0}, {z, 1}};
Solve[xmat.lmat == lmat.cmat, Variables[lmat]]

(* Out[317]= {{z -> -a[1]}} *)
POSTED BY: Daniel Lichtblau
Posted 6 years ago

Apologies, there was a sign error in my question. The cmat matrix should have been given by cmat={{0,1},{b[1]+a[1]*a[1],0}}.

POSTED BY: Jonathan Tsu
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard