I have a few questions about discrete math, I can't fully grasp these concepts. For regular expression, what does the U symbol mean, at first I thought it meant that it was similar to or, for example (10 U 010 U 01)* would mean any number of combinations between 10 010 01, and you can using any amount of those 3 numbers, for example 10010011001 would be in that language. Another example would be that '01' and '10' are contained within a string: 0 (01 U 10 )^* 1 But I'm not exactly sure. Also, how would I go about converting (10 U 010 U 01 )* to a DFA? My question about relations is what exactly does a relation mean, I know that R C A X B but I'm not really sure what it means.
2026-03-27 13:17:40.1774617460
Question about Regular Expressions, DFA and relations
271 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in RELATIONS
- How are these definitions of continuous relations equivalent?
- Is a relation on which every element is related with itself alone transitive?
- Relation power composition
- Order relation proof
- Order relation proof ...
- How to identify if a given Hasse diagram is a lattice
- Is the relation < a strict total order?
- Is there a name for this property on a binary relation?
- Finding all reflexive binary relations of a set
- Showing that a relation is reflexive, symmetric and transitive
Related Questions in REGULAR-EXPRESSIONS
- Constructing context free grammar with a number constraint to one of the elements in the language
- Converting CFG to a regular expression
- Formally expressing regular expression
- Regular expression: At least two a's and doesn't end in bb
- Prove that $B = B ^+$ iff $BB \subseteq B$
- Prove a language is not regular. Use pumping lemma.
- The two regular expressions abc and abc(φ)* are equivalent. (T/F)
- Find an automaton that recognizes this language
- Find language generated by a regular grammar
- Regular expression for roman numerals
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
In regular expression the symbol $\cup$ means essentially or: the regular expression $01\cup 10$, for instance, is $01$ or $10$ and is matched by both $01$ and $10$. If $S$ is the set of strings matching a regular expression $\sigma$, the strings that match $\sigma^*$ are the ones that can be formed by concatenating any finite number of strings in $S$. If $\sigma$ is the regular expression $01\cup 10$, the set $S$ has just two members: $S=\{01,10\}$. What can you get by concatenating $01$’s and $10$’s? You can get $\epsilon$, the empty string, by concatenating $0$ copies of $01$ or $10$. You can get $01$ and $10$. By concatenating two things you can get $0101,0110,1001$, and $1010$. In fact $(01\cup 10)^*$ matches an infinite number of different strings:
$$\begin{align*} &\epsilon,\\ &01,10,\\ &0101,0110,1001,1010,\\ &010101,010110,011001,011010,100101,100110,101001,101010, \end{align*}\tag{1}$$
and so on. In the regular expression $0(01\cup 10)^*1$ this is sandwiched between a $0$, which is matched only by $0$, and a $1$, which is matched only by a $1$; the strings that match this regular expression are those that you get when you put a $0$ in front of and a $1$ after each string in $(1)$:
$$\begin{align*} &01,\\ &0011,0101,\\ &001011,001101,010011,010101,\\ &00101011,00101101,00110011,00110101,01001011,01001101,01010011,01010101,\\ &\;\vdots \end{align*}$$