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

1 | initial version |

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

2 | No.2 Revision |

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}

3 | No.3 Revision |

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}

4 | No.4 Revision |

~~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}

5 | No.5 Revision |

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}

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.