• Skip to secondary menu
  • Skip to main content
  • Skip to primary sidebar
  • My Store
  • Glossary
  • Home
  • About Me
  • Contact Me

Statistics By Jim

Making statistics intuitive

  • Graphs
  • Basics
  • Hypothesis Testing
  • Regression
  • ANOVA
  • Probability
  • Time Series
  • Fun
  • Calculators

Linear Function

By Jim Frost

« Back to Glossary Index

A linear function is a mathematical function that creates a straight-line relationship between two variables. In its simplest form, a linear function can be written as:

f(x) = mx + b

where m represents the slope (the rate of change) and b represents the y-intercept (the point where the line crosses the y-axis).

The defining characteristic of a linear function is that the change in the output is proportional to the change in the input. This constant rate of change makes them easy to interpret and widely used in mathematics, statistics, and many applied fields. These functions are closely related to linear equations.

Why Linear Functions Matter

Linear functions form the foundation for more advanced concepts in algebra, calculus, and statistics. In regression analysis, for example, they model the relationship between variables. In real-world settings, they describe steady growth, decline, or relationships that follow a straight-line trend.

Examples of Linear Functions

  • In business, profit might depend on sales:

Profit = 20x − 500

where x is the number of items sold, 20 is the profit per item, and 500 is the fixed cost.

  • In physics, distance traveled at a constant speed is linear:

Distance = 60t

where t is time in hours and 60 is the speed in miles per hour.

  • In everyday life, the cost of ride-sharing services often follows a linear function with a fixed base fee plus a cost per mile.

Key Characteristics

  • Graph is always a straight line.
  • Slope determines whether the function increases, decreases, or remains constant.
  • Rate of change is constant for all values of x.

In short, a linear function provides the simplest possible relationship between variables, making it a building block for more complex mathematical and statistical models.

For more information, read my Linear Equation Guide which includes graphs to bring the equations to life!

Related

Related Articles:
  • Glossary: Linear Equations
  • Glossary: Exponential Function
« Back to Glossary Index

Primary Sidebar

Meet Jim

I’ll help you intuitively understand statistics by focusing on concepts and using plain English so you can concentrate on understanding your results.

Read More...

Buy My Introduction to Statistics Book!

Cover of my Introduction to Statistics: An Intuitive Guide ebook.

Buy My Hypothesis Testing Book!

Cover image of my Hypothesis Testing: An Intuitive Guide ebook.

Buy My Regression Book!

Cover for my ebook, Regression Analysis: An Intuitive Guide for Using and Interpreting Linear Models.

Subscribe by Email

Enter your email address to receive notifications of new posts by email.

    I won't send you spam. Unsubscribe at any time.

    Buy My Thinking Analytically Book!

    Cover for my book, Thinking Analytically: An Guide for Making Data-Driven Decisions.

    Top Posts

    • F-table
    • Cronbach’s Alpha: Definition, Calculations & Example
    • Z-table
    • How To Interpret R-squared in Regression Analysis
    • Accuracy vs Precision: Differences & Examples
    • Box Plot Explained with Examples
    • Interpreting Correlation Coefficients
    • How to Interpret P-values and Coefficients in Regression Analysis
    • Multicollinearity in Regression Analysis: Problems, Detection, and Solutions
    • T-Distribution Table of Critical Values

    Recent Posts

    • Data Collection Methods: Step-By-Step Guide with Examples
    • ANOVA Calculator
    • Positive Predictive Value: Meaning, Formula, and Interpretation
    • Median Absolute Deviation Calculator
    • Median Absolute Deviation: Definition, Finding & Formula
    • Outlier Calculator

    Recent Comments

    • Skata na fas on Comparing Regression Lines with Hypothesis Tests
    • Jim Frost on Comparing Regression Lines with Hypothesis Tests
    • Skata na fas on Comparing Regression Lines with Hypothesis Tests
    • Skata na fas on Comparing Regression Lines with Hypothesis Tests
    • Jim Frost on Pareto Chart: Making, Reading & Examples

    Copyright © 2026 · Jim Frost · Privacy Policy