yes it is a function. no it is not linear it is exponential. the function would be X^2. X being the number of bacteria