Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

power_expand function

Expand powers and logarithms of products and powers.

How to write it

power_expand(expr)

expr
Any expression: a number, a formula, a list or a matrix. Takes an expression.

Examples

  • ln⁡(x2)=2ln⁡(x)\displaystyle \ln(x^{2}) = 2 \ln(x)
    power_expand(log(x^2))

    In the solver, power_expand(log(x^2)) gives 2ln(x).

    Open in the solver

Functions its examples use

  • log

    Logarithm: natural with ln, or to any base with log.

  • function_expand

    Rewrite special functions of shifted arguments in terms of simpler ones.

  • complex_expand

    Expand an expression assuming its variables are real.

  • expand

    Multiply out products and powers into a sum.

  • resultant

    Resultant of two polynomials in a variable.

  • polynomial_remainder

    Remainder of a polynomial division.

  • simplify

    Simplify an expression, optionally under assumptions.