Function identification and linearity