Skip to main content
Home
plus.maths.org

Secondary menu

  • My list
  • About Plus
  • Sponsors
  • Subscribe
  • Contact Us
  • Log in
  • Main navigation

  • Home
  • Articles
  • Collections
  • Podcasts
  • Maths in a minute
  • Puzzles
  • Videos
  • Topics and tags
  • For

    • cat icon
      Curiosity
    • newspaper icon
      Media
    • graduation icon
      Education
    • briefcase icon
      Policy

    Popular topics and tags

    Shapes

    • Geometry
    • Vectors and matrices
    • Topology
    • Networks and graph theory
    • Fractals

    Numbers

    • Number theory
    • Arithmetic
    • Prime numbers
    • Fermat's last theorem
    • Cryptography

    Computing and information

    • Quantum computing
    • Complexity
    • Information theory
    • Artificial intelligence and machine learning
    • Algorithm

    Data and probability

    • Statistics
    • Probability and uncertainty
    • Randomness

    Abstract structures

    • Symmetry
    • Algebra and group theory
    • Vectors and matrices

    Physics

    • Fluid dynamics
    • Quantum physics
    • General relativity, gravity and black holes
    • Entropy and thermodynamics
    • String theory and quantum gravity

    Arts, humanities and sport

    • History and philosophy of mathematics
    • Art and Music
    • Language
    • Sport

    Logic, proof and strategy

    • Logic
    • Proof
    • Game theory

    Calculus and analysis

    • Differential equations
    • Calculus

    Towards applications

    • Mathematical modelling
    • Dynamical systems and Chaos

    Applications

    • Medicine and health
    • Epidemiology
    • Biology
    • Economics and finance
    • Engineering and architecture
    • Weather forecasting
    • Climate change

    Understanding of mathematics

    • Public understanding of mathematics
    • Education

    Get your maths quickly

    • Maths in a minute

    Main menu

  • Home
  • Articles
  • Collections
  • Podcasts
  • Maths in a minute
  • Puzzles
  • Videos
  • Topics and tags
  • Audiences

    • cat icon
      Curiosity
    • newspaper icon
      Media
    • graduation icon
      Education
    • briefcase icon
      Policy

    Secondary menu

  • My list
  • About Plus
  • Sponsors
  • Subscribe
  • Contact Us
  • Log in
  • Maths in a minute: The power of powers

    16 October, 2015
    10 comments
    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 $x.$ A great example are the trigonometric functions sine and cosine. It turns out that they can be expressed as follows $$\cos{(x)} = 1 - \frac{x^2}{2!} + \frac{x^4}{4 !} - \frac{x^6}{6!} + ... $$ $$\sin{(x)} = x - \frac{x^3}{3!} + \frac{x^5}{5!} - \frac{x^7}{7!} + ... ,$$ where $n! = n \times (n-1) \times (n-2) \times ... \times 2 \times 1.$ For both of these series the beautiful pattern continues indefinitely. Choosing a particular value for $x,$ you will find that the infinite series converges to $\cos{(x)}$ and $\sin{(x)}$ respectively. Similarly beautiful series can be used to express the exponential function $e^x$ and the natural logarithm $ln(x)$: $$e^x = 1 + x + \frac{x^2}{2!} + \frac{x^3}{3! } + \frac{x^4}{4!} + \frac{x^5}{5! } + ...$$ and $$\ln{(x)} = (x-1) - \frac{(x-1)^2}{2} + \frac{(x-1)^3}{3} - \frac{(x-1)^4}{4} + \frac{(x-1)^5}{5} - ...,$$ though in the case of the logarithm this only works when $0 x \leq 2.$ 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 $x$ 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 $\cos{(1)}$, you can approximate it by: $$\cos{(1)} \approx 1 - 1^2/(2 \times 1) + 1^4/(4 \times 3 \times 2 \times 1) = 1 - 1/2 + 1/24 \approx 0.54.$$ 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.
    Graphs

    The black curve is the graph of $\cos{(x)}.$ The cyan curve is the graph of $$f(x) = 1 - \frac{x^2}{2!} + \frac{x^4}{4 !} - \frac{x^6}{6!} + \frac{x^8}{8!}. $$ The purple curve is the graph of $$f(x) = 1 - \frac{x^2}{2!} + \frac{x^4}{4 !} - \frac{x^6}{6!} + \frac{x^8}{8!}- \frac{x^{10}}{10!}+ \frac{x^{12}}{12!}. $$ And the red curve is the graph of $$f(x) = 1 - \frac{x^2}{2!} + \frac{x^4}{4 !} - \frac{x^6}{6!} + \frac{x^8}{8!}- \frac{x^{10}}{10!}+ \frac{x^{12}}{12!} - \frac{x^{14}}{14!}. $$
    • Log in or register to post comments

    Comments

    Anonymous

    17 October 2015

    Permalink

    We know that sin(0)=0 ,and if we apply it to the infinte sum of sin(x) we find sin(0)=1 . So why does it not works ?!?

    • Log in or register to post comments

    Marianne

    19 October 2015

    In reply to Sin(0) by Anonymous

    Permalink

    There was a mistake in the formula, which we have now corrected. Apologies for confusing you!

    • Log in or register to post comments

    Anonymous

    18 October 2015

    Permalink

    sin(x) is, of course, not 1 -x^3/3! + ..., as mentioned above, but x - x^3/3!+...

    • Log in or register to post comments

    Marianne

    19 October 2015

    In reply to powers by Anonymous

    Permalink

    Thanks to the two previous commenters for pointing out the mistake, we've corrected it.

    • Log in or register to post comments

    Anonymous

    19 October 2015

    Permalink

    Shouldn't the expression for sin(x) begin with x, instead of 1?

    • Log in or register to post comments

    Anonymous

    3 November 2015

    Permalink

    I was enlightened by this article, especially after being scared off trig functions at school. I was even more enlightened when I punched in cos (1) into my calculator, a Casio fx-85GT PLUS which does have a cosine button, and got 0.9998... instead of 0.54... After an hour's bafflement I realised I needed to shift the set-up to radians, whereas I'd never got beyond degrees at school. Great, something more I've learnt. Purely as a matter of curiosity though, is it possible to come up with a power series that does as neatly converge on a value in degrees?

    Chris G

    • Log in or register to post comments

    Anonymous

    4 November 2015

    In reply to The Radiant Way by Anonymous

    Permalink

    Hi, you will see that at x=2 x Pi (= 6.284..) cos(x) has completed one whole cycle; as there are 2*Pi radians in one cycle. There are also 360 degrees in one cycle. Therefore there are 360 / ( 2 x Pi) = 57.295779.... degrees in one radian. Now simply multiply every term in the expansion by 57.3 and you have the result in degrees. Of course it is easier to just use the original expansion and do a single multiply of the result by 57.3.

    I hope this helps! Tony S

    • Log in or register to post comments

    Anonymous

    8 November 2015

    In reply to Radians to degrees by Anonymous

    Permalink

    Thanks Tony, but I'd already assumed there are so many degrees per radian. What intrigued me was the way that series expressed the cosine function without needing to incorporate any such conversion factor and what was special about radians as opposed to degrees which enables this. In the same vein, I was wondering if there was any similarly elegant and simple series which could do the same for degrees.

    Chris G

    • Log in or register to post comments

    Anonymous

    6 November 2015

    Permalink

    Love this article!

    • Log in or register to post comments

    Anonymous

    31 December 2015

    Permalink

    Great insight, Please provide links for further reading and Original geniou/s who gave us this explanation.

    • Log in or register to post comments

    Read more about...

    calculus
    power series
    Taylor series
    Maths in a minute

    Our Podcast: Maths on the Move

    Our Maths on the Move podcast brings you the latest news from the world of maths, plus interviews and discussions with leading mathematicians and scientists about the maths that is changing our lives.

    Apple Podcasts
    Spotify
    Podbean

    Plus delivered to you

    Keep up to date with Plus by subscribing to our newsletter or following Plus on X or Bluesky.

    University of Cambridge logo

    Plus is part of the family of activities in the Millennium Mathematics Project.
    Copyright © 1997 - 2025. University of Cambridge. All rights reserved.

    Terms