In mathematics , a Taylor series shows a function as an infinite sum . The sum 's terms are taken from the function 's derivatives . In mathematics , the Taylor series is a representation of a function as an infinite sum of terms calculated from the values of its derivatives at a single point .