Showing Function is Injective/Surjective

  • Thread starter mikemhz
  • Start date
  • Tags
    Function
In summary: Would this show that it is injective?In summary, if a function is injective, then it is also surjective.
  • #1
mikemhz
6
0
Show that for any sets [itex]X, Y , Z[/itex], the canonical function:

[itex]\varphi : (X × Y) × Z \rightarrow X × (Y × Z)[/itex]

[itex](\varphi((x, y), z) = (x,(y, z)))[/itex]

is a bijection.


Solution. We can do this by showing that [itex]\varphi[/itex] is injective and surjective..

I can do this by showing [itex]\varphi[/itex] has an inverse (isomorphism theorem). But I would like to know how to show that a function involving cartesian products is injective/surjective.
 
Physics news on Phys.org
  • #2
mikemhz said:
I can do this by showing [itex]\varphi[/itex] has an inverse (isomorphism theorem). But I would like to know how to show that a function involving cartesian products is injective/surjective.
This should be pretty straightforward. Why not start by writing out the definition of injective and surjective for this particular map, i.e., what is it you would need to show in each case?
 
  • #3
Would this show that it is injective?

[itex]x, a \in X[/itex]
[itex]y, b \in Y[/itex]
[itex]z, c \in Z[/itex]

[itex]\varphi((x,y),z) = \varphi((a,b),c)[/itex]

[itex]\varphi : (x,(y,z)) = (a,(b,c))[/itex]

[itex] x=a, y=b, z=c[/itex]

End of proof.

How about surjective? To be honest, I'm not 100% what I need to prove in each case. I know that injective is one-to-one (each element in Y has at MOST one element from X mapped to it) and surjective is onto (each element in Y has at LEAST one element from X mapped to it), but I do not know how that translates into the notation.
 
Last edited:
  • #4
Sooo..

[itex]X = \left\{1, 2\right\}[/itex]
[itex]Y = \left\{A, B\right\}[/itex]
[itex]Z = \left\{I, J\right\}[/itex]

[itex]X × (Y × Z) =[/itex]
[itex]\left\{(1, (A, I)), (1, (A, J)), (1, (B, I)), (1, (B, J)), (2, (A, I)), (2, (A, J)), (2, (B, I)), (2, (B, J))\right\}[/itex]

Take any element from [itex]X × (Y × Z)[/itex]:
e.g. [itex](2, (A, I))[/itex]
Show that there is an element from [itex](X × Y) × Z[/itex] which maps using the function:
[itex]\varphi((2, A), I) = (2, (A, I))[/itex]

Therefore [itex]\varphi[/itex] is surjective...? :)
 
Last edited:
  • #5
mikemhz said:
Would this show that it is injective?

[itex]x, a \in X[/itex]
[itex]y, b \in Y[/itex]
[itex]z, c \in Z[/itex]

[itex]\varphi((x,y),z) = \varphi((a,b),c)[/itex]

[itex]\varphi : (x,(y,z)) = (a,(b,c))[/itex]

[itex] x=a, y=b, z=c[/itex]

End of proof.
Yes, that's pretty much all there is to it. You may want to include "if and only if" between the statements and write some words to explain the conclusion you are drawing, such as:

[itex]\varphi((x,y),z) = \varphi((a,b),c)[/itex]

if and only if

[itex](x,(y,z)) = (a,(b,c))[/itex]

if and only if

[itex] x=a, y=b, z=c[/itex]

if and only if

[itex]((x,y),z) = ((a,b),c)[/itex]

Therefore [itex]\varphi((x,y),z) = \varphi((a,b),c)[/itex] implies [itex]((x,y),z) = ((a,b),c)[/itex]. This shows that the function [itex]\varphi[/itex] is injective.
 
  • #6
mikemhz said:
Therefore [itex]\varphi[/itex] is surjective...? :)
No, this isn't a general proof, because you used specific examples of [itex]X[/itex], [itex]Y[/itex], and [itex]Z[/itex]. To write a general proof, start by taking an arbitrary element of [itex]X \times (Y \times Z)[/itex]. An arbitrary element is of the form [itex](x,(y,z))[/itex], where [itex]x \in X, y \in Y, z \in Z[/itex]. Now you need to find an element of [itex](X \times Y) \times Z[/itex] which is mapped by [itex]\varphi[/itex] to [itex](x,(y,z))[/itex]. That's all there is to it.
 

FAQ: Showing Function is Injective/Surjective

What is the definition of injective function?

An injective function is a type of function in which each element in the domain maps to a unique element in the range. This means that no two distinct elements in the domain can have the same image.

How can I show that a function is injective?

To show that a function is injective, you can use the horizontal line test. This involves drawing horizontal lines on the graph of the function and checking if each line intersects the graph at most once. If yes, then the function is injective.

What is the definition of surjective function?

A surjective function is a type of function in which every element in the range has at least one preimage in the domain. This means that every element in the range is mapped to by at least one element in the domain.

How can I show that a function is surjective?

To show that a function is surjective, you can use the vertical line test. This involves drawing vertical lines on the graph of the function and checking if each line intersects the graph at least once. If yes, then the function is surjective.

Can a function be both injective and surjective?

Yes, a function can be both injective and surjective. This type of function is called a bijective function. It means that each element in the domain maps to a unique element in the range, and every element in the range has exactly one preimage in the domain.

Similar threads

Replies
7
Views
1K
Replies
9
Views
1K
Replies
7
Views
2K
Replies
5
Views
1K
Replies
9
Views
2K
Replies
1
Views
2K
Back
Top