Assumptions
Details
- The typical default setting is Assumptions:>$Assumptions.
- The assumptions can be equations, inequalities, or domain specifications, or lists or logical combinations of these.
- Assuming modifies $Assumptions and so modifies the value of default settings for Assumptions options.
- x∈Reals can be used to specify that x should be treated as a real variable.
- Quantities that appear algebraically in inequalities are always assumed to be real.
Examples
open all close allBasic Examples (3)
Refine[Sqrt[x ^ 2], Assumptions -> x < 0]Simplify[Cos[k Pi] ^ m, Assumptions -> Element[k, Integers] && Mod[m, 2] == 0]FunctionExpand[Factorial2[n], Assumptions -> n∈Integers]Integrate[x ^ a, {x, 0, 1}, Assumptions -> a > 0]FourierTransform[1 / (x ^ 2 + a), x, w, Assumptions -> a > 0]Limit[x ^ a, x -> Infinity, Assumptions -> a < 0]Series[Min[x ^ 2, 1 + a]Cos[x] + Sin[x], {x, 0, 2}, Assumptions -> a > 0]Properties & Relations (3)
$Assumptions is the default value of Assumptions for most functions that have the option:
Quiet[Select[ToExpression /@ Names["System`*"], Head[#] === Symbol && MemberQ[Options[#], Assumptions :> $Assumptions]&]]Assuming locally sets the value of $Assumptions:
Assuming[x > 0, {$Assumptions, Refine[Sqrt[x ^ 2]]}]Block can also be used to locally set the value of $Assumptions:
Block[{$Assumptions = x > 0}, {$Assumptions, Refine[Sqrt[x ^ 2]]}]Here the assumptions from Assuming are not used inside Block:
Assuming[x ≥ 0, Block[{$Assumptions = y < 0}, Refine[Sqrt[x ^ 2y ^ 2]]]]Assumptions from nested Assuming are combined:
Assuming[x ≥ 0, Assuming[y < 0, Refine[Sqrt[x ^ 2y ^ 2]]]]Tech Notes
History
Introduced in 1996 (3.0) | Updated in 2003 (5.0)
Text
Wolfram Research (1996), Assumptions, Wolfram Language function, https://reference.wolfram.com/language/ref/Assumptions.html (updated 2003).
CMS
Wolfram Language. 1996. "Assumptions." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2003. https://reference.wolfram.com/language/ref/Assumptions.html.
APA
Wolfram Language. (1996). Assumptions. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Assumptions.html
BibTeX
@misc{reference.wolfram_2026_assumptions, author="Wolfram Research", title="{Assumptions}", year="2003", howpublished="\url{https://reference.wolfram.com/language/ref/Assumptions.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_assumptions, organization={Wolfram Research}, title={Assumptions}, year={2003}, url={https://reference.wolfram.com/language/ref/Assumptions.html}, note=[Accessed: 12-June-2026]}