Let
Then L is a function because every string in S has one and only one length. Find L(0201) and L(12).
Want to see the full answer?
Check out a sample textbook solutionChapter 1 Solutions
Discrete Mathematics With Applications
- Let X = {a, b, c} and Y = {d, e, f, g}. Define functions H and K by the arrow diagrams below. The arrow diagram mapping the Domain of H to the Co−domain of H is given. There are two sets, the set X contains 3 elements, the set Y contains 4 elements, and 3 arrows connect the set X to the set Y, the relation from set X to set Y is labeled H. The set X contains the elements a, b and c. The set Y contains the elements d, e, f, and g. An arrow connects a in the set X to d in the set Y. An arrow connects b in the set X to f in the set Y. An arrow connects c in the set X to f in the set Y. The arrow diagram mapping the Domain of K to the Co−domain of K is given. There are two (a) Is H one-to-one? Why or why not? Is H onto? Why or why not? (b) Is K one-to-one? Why or why not? Is K onto? Why or why not?arrow_forwardLet A = {0, 1, 2} and let S be the set of all strings over A. Define a relation L from S to Znonneg follows: For every string s in S and every nonnega- tive integer n, as (s, n) E L means that the length of s is n. Then L is a function because every string in S has one and only one length. Find L(0201) and L(12).arrow_forward
- Elements Of Modern AlgebraAlgebraISBN:9781285463230Author:Gilbert, Linda, JimmiePublisher:Cengage Learning,College AlgebraAlgebraISBN:9781305115545Author:James Stewart, Lothar Redlin, Saleem WatsonPublisher:Cengage LearningAlgebra for College StudentsAlgebraISBN:9781285195780Author:Jerome E. Kaufmann, Karen L. SchwittersPublisher:Cengage Learning
- Algebra & Trigonometry with Analytic GeometryAlgebraISBN:9781133382119Author:SwokowskiPublisher:Cengage