Element[x,dom]
or x∈dom asserts that x is an element of the domain dom.
Element[x,reg]
or x∈reg asserts that x is an element of the region reg.
Element[x1|x2|…,dom]
asserts that all the xi are elements of dom.
Element[patt,dom]
asserts that any expression matching the pattern patt is an element of dom.
Element 
Element[x,dom]
or x∈dom asserts that x is an element of the domain dom.
Element[x,reg]
or x∈reg asserts that x is an element of the region reg.
Element[x1|x2|…,dom]
asserts that all the xi are elements of dom.
Element[patt,dom]
asserts that any expression matching the pattern patt is an element of dom.
Details
- x∈dom can be entered as x
el
dom or x \[Element] dom. - Element can be used to set up assumptions in Simplify and related functions.
- dom may be a numeric domain or a region in
. - Possible domains dom are:
-
Algebraics algebraic numbers Booleans True or False Complexes complex numbers Integers integers Primes prime numbers Rationals rational numbers Reals real numbers - Possible regions reg are defined by RegionQ.
- x∈dom if possible evaluates immediately when x is numeric.
- For a domain dom, {x1,x2,…}∈dom is equivalent to (x1|x2|…)∈dom.
- For a region reg, {x1,x2,…}∈reg asserts that the point with coordinates x1,x2,… belongs to reg.
- {x1,x2,…}∈dom evaluates to (x1|x2|…)∈dom if its truth or falsity cannot immediately be determined.
Examples
open all close allBasic Examples (5)
Test whether
is an element of the reals:
Pi ∈ RealsTest whether the point
belongs to the unit disk:
{1 / 2, 1 / 3}∈Disk[]Express domain membership for an expression:
Element[x + y, Reals]Assert that the point
belongs to the unit ball:
Element[{x, y, z}, Ball[]]Use element assertions to integrate over a region:
Integrate[1, {x, y, z}∈Ball[]]MinValue[x + y, {x, y, z}∈Ball[]]x∈RealsScope (9)
Element[Sqrt[2], #]& /@ {Complexes, Algebraics, Reals, Rationals, Integers, Primes}Subscript[ℛ, 1] = Disk[{1, 1}];
Subscript[ℛ, 2] = Rectangle[{0, 0}, {1, 1}];
Subscript[ℛ, 3] = ImplicitRegion[x ^ 2 ≤ y ^ 3 + 1, {x, y}];
Subscript[ℛ, 4] = RegionUnion[Disk[{-1, 0}], Line[{{0, 0}, {2, 2}}]];Element[{3 / 2, 3 / 2}, #]& /@ {Subscript[ℛ, 1], Subscript[ℛ, 2], Subscript[ℛ, 3], Subscript[ℛ, 4]}Show[{DiscretizeRegion[Subscript[ℛ, 3]], Graphics[{{Opacity[0.5], {Orange, Subscript[ℛ, 1]}, {Yellow, Subscript[ℛ, 2]}, {Green, Disk[{-1, 0}], Line[{{0, 0}, {2, 2}}]}}, {Red, PointSize[Large], Point[{3 / 2, 3 / 2}]}}]}]Make domain membership assumptions:
Refine[Sin[Pi x], Element[x, Integers]]Integrate[Abs[1 - Abs[x + 2]], x, Assumptions -> Element[x, Reals]]Refine[Sqrt[(x + y - 2) ^ 2], Element[{x, y}, Disk[]]]Solve[x + y == 1 / 2 && Element[{x, y}, Circle[]], {x, y}]Integrate[1, Element[{x, y}, Circle[]]]Test domain membership using assumptions:
Refine[Element[x ^ y + Log[x + y], Reals], x > 0 && y > 0]Test region membership using assumptions:
Refine[Element[{x, y}, Rectangle[{-1, -1}, {1, 1}]], x ^ 2 + y ^ 2 ≤ 1]Reduce[E ^ x - 2x == 3 && Element[x, Reals], x]FindInstance[x ^ 2 - 2y ^ 2 == 1 && x > 10 ^ 10 && Element[x | y, Integers], {x, y}]Minimize[{x - y, x ^ 2 + y ^ 2 ≤ 100 && Element[x | y, Integers]}, {x, y}]Specify assumptions on objects matching a pattern:
Simplify[Sin[2Pi x[1] + 4x[2]x[3] ^ 2Pi + a Pi], Element[x[_], Integers]]TraditionalForm formatting:
Element[x, Reals]//TraditionalFormProperties & Relations (2)
For a single variable, the negation of Element is automatically converted to NotElement:
!Element[a, Reals]For multiple variables, the negation of Element is not automatically simplified:
!Element[a | b | c, Reals]Use LogicalExpand to find the representation in terms of NotElement:
LogicalExpand[%]Element asserts region membership:
Element[{x, y}, Disk[]]RegionMember gives explicit region membership conditions:
RegionMember[Disk[], {x, y}]Possible Issues (1)
When domain membership cannot be decided the Element statement remains unevaluated:
Element[I ^ Pi, Algebraics]See Also
Simplify MemberQ IntegerQ Assumptions Condition PatternTest Equal Less Divisible CoprimeQ Booleans Primes Exists ForAll Distributed GeometricScene
Characters: \[Element]
Tech Notes
Related Links
History
Introduced in 1999 (4.0) | Updated in 2003 (5.0) ▪ 2014 (10.0)
Text
Wolfram Research (1999), Element, Wolfram Language function, https://reference.wolfram.com/language/ref/Element.html (updated 2014).
CMS
Wolfram Language. 1999. "Element." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2014. https://reference.wolfram.com/language/ref/Element.html.
APA
Wolfram Language. (1999). Element. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Element.html
BibTeX
@misc{reference.wolfram_2026_element, author="Wolfram Research", title="{Element}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/Element.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_element, organization={Wolfram Research}, title={Element}, year={2014}, url={https://reference.wolfram.com/language/ref/Element.html}, note=[Accessed: 12-June-2026]}