1.6. Elements of algebra: Transformation of algebraic and logic expressions

Function   Action   
 
variable  = .The variable loses its value
Clear[ variable1, variable2, ... ]The variables lose their values
expression1 /.  variable -> expression2 Replaces variable in expr1 with expr2 respectively
expression1 /.  {var.1-> expression2, var.2 -> expression2,...}Replacement of the variables 1, 2, .. in expr1 by their values respectively
expression  // ShortShows the first member of the expression  
Short [ expression , n ] Shows the first n members of the expression
Length [ expression  ]Gives the number of members
If[ if expr1, then expr2, else expr3]Logical verification
 
Expand[ expression ]Removes the parentheses and reduces the  members in expression
Simplify[ expression ]Simplifies by reducing the members of expression if possible
Expand[ expression , Trig -> True]Expand out trigonometric expression by applying trigonometric identities
Complex Expand[ expression  ]Expand out complex expression
LogicalExpand [ expression ]Expand out logical expression
 
Factor[ expression  ]Represents polynomial expression as factors
Factor[ expression , Trig -> True ]Factors trigonometric expressions by applying trigonometric identities
ExpandAll[ expression  ]Expands all
Together [ expression  ]Reduces to a common denominator
Apart[ expression  ]Expands to simple fractions
Cancel[ expression  ]Cancels a numerator with a denominator  
Collect [ expression , x ]Groups by power of x
FactorTerms [ expression , x  ]Derives the factors independent from x
 
Numerator [ expression ]Takes only the numerator of expression
Denominator [ expression  ]Takes only the denumerator
ExpandNumerator [ expression  ]Expands only the numerator
ExpandDenominator [ expression  ]Expands only the denumerator
InterpolatingPolynomial[{{x1,f1},{x2,f2},  ...},x]Interpolates with a polynomial according to the power of x