Surjective, injective, bijective how to tell apart

In summary, injective means that each element in the domain maps to a unique element in the codomain, surjective means that every element in the codomain is mapped to by at least one element in the domain, and bijective means that the function is both injective and surjective. A bijective function has a unique inverse function, while a surjective function may or may not have an inverse.
  • #1
haki
161
0
Hi,

I have no problems with recognising a bijective function -> one-to-one mapping e.g. x^3 is bijective wheras x^2 is not.

But how do you tell weather a function is injective or surjective? I was reading various "math" stuff on this but it has left me only puzzled. Can somebody explain injective and surjective in plain english. How do you tell weather a function is injective or surjective or none?
 
Mathematics news on Phys.org
  • #2
[itex]f:A\rightarrow B[/itex] is surjective if f maps on to the whole of B. For example, [itex]x^2:\mathbb{R}\rightarrow\mathbb{R}[/itex] is not surjective because [itex]x^2[/itex] only maps R onto the positive reals. So [itex]f:A\rightarrow B[/itex] is surjective iff [itex]f(x)=y[/itex], [itex]x\in A[/itex], [itex]\forall y\in B[/itex]. [itex]x^2:\mathbb{R}\rightarrow\mathbb{R}^+[/itex] is however surjective. It's all about the domains and ranges.

Injective is if f maps each member of A onto one and only one unique element of B, injective is just another word for one-to-one. Again, [itex]x^2:\mathbb{R}\rightarrow\mathbb{R}[/itex] isn't injective because both the -x and +x map onto [itex]x^2[/itex], so it is many to one. [itex]x^2:\mathbb{R}^+\rightarrow\mathbb{R}[/itex] is injective though. [itex]x^3:\mathbb{R}\rightarrow\mathbb{R}[/itex] is injective and surjective, and thus bijective (bijective being both injective and surjective). [itex]x^2:\mathbb{R}^+\rightarrow\mathbb{R}^+[/itex] is then bijective. The important property of injective maps is that they are invertable, surjective maps aren't necessarilly so.
 
Last edited:
  • #3
haki said:
Hi,

I have no problems with recognising a bijective function -> one-to-one mapping e.g. x^3 is bijective wheras x^2 is not.

But how do you tell weather a function is injective or surjective?

you look at the definition, look at the function and try to figure out if the function satisfies the definition.

More on the definition in the next post.
 
  • #4
Perturbation said:
Injective is if f maps each member of A onto one and only one unique element of B

No, this is not correct. f is injective if f(x)=f(y) implies x=y. This is not what you have written down here.

With that correction, is the OP now ok with the definition?
 
  • #5
Ok, I did some more reading and thinking.

If I understand correctly, the point of injection is that it is focused on the mapping that is only one value from domain must be mapped by another value at the codomain. Soo there is one-to-one mapping - injective.

The point or surjectivity is a bit trickier. The trick lies in the domain and codomain definitions. Here I don't get it. e.g. x^2 is a surjective function if you define the codomain to consist of only positive real numbers R+True?. Meaning - in a surjective function the codomain must not include values that are not mapped to corresponding values of the domain.

For example if a function is injective(one-to-one mapping) but if its codomain is defined to include values that the function never mapps then the function is not surjective? But if we modify the definition of the codomain we can get a surjective function aswell? Meaning a bijective function should the function be injective in the first place?
 
  • #6
  • #7
One thing to remember is that formally part of the definition of a funtion is the specification of domain and codomain. If you change those you change the function so of course you're going to potentially change its properties. For instance x^2 isn't actually a function until you tell me what is domain and codomain are. Now I'm confused because I thought you said you knew what a bijection was. A bijection is a map that is injective and surjective (one-to-one and onto). So what definition of bijection were you using?
 
  • #8
matt grime said:
No, this is not correct. f is injective if f(x)=f(y) implies x=y. This is not what you have written down here.

With that correction, is the OP now ok with the definition?

Ah, thank you for that correction. I wasn't sure how to write it mathematically, though now that you've written that it does ring a bell.
 
  • #9
What you wrote essentially specified what it means to be a function: given some element in the domain we associate a unique element in the codomain, and we write something like f(x) for the element that we associate to x.
 
  • #10
another useful, tip: up, down, sideways, how to tell them apart? nose, toes and elbows.
 
  • #11
now I am a bit more confused.

a bijective function is for me a function that is mapped one-to-one. That means that if you make an inverse function that is for a given value of y you get back only one x. E.g. the inverse of x^2, would be sqrt(x) but that gives to answers +/- sqrt(x). Soo that is not one-to-one and not bijective.

injective - that is the property of bijective functions -> one-to-one mapping

surjective - a bit tricky, means the codomain is of same "power" as the domain.

is any of this correct?
 
  • #12
A bijective function is a function which is BOTH injective and surjective.
 
  • #13
You cannot define an inverse function if the function is not surjective: how do you define the inverse function on elements of the codomain that are not mapped to?
 
  • #14
here is another point of view: given a map f:X-->Y, another map g:Y-->X is a left inverse of f iff gf = id(Y), a right inverse iff fg = id(X), and a 2 sided inverse if both hold.

then f is injective iff it has a left inverse, surjective iff it has a right inverse (assuming AxCh), and bijective iff it has a 2 sided inverse.
 

1. What is the difference between surjective, injective, and bijective functions?

Surjective, injective, and bijective functions are all types of mathematical functions that describe the relationship between two sets of elements. A surjective function, also known as onto, maps each element in the input set to at least one element in the output set. An injective function, also known as one-to-one, maps each element in the input set to a unique element in the output set. A bijective function, also known as both onto and one-to-one, maps each element in the input set to a unique element in the output set and has a full range of values.

2. How can you tell if a function is surjective?

A function is surjective if every element in the output set has at least one corresponding element in the input set. In other words, every element in the range of the function is mapped to by at least one element in the domain. To determine if a function is surjective, you can check if the range of the function is equal to the entire output set.

3. What is an example of a surjective function?

An example of a surjective function is f(x) = x^2, where the input set is all real numbers and the output set is all non-negative real numbers. Every non-negative real number has at least one real number that when squared, equals it.

4. How can you tell if a function is injective?

A function is injective if each element in the output set is mapped to by only one element in the input set. In other words, no two distinct elements in the domain are mapped to the same element in the range. To determine if a function is injective, you can use the horizontal line test. If a horizontal line intersects the graph of the function at more than one point, then the function is not injective.

5. What is an example of an injective function?

An example of an injective function is f(x) = x, where the input set is all real numbers and the output set is also all real numbers. Each real number is mapped to itself, and no two distinct real numbers are mapped to the same number.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
4
Views
2K
  • General Math
Replies
2
Views
3K
Replies
18
Views
5K
Replies
2
Views
899
Replies
2
Views
3K
  • Calculus and Beyond Homework Help
Replies
12
Views
1K
  • Linear and Abstract Algebra
Replies
2
Views
2K
  • Calculus and Beyond Homework Help
Replies
7
Views
2K
  • Differential Equations
Replies
1
Views
646
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
Back
Top