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.
Three ways to tell
- Table: with x going up by the same step each time, find the change in y between rows. All the same: linear. Not the same: nonlinear.
- Graph: a straight line is linear (including a horizontal one). A curve, a U-shape or a bend is nonlinear.
- Equation: linear if it can be written as y = mx + b. Watch for x², x³, x in a denominator (y = 12/x) or x as an exponent (y = 2x): these are nonlinear.
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.
| x | 1 | 2 | 4 | 7 |
|---|---|---|---|---|
| y | 3 | 5 | 9 | 15 |
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.
- Changes in y: 1, 2, 4, 8.
- Constant? No, each change is double the last.
- 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.
- “Square sides 1, 2, 3, 4. What are the areas?”
- “How much does the area jump each time? Is it the same jump?”
- “When the jump is the same, the graph is straight. That’s linear.”
- “Now 3 dollars a week. Same jump every week?”
- “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.
- y = x² + 3
- y = −2x + 5
- 3x + y = 10
- y = 5
- x: 0, 1, 2 and y: 1, 3, 9
- x: 0, 2, 4 and y: 3, 7, 11
- Area of a circle, A = πr²
- Cost at $6 per pound
Show the answers
- Nonlinear
- Linear
- Linear
- Linear (horizontal line)
- Nonlinear
- Linear
- Nonlinear
- Linear
Common mistakes
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
- Grade 8 (8.F.A.3): linear functions have straight-line graphs; give nonlinear examples.
- Algebra 1: quadratic and exponential functions.
- Geometry: area and volume formulas, which are often nonlinear.
More for each grade: Grade 8 math and the CBSE class 8 maths guide.
Worksheets and practice

Slope and y-intercept worksheet: printable PDF with an answer key.
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.