Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools


Graph Analyzis with Derivatives






Reading Functions Through Their Derivatives


A function's graph carries information about direction, curvature, turning points, and long-run behavior. The derivative extracts this information systematically. Where the derivative is positive, the function rises. Where it is negative, the function falls. Where it equals zero, something potentially interesting happens—a peak, a valley, or a momentary pause.

The second derivative adds depth. It determines whether the graph bends upward or downward, distinguishing between a function that accelerates and one that decelerates. Together, the first and second derivatives provide a complete toolkit for analyzing the shape of any differentiable function.

This page develops the full framework: from the derivative at a single point through tangent lines, monotonicity, extrema, concavity, inflection points, curve sketching, optimization, and related rates.



The Derivative at a Point


The value f(a)f'(a) is a number—the slope of the tangent line to the graph of ff at the point (a,f(a))(a, f(a)). A positive value means the function is increasing at that instant. A negative value means it is decreasing. A value of zero means the graph is momentarily flat.

The magnitude f(a)|f'(a)| measures steepness. A derivative of 1010 at a point means the function is climbing steeply; a derivative of 0.010.01 means it is nearly flat. The sign gives direction; the size gives intensity.

At points where f(a)f'(a) does not exist—corners, cusps, vertical tangents, or discontinuities—the function has no well-defined instantaneous rate of change. These points require separate treatment under differentiability.

Tangent Lines


The tangent line to ff at x=ax = a passes through (a,f(a))(a, f(a)) with slope f(a)f'(a). Its equation in point-slope form is:

yf(a)=f(a)(xa)y - f(a) = f'(a)(x - a)


This line is the best linear approximation to ff near x=ax = a. For values of xx close to aa, the tangent line and the curve are nearly indistinguishable. This is the geometric foundation of linear approximation.

The normal line at the same point is perpendicular to the tangent. If f(a)0f'(a) \neq 0, its slope is 1/f(a)-1/f'(a). If f(a)=0f'(a) = 0, the tangent is horizontal and the normal is vertical.

Increasing and Decreasing Functions


The sign of ff' on an interval determines the direction of ff on that interval.

If f(x)>0f'(x) > 0 for all xx in an open interval (a,b)(a, b), then ff is strictly increasing on (a,b)(a, b): larger inputs produce larger outputs. If f(x)<0f'(x) < 0 on (a,b)(a, b), then ff is strictly decreasing: larger inputs produce smaller outputs.

The proof relies on the Mean Value Theorem. For any two points x1<x2x_1 < x_2 in (a,b)(a, b), there exists cc between them with f(x2)f(x1)=f(c)(x2x1)f(x_2) - f(x_1) = f'(c)(x_2 - x_1). If f(c)>0f'(c) > 0 and x2x1>0x_2 - x_1 > 0, then f(x2)f(x1)>0f(x_2) - f(x_1) > 0, confirming ff is increasing.

To find where a function increases or decreases: solve f(x)=0f'(x) = 0 and identify where ff' is undefined, then test the sign of ff' in each resulting interval.

Critical Points


A critical point of ff is a value x=cx = c in the domain of ff where either f(c)=0f'(c) = 0 or f(c)f'(c) does not exist.

Critical points are the only candidates for local extrema. If ff has a local maximum or minimum at cc, then cc must be a critical point. This is Fermat's theorem: a local extremum at an interior point requires the derivative to vanish or fail to exist.

The converse is false. The function f(x)=x3f(x) = x^3 has f(0)=0f'(0) = 0, so x=0x = 0 is a critical point, but ff has no extremum there—it increases through the origin. A critical point is a candidate that must be tested further.

Finding critical points is the first step in any extremum or optimization problem. The subsequent tests—first derivative test and second derivative test—classify what happens at each candidate.

The First Derivative Test


The first derivative test classifies a critical point cc by examining how ff' changes sign around it.

If ff' changes from positive to negative at cc—the function rises then falls—then ff has a local maximum at cc. If ff' changes from negative to positive—the function falls then rises—then ff has a local minimum at cc. If ff' does not change sign—positive on both sides or negative on both sides—then cc is neither a maximum nor a minimum.

The test works even when f(c)f'(c) does not exist, as long as ff is continuous at cc. It requires checking the sign of ff' in an interval immediately to the left and immediately to the right of cc. No information about ff'' is needed, making this test universally applicable among derivative-based classification methods.

The Second Derivative Test


When f(c)=0f'(c) = 0 and f(c)f''(c) exists, the second derivative test provides a quicker classification.

If f(c)>0f''(c) > 0, the graph is concave up at cc, and the horizontal tangent sits at the bottom of a cup: ff has a local minimum at cc. If f(c)<0f''(c) < 0, the graph is concave down, and the horizontal tangent sits at the top of a cap: ff has a local maximum at cc.

If f(c)=0f''(c) = 0, the test is inconclusive. The point might be an extremum or an inflection point—further analysis is required. In this case, fall back to the first derivative test or examine higher-order derivatives.

The second derivative test is faster than the first derivative test when ff'' is easy to compute, but it cannot handle critical points where ff' does not exist.

Concavity


Concavity describes how the slope of ff changes, not whether the function rises or falls but how it bends while doing so.

If f(x)>0f''(x) > 0 on an interval, the derivative ff' is increasing there: the slope gets steeper (or less negative). The graph bends upward—concave up. Visually, the curve lies above its tangent lines.

If f(x)<0f''(x) < 0 on an interval, the derivative ff' is decreasing: the slope gets less steep (or more negative). The graph bends downward—concave down. The curve lies below its tangent lines.

A function can be increasing and concave down simultaneously—rising but decelerating, like a ball thrown upward before reaching its peak. Concavity and direction are independent properties controlled by ff'' and ff' respectively.

Inflection Points


An inflection point is a point where the concavity of ff changes—from concave up to concave down, or the reverse.

At an inflection point, ff'' must either equal zero or fail to exist. However, f(c)=0f''(c) = 0 alone does not guarantee an inflection point. The function f(x)=x4f(x) = x^4 has f(0)=0f''(0) = 0, but the concavity does not change at x=0x = 0—the graph is concave up on both sides. The sign of ff'' must actually switch across the point.

To locate inflection points: find where f(x)=0f''(x) = 0 or ff'' is undefined, then verify that ff'' changes sign. On the graph of ff', inflection points of ff correspond to local extrema of ff'—the slope of ff reaches a peak or trough and reverses direction.

Curve Sketching


Curve sketching assembles all derivative information into a complete picture of a function's graph.

The process begins with preliminary analysis: domain, intercepts, symmetry (even, odd, periodic), and asymptotes. Vertical asymptotes arise where the function is undefined; horizontal asymptotes come from limits at infinity.

First derivative analysis determines where ff increases and decreases, and locates all local extrema. Second derivative analysis determines concavity intervals and inflection points. End behavior—the function's direction as x±x \to \pm\infty—frames the overall shape.

Combining these elements produces a qualitative sketch without plotting individual points. The derivative framework reveals structure that pointwise computation alone would miss: a function might appear flat in a table of values while the derivatives expose a subtle extremum nearby.

Optimization


Optimization finds the absolute maximum or minimum value of a function, often on a specified interval or subject to constraints.

On a closed interval [a,b][a, b], the Extreme Value Theorem guarantees that a continuous function attains both an absolute maximum and an absolute minimum. The candidates are the critical points inside (a,b)(a, b) and the endpoints aa and bb. Evaluate ff at each candidate; the largest value is the absolute maximum, the smallest is the absolute minimum.

Applied optimization problems translate a real scenario into a function of one variable. The steps are: identify the quantity to optimize, express it as a function of a single variable, determine the feasible domain, find critical points within that domain, and compare values at critical points and endpoints.

The derivative identifies candidates; the context determines which candidate solves the problem. Checking that a critical point is actually a maximum (or minimum) rather than merely a critical point is an essential final step.

Related Rates


Related rates problems involve two or more quantities that change simultaneously with respect to a common variable, usually time tt. A known rate of change in one quantity determines an unknown rate of change in another, connected through an equation.

The method uses implicit differentiation with respect to tt. Start with an equation relating the variables—geometric, physical, or algebraic. Differentiate both sides with respect to tt, applying the chain rule to every variable that depends on tt. Substitute known values and known rates, then solve for the unknown rate.

Setting up the relationship correctly is the critical step. The equation must hold at all times, not just at the particular instant in question. Constants can be substituted only after differentiation—replacing a variable with a fixed value before differentiating eliminates its rate of change from the equation.