Skip to main content

Linear vs. Nonlinear Relationships

Compare straight-line functions with curves β€” and understand why nonlinearity is what makes calculus necessary in the first place.

Lesson 3 of 10 Calculus Foundations Beginner ⏱ 8 min read
πŸ”₯ Why This Matters

Algebra handles straight lines perfectly β€” constant rates, predictable outputs. But the real world is mostly nonlinear. Population doesn't grow linearly (it accelerates). Drug concentration in the blood doesn't decrease linearly (it decays exponentially). A car braking to a stop doesn't decelerate at a constant rate. Calculus was invented specifically because the tools of algebra can't handle changing rates β€” and nearly everything interesting in nature, finance, and engineering involves changing rates.

🎯 What You'll Learn
  • Identify linear functions by their constant slope and recognize nonlinear functions by their changing slope
  • Interpret what a curve's shape reveals about whether the rate of change is speeding up or slowing down
  • Explain why calculus is needed for nonlinear functions that algebra can't fully analyze
πŸ“– Key Vocabulary
Linear FunctionA function whose graph is a straight line. Slope is constant everywhere. Form: \(f(x) = mx + b\). Nonlinear FunctionAny function whose graph is not a straight line. Slope changes from point to point. Concave UpThe curve bends upward (like a bowl). Rate of change is increasing. Concave DownThe curve bends downward (like a hill). Rate of change is decreasing. Inflection PointWhere a curve changes from concave up to concave down (or vice versa).
Key Concept β€” Constant vs. Changing Slope

Linear: \(f(x) = 3x + 2\) β€” slope = 3 everywhere. Every equal step in x gives the same step in y.

\[ f(1) = 5, \quad f(2) = 8, \quad f(3) = 11 \quad \Rightarrow \quad \Delta y = 3 \text{ always} \]

Nonlinear: \(g(x) = x^2\) β€” slope increases as x increases.

\[ g(1)=1, \; g(2)=4, \; g(3)=9 \quad \Rightarrow \quad \Delta y = 3, 5 \text{ β€” changing!} \]

Linear vs. Nonlinear β€” Comparing \(f(x) = 3x\) and \(g(x) = x^2\)

xf(x) = 3xΞ”fg(x) = xΒ²Ξ”g
13β€”1β€”
26+34+3
39+39+5
412+316+7
Worked Example 1 β€” Basic: Identify Linear or Nonlinear

Which is linear: \(f(x) = 5x - 3\), or \(g(x) = 5x^2 - 3\)?

f(x) = 5x βˆ’ 3: The highest power of x is 1. Slope = 5 everywhere. Linear.

g(x) = 5xΒ² βˆ’ 3: The highest power of x is 2. Slope changes. Nonlinear.

Worked Example 2 β€” Intermediate: Concavity from a Table

Given data: (0, 10), (1, 8), (2, 5), (3, 1). Is the function concave up or down?

\[ \Delta y: -2, -3, -4 \quad \Rightarrow \quad \text{differences are increasing in magnitude} \]

The rate of decrease is accelerating β€” the function is concave down (curving downward like an upside-down bowl).

Worked Example 3 β€” Real World: Population Growth

City A grows by 1,000 people/year (linear). City B grows by 3% per year (exponential/nonlinear). Both start at 50,000. Which is larger after 20 years?

\[ \text{City A: } 50{,}000 + 1{,}000 \times 20 = 70{,}000 \] \[ \text{City B: } 50{,}000 \times 1.03^{20} = 50{,}000 \times 1.806 = 90{,}306 \]

City B (nonlinear) grows to 90,306 β€” nearly 29% larger than City A. The gap widens every year because the rate itself is growing. This is why exponential models matter.

✏️ Quick Check
  1. Is \(f(x) = 7 - 4x\) linear or nonlinear? What is its slope?
  2. If a curve is concave up, is the rate of change increasing or decreasing?
  3. A function's output differences are: +2, +2, +2, +2. Is it linear or nonlinear?
β–Ά Show Answers
  1. Linear. Slope = βˆ’4 (the coefficient of x).
  2. Concave up β†’ rate of change is increasing (like the bottom of a bowl, slope gets steeper to the right).
  3. Linear β€” constant differences mean constant slope.
⚠️ Common Mistakes
  • Calling any non-straight graph "weird": Curves are the norm in nature. Straight lines are the special case (constant rate). Train yourself to describe curves with words: "concave up," "decelerating," "approaching a maximum."
  • Using slope formula on a curve and calling it "the slope": That gives the average rate over an interval β€” not the rate at a specific point. A derivative is needed for the instantaneous slope.
  • Confusing "decreasing" with "concave down": A function can be decreasing AND concave up (like \(-x^2\) reflected β€” think a U-shape going downhill). These are separate properties.
βœ… Key Takeaways
  • Linear: constant slope, straight graph, differences between outputs are equal.
  • Nonlinear: changing slope, curved graph, differences between outputs change.
  • Concave up = rate increasing (bowl); concave down = rate decreasing (hill).
  • Calculus was invented to handle nonlinear functions β€” specifically to find instantaneous rates and accumulated areas.
πŸ’Ό Career Connection β€” Economics & Epidemiology

Economists classify relationships as linear or nonlinear to choose the right models for forecasting. When an economic indicator like GDP shows "diminishing returns" (concave down) or "accelerating growth" (concave up), that curvature is mathematically meaningful β€” it indicates whether a policy intervention is helping or hurting. Epidemiologists classify infection curves by their concavity: a concave-up phase means exponential spread (panic time); a concave-down phase after a peak means the spread is decelerating (good news). Reading curve shape is a public-health skill.

Calculator Connection

The Function Plotter lets you graph \(f(x) = mx + b\) alongside \(g(x) = ax^2 + bx + c\) to directly compare linear and nonlinear behavior. Try changing the coefficient to see how it affects concavity.

Try it with the Calculator

Apply what you've learned with these tools.

Function Plotter
A high-performance interactive graphing calculator powered by Math.js and ECharts.
Use calculator β†’
Slope Calculator
Calculate the slope (m) of a line passing through two points (x₁, y₁) and (xβ‚‚, yβ‚‚).
Use calculator β†’
← Previous Lesson
Back to
Slopes and Rates of Change
Continue Learning
Up Next: Introduction to Limits
Next Lesson →
Test Your Knowledge

Linear vs. Nonlinear Relationships - Quiz

5 questions per attempt  Β·  Intermediate  Β·  Pass at 70%

Start Quiz β†’

More in Calculus Foundations

Functions and Graphs: The Language of Calculus Slopes and Rates of Change Introduction to Limits
← All Calculus Foundations lessons