Introduction to Mathematica. AE6381 Special Lecture Prof. J. Craig Fall 2008. What is Mathematica ?. “A system for doing mathematics by computer” Also for modeling, simulation, visualization, development, documentation, and deployment. Available on all public computer clusters.
AE6381 Special Lecture
Prof. J. Craig
Simplify[ expr,assum] = Simplify to expression with smallest number of terms. Optional: assumptions, i.e, x>0.
FullSimplify[ ]= same but with more effort…
Expand[ expr]= Expand numerators, keeping denominator
ExpandAll[expr]= Expand numerators and denominators
ExpandNumerator[expr]= Expand only numerator (like Expand[ ])
ExpandDenominator[ ]= Expand only denominator
Factor[expr] = Factor a polynomial
Together[expr] = Puts terms in a sum over a common denominator and cancels factors in the result.
Apart[expr] = Rewrites a rational expression as a sum of terms with minimal denominators.
Cancel[expr] = Cancels out common factors in the numerator and denominator of expr.
Collect[expr,[x1,..}]= Collect together terms with same powers of objects matching x1 …