Proving Subset Relation for Composed Functions

  • Thread starter toothpaste666
  • Start date
  • Tags
    Relation
In summary: I'm pretty sure this is dealing with preimages (inverse images), not the images of inverse functions.
  • #1
toothpaste666
516
20

Homework Statement


for functions f: X -> Y and g: Y ->Z
show that for all subsets C in Z , (g°f)^-1(C) ⊆ f^-1(g^-1(C)) (or find a counterexample)

The Attempt at a Solution


let z ∈ (g°f)^-1(C) such that (g°f)^-1(z) = x for some x∈X
then
z = (g°f)(x)
z = g(f(x))
g^-1(z) = f(x)
f^-1(g^-1(z) = x for some x ∈ X
so z ∈f^-1(g^-1(C))

These types of proofs are very subtle and technical to me and I am not sure If I am assuming anything or if I have sufficiently proven what needed to be proven. I would greatly appreciate some feedback :)
 
Last edited:
Physics news on Phys.org
  • #2
I'm not sure I follow your first line. I didn't think it was necessary to use two variables (x & z) but if you want to I think it should be
x ∈ (g°f)-1(C) such that (g°f)-1(z) = x for some x ∈ X & z ∈ C
 
  • Like
Likes toothpaste666
  • #3
I am not sure how to do it with one variable. =\ I am a little confused... should I change the last line to
x∈f^-1(g^-1(C)) ?
 
  • #4
toothpaste666 said:

Homework Statement


for functions f: X -> Y and g: Y ->Z
show that for all subsets C in Z , (g°f)^-1(C) ⊆ f^-1(g^-1(C)) (or find a counterexample)

The Attempt at a Solution


let z ∈ (g°f)^-1(C) such that (g°f)^-1(z) = x for some x∈X
then
z = (g°f)(x)
z = g(f(x))
g^-1(z) = f(x)
f^-1(g^-1(z) = x for some x ∈ X
so z ∈f^-1(g^-1(C))

These types of proofs are very subtle and technical to me and I am not sure If I am assuming anything or if I have sufficiently proven what needed to be proven. I would greatly appreciate some feedback :)
I don't think the statement is true. What if ##g \circ f## is invertible (which would mean that ##(g \circ f)^{-1}## exists), but f or g is not invertible?
 
  • Like
Likes toothpaste666
  • #5
Mark44 said:
I don't think the statement is true. What if ##g \circ f## is invertible (which would mean that ##(g \circ f)^{-1}## exists), but f or g is not invertible?
I'm pretty sure this is dealing with preimages (inverse images), not the images of inverse functions.
 
  • Like
Likes toothpaste666
  • #6
I think I am lost lol
 
  • #7
Mark44 said:
I don't think the statement is true. What if ##g \circ f## is invertible (which would mean that ##(g \circ f)^{-1}## exists), but f or g is not invertible?
##g^{-1}(C)## exists even when ##g^{-1}## doesn't. It's defined by ##g^{-1}(C)=\{y\in Y|g(y)\in C\}##.
 
  • Like
Likes toothpaste666
  • #8
toothpaste666 said:
let z ∈ (g°f)^-1(C) such that (g°f)^-1(z) = x for some x∈X
This sentence doesn't make sense. I assume you meant "...be such that...". You should just start "let ##z\in(g\circ f)^{-1}(C)##". No need to add a "such that". Note that the z defined this way is an element of X, not Z, so the expression ##(g\circ f)^{-1}(z)## doesn't make sense.

You just need to use the definition of the preimage of a set correctly. Here's the definition: If ##f:X\to Y## and ##S\subseteq Y##, then ##f^{-1}(S)=\{x\in X|f(x)\in S\}##. Note that this means that the following equivalence holds for all ##x\in X##.
$$x\in f^{-1}(S)~\Leftrightarrow~ f(x)\in S.$$ I like to do these proofs as a sequence of implications. I would start by saying that the following implications hold for all ##x\in X##.
$$x\in(g\circ f)^{-1}(C)~\Rightarrow~(g\circ f)(x)\in C~\Rightarrow~g(f(x))\in C~\Rightarrow~\dots$$ If you find that the sequence of implications ends with ##x\in f^{-1}(g^{-1}(C))##, you will have proved that ##(g\circ f)^{-1}(C)\subseteq f^{-1}(g^{-1}(C))##.

Use \circ to produce the ##\circ## symbol.
 
  • Like
Likes toothpaste666
  • #9
SammyS said:
I'm pretty sure this is dealing with preimages (inverse images), not the images of inverse functions.

Right, but in his proof he seemed to use invertibility when he wrote ##(g\circ f)^{-1}(z)##.
 
  • Like
Likes toothpaste666 and SammyS
  • #10
What I had in mind were a pair of functions f (f:X→Y) and g (g:Y → Z) where f was invertible and g wasn't, but ##g \circ f## was invertible.
 
  • Like
Likes toothpaste666
  • #11
ok let me try again

if x ∈ (g ο f)-1(C)
then (g ο f)(x) ∈ C
so g(f(x)) ∈ C
and f(x) ∈ g-1(C)
so x∈ f-1(g-1(C))

if i understand what Mark44 is saying, then this proof will not work if g is not invertible (you can't get from the third to the fourth line) or if f is not invertible (you can't get from the fourth to the fifth line) . It seems that the way the problem is worded, the fact that (g ο f) is invertible is assumed?
 
  • #12
toothpaste666 said:
ok let me try again

if x ∈ (g ο f)-1(C)
then (g ο f)(x) ∈ C
so g(f(x)) ∈ C
and f(x) ∈ g-1(C)
so x∈ f-1(g-1(C))

if i understand what Mark44 is saying, then this proof will not work if g is not invertible (you can't get from the third to the fourth line) or if f is not invertible (you can't get from the fourth to the fifth line) . It seems that the way the problem is worded, the fact that (g ο f) is invertible is assumed?

Actually, the proof you just gave is perfect and works without assuming invertible.
 
  • Like
Likes toothpaste666
  • #13
is that because of the second variable before?
 
  • #14
You seem to be asking if the new proof is perfect because the previous attempt involved a second variable. You probably meant to ask something else. But I agree that your proof is good. Since you didn't make any assumptions about x other than ##x\in(g\circ f)^{-1}(C)##, what you did proves that ##(f\circ g)^{-1}(C)\subseteq f^{-1}(g^{-1}(C))##. The proof of ##f^{-1}(g^{-1}(C))\subseteq (g\circ f)^{-1}(C)## is similar.
 
  • #15
edit: actually never mind. I didn't mean that it was wrong to use a second variable, just that I didn't bother.
 
  • #16
I think what I meant is... did the problem with invertibility arise because of the second variable?

Btw thank you all for your time and help
 
  • #17
toothpaste666 said:
I think what I meant is... did the problem with invertibility arise because of the second variable?

I had the same proof that you got in post #11 & I don't think the invertibility had anything to do with the second variable, I think it just made it a bit more complicated than necessary.
 
  • #18
The problem was that you wrote ##(f\circ g)^{-1}(z)##. The way you used it, is that it is one single element. But it's not, unless the function is invertible. In general, it is a set of elements, not just one.
 
  • #19
ahh ok I get it now. Thank you all.
 

FAQ: Proving Subset Relation for Composed Functions

What is a subset relation?

A subset relation is a mathematical concept that describes the relationship between two sets, where one set is contained within another set. This means that all elements in the first set are also elements in the second set.

How is a subset relation proven?

A subset relation can be proven by showing that all elements in the first set are also elements in the second set. This can be done by listing out the elements in each set and comparing them, or by using logical statements and proofs.

Can a subset relation exist between infinite sets?

Yes, a subset relation can exist between infinite sets. As long as all elements in the first set are also elements in the second set, regardless of the size of the sets, a subset relation can be proven.

What is the difference between a proper subset and an improper subset?

A proper subset is a subset relation where the first set is contained within the second set, but the two sets are not equal. This means that the second set has at least one element that is not in the first set. An improper subset is a subset relation where the first set is equal to the second set, meaning that they have the exact same elements.

Can a subset relation change over time?

Yes, a subset relation can change over time. If the elements in either set are added to or removed from, the subset relation between the two sets may also change. However, if the elements in both sets remain the same, the subset relation will remain the same.

Similar threads

Replies
8
Views
1K
Replies
1
Views
761
Replies
5
Views
699
Replies
14
Views
922
Replies
2
Views
1K
Back
Top