Transforming Nonlinear Data: Steps & Examples

Transforming Nonlinear Data: Steps & Examples
Coming up next: Coefficient of Determination: Definition, Formula & Example

You're on a roll. Keep up the good work!

Take Quiz Watch Next Lesson
Your next lesson will play in 10 seconds
  • 0:01 Nonlinear Data
  • 0:41 Transformations
  • 3:40 When to Use Transformations
  • 5:39 Types of Transformation
  • 7:51 Lesson Summary
Add to Add to Add to

Want to watch this again later?

Log in or sign up to add this lesson to a Custom Course.

Log in or Sign up


Recommended Lessons and Courses for You

Lesson Transcript
Instructor: Cathryn Jackson

Cat has taught a variety of subjects, including communications, mathematics, and technology. Cat has a master's degree in education and is currently working on her Ph.D.

Sometimes we have data sets that we need to analyze and interpret, but it's difficult because the data is nonlinear. This lesson will teach you how to transform nonlinear data sets into more linear graphs.

Nonlinear Data

Jack is the owner of an electronics and office supply shop. Over the years, he has collected data regarding the sales of different items. He is working on updating his inventory and making some purchases based on previous sales. Some of his data is linear, so it is easy for him to predict how much of a certain item he needs to buy. However, some of his data is nonlinear, which makes it difficult for him to try to fill his inventory for the upcoming year. How can Jack use his nonlinear data to make inventory purchases?

In this lesson, you will learn how to use different types of transformations to change nonlinear data into linear data.


First, let's discuss the differences between a linear data set and a nonlinear data set. This graph shows nonlinear data transforming into linear data (please see the video beginning at 00:49 to see this transformation).

Take a look at this chart that compares and contrasts linear and nonlinear data:

Linear Nonlinear
Variables Proportional between two variables Not proportional between two variables
Correlation Constant between two variables Changes between variables from point to point
Predictions Easy to make from slope and intercept Difficult to make; sometimes one variable will correspond to two different outcomes
Graph Straight line Anything but a straight line: a curve, a wave, a bell, etc.

First, the linear data is proportional between two variables. For example, the following data set is proportional: 1, 2, 3, 4, 5, 6, 7, 8. There is exactly one number difference between each of the numbers, which results in a distinct and consistent pattern that does not change between each number. Therefore, this is proportional between two variables or numbers.

Nonlinear data is not proportional between two variables. Take a look at this data set: 1, 3, 6, 8, 11, 13, 16. There is no consistent value pattern between these numbers; it changes from adding two to adding three alternately. Therefore, this data set is not proportional.

Next, the correlation between variables in linear data is constant, while nonlinear data changes from point to point. This is similar to the previous example. In the linear data set 1, 2, 3, 4, 5, 6, 7, 8, we can see that the correlation between the variables is +1 and never changes, while the data set 1, 3, 6, 8, 11, 13, 16 changes between +2 and +3.

Predictions are easier to make for linear data; you can analyze slope and intercept to make a prediction about a variable. Take a look at this graph:

Linear graph
linear graph

From this graph, you can probably predict that laptop sales will continue to decline in 2015, and you can probably even get a good estimate on how many laptops will be sold - 50. However, nonlinear data is more difficult to predict.

Take a look at this graph:

Nonlinear graph
nonlinear graph

As you can see, the data in this graph shifts from every two years to every three years and then back again. The variables are not consistent between the years, and they are really inconsistent between the number of sales. While it is still possible to make a guess, it is difficult to make an accurate prediction based on the data given. Notice that the sales originally increase and then dip up and down. There isn't a lot to go off of here to determine if the data will continue to increase, decrease, or dip up and down.

Lastly, we can look at the previous graphs to see a comparison between linear and nonlinear graphs. A linear graph will always be a line, whether it is a regression line or a true linear line. However, nonlinear data can be just about anything. These are some examples of Jack's nonlinear data and his sales at his electronics and office supply shop:

nonlinear graph for battery sales

nonlinear graph of folder sales

nonlinear graph for gaming devices

Now that you know the differences between linear and nonlinear data, let's talk about using transformations.

When to Use Transformations

Since nonlinear data is difficult to make predictions with, we can use transformations to make nonlinear data more linear, and then make predictions from there. Before we start working with transformations, there are a few things to keep in mind. First, you cannot simply transform any nonlinear data. In order to be transformable, nonlinear data must be:

  • Simple
  • Monotone

Simple nonlinear data is when the data is curved but does not change. Let's look at the wavy nonlinear graph from the data Jack collected on gaming device sales. This data is curved, but it changes up and down; therefore, this data is not simple.

Monotone nonlinear data is when the data is either always positive or always negative. Notice that on the folder sales graph, the data starts out positive, but then changes to the negative as time goes by. Therefore, this data is not monotone.

Now take a look at Jack's printer sales:

Graph showing monotone and simple data
graph showing printer sales

This data is both monotone and simple. Notice that the graph is curved, but only curves once. This is what makes it simple. Also notice that the data continues to rise, making the graph always positive, and therefore, monotone. We can transform this data into something more linear.

To transform nonlinear data, you can apply an operation, such as add, subtract, multiply, or divide, to a variable, either x or y, like this:

Example transformation
chart and graph for transforming nonlinear data

Notice that, in this transformation, we took the logarithm of both x and y for the first six weeks of the printer sales data. Once this data is transformed, it is far more linear. This works because we are consistently transforming each variable. What I mean is, we aren't adding 4 to one x value and then taking the log of another x value; we are taking the log of every x value.

Types of Transformations

There are several ways you can transform nonlinear data by either transforming x, y, or both variables at once. The most common ways to transform nonlinear data is by using one of these models:

To unlock this lesson you must be a Member.
Create your account

Register to view this lesson

Are you a student or a teacher?

Unlock Your Education

See for yourself why 30 million people use

Become a member and start learning now.
Become a Member  Back
What teachers are saying about
Try it risk-free for 30 days

Earning College Credit

Did you know… We have over 200 college courses that prepare you to earn credit by exam that is accepted by over 1,500 colleges and universities. You can test out of the first two years of college and save thousands off your degree. Anyone can earn credit-by-exam regardless of age or education level.

To learn more, visit our Earning Credit Page

Transferring credit to the school of your choice

Not sure what college you want to attend yet? has thousands of articles about every imaginable degree, area of study and career path that can help you find the school that's right for you.

Create an account to start this course today
Try it risk-free for 30 days!
Create An Account