Am I understanding this relation?

  • Thread starter Thread starter mr_coffee
  • Start date Start date
  • Tags Tags
    Relation
Click For Summary
SUMMARY

The discussion centers on the understanding of a relation T defined on the set S of strings composed of 'a's and 'b's, where s T t if and only if t is the concatenation of 'a' with s. The participants confirm that 'ba T aba' is true, while 'abb T^-1 bba' is false due to the order of characters. Additionally, 'abba T^-1 bba' is affirmed as true, as 'abba' can be derived from 'bba' by concatenating 'a'. The key takeaway is the importance of character order in string relations.

PREREQUISITES
  • Understanding of string concatenation in formal languages
  • Familiarity with relations and their properties in mathematics
  • Knowledge of inverse relations, specifically T and T^-1
  • Basic concepts of formal language theory
NEXT STEPS
  • Study formal language theory and its applications in computer science
  • Learn about string relations and their properties in depth
  • Explore the concept of inverse relations in mathematical contexts
  • Investigate examples of string concatenation and their implications in automata theory
USEFUL FOR

Students and professionals in computer science, particularly those focusing on formal languages, automata theory, and mathematical relations.

mr_coffee
Messages
1,613
Reaction score
1
Hello everyone I'm not sure if I'm understanidng this relation.

The question is:

Let S be the set of all strings in a's and b's. Define a relation T on S as folows:

FOr all s, t in S, s T t if and only if t = as. That is, t is the concatenation of a with s.

c. Is ba T aba?
I said yes, because aba is the concatneation of a with ba. Thus a + (ba)

e. Is abb T^-1 bba?

Well I know this means,
(abb T^-1 bba) if and only if (bba T abb)

now abb, can be broken into a + bb, but would that break the rules? like the order odes it have to be the same? So for this one i would say no.



f. Is abba T^-1 bba?

this means
bba T abba
I would say yes, because
abba is just a + bba


Any clarification if I'm understanding right?

Thanks!
 
Physics news on Phys.org
mr_coffee said:
Hello everyone I'm not sure if I'm understanidng this relation.

The question is:

Let S be the set of all strings in a's and b's. Define a relation T on S as folows:

FOr all s, t in S, s T t if and only if t = as. That is, t is the concatenation of a with s.

c. Is ba T aba?
I said yes, because aba is the concatneation of a with ba. Thus a + (ba)
Good!

e. Is abb T^-1 bba?

Well I know this means,
(abb T^-1 bba) if and only if (bba T abb)
Yes, that's correct. T-1 is just T reversed. s T-1 t if and only if s is at. abbT-1bba is NOT true because bbaTabb is not true.

now abb, can be broken into a + bb, but would that break the rules? like the order odes it have to be the same? So for this one i would say no.
Yes, of course. The same letters in different order are different strings. Nothing in the definition of T or T-1 changes that!



f. Is abba T^-1 bba?

this means
bba T abba
I would say yes, because
abba is just a + bba
Good!

Any clarification if I'm understanding right?

Thanks!
 
thanks for the help!
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 12 ·
Replies
12
Views
1K
  • · Replies 18 ·
Replies
18
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
995