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: Non-linearity

      20 September, 2023

      Non-linear relationships are tricky relationships. To understand why, let's first look at a linear relationship.

      Imagine you want to buy a piece of string. The string costs 2 pounds per metre, so if you buy x metres you pay 2x pounds. The relationship between the price p(x) and the length x is given by p(x)=2x.

      This relationship between the length of string, x, and the price, p(x), is called linear because when you plot p(x) against x you get a straight line. (Equivalently, the equation or function describing this relationship are also called linear.)

      linear

      The relationship is pretty straightforward. For example, it's easy to see whether you can afford to increase the length of string by a metres. The increase in price would simply be twice the increase in length, irrespective on the original length x. You can see this using the equation: p(x+a)=2(x+a)=2x+2a.

      In this example a change in the input to the price function is proportional to the resulting change in the output of the price function (the change in output equals twice the change in input).

      Now suppose that, instead of a piece of string, you want to buy a square piece of fabric, priced at 2 pounds per square metre. If the side of the square you want to buy has length x metres, then its area is x2 square metres, so the price of this square is p(x)=2x2.

      This is a non-linear relationship. When you plot p(x) against x you no longer get a straight line, but a curve.

      mom-linear

      What if you now want to increase the side length of your square by a metres? The square will now have an area of (x+a)2 square metres, so it'll cost p(x+a)=2(x+a)2=2(x2+2ax+a2)=2x2+4ax+2a2.

      The difference between the price p(x) of the original square and the price p(x+a) of the new square is p(x+a)−p(x)=4ax+2a2.

      This is quite a complicated expression involving both the original side length x and the increase a. It's no longer possible to quickly work out in your head whether you can afford to buy the larger piece. Specifically, a change to the input to the price function is no longer proportional to the resulting change in the output.

      This feature of non-linearity means that it can be difficult making predictions based on non-linear relationships. Indeed non-linear equations can give rise to chaotic systems whose behaviour can be impossible to predict — the weather is an example of a system whose underlying equations are non-linear and exhibit mathematical chaos.

      Our equations above were specific examples of linear and non-linear relationships. More generally, the equation of a straight line can be written as p(x)=mx+b,

      where m is the slope of the line and b the point where it cuts the y-axis. This gives a linear relationship: if you change the input by some amount a, the change in output is always equal to ma.

      This isn't true for polynomial relationships such as p(x)=bx2+cx+d, or exponential ones such as p(x)=becx. These are examples of non-linear relationships.

      Even more generally, the concepts of linearity and non-linearity also exist for relationships between more than two variables, or when the variables stand, not for numbers, but other types of mathematical objects, such as functions or vectors. The defining feature of linearity is that changes in output are proportional to changes in input, and of non-linearity that this is not the case. Find out more in the Wikipedia article on non-linear systems.


      This article was produced as part of our collaboration with the Isaac Newton Institute for Mathematical Sciences (INI) – you can find all the content from the collaboration here.

      The INI is an international research centre and our neighbour here on the University of Cambridge's maths campus. It attracts leading mathematical scientists from all over the world, and is open to all. Visit www.newton.ac.uk to find out more.

      INI logo

      • Log in or register to post comments

      Read more about...

      Maths in a minute
      INI
      University of Cambridge logo

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

      Terms