full_simplify function
Search harder than simplify for a simpler form, under assumptions.
How to write it
full_simplify(expr)
- expr
- Any expression: a number, a formula, a list or a matrix. Takes an expression.
full_simplify(expr, assuming = value)
Search under an assumption about the variables.
- expr
- Any expression: a number, a formula, a list or a matrix. Takes an expression.
- assuming = value
- What to assume about the variables, such as x > 0. Takes a condition, true or false.
Examples
full_simplify(sin(x)^2 + cos(x)^2)In the solver,
Open in the solverfull_simplify(sin(x)^2 + cos(x)^2)gives1.full_simplify(sqrt(x^2), assuming = x > 0)In the solver,
Open in the solverfull_simplify(sqrt(x^2), assuming = x > 0)givesx.
Functions its examples use
Related functions
- simplify
Simplify an expression, optionally under assumptions.
- function_expand
Rewrite special functions of shifted arguments in terms of simpler ones.
- factor
Factor a polynomial into irreducible factors.
- groebner_basis
Groebner basis of a list of polynomials.
- expand
Multiply out products and powers into a sum.
- minimal_polynomial
Minimal polynomial of an algebraic number over the rationals.