ScholarQuill logoScholarQuillUniversity Notes
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
Study Tools
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
Contact
ScholarQuill logo
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
ScholarQuill logoScholarQuillUniversity Notes
Study PortalGE-167Functions Injective Su…
Ctrl + K
Login
Explore
Search
Semester
Papers
CGPA
    GE-167

    Discrete Structures

    Progress0 / 67 done
    Topics67
    1Propositional and Predicate Logic
    2Logical Operators3Translations Between Symbolic Expressions and Formal English Expression4Logical Equivalences
    5Quantifiers6Nested Quantification7Equivalences in Predicate Logic8Translations Between Symbolic Forms and Formal English
    9Proof Methods and Strategies10Direct Proof11Proof by Contraposition12Proof by Induction13Proof by Implication14Existence Proof15Uniqueness Proofs16Trivial Proofs17Vacuous Proofs
    18Notations and Set Operations19Venn Diagrams20Countable and Uncountable Sets
    21Equivalence Relations and Partitions22Partial Orderings23Recurrence Relations51Reflexive, Symmetric, Transitive, and Antisymmetric52Equivalence Relations and Equivalence Classes53Partial Orders
    24Injective, Surjective, Bijective25Special Types of Functions26Function Composition27Inverse Functions28Recursive Functions29Compositions
    30Sequences and Series
    31Inclusion and Exclusion Principle32Pigeonhole Principle33Permutations and Combinations46Product Rule and Sum Rule47Principle of Inclusion-Exclusion48Binomial Coefficients49Pascal's Identity and Pascal’s Triangle50Binomial Theorem
    34Division Theorem35Modular Arithmetic36LCM and GCD37Euclidean and Extended Euclidean Method38Finding Solutions to Congruence
    39Fundamental Theorem of Arithmetic40Characterizations of Primes41Mersenne Primes
    42Weak Induction43Strong Induction
    44Formulation of Recurrences45Closed Formulas
    54Terminologies55Elements of Graph Theory56Planar Graphs57Graph Coloring58Euler Graph59Hamiltonian Path60Rooted Trees61Graph Traversals62Handshaking Lemma and Corollary63Special Families of Graphs64Graph Isomorphism65Planarity in Graphs66Eulerian and Hamiltonian Graphs67Trees in Graph Theory
    13 min read
    Topic 24 of 67
    Topic Study Note Illustration
    24

    Functions: Injective, Surjective, Bijective

    In mathematics, a function is a relationship between two sets where every element of the domain is associated with exactly one element of the codomain. Functions play...

    Functions: Injective, Surjective, Bijective

    In mathematics, a function is a relationship between two sets where every element of the domain is associated with exactly one element of the codomain. Functions play a crucial role in many branches of mathematics, such as algebra, calculus, and set theory. When discussing functions, it is important to understand the concepts of injective, surjective, and bijective functions. These terms describe different types of mappings between sets based on how elements of the domain are related to elements of the codomain.


    1. Definition of a Function

    A function fff from a set AAA (called the domain) to a set BBB (called the codomain) is a rule that assigns to each element a∈Aa \in Aa∈A exactly one element b∈Bb \in Bb∈B. This is written as:

    f:A→Bf: A \to Bf:A→B

    where f(a)=bf(a) = bf(a)=b means that the function fff maps the element aaa to the element bbb.


    2. Injective Functions (One-to-One)

    A function f:A→Bf: A \to Bf:A→B is injective (or one-to-one) if different elements in the domain map to different elements in the codomain. In other words, if f(a1)=f(a2)f(a_1) = f(a_2)f(a1​)=f(a2​), then it must follow that a1=a2a_1 = a_2a1​=a2​.

    Formal Definition:

    A function f:A→Bf: A \to Bf:A→B is injective if:

    ∀a1,a2∈A, f(a1)=f(a2)  ⟹  a1=a2.\forall a_1, a_2 \in A, \, f(a_1) = f(a_2) \implies a_1 = a_2.∀a1​,a2​∈A,f(a1​)=f(a2​)⟹a1​=a2​.

    Interpretation:

    An injective function ensures that no two distinct elements in the domain map to the same element in the codomain. Each element in the codomain can be "hit" at most once by the function.

    Example of Injective Function:

    Consider the function f:R→Rf: \mathbb{R} \to \mathbb{R}f:R→R defined by f(x)=2xf(x) = 2xf(x)=2x, where R\mathbb{R}R denotes the set of real numbers.

    • If f(x1)=f(x2)f(x_1) = f(x_2)f(x1​)=f(x2​), then 2x1=2x22x_1 = 2x_22x1​=2x2​, which implies x1=x2x_1 = x_2x1​=x2​.
    • Thus, fff is injective because no two different values of xxx map to the same output.

    Non-Example (Not Injective):

    Consider the function f:R→Rf: \mathbb{R} \to \mathbb{R}f:R→R defined by f(x)=x2f(x) = x^2f(x)=x2.

    • For x1=2x_1 = 2x1​=2 and x2=−2x_2 = -2x2​=−2, we have f(2)=f(−2)=4f(2) = f(-2) = 4f(2)=f(−2)=4, but 2≠−22 \neq -22=−2.
    • Therefore, f(x)=x2f(x) = x^2f(x)=x2 is not injective because two different values in the domain map to the same value in the codomain.

    3. Surjective Functions (Onto)

    A function f:A→Bf: A \to Bf:A→B is surjective (or onto) if every element in the codomain has at least one element in the domain that maps to it. In other words, the function "covers" the entire codomain.

    Formal Definition:

    A function f:A→Bf: A \to Bf:A→B is surjective if:

    ∀b∈B, ∃a∈A such that f(a)=b.\forall b \in B, \, \exists a \in A \text{ such that } f(a) = b.∀b∈B,∃a∈A such that f(a)=b.

    Interpretation:

    A surjective function ensures that every element of the codomain is "reached" by the function, meaning that the function maps to the entire codomain. Some elements in the domain might map to the same element in the codomain.

    Example of Surjective Function:

    Consider the function f:R→Rf: \mathbb{R} \to \mathbb{R}f:R→R defined by f(x)=x3f(x) = x^3f(x)=x3.

    • For every b∈Rb \in \mathbb{R}b∈R, we can find an a∈Ra \in \mathbb{R}a∈R such that f(a)=a3=bf(a) = a^3 = bf(a)=a3=b. Specifically, a=b3a = \sqrt[3]{b}a=3b​.
    • Therefore, f(x)=x3f(x) = x^3f(x)=x3 is surjective because every real number is the cube of some real number.

    Non-Example (Not Surjective):

    Consider the function f:R→Rf: \mathbb{R} \to \mathbb{R}f:R→R defined by f(x)=x2f(x) = x^2f(x)=x2.

    • The function cannot produce negative numbers because x2≥0x^2 \geq 0x2≥0 for all x∈Rx \in \mathbb{R}x∈R. Therefore, there is no x∈Rx \in \mathbb{R}x∈R such that f(x)=−1f(x) = -1f(x)=−1.
    • Hence, f(x)=x2f(x) = x^2f(x)=x2 is not surjective when the codomain is R\mathbb{R}R, because it does not "hit" all values in the codomain.

    4. Bijective Functions (One-to-One Correspondence)

    A function f:A→Bf: A \to Bf:A→B is bijective if it is both injective and surjective. In other words, a bijection is a function where every element of the domain is mapped to a unique element in the codomain, and every element of the codomain is mapped to some element in the domain.

    Formal Definition:

    A function f:A→Bf: A \to Bf:A→B is bijective if:

    • fff is injective: ∀a1,a2∈A,f(a1)=f(a2)  ⟹  a1=a2\forall a_1, a_2 \in A, f(a_1) = f(a_2) \implies a_1 = a_2∀a1​,a2​∈A,f(a1​)=f(a2​)⟹a1​=a2​,
    • fff is surjective: ∀b∈B,∃a∈A such that f(a)=b\forall b \in B, \exists a \in A \text{ such that } f(a) = b∀b∈B,∃a∈A such that f(a)=b.

    Interpretation:

    A bijective function establishes a one-to-one correspondence between the elements of the domain and the elements of the codomain. Each element of the domain is paired with exactly one element of the codomain, and each element of the codomain is paired with exactly one element of the domain.

    Example of Bijective Function:

    Consider the function f:R→Rf: \mathbb{R} \to \mathbb{R}f:R→R defined by f(x)=2x+3f(x) = 2x + 3f(x)=2x+3.

    • Injectivity: If f(x1)=f(x2)f(x_1) = f(x_2)f(x1​)=f(x2​), then 2x1+3=2x2+32x_1 + 3 = 2x_2 + 32x1​+3=2x2​+3, which simplifies to x1=x2x_1 = x_2x1​=x2​.
    • Surjectivity: For any b∈Rb \in \mathbb{R}b∈R, there exists an a=b−32∈Ra = \frac{b - 3}{2} \in \mathbb{R}a=2b−3​∈R such that f(a)=bf(a) = bf(a)=b.
    • Therefore, f(x)=2x+3f(x) = 2x + 3f(x)=2x+3 is bijective.

    Non-Example (Not Bijective):

    Consider the function f:R→Rf: \mathbb{R} \to \mathbb{R}f:R→R defined by f(x)=x2f(x) = x^2f(x)=x2.

    • This function is not injective because f(2)=f(−2)=4f(2) = f(-2) = 4f(2)=f(−2)=4, but 2≠−22 \neq -22=−2.
    • It is also not surjective because it cannot map to negative numbers.
    • Thus, f(x)=x2f(x) = x^2f(x)=x2 is not bijective when the domain and codomain are R\mathbb{R}R.

    5. Summary of Function Types

    • Injective (One-to-One): A function is injective if no two distinct elements in the domain map to the same element in the codomain. Formally: f(a1)=f(a2)  ⟹  a1=a2f(a_1) = f(a_2) \implies a_1 = a_2f(a1​)=f(a2​)⟹a1​=a2​.
    • Surjective (Onto): A function is surjective if every element in the codomain is mapped to by at least one element in the domain. Formally: ∀b∈B,∃a∈A\forall b \in B, \exists a \in A∀b∈B,∃a∈A such that f(a)=bf(a) = bf(a)=b.
    • Bijective (One-to-One Correspondence): A function is bijective if it is both injective and surjective. There is a one-to-one correspondence between the domain and codomain.

    6. Practical Examples

    • Injective but not Surjective: The function f:R→Rf: \mathbb{R} \to \mathbb{R}f:R→R defined by f(x)=2xf(x) = 2xf(x)=2x. It’s injective, but not surjective since not all real numbers can be reached (e.g., no xxx maps to an odd number).
    • Surjective but not Injective: The function f:R→Rf: \mathbb{R} \to \mathbb{R}f:R→R defined by f(x)=x2f(x) = x^2f(x)=x2. It’s surjective when the codomain is [0,∞)[0, \infty)[0,∞), but not injective because two different values (e.g., 2 and -2) can map to the same result.
    • Bijective: The function f:R→Rf: \mathbb{R} \to \mathbb{R}f:R→R defined by f(x)=2x+3f(x) = 2x + 3f(x)=2x+3. It is both injective and surjective, hence bijective.

    Understanding these properties helps in determining the structure and behavior of functions in various mathematical contexts.

    ← Previous topic 23
    Recurrence Relations
    Next topic 25 →
    Special Types of Functions

    Past Papers

    Open this section to view and download past papers

    Click on Show Past Papers to load available exam papers.

    Reading Progress
    0%
    13mremaining
    2.2kwords
    Intermediatelevel
    On This Page

    No headings found

    Study Toolkit

    Subject Portal

    Discrete Structures