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, [imath]f\left(x_1\right)=f\left(x_2\right)\:\Rightarrow x_1=x_2[/imath] and a function [imath]f:E \rightarrow F[/imath] is surjective if [imath]\forall y \in F \; \exists x \in E, \; y=f(x)[/imath]. Can you use these definitions or some other method to prove that a function is injective/surjective?