Download Maxima Manual

Transcript
116
Maxima Manual
berlefact
Option variable
Default value: true
When berlefact is false then the Kronecker factoring algorithm will be used otherwise the Berlekamp algorithm, which is the default, will be used.
bezout (p1, p2, x)
Function
an alternative to the resultant command. It returns a matrix. determinant of this
matrix is the desired resultant.
bothcoef (expr, x)
Function
Returns a list whose first member is the coefficient of x in expr (as found by ratcoef if
expr is in CRE form otherwise by coeff) and whose second member is the remaining
part of expr. That is, [A, B] where expr = A*x + B.
Example:
(%i1) islinear (expr, x) := block ([c],
c: bothcoef (rat (expr, x), x),
is (freeof (x, c) and c[1] # 0))$
(%i2) islinear ((r^2 - (x - r)^2)/x, x);
(%o2)
true
coeff (expr, x, n)
Function
Returns the coefficient of x^n in expr. n may be omitted if it is 1. x may be an
atom, or complete subexpression of expr e.g., sin(x), a[i+1], x + y, etc. (In the last
case the expression (x + y) should occur in expr). Sometimes it may be necessary to
expand or factor expr in order to make x^n explicit. This is not done automatically
by coeff.
Examples:
(%i1) coeff (2*a*tan(x) + tan(x) + b = 5*tan(x) + 3, tan(x));
(%o1)
2 a + 1 = 5
(%i2) coeff (y + x*%e^x + 1, x, 0);
(%o2)
y + 1
combine (expr)
Function
Simplifies the sum expr by combining terms with the same denominator into a single
term.
content (p 1, x 1, ..., x n)
Function
Returns a list whose first element is the greatest common divisor of the coefficients
of the terms of the polynomial p 1 in the variable x n (this is the content) and whose
second element is the polynomial p 1 divided by the content.
Examples:
(%i1) content (2*x*y + 4*x^2*y^2, y);
2
(%o1)
[2 x, 2 x y + y]