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 metres you pay pounds. The relationship between the price and the length is given by
This relationship between the length of string, , and the price, , is called linear because when you plot against you get a straight line. (Equivalently, the equation or function describing this relationship are also called linear.)
The relationship is pretty straightforward. For example, it’s easy to see whether you can afford to increase the length of string by metres. The increase in price would simply be twice the increase in length, irrespective on the original length You can see this using the equation:
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 metres, then its area is square metres, so the price of this square is
This is a non-linear relationship. When you plot against you no longer get a straight line, but a curve.
What if you now want to increase the side length of your square by metres? The square will now have an area of square metres, so it’ll cost
The difference between the price of the original square and the price of the new square is
This is quite a complicated expression involving both the original side length and the increase . 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
where is the slope of the line and the point where it cuts the -axis. This gives a linear relationship: if you change the input by some amount , the change in output is always equal to
This isn’t true for polynomial relationships such as
or exponential ones such as
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.
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.