Tag Info

New answers tagged

6

In Version 10, we can use Inactivate and Activate to achieve this easily: With[{rl = Array[{m -> #} &, 5], s = Inactivate[Sum[i^m, {i, 1, n}], Sum]}, Thread[Equal[s /. rl, Factor[Activate[s] /. rl]]]] // Column // TeXForm \begin{array}{l} \underset{i=1}{\overset{n}{\sum }}i=\frac{1}{2} n (n+1) \\ \underset{i=1}{\overset{n}{\sum ...


1

It seems like OutputForm always is the first output one gets and all previous Out[..] are removed if they are equal. Here equal means that Out[1]==Out[2], and not necessarily that Out[1]/TeXForm==Out[2]/OutputForm. You can change the order to: eq = D[y[x], x] + a*y[x] - b*Sin[c*x]; sol = DSolve[eq == 0, y[x], x]; OutputForm[TeXForm[sol]] TeXForm[sol] ...



Top 50 recent answers are included