The extension of the cosine to the complex plane is . Splitting the complex exponential function into its real part and imaginary part gives the displayed formula in terms of hyperbolic cosine and hyperbolic sine.
New to topics? Read the docs here!