One-Sided Derivative — Definition, Formula & Example
A one-sided derivative is the slope of a function at a point measured from only one side. The left derivative uses points just to the left. The right derivative uses points just to the right.
Let be defined on an interval for some . The left derivative of at is , provided this limit exists as a finite number. The right derivative is defined the same way on with . The two-sided derivative exists if and only if both one-sided derivatives exist and .
Key Formula
Where:
- = Left derivative of f at a (h takes only negative values)
- = Right derivative of f at a (h takes only positive values)
- = The point where the slope is measured
- = A small step away from a, approaching 0 from one side
Worked Example
Problem: Let for and for . Find the left and right derivatives at . Is differentiable at ?
Step 1: Find . Since , use the first piece. Points to the left of 2 also use , so the left difference quotient simplifies for .
Step 2: Let to get the left derivative.
Step 3: For , the point uses the second piece. Simplify and let .
Answer: The left derivative is 4 and the right derivative is −2. Both exist, but they are not equal, so is not differentiable at . The graph has a corner there, even though is continuous at that point.
Why It Matters
AP Calculus questions, including some free-response questions, ask whether a piecewise function is differentiable where its pieces meet. You answer by checking continuity and then comparing the left and right derivatives at that point. One-sided derivatives also let you define the slope at the endpoint of a closed interval, where only one side of the function exists.
Common Mistakes
Mistake: Differentiating each piece and plugging in the boundary value, without first checking that the function is continuous there.
Correction: Shortcuts like this only work when is continuous at the point. For when and when , both pieces have slope 1, yet . The left difference quotient grows without bound as , so does not exist. Check continuity first, or use the limit definition directly.
