Warning, unable to determine if ... is between ... and ...; try to use assumptions or use the AllSolutions option - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : System : Error Message Guide : unabletodetermineif

Warning, unable to determine if ... is between ... and ...; try to use assumptions or use the AllSolutions option

 

Description

Examples

See Also

Description

This warning appears only when the result will be piecewise due to one or more unknowns in the expression. Ideally, you should use assumptions, but sometimes you cannot determine the right assumptions.

When you use the AllSolutions option, Maple assumes that all parameters are real and will try to return an piecewise answer, which covers all possible cases. By using the AllSolutions option, you can use the piecewise answer to determine what assumptions you must make on the parameters.

Note: The answer is likely to be large and it may take longer to compute this answer.

Examples

∫1b1xaⅆx

Warning, unable to determine if a is between 1 and b; try to use assumptions or use the AllSolutions option

∫1b1xaⅆx

(2.1)

int1/xa, x = 1..b

Warning, unable to determine if a is between 1 and b; try to use assumptions or use the AllSolutions option

∫1b1xaⅆx

(2.2)

Solution 1: Use assumptions.

 1b1xa&DifferentialD;x assuming 1 < a&comma; a < b

undefined

(2.3)

1b1xa&DifferentialD;x assuming 1 < b&comma; a &gt; b

lna1&plus;lnab

(2.4)

Solution 2: Use the AllSolutions option.

By using the AllSolutions option, int returns the entire set of solutions for the specified definite integral. This applies primarily to parameters in the endpoints of the interval, not to parameters in the integrand.

Note: To specify options, use the int calling sequence.

int1&sol;xa&comma; x &equals; 1..b&comma; AllSolutions&semi;

&lcub;&lcub;undefinedAnd1<&real;a&comma;&real;a<b&lcub;&infin;a&equals;1lna1otherwise&plus;&lcub;&infin;b&equals;alnabotherwiseotherwise1<b0b&equals;1&lcub;undefinedAndb<&real;a&comma;&real;a<1&lcub;&infin;b&equals;alnabotherwise&plus;&lcub;&infin;a&equals;1lna1otherwiseotherwiseb<1

(2.5)

See Also

assuming , int/details