AP Precalculus · Topic 1.3 · Reading guide, about 5 min

How linear and quadratic functions change

Tell linear from quadratic using rates of change and finite differences in a table, and read concavity from the sign.

In one minute

Linear and quadratic functions are the simplest models for change. A linear function changes at a steady pace. A quadratic function changes at a pace that itself changes steadily. Telling them apart from a table is a core skill.

The test is a pattern in differences. Subtract consecutive outputs once, and if the result is constant, the function is linear. If you need a second round of subtraction to get a constant, the function is quadratic.

Key terms

Linear function
A function f(x)=mx+bf(x)=mx+b. Its average rate of change is the same constant mm on every interval.
Quadratic function
A function f(x)=ax2+bx+cf(x)=ax^2+bx+c with a≠0a\ne 0. Its graph is a parabola.
First differences
The changes between consecutive outputs when the inputs go up by equal steps. For a linear function they are constant.
Second differences
The differences of the first differences. For a quadratic function with equal input steps they are constant and nonzero.
Vertex
The turning point of a parabola, where the function switches from decreasing to increasing or the reverse.
Leading coefficient
The number aa in front of x2x^2. Its sign sets the opening direction: up if a>0a>0, down if a<0a<0.
Parabola concavity
A parabola is concave up everywhere if a>0a>0 and concave down everywhere if a<0a<0. Its concavity never changes.
Equal input step
The fixed gap hh between consecutive inputs in a table. Difference tests are only valid when this gap is constant.

Linear: a constant rate of change

For f(x)=mx+bf(x)=mx+b, the average rate of change over any interval equals mm. In a table with equal input steps, every first difference is mm times the step. For y=4x−1y=4x-1 at inputs 0,1,2,30,1,2,3, the outputs are −1,3,7,11-1,3,7,11 and each difference is 44.

This makes linear models appropriate when a quantity grows or shrinks by the same amount per unit, like a fixed monthly fee. The graph is a straight line, which is neither concave up nor concave down.

Quadratic: rates that change at a constant rate

For a quadratic, first differences are not constant, but they form a linear pattern: they go up (or down) by the same amount each step. That amount is the second difference. If the input step is hh, then every second difference equals 2ah22ah^2.

This also means the average rates of change over equal-width consecutive intervals form a linear pattern. For f(x)=ax2+bx+cf(x)=ax^2+bx+c and step 11, the average rate on [x,x+1][x,x+1] is a(2x+1)+ba(2x+1)+b, a linear expression in xx.

Concavity follows from the sign of the second difference. Positive second differences mean the rates are increasing, so the function is concave up and a>0a>0. Negative second differences mean concave down and a<0a<0.

Difference tests with equal input steps
Pattern in the tableConclusionConcavity
First differences constantLinearNone (straight line)
Second differences constant and positiveQuadratic with a>0a>0Concave up
Second differences constant and negativeQuadratic with a<0a<0Concave down
Neither is constantSome other modelDepends

Worked example from a table

A table gives yy at x=0,1,2,3,4x=0,1,2,3,4 as 5,8,13,20,295, 8, 13, 20, 29.

Step 1, first differences: 8−5=38-5=3, 13−8=513-8=5, 20−13=720-13=7, 29−20=929-20=9. They are not constant, so the function is not linear.

Step 2, second differences: 5−3=25-3=2, 7−5=27-5=2, 9−7=29-7=2. These are constant, so the function is quadratic, and positive, so it is concave up.

Step 3, find aa: the step is h=1h=1, so 2a(1)2=22a(1)^2=2 and a=1a=1. Use f(0)=5f(0)=5 to get c=5c=5. Then f(1)=1+b+5=8f(1)=1+b+5=8 gives b=2b=2, so f(x)=x2+2x+5f(x)=x^2+2x+5.

Step 4, check: f(3)=9+6+5=20f(3)=9+6+5=20 and f(4)=16+8+5=29f(4)=16+8+5=29, which match the table. The average rates over the four unit intervals are the first differences 3,5,7,93,5,7,9, which increase by 22 each time, a linear pattern.

Reading a vertex and the shape of the table

The first differences of a quadratic change sign at the vertex. If the first differences go −6,−2,2,6-6,-2,2,6, the function falls, then rises, and the switch from −2-2 to 22 happens at the middle input. Because those two differences are equal in size, the vertex is exactly at that middle input. In general, the vertex lies somewhere in the two intervals on either side of where the first differences change sign. Here the second differences are all 44, so a=2a=2 when the step is 11.

When the input step is not 11, remember the factor h2h^2. A table with step 22 and second differences of 88 has 2a(2)2=82a(2)^2=8, so a=1a=1. Skipping this adjustment is a common source of wrong answers.

How it connects

  • Back to 1.2: first differences divided by the step are average rates of change, so a quadratic's average rates form a linear pattern.
  • Back to 1.1: the concave up and concave down language now has an exact test, the sign of the second difference.
  • Forward to 1.4: higher-degree polynomials extend this with third and higher differences and with turning points and changes in concavity.

Common mistakes

  • Using unequal input steps. Difference tests only work when inputs rise by equal amounts. Check the xx column first.
  • Stopping at first differences. Non-constant first differences do not mean "not a polynomial." Take second differences before deciding.
  • **Forgetting the step in 2ah22ah^2.** With step h≠1h\ne 1 the second difference is not 2a2a.
  • Saying a quadratic changes at a constant rate. It is the rate that changes at a constant rate.

How it shows up on the exam

  • A table of equally spaced inputs is given, and you must decide whether a linear or quadratic model fits and justify it with differences.
  • A context asks you to interpret a constant first or second difference in words, using units.
  • You are asked to find a quadratic formula from a table, using the second difference to get aa and the table values for the rest.

Check yourself

  1. A table with step 11 has outputs 2,5,8,112, 5, 8, 11. What kind of function is it, and what is its rate of change?
  2. Equal-step second differences are all −6-6. Is the parabola opening up or down, and what is aa if the step is 11?
  3. Why must you confirm equal input steps before computing differences?
  4. How can you tell from a table where a parabola's vertex lies?

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.