The last two days I spent improving my Mathematica skills regarding rather simple algebraic calculations:
- discrete FT
- splitting sums
- combining sums
- changing summation indices
- replacing a sum with a KroneckerDelta: $\delta_{nm} = \frac{1}{N} \sum\limits_{k = 1}^N e^{2 \pi i \frac{k}{N}(n-m)}$
- canceling symmetric sums over antisymmetric terms
- inserting commutator-relations in equations
- etc
But I'm far from being as fast as doing it by hand.
Using Simplify, Replace etc. and rules, to format equations takes quiet some time. I assume over time a collection of formating-rules will accelerate calculations. But even trivial calculations such as non-commutative products, together with commutations relations (see ladder operators in quantum mechanics) are a load of work in Mathematica! I just can not see that I will be as fast with Mathematica as by hand.
So my question is: Is Mathematica intended for doing lengthy algebraic calculations from start to finish, faster than, or at least not much slower than by hand?
I started building a library of Replacement rules and TranformationFunctions. Is that the way to go? Do you have some other tips for improvement? A book or a collection of examples?
Subscript[ϕ, 1] == Subscript[ϕ, II + 1] /. Exp[a_] :> Simplify[Exp[a], Assumptions -> k ∈ Integers]. Quick and easy! – David G. Stork May 05 '15 at 08:25