Mathematica > Mathematics and Algorithms > Formula Manipulation > Assumptions and Domains >

Element (Element)

Element[x, dom]
or xElementdom asserts that x is an element of the domain dom.
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.
  • xElementdom can be entered as x Esc el Esc dom or x\[Element]dom.
  • Element can be used to set up assumptions in Simplify and related functions.
  • Possible domains are:
Algebraicsalgebraic numbers
BooleansTrue or False
Complexescomplex numbers
Integersintegers
Primesprime numbers
Rationalsrational numbers
Realsreal numbers
  • xElementdom if possible evaluates immediately when x is numeric.
  • (x1|x2|...)Elementdom is equivalent to {x1, x2, ...}Elementdom.
  • {x1, x2, ...}Elementdom evaluates to (x1|x2|...)Elementdom if its truth or falsity cannot immediately be determined.
New in 4 | Last modified in 5
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team