Apologies in advance if this has been asked but I cannot find any information.

I'm calculating the determinant of a large symbolic polynomial matrix. In the result are symbols such as this:

enter image description here

as in this (partial result):

enter image description here

Are these symbols common subexpressions? If so, is there a way to determine the subexpression without expanding all of them?


  • $\begingroup$ "Are these symbols common subexpressions?" - no, just Mathematica helpfully eliding subexpressions that are normally too complicated to display. $\endgroup$ – J. M.'s ennui Mar 17 '19 at 20:47
  • $\begingroup$ Is there an (easy) way to determine the definition of the subexpression? $\endgroup$ – wdmichael Mar 17 '19 at 22:25
  • 1
    $\begingroup$ @wdmichael store the result in a variable and use the [[...]] syntax to extract parts $\endgroup$ – b3m2a1 Mar 18 '19 at 5:24
  • $\begingroup$ Thank you! This is very helpful. $\endgroup$ – wdmichael Mar 18 '19 at 13:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.