Log in Sign up
Back to Discover
🔢

Injective function

math Maturity 11-13

Each thing gets its own spot.

Injection.svg
Injection.svg
No two things share a spot. It is like a special rule. This helps us keep things neat. It makes sense to us. Can you find a pattern?
Injective composition2.svg
Injective composition2.svg

37 words

Imagine you have many different toys.

Injection.svg
Injection.svg
You want to put each toy in its own box.

In math, we call this a one-to-one rule. It means every item gets a unique spot. No two items share the same place.

If a rule is not one-to-one, it is many-to-one. This means some items share a spot.

We can also use a line test to check this. If a flat line hits a graph only once, it works.

Injective composition2.svg
Injective composition2.svg

This special rule keeps every item separate and clear.

88 words

Imagine you have a group of friends.

Injection.svg
Injection.svg
You want to give each friend a unique seat. In a one-to-one rule, no two friends sit in the same chair. In math, we call this an injective function.

An injective function maps distinct items to distinct spots. This means every output comes from only one input. If a rule is not one-to-one, it is called many-to-one. In that case, two different items might share a single spot.

You can check a graph to see if it is injective. Use a flat, horizontal line. If that line hits the graph only once, the function is injective. This is called the horizontal line test.

Some rules are always injective. For example, the identity function always works. This is a rule that sends every item to itself.

Injective composition2.svg
Injective composition2.svg
Also, if you combine two injective functions, the new rule is also injective. This is called a composition. These rules help us keep sets of items separate and clear.

164 words

Imagine you are assigning unique ID numbers to a group of students. Each student must have their own special number. No two students should ever share the same number. In mathematics, we call this kind of rule an injective function. You might also hear people call it an injection or a one-to-one function.

Injection.svg
Injection.svg
This rule ensures that every different input leads to a different output. If a rule lets two different things go to the same spot, it is called many-to-one. An injective function keeps everything separate and distinct.

To understand how it works, we look at the domain and the codomain. The domain is the set of all starting items. The codomain is the set where the results live. An injective function maps every distinct element of the domain to a distinct element of the codomain. This means if you have two different starting values, you must get two different results.

Injective composition2.svg
Injective composition2.svg
Mathematically, we say if the results are equal, then the starting values must have been equal too. This is a very strict and tidy way to organize information.

There are many ways to tell if a function is injective. If you have a formula, you can use math to prove it. For example, the function f(x) = 3x is injective. If you have a graph, you can use the horizontal line test. You draw a flat, horizontal line across your graph. If that line hits the curve in at most one point, the function is injective. This works because it shows no two x-values share the same y-value. In calculus, you can also check if a derivative is always positive or always negative.

Some special functions always follow this one-to-one rule. The identity function is one example because it sends every item to itself. An inclusion map is also injective because it sends any element to itself within a subset. Even the exponential function is injective. However, some functions are not, like f(x) = x squared. This is because two different numbers, like 2 and -2, can give the same result.

Injection.svg
Injection.svg
The empty function is also considered injective if the domain is empty.

Injective functions are very useful for connecting different mathematical structures. If an injective function works between two algebraic structures, it is called an embedding. These functions can often be reversed using something called a left inverse. This is a special rule that can undo the original mapping. If you have two injective functions and combine them, the result is also injective. This is known as a composition.

Injective composition2.svg
Injective composition2.svg
These rules help mathematicians understand how many elements are in different sets.

440 words

In mathematics, an injective function is a specific type of mapping between two sets. It is often called an injection or a one-to-one function. In some educational systems, such as in India, it is referred to as a one-one function. An injective function ensures that distinct elements in the starting set, known as the domain, always map to distinct elements in the target set, known as the codomain. This means that no two different inputs will ever produce the same output. If a function allows different inputs to result in the same output, it is described as a many-to-one function.

Injection.svg
Injection.svg

The mechanism of injectivity relies on a strict logical relationship between inputs and outputs. Formally, a function $f$ with domain $A$ is injective if, for any two elements $x$ and $y$ in $A$, the condition $f(x) = f(y)$ implies that $x = y$. This is logically equivalent to its contrapositive: if $x$ is not equal to $y$, then $f(x)$ cannot equal $f(y)$. This rule ensures that every element in the codomain is the image of at most one element from the domain. It is important not to confuse this with a bijective function. A bijection is a stricter type of function where every element in the codomain is the image of exactly one element in the domain.

There are various types and specific instances of injective functions used in different mathematical contexts. For example, the identity function is always injective because it maps every element to itself. An inclusion map, which sends any element of a subset to itself within a larger set, is also injective. In the study of algebraic structures, an injective homomorphism is often called an embedding. In the context of category theory, the concept of a monomorphism is used, which is a more general idea. While monomorphisms and injective homomorphisms are equivalent for most common algebraic structures like vector spaces, they can differ in more general category theory settings.

Historically and theoretically, the study of these functions helps define the size of sets. If an injection exists from set $A$ to set $B$, then $A$ has at most as many elements as $B$ in terms of cardinal numbers. A famous result known as the Cantor–Bernstein–Schroeder theorem states that if there is an injection from $A$ to $B$ and an injection from $B$ to $A$, then the two sets have the same cardinality. This allows mathematicians to compare the sizes of infinite sets. Furthermore, if two finite sets have the same number of elements, a function between them is injective if and only if it is also surjective, making it a bijection.

We can identify injective functions through several different methods depending on how the function is presented. For a real-valued function on a graph, mathematicians use the horizontal line test. If any horizontal line intersects the graph of the function at most once, the function is injective. For functions defined by a formula, one can use algebraic proofs to show that $f(x) = f(y)$ leads only to $x = y$. In calculus, if a function is differentiable on an interval, showing that its derivative is always positive or always negative proves it is injective. In linear algebra, a linear transformation is injective if its kernel contains only the zero vector.

Injective functions possess unique properties regarding their composition and reversibility. If you have two injective functions and combine them through composition, the resulting function is also injective.

Injective composition2.svg
Injective composition2.svg
While an injection is not always invertible, it can often be "undone" using a left inverse. If there exists a function $g$ such that $g(f(x)) = x$ for every $x$ in the domain, then $f$ is injective. In this relationship, $g$ is called a retraction of $f$, and $f$ is called a section of $g$. To turn an injective function into a full bijection, one can simply replace the codomain with the function's actual image.

These concepts connect deeply to broader mathematical systems and structural analysis. Every function can be decomposed into a unique combination of an injection and a surjection. This decomposition is often viewed as the inclusion of the function's range within its codomain. Because injectivity is a property of the function's graph alone, it does not depend on the specific codomain provided. This makes it a fundamental tool for understanding how different mathematical spaces, from simple sets to complex vector spaces, relate to one another.

732 words
🖼️ Images & Media (2)
File:Injection.svg
Injection.svg
File:Injective composition2.svg
Injective composition2.svg
Up Next
🔢
Bijection, injection and surjection
Math
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.