iscont
test continuity on an interval
Calling Sequence
Parameters
Description
Examples
iscont(expr, x = a .. b)
iscont(expr, x = a .. b, 'closed')
iscont(expr, x = a .. b, 'open')
expr
-
an algebraic expression
x
variable name
a..b
real interval
'closed'
(optional) indicates that endpoints should be checked
'open'
(optional) indicates that endpoints should not be checked (default)
The iscont function returns true if the expression is continuous on the interval, or false if the expression is not continuous. If iscont cannot determine the result it returns FAIL.
The iscont function assumes that any symbols in the expression are real.
By default, or if the optional third argument 'open' is specified, then the interval is considered to be an open interval. If the optional third argument 'closed' is specified then continuity at the endpoints is checked; specifically under this option, limx→a+⁡expr and limx→b−⁡expr must be defined and be finite.
The endpoints of the interval must be either real constants or infinity or -infinity.
If the endpoints of the interval are ordered with the first value greater than the second, iscont will reverse them.
iscont⁡tan⁡x,x=0..1
true
iscont⁡tan⁡x,x=0..2⁢π
false
iscont⁡piecewise⁡x<3,x+8,3≤x,x2+2,x=0..∞
iscont⁡piecewise⁡x<3,x+2,3≤x,x2+2,x=0..∞
iscont⁡1x,x=1..2
iscont⁡1x,x=−1..1
iscont⁡1x,x=−∞..∞
Unless specified, the interval is assumed to be open.
iscont⁡1x,x=0..1
iscont⁡1x,x=0..1,closed
If iscont cannot determine the result it returns FAIL.
iscont⁡1x+a,x=0..1
FAIL
iscont⁡1x,x=3..1
See Also
discont
Download Help Document