• Nakafa

    Nakafa

    Learn free and with quality.
Subject
    • Grade 10
    • Grade 11
    • Grade 12
Exercises
Holy
  • Quran
Articles
  • Politics
  • Community
  • About

Command Palette

Search for a command to run...

Function Composition and Inverse Function

Injective, Surjective, and Bijective Functions

Understanding Function Mapping Properties

In mathematics, functions map elements from one set (the domain) to another set (the codomain). This mapping can be classified into several types based on how domain and codomain elements are connected. The three main types are injective, surjective, and bijective functions.

Let's assume we have a function f:X→Yf: X \to Yf:X→Y.

Injective Function (One-to-One)

A function is called injective or one-to-one if every distinct element in the domain XXX maps to a distinct element in the codomain YYY. In other words, no two different domain elements can have the same image (output) in the codomain.

Formal Definition:

A function f:X→Yf: X \to Yf:X→Y is injective if for every x1,x2∈Xx_1, x_2 \in Xx1​,x2​∈X, the following holds:

f(x1)=f(x2)  ⟹  x1=x2f(x_1) = f(x_2) \implies x_1 = x_2f(x1​)=f(x2​)⟹x1​=x2​

Or, equivalently (using the contrapositive):

x1≠x2  ⟹  f(x1)≠f(x2)x_1 \neq x_2 \implies f(x_1) \neq f(x_2)x1​=x2​⟹f(x1​)=f(x2​)

Analogy: Imagine every student in a class (domain) must have a unique student ID number (codomain). No two students can have the same ID number. The mapping function from students to ID numbers is an injective function.

Examples:

  • The function f(x)=2xf(x) = 2xf(x)=2x for x∈Rx \in \mathbb{R}x∈R is injective, because every distinct value of xxx will produce a distinct 2x2x2x.
  • The function g(x)=x2g(x) = x^2g(x)=x2 for x∈Rx \in \mathbb{R}x∈R is not injective, because g(2)=4g(2) = 4g(2)=4 and g(−2)=4g(-2) = 4g(−2)=4. There are two different inputs (222 and −2-2−2) that produce the same output (444).

Surjective Function (Onto)

A function is called surjective or onto if every element in the codomain YYY is the image of at least one element in the domain XXX. In other words, there are no "unreachable" elements in the codomain that don't have a corresponding element in the domain. The range of a surjective function is equal to its codomain.

Formal Definition:

A function f:X→Yf: X \to Yf:X→Y is surjective if for every y∈Yy \in Yy∈Y, there exists at least one x∈Xx \in Xx∈X such that:

f(x)=yf(x) = yf(x)=y

Analogy: Imagine every seat in a movie theater (codomain) must be occupied by at least one audience member (domain) when the movie starts. The mapping function from audience members to seats is surjective if all seats are filled.

Examples:

  • The function f(x)=x3f(x) = x^3f(x)=x3 from R→R\mathbb{R} \to \mathbb{R}R→R is surjective, because every real number yyy in the codomain is the cube of some real number xxx (specifically, x=y3x = \sqrt[3]{y}x=3y​).
  • The function g(x)=x2g(x) = x^2g(x)=x2 from R→R\mathbb{R} \to \mathbb{R}R→R is not surjective, because there is no real number xxx that yields g(x)=−1g(x) = -1g(x)=−1 (or any other negative number). Negative elements in the codomain have no corresponding element in the domain.
  • However, if we restrict the codomain to g(x)=x2g(x) = x^2g(x)=x2 from R→[0,∞)\mathbb{R} \to [0, \infty)R→[0,∞) (non-negative real numbers), then this function becomes surjective.

Bijective Function (One-to-One Correspondence)

A function is called bijective if it is both injective and surjective. This means that every element in the domain maps to a unique element in the codomain, and every element in the codomain has exactly one corresponding element in the domain.

A bijective function creates a perfect one-to-one correspondence between the elements of the domain and the codomain.

Formal Definition:

A function f:X→Yf: X \to Yf:X→Y is bijective if for every y∈Yy \in Yy∈Y, there exists exactly one x∈Xx \in Xx∈X such that:

f(x)=yf(x) = yf(x)=y

Analogy: Imagine a perfect pairing between an equal number of men (domain) and women (codomain). Each man is paired with exactly one unique woman, and each woman is paired with exactly one unique man. This pairing function is bijective.

Important: A function can only have an inverse function if it is bijective.

Examples:

  • The function f(x)=2xf(x) = 2xf(x)=2x from R→R\mathbb{R} \to \mathbb{R}R→R is bijective (injective and surjective).
  • The function f(x)=x3f(x) = x^3f(x)=x3 from R→R\mathbb{R} \to \mathbb{R}R→R is bijective (injective and surjective).
  • The function g(x)=x2g(x) = x^2g(x)=x2 from R→R\mathbb{R} \to \mathbb{R}R→R is not bijective (neither injective nor surjective).
  • The function h(x)=exh(x) = e^xh(x)=ex from R→R\mathbb{R} \to \mathbb{R}R→R is not bijective (injective but not surjective).
  • The function k(x)=x3−xk(x) = x^3 - xk(x)=x3−x from R→R\mathbb{R} \to \mathbb{R}R→R is not bijective (surjective but not injective).
Previous

Properties of Inverse Function

Next

Circle and Arc Circle

  • Injective, Surjective, and Bijective FunctionsMaster one-to-one, onto, and bijective function types with clear analogies. Understand mapping properties and inverse function requirements.
On this page
  • Understanding Function Mapping Properties
  • Injective Function (One-to-One)
  • Surjective Function (Onto)
  • Bijective Function (One-to-One Correspondence)
  • Comments
  • Report
  • Source code