Bored of solving quadratic equations? Can’t be bothered with cubics? Then it’s time to step into the infinite — and marvel at the fact that many of the functions you’ll have come across can be expressed using infinite sums made of powers of
A great example are the trigonometric functions sine and cosine. It turns out that they can be expressed as follows
where For both of these series the beautiful pattern continues indefinitely. Choosing a particular value for you will find that the infinite series converges to and respectively.
Similarly beautiful series can be used to express the exponential function and the natural logarithm :
though in the case of the logarithm this only works when
Other functions too can be expressed using a power series, also called a Taylor series, and this is a very useful thing: for example, you can approximate the value of any of the functions above at simply by evaluating the first few terms of the power series.
For example, if your calculator doesn’t have a cosine button and you want to work out , you can approximate it by:
The following figure shows how the graphs of the functions coming from the first few terms of the power series of the cosine function approximate the graph of the cosine function itself.
The black curve is the graph of The cyan curve is the graph of
The purple curve is the graph of
And the red curve is the graph of