Qwertyuiop[]
Junior Member
- Joined
- Jun 1, 2022
- Messages
- 123
I know that we can test if a function is injective(one-to-one) using the horizontal line test. If let's say we had a function that we didn't know the graph of or we needed to prove that it's injective or surjective, is there a way to do it algebraically? Like using their definitions? I know a function is injective if for all x, f(x1)=f(x2)⇒x1=x2 and a function f:E→F is surjective if ∀y∈F∃x∈E,y=f(x). Can you use these definitions or some other method to prove that a function is injective/surjective?