1
$\begingroup$

For example i want to have following equation :

Det[A B C]=Det[A] Det[B] Det[C]

What is the simplest way to distribute automatically?

$\endgroup$
5
  • $\begingroup$ Are you aware that you need . for multiplication of matrices? $\endgroup$
    – gwr
    Jan 18, 2019 at 18:52
  • $\begingroup$ @gwr yes just did not want it to look like ABC as one matrix. basically A.B.C $\endgroup$
    – user49047
    Jan 18, 2019 at 19:06
  • $\begingroup$ Det /@ # & @@ Det[A.B.C] gives Det[A].Det[B].Det[C]. Is this what you want? $\endgroup$ Jan 18, 2019 at 19:42
  • $\begingroup$ or, Distribute[Det[A.B.C], Dot] $\endgroup$ Jan 18, 2019 at 19:46
  • $\begingroup$ none fx = RandomReal[{0, 1}, {3, 3}] cx = Det[[email protected] ] Det[fx]*Det[Transpose[fx]] $\endgroup$
    – user49047
    Jan 18, 2019 at 19:52

1 Answer 1

4
$\begingroup$

Try

det[x__Dot] := Det /@ Times @@ x;
det[x_] := Det[x];

Now

det[A . B . C] == Det[A] Det[B] Det[C]

returns True.

$\endgroup$
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.