4. Types of Functions One-to-One (Injective) Different inputs give different outputs. Ex: f=(1,a),(2,b),(3,c). Onto (Surjective) Every codomain element is used. Ex: f=(1,x),(2,y),(3,x). Bijective Both one-one and onto. Ex: f=(1,a),(2,b),(3,c). Identity f(x)=x, maps to itself. Ex: I=(1,1),(2,2),(3,3). Constant All map to one value. Ex: f(x)=5 for all x. Polynomial f(x)=ax squared+bx+c. Ex: f(x)=2x squared-3x+1. Rational f(x)=p(x)/q(x), q not 0. Ex: f(x)=1/(x-2). Modulus f(x)=|x|, always positive. Ex: |-5|=5, |3|=3. Signum 1 if x greater 0, -1 if less, 0 if zero. Ex: sgn(5)=1, sgn(-3)=-1. Greatest Integer Floor function, largest int below. Ex: floor 3.7=3, floor -2.3=-3.