Is There a Counterexample to the Function Composition Property?

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 3K views
foxjwill
Messages
350
Reaction score
0

Homework Statement


Let [tex]f: A\to B[/tex]. I'm trying to find a function [tex]g: B\to C[/tex] such that [tex]g[/tex] is not [tex]1-1[/tex] but [tex]g\circ f[/tex] is.

The original assignment (which I've completed) was to prove that for all functions [tex]f: A\to B[/tex] and [tex]g: B\to C[/tex], if [tex]g\circ f[/tex] is [tex]1-1[/tex], then so is [tex]f[/tex]. However, in the process of completing the assignment, I tried (out of curiosity) to find g's that weren't 1-1. But I couldn't.
 
Physics news on Phys.org
f: n -> (n,n)
g: (m,n) -> m
gf = identity, neither f nor g is one-to-one
 
Have you thought about why it may not be possible? If the composite is defined then [tex]g\circ f[/tex] = g(f(x)) where x is in A. If f(x) is bijective then g(f(x)) = g(B)
 
Preno said:
f: n -> (n,n)
g: (m,n) -> m
gf = identity, neither f nor g is one-to-one

First of all, when specifying a function (and worrying about its properties), without the domain and codomain, you can't really tell much.

But assuming you have f: R -> R^2, and g: R^2 -> R, then f actually is one to one.

edit:
But since g isn't one-to-one, you have answered my question. So, thanks!
 
The domain is any arbitrary set A with more than 1 element, the codomain is A x A.