Question: Let the alphabet Sigma = { a , b } . Recall that a string x in Sigma is called a palindrome if

Let the alphabet \Sigma ={a, b}. Recall that a string x in \Sigma is called a palindrome if x = xr (x reads the same
backward as forward).
(a) Consider the following binary relation R on \Sigma as follows: For all x, y in \Sigma , xRy if and only if |x|=|y| and
xyr is a palindrome.
i. Show that R is an equivalence relation on \Sigma .
ii. For an arbitrary x in \Sigma , describe the equivalence class [x]R (the equivalence class of R containing x).
Justify your answer.
(b) Consider the following binary relation R on \Sigma as follows: For all x, y in \Sigma , xRy if and only if xyr is a
palindrome. Is R an equivalence relation on \Sigma ? Justify your answer.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!