Function Reference
expand()
Distributes supported products and expands supported algebraic powers.
Syntax
expand(expression)
Arguments
| Argument | Description |
|---|---|
expression |
The symbolic expression to expand. The function accepts exactly one argument. |
Return Value
Returns the supported expanded form. Expressions outside the current expansion scope may remain unchanged apart from normal spacing.
Verified Examples
expand(x*(x+1))
Returns x^2 + x.
expand(2(x+3))
Returns 2*x + 6.
expand((x+2)*(x+3))
Returns x^2 + 5*x + 6.
expand((a+b)^2)
Returns a^2 + 2*a*b + b^2.
expand((x-1)*(x+1))
Returns x^2 - 1.
Current Scope
expand() performs supported algebraic expansion. It
does not factor expressions, solve equations, or promise general
simplification of unrelated forms.
expand((x+1)^9)
Currently returns (x + 1)^9.
expand(sin(x+y))
Currently returns sin(x + y).
Runs Locally
Once SumWise is installed, symbolic calculations are performed locally in the Windows application rather than sent to a web calculation service.
Related Documentation
Try symbolic math in SumWise
Explore supported symbolic workflows during the full-featured seven-day trial.