Linear vs nonlinear functions

A linear function changes by the same amount every step, so its graph is a straight line. A nonlinear function does not: its graph curves.

Not sure this is the right level? Take the free grade 8 check-up and get a daily practice plan.

What makes a function linear

A function is linear when its rate of change is constant: every time x goes up by 1, y changes by the same amount. Its graph is a straight line, and its equation can be written as y = mx + b.

A function is nonlinear when the rate of change is not constant. The area of a square, A = s², is nonlinear: sides 1, 2, 3, 4 give areas 1, 4, 9, 16, and the jumps (3, 5, 7) keep growing. Its graph is a curve.

Common Core standard 8.F.A.3 asks grade 8 students to interpret y = mx + b as a linear function whose graph is a straight line, and to give examples of functions that are not linear.

See it: pictures to draw with your child

Copy these onto paper or a whiteboard. A quick sketch makes the idea concrete before any written method.

−6−6−4−4−2−2224466xyy = x + 1y = ½x² − 2
A straight line (linear) and a curve (nonlinear).
xy = 3x + 1y = x²010141+3+1274+3+33109+3+541316+3+7Linear: +3 every time. Nonlinear: the changes grow.
Linear: the same change every step. Nonlinear: the changes grow.

Three ways to tell

Some equations are linear but look different: 2x + y = 8 rearranges to y = −2x + 8, and y = 3(x + 1) is y = 3x + 3. Both are linear. y = x(x + 2) multiplies out to x² + 2x, so it is nonlinear.

Be careful with tables

Check the x-values first. If they jump unevenly, compare the rate (change in y ÷ change in x), not just the change in y.

x1247
y35915

The y-changes are 2, 4 and 6, which look different. But the x-changes are 1, 2 and 3, so the rates are 2 ÷ 1, 4 ÷ 2 and 6 ÷ 3: all 2. This table is linear: y = 2x + 1.

A full example, start to finish

Is y = 2x linear? Make a table: x = 0, 1, 2, 3, 4 gives y = 1, 2, 4, 8, 16.

  1. Changes in y: 1, 2, 4, 8.
  2. Constant? No, each change is double the last.
  3. Decide: nonlinear. The graph curves upward more and more steeply.

Compare y = 2x + 1: x = 0 to 4 gives 1, 3, 5, 7, 9, changes 2, 2, 2, 2. Linear.

Linear or nonlinear practice

Decide from an equation, a table or a graph. New functions every time.

What comes next

Nonlinear graphs still tell stories: rising, falling and leveling off. Describing graphs reads them. In high school, nonlinear functions get names: quadratic (x²) and exponential (2x).

What to say to your child

A short script for teaching it the first time. Pause after each line and let your child do the next step.

  1. “Square sides 1, 2, 3, 4. What are the areas?”
  2. “How much does the area jump each time? Is it the same jump?”
  3. “When the jump is the same, the graph is straight. That’s linear.”
  4. “Now 3 dollars a week. Same jump every week?”
  5. “Can you think of something that grows faster and faster?”

More worked examples

Example 1: y = 4x − 7

Linear: it is in y = mx + b form.

Example 2: x: 0, 1, 2, 3 and y: 2, 3, 6, 11

Changes 1, 3, 5: not constant, so nonlinear.

Example 3: y = 20/x

Nonlinear: x is in the denominator.

Practice questions (answers below)

Ask these out loud or write them down. Check each answer, and ask “how did you get that?” for one or two.

  1. y = x² + 3
  2. y = −2x + 5
  3. 3x + y = 10
  4. y = 5
  5. x: 0, 1, 2 and y: 1, 3, 9
  6. x: 0, 2, 4 and y: 3, 7, 11
  7. Area of a circle, A = πr²
  8. Cost at $6 per pound
Show the answers
  1. Nonlinear
  2. Linear
  3. Linear
  4. Linear (horizontal line)
  5. Nonlinear
  6. Linear
  7. Nonlinear
  8. Linear

Common mistakes

y = 5 called nonlinearThinks there must be an x.Fix: a horizontal line is straight, so it is linear with slope 0.
Uneven x-stepsCompared y-changes only.Fix: divide each y-change by its x-change.
y = x(x + 2) called linearDid not multiply out.Fix: x(x + 2) = x² + 2x, which has x².
Curve close to straightA curve over a short range looks straight.Fix: check the rate of change, not just the picture.

How to teach it at home

Taxi and phone plans

Any bill with a starting fee and a cost per unit is a linear function. Ask: what is the rate of change, and what is the initial value?

Graph a walk

Walk away from a wall, stop, then walk back, while someone times it. Sketch distance against time together.

Input–output game

One person thinks of a rule like “double it and add 1”. The other gives inputs and guesses the rule from the outputs.

By grade

Worksheets and practice

Last reviewed

Questions parents ask

What is the difference between linear and nonlinear functions?

A linear function has a constant rate of change and a straight-line graph. A nonlinear function does not, and its graph curves.

How do you tell if a table is linear?

Check that the rate of change (change in y ÷ change in x) is the same between every pair of rows.

Is y = x² linear?

No. The changes in y grow (1, 3, 5, 7…), so it is nonlinear. Its graph is a U-shaped curve.

Is a horizontal line linear?

Yes. y = 5 is a straight line with slope 0.

What grade learns linear and nonlinear functions?

Grade 8, in Common Core standard 8.F.A.3.