### The Maxima on-line user's manual

Algebra Calculator

#### Expandwrt

Function: expandwrt (<expr>, <x_1>, ..., <x_n>) Expands expression `expr` with respect to the variables <x_1>, ..., <x_n>. All products involving the variables appear explicitly. The form returned will be free of products of sums of expressions that are not free of the variables. <x_1>, ..., <x_n> may be variables, operators, or expressions.

By default, denominators are not expanded, but this can be controlled by means of the switch `expandwrt_denom`.

This function is autoloaded from `simplification/stopex.mac`.

There are also some inexact matches for `expandwrt`. Try `?? expandwrt` to see them.

```(%o1)                                true
(%i2) ```

### Related Examples

##### expandwrt-integrate-sqrt

myDot(f,g):= integrat...

myNorm(v) := sqrt(myD...

proj(w,v) := (myDot(w...

Calculate

##### expandwrt

expandwrt((1-a) * (1+...

expandwrt(2 * (1-a*z)...

expandwrt((1-a) * (1-...

Calculate

##### expandwrt-solve-sqrt-subst

expandwrt((1-a) * (1+...

expandwrt(2 * (1-a*z)...

expandwrt((1-a) * (1-...

Calculate

##### expandwrt-product-sum

expandwrt(product(sum...

Calculate

##### expandwrt

x:ax*(1-t)^2+cx*(1-t)...

expandwrt(x, t);

Calculate

##### expandwrt

f(x):=-2*(x-x1)*(x-x2...

l(x):=y1+(y2-y1)*(x-x...

p(x):=l(x)+f(x)*1/2*(...

Calculate

##### expandwrt

poly(x):=(x-a)*(x-b)*...

expandwrt(poly,x);

Calculate

f:(4*a+b*a);

expandwrt(f,a);

Calculate

##### expandwrt-mat_trace-matrix-trace-transpose

H: matrix ([h11, h12]...

B: matrix ([b1, 0], [...

D: matrix ([d1, 0], [...

Calculate

##### expandwrt-ratsimp-solve-subst

expandwrt((1-a) * (1+...

expandwrt(2 * (1-a*z)...

expandwrt((1-a) * (1-...

Calculate