Function codomainmaths Function co-domainGiven a function $f: A \rightarrow B$ the codomain is $B$, the set of all possible values $f(a)$ can take. Note this is different form the image which is all values $f$ does take.