Let X={-1,0,1} and Y={1,2,3}. The function f:X-->Y defined by f={(-1,1),(0,1),(1,2)} is O onto, but not 1-1 O 1-1, but not onto O both 1-1 and onto O neither 1-1 or onto

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
Let \( X = \{-1, 0, 1\} \) and \( Y = \{1, 2, 3\} \). The function \( f: X \rightarrow Y \) defined by \( f = \{(-1, 1), (0, 1), (1, 2)\} \) is:

- \( \bigcirc \) onto, but not 1-1
- \( \bigcirc \) 1-1, but not onto
- \( \bigcirc \) both 1-1 and onto
- \( \bigcirc \) neither 1-1 or onto
Transcribed Image Text:Let \( X = \{-1, 0, 1\} \) and \( Y = \{1, 2, 3\} \). The function \( f: X \rightarrow Y \) defined by \( f = \{(-1, 1), (0, 1), (1, 2)\} \) is: - \( \bigcirc \) onto, but not 1-1 - \( \bigcirc \) 1-1, but not onto - \( \bigcirc \) both 1-1 and onto - \( \bigcirc \) neither 1-1 or onto
Expert Solution
1-1 (one-one) and onto functions

An injective function in mathematics is a function f that maps different items in its domain to different elements, so that f = f implies x₁ = x₂. It is sometimes referred to as a injection function or one-one (1-1) function. To put it another way, each member of the function's codomain is, at most, a single instance of an element from its domain.

 

A surjective function in discrete mathematics is a function f such that any element y can be mapped from element x such that f(x) = y. It is sometimes referred to as a surjection function or an onto function. In other words, each member of the function's codomain is an exact replica of one or more of its domain elements.

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Representation of Polynomial
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education