Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Suppose that \({\bf{A}}\) and \({\bf{B}}\) are subsets of \({\bf{V}}\), where \({\bf{V}}\) is an alphabet. Does it follow that \({\bf{A}} \subseteq {\bf{B}}\) if \({\bf{A}} \subseteq {{\bf{B}}^{\bf{*}}}\) ?

Short Answer

Expert verified

No, the given does not follow \({\bf{A}} \subseteq {\bf{B}}\) if \({\bf{A}} \subseteq {{\bf{B}}^{\bf{*}}}\).

Step by step solution

Achieve better grades quicker with Premium

  • Unlimited AI interaction
  • Study offline
  • Say goodbye to ads
  • Export flashcards

Over 22 million students worldwide already upgrade their learning with Vaia!

01

Definition

In mathematics, set\({\bf{A}}\)is a subset of a set\({\bf{B}}\)if all elements of\({\bf{A}}\)are also elements of\({\bf{B}}\);\({\bf{B}}\)is then a superset of\({\bf{A}}\). It is possible for\({\bf{A}}\)and\({\bf{B}}\)to be equal; if they are unequal, then\({\bf{A}}\)is a proper subset of\({\bf{B}}\).

02

Check if the given statement is true or not

This is clearly not necessarily true. For example, it can take \({\bf{A = }}{{\bf{V}}^{\bf{*}}}\) and \({\bf{B = V}}\). Then \({{\bf{A}}^{\bf{*}}}\) is again \({{\bf{V}}^{\bf{*}}}\), so it is true that \({{\bf{A}}^{\bf{*}}} \subseteq {{\bf{B}}^{\bf{*}}}\), but of course \({\bf{A}} \not\subseteq {\bf{B}}\) (for one thing, \({\bf{A}}\) is infinite and \({\bf{B}}\) is finite).

Therefore, the given does not follow \({\bf{A}} \subseteq {\bf{B}}\) if \({\bf{A}} \subseteq {{\bf{B}}^{\bf{*}}}\).

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Show that the grammar \({\bf{G = }}\left( {{\bf{V, T, S, P}}} \right)\) with \({\bf{V = }}\left\{ {{\bf{0, S}}} \right\}{\bf{, T = }}\left\{ {\bf{0}} \right\}\), starting state \({\bf{S}}\), and productions \({\bf{S}} \to {\bf{0S}}\) and \({\bf{S}} \to 0\) is unambiguous.

use bottom-up parsing to determine whether the strings in Exercise 25 belong to the language generated by the grammar in Example 12.

Describe the set of strings defined by each of these sets of productions in EBNF.

\(\begin{array}{c}\left( {\bf{a}} \right){\bf{string :: = L + D?L + }}\\{\bf{L :: = a }}\left| {{\bf{ b }}} \right|{\bf{ c }}\\{\bf{D :: = 0 | 1}}\\\left( {\bf{b}} \right){\bf{string :: = signD + |D + }}\\{\bf{sign :: = + | - }}\\{\bf{D :: = 0 | 1|2|3|4|5|6|7|8|9}}\\\left( {\bf{c}} \right){\bf{string :: = L*}}\left( {{\bf{D + }}} \right){\bf{?L* }}\\{\bf{L :: = x |y }}\\{\bf{D :: = 0 | 1}}\end{array}\)

Let V = {S, A, B, a, b} and T = {a, b}. Find the language generated by the grammar (V, T, S, P) when theset P of productions consists of

\(\begin{array}{*{20}{l}}{{\bf{a) S }} \to {\bf{ AB, A }} \to {\bf{ ab, B }} \to {\bf{ bb}}{\bf{.}}}\\{{\bf{b) S }} \to {\bf{ AB, S }} \to {\bf{ aA, A }} \to {\bf{ a, B }} \to {\bf{ ba}}{\bf{.}}}\\{{\bf{c) S }} \to {\bf{ AB, S }} \to {\bf{ AA, A }} \to {\bf{ aB, A }} \to {\bf{ ab, B }} \to {\bf{ b}}{\bf{.}}}\\{{\bf{d) S }} \to {\bf{ AA, S }} \to {\bf{ B, A }} \to {\bf{ aaA, A }} \to {\bf{ aa, B }} \to {\bf{ bB, B }} \to {\bf{ b}}{\bf{.}}}\\{{\bf{e) S }} \to {\bf{ AB, A }} \to {\bf{ aAb, B }} \to {\bf{ bBa, A }} \to {\bf{ \lambda , B }} \to {\bf{ \lambda }}{\bf{.}}}\end{array}\)

Express each of these sets using a regular expression.

  1. The set containing all strings with zero, one, or two bits
  2. The set of strings of two 0s, followed by zero or more 1s, and ending with a 0
  3. The set of strings with every 1 followed by two 0s
  4. The set of strings ending in 00 and not containing 11
  5. The set of strings containing an even number of 1s
See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free