Constructing Polynomial Functions with Integer Extrema

Interactive Constructing Polynomial Functions with Integer Extrema graph — click to explore
Click the graph to explore it interactively →
Question: How can I make functions (graphics) so that students can easily find the local extreme values. I would like them to make a variation table, so it should be easily readable. What tricks can I use in the formula?
To create functions where students can easily read turning points, determine intervals of increase and decrease, and construct clean variation tables, you can use mathematical templates that guarantee integer coordinates for all local extrema.

1. Mathematical Tricks to Design Clean Functions

Method A: Reverse-Engineering from the Derivative

Instead of guessing a function ​ ​, start with the derivative ​ ​ whose roots are simple integers ​ ​ and ​ ​:
Integrate to find ​ ​:
To ensure all coefficients and ​ ​-values remain integers:
  1. Choose ​ ​ and ​ ​ such that their sum ​ ​ is an even number (or choose symmetric roots ​ ​).
  2. Choose the scaling factor ​ ​ to eliminate the fraction ​ ​.

2. High-Yield Classroom Templates

Template 1: The Symmetric Cubic (Odd Function)

  • Derivative: ​ ​
  • Critical Points: ​ ​ and ​ ​
  • Local Maximum: ​ ​
  • Local Minimum: ​ ​
  • Inflection Point / Intercept: ​ ​
This function fits neatly on standard graph paper without requiring large scales on the ​ ​-axis.

Template 2: The Symmetric Quartic ("W-Shape")

  • Derivative: ​ ​
  • Critical Points: ​ ​
  • Local Minima: ​ ​ and ​ ​
  • Local Maximum: ​ ​

3. Connecting the Graph to a Variation Table

A variation table organizes three components:
  1. Critical values of ​ ​: The roots where ​ ​.
  2. Sign of ​ ​:
    • ​ ​ Tangent has a positive slope (the curve is strictly increasing, marked with ​ ​).
    • ​ ​ Tangent has a negative slope (the curve is strictly decreasing, marked with ​ ​).
    • ​ ​ Horizontal tangent line.
  3. Behavior at Extremities:
    • Change from ​ ​ to ​ ​ indicates a local maximum.
    • Change from ​ ​ to ​ ​ indicates a local minimum.

Variation Table for ​ ​:

​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​
​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​
​ ​ ​ ​ ​ ​ (Local Max) ​ ​ ​ ​ (Local Min) ​ ​

4. Interactive Visual Explanation

In the interactive diagram below:
  • The cubic curve ​ ​ is plotted in blue.
  • Point A ​ ​ is clearly marked as the local maximum, highlighted with a red horizontal tangent line ​ ​.
  • Point B ​ ​ is clearly marked as the local minimum, highlighted with a green horizontal tangent line ​ ​.
  • A movable point ​ ​ allows students to slide along the curve and observe how the sign of the tangent slope ​ ​ corresponds directly to the arrows in the variation table.