Proving Injectivity: f ∘ g = f ∘ h ⇒ g = h

  • Thread starter Thread starter rallycar18
  • Start date Start date
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
6 replies · 4K views
rallycar18
Messages
9
Reaction score
0
Prove that:

If f : X → Y is injective, g, h : W → X, and f ∘ g = f ∘ h, then g = h.
 
Physics news on Phys.org
Tedjn said:
What is your progress on this problem?

Definition of injective for If f : X → Y :
For all y [tex]\in[/tex] Y, there exists at most one x [tex]\in[/tex] X such that f(x) = y

Because f : X → Y and g, h : W → X,

f ∘ g : W → X → Y and f ∘ h : W → X → Y

so f ∘ g, f ∘ h : W → Y


that's where I get stuck.
 
note that an injective function is a function that preserves distinctness... so you can consider the inverse of f
 
lanedance said:
note that an injective function is a function that preserves distinctness... so you can consider the inverse of f

Then f^(-1) : Y → X is also injective.. but I don't see what I can do from that.
 
It may be easier to see via contradiction. If there is w in W such that g(w) is not equal to h(w), what happens to (f ∘ g)(w) and (f ∘ h)(w)?