Linear Relationship


DEFINITION of 'Linear Relationship'

Linear relationship is a statistical term used to describe the relationship between a variable and a constant. Linear relationships can be expressed in a graphical format where the variable and the constant are connected via a straight line or in a mathematical format where the independent variable is multiplied by the slope coefficient, added by a constant, which determines the dependent variable.


Loading the player...

BREAKING DOWN 'Linear Relationship'

There are three sets of necessary criteria an equation has to meet in order to qualify as a linear one: an equation expressing a linear relationship can't consist of more than two variables, all of the variables in an equation must be to the first power, and the equation must graph as a straight line. 

A linear function in mathematics is one that satisfies the properties of additivity and homogeneity. Linear functions also observe the the superposition principle, which states that the net output of two or more inputs equals the sum of the outputs of the individual inputs. 

Mathematically, a linear relationship is one that satisfies the equation:

y = mx + b

In this equation, “x” and “y” are two variables which are related by the parameters “a” and “b”. Graphically, y = mx + b plots in the x-y plane as a line with slope “m” and y-intercept “b”. The slope “m” is calculated from any two individual points (x_1, y_1) and (x_2, y_2) as 

m = (y_2 - y_1) / (x_2 - x_1) 

while the y-intercept “b” is simply the value of “y” when x=0. 

Mathematically similar to a linear relationship is the concept of a linear function. In one variable, a linear function can be written as  

f(x) = mx + b

which is identical to the given formula for a linear relationship except that the symbol f(x) is used in place of “y”. This substitution is made to highlight the meaning that x is mapped to f(x), whereas the use of y simply indicates that x and y are two quantities, related by A and B. 

In the study of linear algebra, the properties of linear functions are extensively studied and made rigorous. Given a scalar C and two vectors A and B from R^N, the most general definition of a linear function states that 

c*f(A +B) = c*f(A) + c*f(B) 


Linear relationships are pretty common in daily life. The formula we use to calculate speed is 'rate of speed is distanced traveled over time'. If someone in a white 2007 Chrysler Town and Country minivan is traveling between Sacramento and Marysville in California, a 41.3 mile stretch on highway 99, and they complete the journey ends up taking 40 minutes, they will have been traveling just below 60 mph. While there are more than two variables in this equation, it's still a linear equation because one of the variables will always be a constant (distance). 

A linear relationship can also be found in the equation distance = rate x time. Because distance is a positive number in most cases - this linear relationship would be expressed on the top right quadrant of a graph with an X and Y axis. If a bicycle made for two was traveling at a rate of 30 miles per hour for 20 hours, they'd end up raveling 600 miles. Represented graphically with the distance on the Y axis and time on the X axis, a line tracking the distance over those 20 hours would travel straight out from the convergence of the X and Y axis.

In order to convert Celsius to Fahrenheit, or Fahrenheit to Celsius, you would use the equations below. These equations express a linear relationship on a graph.

degree conversion

Assume that the independent variable is the size of a house (as measured by square footage), determines the market price of a home (the dependent variable), when it is multiplied by the slope coefficient of 207.65 and is then added to the constant term $10,500. If a home's square footage is 1,250 then the market value the home is $270,062.50. Graphically, and mathematically:

Linear Relationship

In this example, as the size of the house increases, the market value of the house increases in a linear fashion.

Some linear relationships between two objects can be called a 'constant of proportionality'. This relationship appears as Y=KX, where k is the constant, and y and x are the proportional quantities.

When analyzing behavioral data, there is rarely a perfect linear relationship between variables. However, trend-lines can be found in data that form a rough version of a linear relationship. For example you could look at the sale of ice-cream and number of drowning as the two variables at play in a graph and find a linear relationship between the two.


  1. Nonlinearity

    A relationship which cannot be explained as a linear combination ...
  2. Least Squares Method

    A statistical technique to determine the line of best fit for ...
  3. Stepwise Regression

    The step-by-step iterative construction of a regression model ...
  4. Regression

    A statistical measure that attempts to determine the strength ...
  5. Beta

    Beta is a measure of the volatility, or systematic risk, of a ...
  6. Characteristic Line

    A line formed using regression analysis that summarizes a particular ...
Related Articles
  1. Fundamental Analysis

    Explaining Linear Relationships

    A linear relationship describes the proportionality between an independent variable and a dependent variable.
  2. Budgeting

    Mortgages: How Much Can You Afford?

    Answering this means number-crunching as well as factoring in other considerations and expenses.
  3. Credit & Loans

    Mortgage Basics

    Learn how to navigate what may be your biggest and most important loan.
  4. Mutual Funds & ETFs

    Top 3 Muni California Mutual Funds

    Discover analyses of the top three California municipal bond mutual funds, and learn about their characteristics, historical performance and suitability.
  5. Investing Basics

    What Does In Specie Mean?

    In specie describes the distribution of an asset in its physical form instead of cash.
  6. Economics

    Calculating Cross Elasticity of Demand

    Cross elasticity of demand measures the quantity demanded of one good in response to a change in price of another.
  7. Fundamental Analysis

    Emerging Markets: Analyzing Colombia's GDP

    With a backdrop of armed rebels and drug cartels, the journey for the Colombian economy has been anything but easy.
  8. Investing

    What is Descriptive Statistics?

    Descriptive statistics is the term applied to meaningful data analysis.
  9. Fundamental Analysis

    Create a Monte Carlo Simulation Using Excel

    How to apply the Monte Carlo Simulation principles to a game of dice using Microsoft Excel.
  10. Fundamental Analysis

    Emerging Markets: Analyzing Chile's GDP

    Chile has become one of the great economic success stories of Latin America.
  1. What does a negative correlation coefficient mean?

    A negative correlation coefficient means that, for any two variables X and Y, an increase in X is associated with a decrease ... Read Full Answer >>
  2. What does it mean if the correlation coefficient is positive, negative, or zero?

    The correlation coefficient measures the robustness of the relationship between two variables. Pearson's correlation coefficient ... Read Full Answer >>
  3. What is the difference between a logarithmic price scale and a linear one?

    The interpretation of a stock chart can vary among different traders depending on the type of price scale used when viewing ... Read Full Answer >>
  4. Is Colombia an emerging market economy?

    Colombia meets the criteria of an emerging market economy. The South American country has a much lower gross domestic product, ... Read Full Answer >>
  5. What assumptions are made when conducting a t-test?

    The common assumptions made when doing a t-test include those regarding the scale of measurement, random sampling, normality ... Read Full Answer >>
  6. What is the utility function and how is it calculated?

    In economics, utility function is an important concept that measures preferences over a set of goods and services. Utility ... Read Full Answer >>

You May Also Like

Hot Definitions
  1. Capitalization Rate

    The rate of return on a real estate investment property based on the income that the property is expected to generate.
  2. Gross Profit

    A company's total revenue (equivalent to total sales) minus the cost of goods sold. Gross profit is the profit a company ...
  3. Revenue

    The amount of money that a company actually receives during a specific period, including discounts and deductions for returned ...
  4. Normal Profit

    An economic condition occurring when the difference between a firm’s total revenue and total cost is equal to zero.
  5. Operating Cost

    Expenses associated with the maintenance and administration of a business on a day-to-day basis.
  6. Cost Of Funds

    The interest rate paid by financial institutions for the funds that they deploy in their business. The cost of funds is one ...
Trading Center
You are using adblocking software

Want access to all of Investopedia? Add us to your “whitelist”
so you'll never miss a feature!