Function: math[asym] - determines oblique asymptote
Calling Sequence:
asym(f);
asym(f, x);
Parameters:
f
- an algebraic expression
x
- name of indeterminate in f
Description:
asym returns the oblique asymptote of a function f in one real x.
In the first form, the name of the indeterminate is determined from the expression f. If there is more than one unknown included in f, an error is returned.
In the second form, by specifying the unknown x (a name) as the second argument, f may include one or more variables.
The following equation describes the operation:
asym(f, x) = quo(numer(f), denom(f), x)
This function is part of the math package, and so can be used only after performing the command with(math) or with(math, asym).
Examples:
> with(math, asym):
>
f := x -> (1/2*x^3-3/2*x+1)/(x^2+3*x+2);
>
asym(f(x));
> g := x -> (1/2*x^2-1)/(x-c);
> asym(g(x));
Error, (in asym) specify indeterminate as second argument
> asym(g(x), x);
See Also:
quo , rem , divide .
Version History:
Version 1.00 - April 1997
Version 1.1 - January 01, 1999