AP Calculus AB and BC glossary
Derivative of a Piecewise Function
Also called: Piecewise derivative, Differentiability of a piecewise function
The derivative of a piecewise function is the derivative of whichever piece the input falls in, which settles every point but the break. There the function must be continuous first, and the one sided derivatives from the left and right must agree on a finite value, or no derivative exists.
Inside each open interval the function is just the rule that lives there, so if for then across that whole stretch. All the work is concentrated at the break point, and continuity is the first check there: where the pieces fail to meet, no arrangement of slopes rescues the derivative.
The second check compares those one sided difference quotients, and they have to agree on a finite value. Joining on to on sends both of them to , so they agree and yet no derivative exists, only a vertical tangent. Setting the two derivative formulas equal at the break point is a shortcut for that comparison, valid only when the one sided limits of exist and are finite, which they do for the polynomial and rational pieces the exam uses. Joining on to on , continuity forces and equal slopes force , leaving .
The mistake
Do the two slopes match at ? That settles only half of it. The derivative formulas set equal give one equation, but without the continuity equation the constants come out wrong, and a function with a jump is never differentiable there however neatly the slopes line up.
Appears in: Unit 2: Defining the Derivative