Function Variation Table & Sign Chart Calculator with Steps

Function Variation Table & Sign Chart Calculator y' = f'(x)

Choose a function type and enter the coefficients (integers, decimals or fractions p/q). The tool finds the domain, computes y', solves y' = 0, builds the variation table and states where the function increases, decreases and has local extrema.

y = ax³ + bx² + cx + d

Examples (click to solve):

The calculator above builds a complete variation table (also called a sign chart or monotonicity table) for five common function types: cubic, rational linear, rational quadratic over linear, biquadratic and quadratic. Each solution follows five steps: find the domain, differentiate, solve y’ = 0 and locate discontinuities, build the table, then state the intervals of increase and decrease and the local extrema. Every root is kept exact, including fractions and square roots.

What is a variation table?

A variation table summarizes how a function y = f(x) behaves across its domain. It has three rows:

  • The x row: key x-values in increasing order: −∞, the critical points where y’ = 0, the points where the function is undefined, and +∞.
  • The y’ row (sign chart): the sign of the derivative on each interval (+ or −), a 0 at each critical point, and a double bar || where the function is undefined.
  • The y row: an upward arrow ↗ where the function increases, a downward arrow ↘ where it decreases, with the local maximum and minimum values and the limits written at the ends of the arrows.

The First Derivative Test

Let f be differentiable on an interval I. The derivative tells us the monotonicity of the function:

If f'(x) > 0 on I, f is increasing on I
If f'(x) < 0 on I, f is decreasing on I

The First Derivative Test classifies a critical point c where f'(c) = 0:

  • If f’ changes from + to − at c, then f has a local maximum at c.
  • If f’ changes from − to + at c, then f has a local minimum at c.
  • If f’ does not change sign, c is not a local extremum. For example, y = x³ has y’ = 3x² ≥ 0, so it is increasing on ℝ with no extremum at x = 0.

How to build a sign chart

Between two consecutive key x-values the derivative keeps one sign, so a single test point per interval is enough. Two shortcuts speed up the work:

  • Linear factor ax + b: to the right of its root the factor has the sign of a; to the left it has the opposite sign.
  • Quadratic factor ax² + bx + c: if Δ > 0, it has the sign opposite to a between the roots and the sign of a outside them. If Δ < 0, it always has the sign of a. If Δ = 0, it has the sign of a except at the double root.

For rational functions the denominator of y’ is a square, which is positive on the domain, so the sign of y’ is the sign of its numerator.

Graph of y = x³ − 3x² + 2 aligned with the sign chart of y'The sign of y' decides where the graph rises and falls: y = x³ − 3x² + 2xyO−1132−22local max (0, 2)local min (2, −2)y' > 0 ↗y' < 0 ↘y' > 0 ↗xy'−∞02+∞+0−0++ to − : local max · − to + : local min · no sign change: no extremum
The graph and the sign chart of y' share the same x-axis. On (−∞, 0) and (2, +∞), y' = 3x(x − 2) is positive, so the graph rises (green); on (0, 2), y' is negative, so the graph falls (red). At x = 0 the sign of y' changes from + to −, giving the peak (0, 2), a local maximum; at x = 2 it changes from − to +, giving the valley (2, −2), a local minimum. These are exactly the ↗ and ↘ arrows in the y row of the table in Example 1. Click Example 2 of the Cubic function type in the calculator above to see the full solution.

Monotonicity and extrema in five steps

  1. Find the domain D. Polynomials are defined on ℝ; rational functions exclude the zeros of the denominator.
  2. Compute y’. Use the power rule for polynomials and the quotient rule for rational functions.
  3. Solve y’ = 0 and find discontinuities. Keep only roots in D. Compute the limits at infinity and the one-sided limits at each excluded point.
  4. Build the table. Place the key x-values in order, fill in the signs of y’, draw the arrows and write the values in the y row.
  5. State the conclusion. Read off the intervals of increase and decrease and the local maxima and minima.

Notation tip: for a rational function, write “increasing on (−∞, 1) and on (1, +∞)”, not on the union (−∞, 1) ∪ (1, +∞).

4 worked examples

Enter the same coefficients in the calculator to check every step.

Example 1. Cubic function y = x³ − 3x² + 2

The domain is ℝ. The derivative is y’ = 3x² − 6x = 3x(x − 2), so y’ = 0 at x = 0 or x = 2. Then y(0) = 2 and y(2) = −2. The leading coefficient is positive, so y → −∞ as x → −∞ and y → +∞ as x → +∞.

x−∞02+∞
y'+0−0+
y
−∞
↗
2
↘
−2
↗
+∞

Conclusion: the function is increasing on (−∞, 0) and (2, +∞) and decreasing on (0, 2). It has a local maximum at x = 0 with y_max = 2 and a local minimum at x = 2 with y_min = −2.

Example 2. Biquadratic function y = −x⁴ + 2x² + 1

The domain is ℝ. The derivative is y’ = −4x³ + 4x = −4x(x² − 1), so y’ = 0 at x = −1, x = 0 and x = 1. Then y(±1) = 2 and y(0) = 1. The leading coefficient is negative, so both ends go down to −∞.

x−∞−101+∞
y'+0−0+0−
y
−∞
↗
2
↘
1
↗
2
↘
−∞

Conclusion: the function is increasing on (−∞, −1) and (0, 1) and decreasing on (−1, 0) and (1, +∞). It has local maxima at x = ±1 with y_max = 2 and a local minimum at x = 0 with y_min = 1.

Example 3. Rational linear function y = (2x + 1)/(x − 1)

The domain is ℝ \ {1}. The derivative is y’ = −3/(x − 1)² < 0 for every x ≠ 1, so y’ = 0 has no solution. Limits: lim y = 2 as x → ±∞, lim y = −∞ as x → 1⁻, lim y = +∞ as x → 1⁺.

x−∞1+∞
y'−||−
y
2
↘
−∞

||

+∞
↘
2

Conclusion: the function is decreasing on (−∞, 1) and on (1, +∞) and has no local extrema. The graph has the vertical asymptote x = 1 and the horizontal asymptote y = 2.

Graph of the rational linear function y = (2x + 1)/(x − 1) with its asymptotesy = (2x + 1)/(x − 1) decreases on each interval, not on ℝ \ {1} as a wholexyOx = 1y = 2x → 1⁻ : y → −∞x → 1⁺ : y → +∞P(0, −1)Q(2, 5)y' = −3/(x − 1)² < 0On (−∞, 1): decreasing ↘On (1, +∞): decreasing ↘Variation table: || at x = 1But take x = 0 and x = 2:0 < 2 and y(0) = −1 < y(2) = 5⇒ not decreasing on(−∞, 1) ∪ (1, +∞)
The rational linear function y = (2x + 1)/(x − 1) has y' = −3/(x − 1)² < 0 for every x ≠ 1, so each branch of the graph falls. The two branches are separated by the vertical asymptote x = 1, which is the double bar || in the variation table: to the left of the bar y → −∞, to the right y → +∞. Because of this jump, the function is not decreasing on the union (−∞, 1) ∪ (1, +∞): the points P(0, −1) and Q(2, 5) have increasing x-coordinates and increasing y-coordinates. Click Example 1 of the Rational linear type in the calculator above to see the full variation table.

Example 4. Rational function y = (x² − x + 1)/(x − 1)

The domain is ℝ \ {1}. By the quotient rule:

y’ = (x² − 2x)/(x − 1)²

y’ = 0 at x = 0 or x = 2, both in the domain. Then y(0) = −1 and y(2) = 3. The numerator equals 1 > 0 at x = 1, so y → −∞ as x → 1⁻ and y → +∞ as x → 1⁺. At the ends, y → −∞ as x → −∞ and y → +∞ as x → +∞.

x−∞012+∞
y'+0−||−0+
y
−∞
↗
−1
↘
−∞

||

+∞
↘
3
↗
+∞

Conclusion: the function is increasing on (−∞, 0) and (2, +∞) and decreasing on (0, 1) and (1, 2). It has a local maximum at x = 0 with y_max = −1 and a local minimum at x = 2 with y_min = 3. The local maximum value is smaller than the local minimum value. That is fine: extrema are local, and the two points lie on different branches of the graph. The oblique asymptote is y = x.

Common mistakes

  1. Leaving out an excluded x-value. For rational functions, the zero of the denominator must appear in the table, marked with ||.
  2. Keeping a critical point outside the domain. A point not in D can never be an extremum.
  3. Drawing the arrow the wrong way. A positive derivative means an upward arrow, even if the y-values are negative.
  4. Calling a point an extremum when y’ does not change sign. A double root of y’, as for y = x³ at x = 0, is not an extremum.
  5. Joining the intervals on both sides of a vertical asymptote. A rational linear function is monotonic on each interval separately, not on their union.

🎯 Practice quiz: variation tables and local extrema

Twelve multiple-choice questions with four options each, built on the theory and the worked examples above: reading the local maximum and the intervals of decrease from a variation table, finding where a cubic increases, counting the extrema of a biquadratic function, a double root of the derivative, interval notation for a rational linear function, counting extrema from a factored derivative, the local minimum of a rational function, the local maximum value of a cubic, two parameter questions and a motion word problem. Pick an answer: the correct option turns green, a wrong one turns red, and the worked solution appears right below with a ⚠️ Traps box explaining why the wrong options are tempting. You can enter the coefficients from any question into the calculator above to check the full variation table.

1️⃣ Where a cubic function increases Question 1. On which interval is the function y = x³ − 3x + 1 increasing:

2️⃣ Reading the local maximum from a table Question 2. The function y = f(x) has the variation table below. The function has a local maximum at:

x−∞−13+∞
y'+0−0+
y
−∞
↗
4
↘
−2
↗
+∞

3️⃣ Reading where the function decreases Question 3. The function y = f(x) has the variation table below. On which interval is the function decreasing:

x−∞−101+∞
y'−0+0−0+
y
+∞
↘
−3
↗
−2
↘
−3
↗
+∞

4️⃣ Number of extrema of a biquadratic function Question 4. How many local extrema does the function y = x⁴ + 2x² − 3 have:

5️⃣ A double root of the derivative Question 5. How many local extrema does the function y = x³ − 3x² + 3x − 5 have:

6️⃣ Rational linear functions and interval notation Question 6. Consider the function y = (x + 2)/(x − 1). Which statement is true:

7️⃣ Counting extrema from the derivative Question 7. A function f(x) has the derivative f'(x) = x(x − 1)²(x + 2) for all x ∈ ℝ. How many local extrema does f have:

8️⃣ Local minimum of a rational function Question 8. The function y = (x² + 3)/(x + 1) has a local minimum at:

9️⃣ Local maximum value of a cubic Question 9. The local maximum value of the function y = −x³ + 3x² + 1 is:

🔟 Parameter m for a cubic increasing on ℝ Question 10. Find all values of the parameter m for which the function y = x³ − 3x² + mx + 1 is increasing on ℝ:

1️⃣1️⃣ Parameter m of a rational linear function Question 11. Find all values of the parameter m for which the function y = (x + m)/(x + 1) is decreasing on each interval of its domain:

1️⃣2️⃣ Word problem: when does the velocity increase Question 12. An object moves according to s(t) = −t³ + 6t², where t (seconds) is the time since it started moving, 0 ≤ t ≤ 6, and s (meters) is the distance traveled. On which time interval is its velocity increasing:

Frequently asked questions

What is a variation table in calculus?

A variation table is a three-row summary of a function. The x row lists the key x-values in increasing order, the y prime row shows the sign of the derivative on each interval, and the y row uses arrows to show where the function increases or decreases, together with local extreme values and limits.

How does the First Derivative Test find local extrema?

Find the critical points where the derivative equals 0. If the derivative changes from positive to negative at a critical point, the function has a local maximum there. If it changes from negative to positive, the function has a local minimum. If the sign does not change, there is no extremum.

What is the difference between a sign chart and a variation table?

A sign chart shows only the sign of the derivative on each interval. A variation table adds a third row with arrows, the extreme values and the limits, so it also shows how the function values move. The calculator builds both in one table.

What does the double bar mean in a variation table?

The double bar marks an x-value outside the domain, usually a zero of the denominator. The one-sided limits are written on each side of the bar. When they are infinite, the line through that x-value is a vertical asymptote.

Can a rational linear function have a local maximum or minimum?

No. For y = (ax + b)/(cx + d) with ad − bc not equal to 0, the derivative is (ad − bc)/(cx + d) squared. It never equals 0 and keeps the sign of ad − bc, so the function is monotonic on each interval of its domain.