Function: math[singularity] - determines singularities of a real-valued function

Calling Sequence:

singularity(fn, x)

Parameters:

fn - any algebraic expression in x
x - a name

Description:

The function determines all the singularities of a function in one real.

This function uses discont to search for possible discontinuities (which also includes points at which a function is not defined), but thereafter checks whether a function is defined at those points. All those points that are not defined are returned as a set.

If discont returns a RootOf expression it tries to evaluate it with math/rootof to return explicit solutions of the RootOf expression.

This function is part of the math package, and so can be used only after performing the command with(math) or with(math, singularity).

Examples:

> with(math, singularity):

> singularity(ln(x), x);

[Maple Math]

> singularity(1/x, x);

[Maple Math]

> readlib(discont)(sqrt(x), x);

[Maple Math]

> singularity(sqrt(x), x);

[Maple Math]

> singularity(tan(x), x);

[Maple Math]

See Also:

math/isCont , math/cont , discont , math/nondiff .

Version History:

Version 1.0 as of December 02, 1997

Version 2.0 as of December 19, 1998