Main Content

Formula Manipulation and Simplification

Simplify or modify expressions, substitute parts of expressions

Transform your expression into the particular form you require (expanded, factored, or expressed in particular terms) by choosing the appropriate function. See Choose Function to Rearrange Expression. If you just need a simpler expression, use simplify. You also can substitute for any part of an expression with another value by using subs.

Live Editor Tasks

Simplify Symbolic ExpressionSimplify symbolic expressions in Live Editor (Since R2020a)

Functions

expand all

simplifyAlgebraic simplification
simplifyFractionSimplify symbolic rational expressions
subexprRewrite symbolic expression in terms of common subexpressions

Polynomials & Fractions

coeffsCoefficients of polynomial
expandExpand expressions and simplify inputs of functions by using identities
hornerHorner nested polynomial representation
numdenExtract numerator and denominator
partfracPartial fraction decomposition

Rewriting & Decomposition

childrenSubexpressions or terms of symbolic expression
collectCollect coefficients of identical powers
combineCombine terms of identical algebraic structure
composeFunctional composition
displayFormulaDisplay symbolic formula from string
divisorsDivisors of integer or expression
factorFactorization
isolateIsolate variable or expression in equation
lhsLeft side (LHS) of equation
mapSymTypeApply function to symbolic subobjects of specific type
rewriteRewrite expression in terms of another function
rhsRight side (RHS) of equation
subexprRewrite symbolic expression in terms of common subexpressions
subsSymbolic substitution

Topics

Featured Examples