In mathematics, the maximum and minimum of a set A is the largest and smallest element of A. They are written as \displaystyle{ \max(A) } and \displaystyle{ \min(A) }, respectively. Similarly, the maximum and minimum of a function are the largest and smallest value that the function takes at a given point. Together, they are known as the extrema (the plural of extremum).