1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Injective & Surjective Functions

  1. Mar 11, 2017 #1
    Just wondering if anyone could help me get in the right direction with these questions and/or point me to some material that will help me better understand how to approach these questions

    In what follows I will denote the identity function; i.e. I(x) = x for all x ∈ R.
    (a) Show that a function f is surjective if and only if there exists a function g such that f ◦ g = I.
    (b) Show that a function f is injective if and only if there exists a function h such that h ◦ f = I.
    (c) Suppose f ◦ g = I and h ◦ f = I. Show that g = h.

    Okay so from what I understand for f ◦ g = I, this translates to f(g(x)) = I and for a function to be surjective it means that every element y in Y has element x in X for f(x). So would part (a) involve showing that f is a one-to-one function. I guess my weak point when it comes to these type of questions is setting out logical steps on how to prove, is there a certain system of steps that we follow? Any help would be greatly appreciated!
     
  2. jcsd
  3. Mar 11, 2017 #2
    I think you mean part b involves showing some function is injective.

    Injectivity, formally, means that for any elements [itex]x,y[/itex] in the domain: if [itex]f(x) = f(y)[/itex], then [itex]x=y[/itex]. I'll address part b for now:
    You need to prove two implications: from left to right and from right to left. [if that is ambiguous, let me know, but it should be elementary].
    To be more precise, let [itex]f: X\to Y[/itex], where [itex]X,Y\subseteq\mathbb{R}[/itex], be injective. We must find [itex]g:Y\to X[/itex] such that for every [itex]y\in Y[/itex] we have [itex](fg)(y):=f(g(y)) = y[/itex]. How should we define [itex]g(y)[/itex] for a given [itex]y[/itex] and why can we do that?
    For instance, if we look at [itex]f(x) := x+1[/itex], this is clearly injective. How do we define [itex]g[/itex] such that [itex]f(g(x+1))=x+1[/itex]? Say, we defined [itex]g(y) = y-1[/itex], then you can verify this [itex]g[/itex] does what we want it to, but what allows us to define [itex]g[/itex] this way?
     
  4. Mar 11, 2017 #3
    Hmm I think I kind of get the idea. Do you happen to know where I could potentially read more about this topic that uses examples like you've provided? I think I generally understand theories and proofs better when looking at a specific example then taking from that to understand the proof/theory itself.
     
  5. Mar 11, 2017 #4
    Some googling and I found Karel Hrbacek & Thomas Jech, http://rads.stackoverflow.com/amzn/click/0824779150 [Broken]
    which seems to be directed at undergraduate level studies. It is a rigorous text, so I'd recommend it.
    What can tell you, though, is you need a solid understanding of propositional calculus and for introductory logic studies, I would definitely recommend P. Suppes Introduction to logic available legitimately free of charge. It does address set theory, which I'd totally forgotten about! heh :)
     
    Last edited by a moderator: May 8, 2017
  6. Mar 11, 2017 #5
    Okay, thank you! Also in regards to (a) - would it be looking somewhat like this?

    So if we suppose that f is a surjection. We define a function g : Y → X as follows.
    Let y ∈ Y , and since f is a surjection, there exists x ∈ X (not necessarily unique) such that f(x) = y.
    Now we choose one such x and call it xy and set g(y) = xy.
    For any y ∈ Y , we have (f ◦ g)(y) = f(g(y)) = f(xy ) = y = IY (y). So we can conclude that f ◦ g = IY.

    Suppose there exists g : Y → X such that f ◦ g = IY. If we let y ∈ Y, then g(y) ∈ X and f(g(y)) = (f ◦ g)(y) = IY (y) = y.
    We conclude that f is a surjection.

    Am I on the right track here? I've tried to make the steps logical, but not 100% if I'm heading in the right direction.
     
  7. Mar 11, 2017 #6
    The first part is ok, at least it seems ok to me.

    For the second part we need [itex]f[/itex] to be a surjection, therefore we need to show that for any [itex]y\in Y[/itex], there exists an [itex]x\in X[/itex] s.t [itex]f(x)=y[/itex]. You can express this shortly by: [itex]Y\subseteq f(X)[/itex] (since the converse containment is trivial). Let [itex]y\in Y[/itex], then by assumption [itex]y = (fg)(y)[/itex] and [itex]f(g(y)) = y[/itex] i.e our [itex]x[/itex] is precisely [itex]g(y)[/itex]. You did the same thing in the opposite direction, so yes, everything is A ok with part a :)
     
  8. Mar 11, 2017 #7
    Thank you! I'm still trying to rap my head around everything, but will attempt part (b).
     
  9. Mar 11, 2017 #8

    PeroK

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    Yes, this is correct.

    Good.

    Very much on the right track.
     
  10. Mar 11, 2017 #9
    Thank you! I'm a little stumped on part (b) and (c), so from what I understand injection means we have to show how it is a one-to-one function that is h(f(x)) has one value of x=X for every y=Y?
     
  11. Mar 12, 2017 #10

    PeroK

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    Part c) should be the simplest of the three. Why can't you even get started? You can always start by stating what you have to prove. For example, for part a) it was:

    We need to show that:

    1) if ##f: X \rightarrow Y## is surjective, then we can find ##g: Y \rightarrow X## such that ##f \circ g = I_Y##
    2) if there exists ##g: Y \rightarrow X## such that ##f \circ g = I_Y##, then ##f: X \rightarrow Y## is surjective.

    Then, you can write the definition of these things:

    ##f: X \rightarrow Y## is surjective means that ##\forall y \in Y, \ \exists x \in X## such that ##f(x) = y##

    And:

    ##f \circ g = I_Y## means that ##\forall y \in Y, \ f(g(y)) = y##

    Try doing this for b) and c) - c) should be easier.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted



Similar Discussions: Injective & Surjective Functions
Loading...