# 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

- $\displaystyle \sin^{2}(x)+\cos^{2}(x) = 1$

  `full_simplify(sin(x)^2 + cos(x)^2)`

  In the solver, `full_simplify(sin(x)^2 + cos(x)^2)` gives `1`.

  [Open in the solver](https://hilberon.com/?q=full_simplify%28sin%28x%29%5E2%20%2B%20cos%28x%29%5E2%29)
- $\displaystyle \sqrt{x^{2}},\quad x > 0 = x$

  `full_simplify(sqrt(x^2), assuming = x > 0)`

  In the solver, `full_simplify(sqrt(x^2), assuming = x > 0)` gives `x`.

  [Open in the solver](https://hilberon.com/?q=full_simplify%28sqrt%28x%5E2%29%2C%20assuming%20%3D%20x%20%3E%200%29)

## Functions its examples use

- [sin](https://hilberon.com/library/sin)

  Sine of an angle in radians.
- [cos](https://hilberon.com/library/cos)

  Cosine of an angle in radians.
- [sqrt](https://hilberon.com/library/sqrt)

  Square root; sqrt(x) is the power x^(1/2).

## Related functions

- [simplify](https://hilberon.com/library/simplify)

  Simplify an expression, optionally under assumptions.
- [function_expand](https://hilberon.com/library/function_expand)

  Rewrite special functions of shifted arguments in terms of simpler ones.
- [factor](https://hilberon.com/library/factor)

  Factor a polynomial into irreducible factors.
- [groebner_basis](https://hilberon.com/library/groebner_basis)

  Groebner basis of a list of polynomials.
- [expand](https://hilberon.com/library/expand)

  Multiply out products and powers into a sum.
- [minimal_polynomial](https://hilberon.com/library/minimal_polynomial)

  Minimal polynomial of an algebraic number over the rationals.

---
Source: https://hilberon.com/library/full_simplify
