Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Display symbolic expression without replacement

How to show the equation as the input var('t') cc=matrix(SR, 3, 3, t) I1=cc.trace() Q=exp(I1) show(Q)

Display symbolic expression without replacement

How to show the equation as the input without "expansion". For example,

var('t')
cc=matrix(SR, 3, 3, t)
I1=cc.trace()
Q=exp(I1)
show(Q)
show(Q)

With the above code, the output would be \begin{equation} Q=e^{3t} \end{equation}

How can I generate an output as \begin{equation} Q=e^{I1} \end{equation}

Display symbolic expression expressions without replacementexpansion

How to show the equation symbolic expressions without "expansion". For example,

var('t')
cc=matrix(SR, 3, 3, t)
I1=cc.trace()
Q=exp(I1)

show(Q)

With the above code, the output would be \begin{equation} Q=e^{3t} \end{equation}

How can I generate an output as \begin{equation} Q=e^{I1} \end{equation}

Display symbolic expressions without expansion

How I'm trying to show write symbolic expressions without "expansion". For example, with many intermediate variables. When I use the "show" function to display the final symbolic expression, it always shows the expression with the intermediate variables replaced with the actual definition. How can I show the final expression in terms of intermediate variables? Here is a simplified example:

var('t')
cc=matrix(SR, 3, 3, t)
I1=cc.trace()
Q=exp(I1)

show(Q)

With the above code, the output would be be

\begin{equation} Q=e^{3t} \end{equation}

How can I generate an output as \begin{equation} Q=e^{I1} \end{equation}

Display symbolic expressions without expansion

I'm trying to write symbolic expressions with many intermediate variables. When I use the "show" function to display the final symbolic expression, it always shows the expression with the intermediate variables replaced with the actual definition. fully expanded. How can I show the final expression in terms of intermediate variables? Here is a simplified example:

var('t')
cc=matrix(SR, 3, 3, t)
I1=cc.trace()
Q=exp(I1)

show(Q)

With the above code, the output would be

\begin{equation} Q=e^{3t} \end{equation}

How can I generate an output as \begin{equation} Q=e^{I1} \end{equation}