Linear and Nonlinear Functions- Definitions and Examples

What Are Linear Functions?

A linear function is any function that graphs as a straight line. That's it. The relationship between the variables stays constant — for every unit you move right on the x-axis, the y-value changes by the same amount. No curves, no loops, no surprises.

The standard form looks like this:

f(x) = mx + b

Where m is the slope (how steep the line is) and b is the y-intercept (where the line crosses the y-axis).

Examples of Linear Functions

Notice how each equation has just one x-term with no exponents, no x multiplied by another x, no square roots of x. That's your giveaway.

What Are Nonlinear Functions?

A nonlinear function is anything that isn't a straight line when you graph it. The relationship between variables changes as x changes. The rate of change itself is changing.

These include functions with:

Examples of Nonlinear Functions

These all curve, bend, or behave in ways that a straight line cannot represent.

Key Differences Between Linear and Nonlinear Functions

Here's what separates them in practice:

Rate of Change

Linear functions have a constant rate of change. Slope stays the same everywhere on the graph. Nonlinear functions have a variable rate of change — the slope changes depending on where you are on the curve.

Graph Shape

Linear = straight line. Nonlinear = curve, parabola, wave, or other non-straight shape.

Degree of the Equation

Linear equations have a degree of 1. Nonlinear equations have a degree of 2 or higher (or involve operations that break the linear pattern).

Domain and Range

Linear functions typically span all real numbers unless restricted. Nonlinear functions often have restricted domains — like y = 1/x, which is undefined at x = 0.

How to Identify Linear vs Nonlinear Functions

Quick mental checklist:

  1. Does every x have an exponent of 1? If yes, likely linear. If any x², x³, √x, or 1/x shows up, it's nonlinear.
  2. Can you write it as f(x) = mx + b? If yes, linear. If not, nonlinear.
  3. Does the graph look like a straight line? Straight = linear. Curved = nonlinear.
  4. Check the difference between y-values. For linear functions, the difference between consecutive y-values stays constant when x increases by equal amounts. If the differences change, it's nonlinear.

Common Mistakes to Avoid

Real-World Examples

Linear Examples

Nonlinear Examples

Quick Reference: Linear vs Nonlinear

Property Linear Functions Nonlinear Functions
Graph shape Straight line Curve, parabola, wave
Equation form f(x) = mx + b x², √x, 1/x, sin(x), etc.
Rate of change Constant (same slope everywhere) Variable (slope changes)
Degree 1 2 or higher
Examples y = 2x + 3 y = x², y = 2ˣ
Common real-world cases Simple pricing, steady speed Interest, gravity, waves

Getting Started: How to Work With These Functions

Step 1: Identify the Type

Look at your equation. If any variable has an exponent other than 1, or if variables are multiplied together, you're dealing with a nonlinear function. Otherwise, it's linear.

Step 2: Graph It

Linear: Find two points by plugging in x-values, draw a line through them.

Nonlinear: Plot several points, especially near interesting spots (vertex of a parabola, where a denominator hits zero, etc.). Connect them smoothly.

Step 3: Find Key Features

For linear functions, extract the slope and y-intercept. These tell you everything you need.

For nonlinear functions, identify: vertex/minimum/maximum points, asymptotes, x-intercepts, and domain restrictions.

Step 4: Apply the Right Math

Linear problems often use simple substitution or solve for one variable. Nonlinear problems may require factoring quadratics, using the quadratic formula, or working with function-specific properties.

Don't try to apply linear methods to nonlinear problems. They'll break.

The Bottom Line

Linear functions are straight-line relationships with constant rates of change. Everything else is nonlinear. The distinction matters because the math you use for one type will fail on the other. Learn to spot the difference from the equation alone, and you'll save yourself hours of wasted effort trying to force nonlinear problems into linear frameworks.