Relating f, f′, and f″

When you study a function f(x), its first derivative f′(x) and second derivative f″(x) act as powerful lenses that reveal hidden structure in the curve. Rather than plotting dozens of points blindly, calculus lets you determine where a function rises or falls, where it bends upward or downward, and where it reaches peaks, valleys, or inflection points — all from algebraic information alone. The first derivative f′(x) measures the instantaneous rate of change, which geometrically equals the slope of the tangent line at each point. A positive f′ means the curve is climbing left-to-right; a negative f′ means it is descending. The second derivative f″(x) measures how that slope itself is changing, capturing the curvature or concavity of the graph. Together, f, f′, and f″ form a complete portrait of a curve's behavior. Mastering this three-way relationship is the foundation of curve sketching and optimization. Engineers use it to find maximum efficiency, economists to find profit peaks, and physicists to analyze motion. By the end of this article you will be able to read a function's entire story — increasing intervals, decreasing intervals, local extrema, concavity, and inflection points — directly from its derivatives.

Key takeaways
  • Increasing and Decreasing Intervals from f′
  • Local Extrema via the First Derivative Test
  • Concavity from f″
  • Inflection Points
  • Second Derivative Test for Local Extrema
  • Putting It All Together: Curve Sketching Workflow

Increasing and Decreasing Intervals from f′

A function f is increasing on an interval where f′(x) > 0, because the slope of the tangent line is positive. It is decreasing where f′(x) < 0. At a point where f′(x) = 0 (called a critical point), the tangent is horizontal — the function has paused its rise or fall and may be about to reverse direction. To find increasing/decreasing intervals: set f′(x) = 0, solve for critical values, then test the sign of f′ on each sub-interval using a sign chart.

Local Extrema via the First Derivative Test

At a critical point x = c where f′(c) = 0: if f′ changes from positive to negative (f′ goes +→−), then f has a local maximum at x = c. If f′ changes from negative to positive (f′ goes −→+), f has a local minimum. If f′ does not change sign, there is neither a max nor a min — instead the point is a plateau or saddle. This is called the First Derivative Test.

Concavity from f″

Concavity describes which way the curve 'cups.' Where f″(x) > 0, the slope f′ is increasing, so the curve is concave up (like a bowl ∪) — it curves away from below. Where f″(x) < 0, the slope is decreasing, so the curve is concave down (like an arch ∩). Visually: on a concave-up interval any tangent line lies below the curve; on a concave-down interval any tangent lies above it.

Inflection Points

An inflection point is a point on the curve where concavity changes from up to down or vice versa. Candidates occur where f″(x) = 0 or f″(x) is undefined. However, f″(c) = 0 is necessary but not sufficient: you must verify that f″ actually changes sign around x = c. For example, f(x) = x⁴ has f″(0) = 0 but concavity does not change at x = 0, so it is not an inflection point.

Second Derivative Test for Local Extrema

If f′(c) = 0 (critical point) and f″(c) > 0, then f is concave up at c, confirming a local minimum. If f′(c) = 0 and f″(c) < 0, then f is concave down at c, confirming a local maximum. If f″(c) = 0, the test is inconclusive — return to the First Derivative Test. This test is often faster when f″ is easy to evaluate.

Putting It All Together: Curve Sketching Workflow

A systematic process: (1) Find the domain of f. (2) Compute f′(x) and solve f′ = 0 to locate critical points. (3) Use a sign chart for f′ to determine increasing/decreasing intervals and classify extrema. (4) Compute f″(x) and solve f″ = 0 to find inflection point candidates. (5) Use a sign chart for f″ to determine concavity intervals and confirm inflection points. (6) Evaluate f at critical and inflection points for y-coordinates, check limits for asymptotes, then sketch the curve using all collected information.

The Key Equation

f′(x)>0⇒f increasing;f′(x)<0⇒f decreasing;f′′(x)>0⇒concave up;f′′(x)<0⇒concave downf'(x) > 0 \Rightarrow f \text{ increasing}; \quad f'(x) < 0 \Rightarrow f \text{ decreasing}; \quad f''(x) > 0 \Rightarrow \text{concave up}; \quad f''(x) < 0 \Rightarrow \text{concave down}
  • f(x) — Original function (varies): The curve being analyzed; its y-values give heights on the graph.
  • f'(x) — First derivative (slope (rise/run)): Rate of change of f; equals the slope of the tangent line at each point.
  • f''(x) — Second derivative (slope per unit x): Rate of change of f′; measures how the slope itself is changing, determining concavity.

Worked Example

Problem. Let f(x) = x³ − 6x² + 9x + 1. Find all intervals of increase/decrease, local extrema, intervals of concavity, and inflection points.

Local max: (1,5),Local min: (3,1),Inflection point: (2,3)\text{Local max: } (1,5),\quad \text{Local min: } (3,1),\quad \text{Inflection point: } (2,3)

Answer. Increasing on (−∞, 1) and (3, ∞); decreasing on (1, 3). Local max at (1, 5); local min at (3, 1). Concave down on (−∞, 2); concave up on (2, ∞). Inflection point at (2, 3).

Figure
Diagram
f(x) = x³ − 6x² + 9x + 1xy0Local max (1, 5)Local min (3, 1)Inflection (2, 3)concave ↓concave ↑← increasing →← decreasing →← increasing →f′>0f′<0f′>0f″<0f″>0
Origins · 1 minPierre de Fermat and how this was discovered
PD
Pierre de Fermat
1607–1665 · French

Fermat developed a method called 'adequality' around 1629 to find maxima and minima of algebraic expressions — essentially the precursor to setting the derivative equal to zero. His observation that a maximum or minimum occurs where a quantity's rate of change is zero (what we now call a critical point, f′ = 0) was a key milestone toward the formal invention of differential calculus by Newton and Leibniz decades later. Fermat was a lawyer by profession and pursued mathematics purely as a hobby. He rarely published his work; most of it was discovered through letters he wrote to fellow mathematicians.

  • Definition of the Derivative — Understanding f′ as the limit of a difference quotient is essential before interpreting its sign for increasing/decreasing analysis.
  • Critical Points and Extrema — Critical points (where f′ = 0 or undefined) are the starting locations for classifying local maxima and minima using both derivative tests.
  • Concavity and Inflection Points — A deeper dive into f″ sign analysis and the precise definition of inflection points as concavity-change locations.
  • Optimization Problems — Applying f′ and f″ analysis to real-world problems that require finding absolute maximum or minimum values over a domain.
  • Curve Sketching — The full curve-sketching procedure synthesizes information from f, f′, and f″ together with asymptotes and intercepts to produce an accurate graph.