Problem. Prove or disprove that for f:X→Y, with A⊆X and B⊆Y, we have f(A∩f−1(B))⊆f(A)∩B.
Can someone check if the following proof is correct, please?
Proof. Let y∈f(A∩f−1(B)) be arbitrary. Hence, there exists x∈A∩f−1(B) such that y=f(x). This implies that there exists x∈A such that y=f(x) and there exists x∈f−1(B) such that y=f(x). By definition of image and preimage, this implies that f(x)∈f(A) and that f(x)∈B. Since y=f(x), it follows y∈f(A)∩B.
Can someone check if the following proof is correct, please?
Proof. Let y∈f(A∩f−1(B)) be arbitrary. Hence, there exists x∈A∩f−1(B) such that y=f(x). This implies that there exists x∈A such that y=f(x) and there exists x∈f−1(B) such that y=f(x). By definition of image and preimage, this implies that f(x)∈f(A) and that f(x)∈B. Since y=f(x), it follows y∈f(A)∩B.