Element—Wolfram Language Documentation (original) (raw)

BUILT-IN SYMBOL

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

Examples

open allclose all

Basic Examples (5)

Test whether is an element of the reals:

Test whether the point belongs to the unit disk:

Express domain membership for an expression:

Assert that the point belongs to the unit ball:

Use element assertions to integrate over a region:

Or to optimize over a region:

Enter using elem:

Scope (9)

Test domain membership:

Test region membership:

Plot it:

Make domain membership assumptions:

Express region membership:

Test domain membership using assumptions:

Test region membership using assumptions:

Specify variable domains:

Specify assumptions on objects matching a pattern:

TraditionalForm formatting:

Properties & Relations (2)

For a single variable, the negation of Element is automatically converted to NotElement:

For multiple variables, the negation of Element is not automatically simplified:

Use LogicalExpand to find the representation in terms of NotElement:

Element asserts region membership:

RegionMember gives explicit region membership conditions:

Possible Issues (1)

When domain membership cannot be decided the Element statement remains unevaluated:

History

Introduced in 1999 (4.0) | Updated in 2003 (5.0) ▪ 2014 (10.0)

Wolfram Research (1999), Element, Wolfram Language function, https://reference.wolfram.com/language/ref/Element.html (updated 2014).

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_2025_element, author="Wolfram Research", title="{Element}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/Element.html}", note=[Accessed: 18-June-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_element, organization={Wolfram Research}, title={Element}, year={2014}, url={https://reference.wolfram.com/language/ref/Element.html}, note=[Accessed: 18-June-2025 ]}