|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
PowerExpand
PowerExpand[expr]
expands all powers of products and powers.
PowerExpand[expr, {x1, x2, ...}]
expands only with respect to the variables
.
Details and OptionsDetails and Options
- PowerExpand converts
to
, whatever the form of
is. - PowerExpand also converts
to
, whatever the form of
is. - The transformations made by PowerExpand are correct in general only if
is an integer or
and
are positive real numbers. - PowerExpand converts Log[a^b] to bLog[a].
- PowerExpand in general disregards all issues of branches of multivalued functions, so may not preserve the numerical values of expressions.
- PowerExpand automatically threads over lists, as well as equations, inequalities and logic functions.
- PowerExpand has the option Assumptions, specifying assumptions to use.
- The default setting for the Assumptions option is Automatic, corresponding to a maximal set of assumptions.
- You can specify default assumptions for PowerExpand using Assuming.
ExamplesExamplesopen allclose all
Basic Examples (1)Basic Examples (1)
Expand a square root, implicitly assuming positive real values:
| In[1]:= |
| Out[1]= |
Without PowerExpand, no expansion is done:
| In[2]:= |
| Out[2]= |
The expansion is only correct for positive real variables:
| In[3]:= |
| Out[3]= |
This gives a completely correct result:
| In[4]:= |
| Out[4]= |
This gives a result correct under the specified assumptions:
| In[5]:= |
| Out[5]= |
New in 2 | Last modified in 6
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
