Tutorials › AP Calculus › Corner Points from Unequal One-Sided Slopes

Differentiability and Continuity · Tutorial 106 of 999

Corner Points from Unequal One-Sided Slopes

Compute the slopes approaching a point from each side to identify a corner and determine whether the derivative exists there.

Beginner 9 min read

What You'll Learn

  • Define a corner using continuity and unequal finite one-sided derivatives
  • Calculate the left- and right-hand slopes of an absolute-value graph
  • Use difference quotients to verify slopes at a point
  • Explain why unequal one-sided slopes prevent a two-sided derivative
  • Avoid mistaking a selected branch slope for a derivative at the join

When a Graph Has a Corner

A curve can be continuous and still fail to have a derivative at a point. One common reason is a corner: the graph reaches the point from both sides, but its slope changes abruptly there. The graph of \(f(x)=|x|\) at \(x=0\) is a familiar example. Its two straight branches meet, but they approach the meeting point with different slopes.

To test for a corner, compare the slopes calculated from the left and from the right. If both slopes approach finite values but those values are unequal, there is no single slope that describes the graph at the point. The derivative therefore does not exist there.

Definition: A point \(x=a\) is a corner point of a function’s graph when the function is continuous at \(a\), its left-hand and right-hand derivatives at \(a\) both exist as finite numbers, and those derivatives are unequal.

Continuity matters in this definition: the graph must meet at the point. The focus here is the change in slope at such a meeting, not every possible reason a derivative might fail to exist.

One-Sided Slopes

The derivative at \(x=a\) is based on the difference quotient \(\frac{f(a+h)-f(a)}{h}\) as \(h\) approaches zero. For a left-hand derivative, \(h\) approaches zero through negative values; for a right-hand derivative, \(h\) approaches zero through positive values.

$$ f'_-(a)=\lim_{h\to 0^-}\frac{f(a+h)-f(a)}{h}, \qquad f'_+(a)=\lim_{h\to 0^+}\frac{f(a+h)-f(a)}{h}. $$

These limits, when finite, give the slopes the graph approaches from each side. The two-sided derivative exists only if the left-hand and right-hand limits are equal and finite. In particular, unequal finite one-sided slopes cannot be combined into one derivative.

Key takeaway: At a continuous point, unequal finite one-sided derivatives identify a corner and show that \(f'(a)\) does not exist.

Why Unequal Slopes Rule Out a Derivative

Let \(Q(h)=\frac{f(a+h)-f(a)}{h}\) be the difference quotient at \(a\). The ordinary derivative \(f'(a)\), if it exists, is the two-sided limit of \(Q(h)\) as \(h\) approaches zero. A two-sided limit must have the same value whether \(h\) approaches zero through positive or negative values. Therefore, the left-hand and right-hand limits of \(Q(h)\) must agree.

1
Form the quotient.
Use the same difference quotient on both sides: \(Q(h)=\frac{f(a+h)-f(a)}{h}\).
2
Take each one-sided limit.
Calculate the limit as \(h\to0^-\) and as \(h\to0^+\).
3
Compare the results.
If the finite limits differ, \(Q(h)\) has no two-sided limit, so \(f'(a)\) does not exist.

This argument is a direct consequence of the limit definition: if a two-sided limit existed, both one-sided limits would have to equal it. Thus unequal one-sided slopes do more than suggest a sharp-looking graph; they prove that the derivative is absent at that point.

Worked Example: The Corner in \(f(x)=|x|\)

Worked Example: The Corner in \(f(x)=|x|\)

Find the one-sided derivatives of \(f(x)=|x|\) at \(a=0\), and decide whether \(f'(0)\) exists.

First, \(f(0)=|0|=0\). For \(h\ne0\), the difference quotient is

$$ \frac{f(0+h)-f(0)}{h} =\frac{|h|-0}{h} =\frac{|h|}{h}. $$

If \(h>0\), then \(|h|=h\), so the quotient is \(\frac{h}{h}=1\). Therefore \(f'_+(0)=1\).

If \(h<0\), then \(|h|=-h\), so the quotient is \(\frac{-h}{h}=-1\). Therefore \(f'_-(0)=-1\).

The function is continuous at zero because \(\lim_{x\to0}|x|=0=f(0)\). Its two finite one-sided slopes are different: \(-1\ne1\). Hence \(f'(0)\) does not exist, and the graph has a corner at \(x=0\).

Check: Substituting any positive \(h\) into the quotient gives \(1\); substituting any negative \(h\) gives \(-1\). These values confirm the two one-sided slopes.

Worked Example: A Shifted and Scaled Absolute Value

Worked Example: A Shifted and Scaled Absolute Value

Consider \(g(x)=|2x-3|+1\). Find and compare the one-sided slopes at \(a=\frac32\).

At the point, \(g\left(\frac32\right)=|3-3|+1=1\). Write a nearby input as \(x=\frac32+h\). Then

$$ g\left(\frac32+h\right) =|2(\tfrac32+h)-3|+1 =|3+2h-3|+1 =|2h|+1. $$

The difference quotient is therefore

$$ \frac{g(\frac32+h)-g(\frac32)}{h} =\frac{|2h|+1-1}{h} =\frac{|2h|}{h}. $$

For \(h>0\), \(|2h|=2h\), so the quotient is \(2\), giving \(g'_+\left(\frac32\right)=2\). For \(h<0\), \(|2h|=-2h\), so the quotient is \(-2\), giving \(g'_-\left(\frac32\right)=-2\).

The function is continuous there: as \(h\to0\), \(g\left(\frac32+h\right)=|2h|+1\to1=g\left(\frac32\right)\). Since \(-2\ne2\), the derivative does not exist at \(x=\frac32\); this is a corner.

Check: The quotient equals \(2\) for every positive \(h\) and \(-2\) for every negative \(h\), confirming the computed one-sided slopes.

Worked Example: Two Linear Pieces Meeting

Worked Example: Two Linear Pieces Meeting

Let

$$ f(x)= \begin{cases} 2x+1, & x\le 1,\\ -x+4, & x>1. \end{cases} $$

Determine whether the graph has a corner at \(x=1\).

Since the first formula includes \(x=1\), \(f(1)=2(1)+1=3\). The value approached from the right is also \(-1+4=3\), so the two pieces meet at the point \((1,3)\). More explicitly, the left-hand values approach \(3\) because \(2x+1\to3\) as \(x\to1^-\), and the right-hand values approach \(3\) because \(-x+4\to3\) as \(x\to1^+\). Thus \(f\) is continuous at \(1\).

For \(h<0\), \(1+h\le1\), so the left-hand difference quotient is

$$ \frac{f(1+h)-f(1)}{h} =\frac{[2(1+h)+1]-3}{h} =\frac{2+2h+1-3}{h} =\frac{2h}{h} =2. $$

Hence \(f'_-(1)=2\). For \(h>0\), \(1+h>1\), so the right-hand quotient is

$$ \frac{f(1+h)-f(1)}{h} =\frac{[-(1+h)+4]-3}{h} =\frac{-1-h+4-3}{h} =\frac{-h}{h} =-1. $$

Hence \(f'_+(1)=-1\). Both slopes are finite, but \(2\ne-1\), so \(f'(1)\) does not exist. The graph has a corner at the join.

Check: The left-hand expression gives the point value \(3\) at \(x=1\), and the right-hand expression also gives \(3\) there. The difference quotients simplify to the slopes of the corresponding linear pieces, \(2\) and \(-1\).

A Common Mistake: Choosing One Side’s Slope

For \(f(x)=|x|\), a mistaken argument might say: “To the right of zero, the graph is \(y=x\), which has slope \(1\). Therefore \(f'(0)=1\).” This uses only the right-hand behavior. The derivative at an interior point, however, requires the difference quotient to approach the same value from both sides.

$$ \lim_{h\to0^+}\frac{|h|}{h}=1, \qquad \lim_{h\to0^-}\frac{|h|}{h}=-1. $$

The correction is to report the two one-sided slopes separately, then compare them. Since they disagree, neither one is the two-sided derivative. In particular, assigning a value to a formula for the slope at \(x=0\) cannot make the derivative exist there; the difference quotient determines whether it exists.

What the Slope Comparison Tells You

At a corner, the graph has a well-defined meeting point and a finite direction of approach on each side, but those directions do not agree. The derivative represents a single instantaneous slope, so two different one-sided slopes cannot describe one derivative value.

At the pointWhat to compareConclusion for a corner
The function’s valuesDoes the graph meet continuously?Yes
Left-hand behaviorIs the limiting slope finite?Yes
Right-hand behaviorIs the limiting slope finite?Yes
One-sided slopesAre their values unequal?Yes; the two-sided derivative does not exist

For a reliable test, calculate from the difference quotient rather than relying only on how sharp the graph appears. A graph can help you anticipate the answer, but the one-sided limits establish it. Also keep the conclusion specific: unequal finite one-sided slopes prove a corner at that point; they do not mean that every failure of differentiability is a corner.

Summary: For a corner at \(x=a\), the function is continuous, the left- and right-hand derivatives are finite, and those derivatives are unequal. The unequal limits of the difference quotient show that the ordinary derivative \(f'(a)\) does not exist.

Check Your Understanding

For each question, show enough reasoning to identify the relevant one-sided slopes.

  1. For \(f(x)=|x|\), what are the left- and right-hand derivatives at zero, and why is there no derivative there?
  2. For \(g(x)=|x-2|+4\), write the difference quotient at \(x=2\) using \(h\), then find its two one-sided limits.
  3. In the piecewise example, why is it necessary to check that the function is continuous at \(x=1\) as well as compare the slopes?
  4. A continuous graph has a left-hand derivative of \(-3\) and a right-hand derivative of \(-3\) at a point. Does the corner criterion apply? Explain what the one-sided comparison tells you.
  5. A student finds a right-hand slope of \(5\) at a point and concludes that the derivative is \(5\). What additional calculation is needed?

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon
Clinical Biostats