Tutorials › Topology (Undergraduate) › Piecewise-Linear Perturbations with Steep Secants

The Baire Category Theorem · Tutorial 612 of 799

Piecewise-Linear Perturbations with Steep Secants

Learn how a small, explicitly constructed piecewise-linear change can force a continuous function to have a steep secant on any nondegenerate interval.

Advanced 9 min read

What You'll Learn

  • Define the sup norm on the space of continuous functions on the unit interval.
  • Construct a piecewise-linear perturbation with prescribed values at two nearby points.
  • Prove the perturbation can be arbitrarily small while producing a secant slope above a chosen bound.
  • Check the construction in explicit examples, including a function whose original secant slope is negative.
  • Identify and correct a common error in computing the change to a secant slope.

Small Changes, Large Secant Slopes

A continuous function can change very little in height under a small perturbation and still acquire a large secant slope. The reason is that a secant slope divides a change in function value by the distance between two inputs: a fixed, small vertical change can produce a large quotient when the inputs are sufficiently close. Here we make this observation precise using piecewise-linear perturbations of functions on the unit interval.

Write \(C([0,1])\) for the set of continuous real-valued functions on \([0,1]\). For \(f,g\in C([0,1])\), the sup norm distance is \(\|g-f\|_\infty=\sup_{t\in[0,1]}|g(t)-f(t)|\). Thus \(\|g-f\|_\infty<\varepsilon\) means that the change in function value is less than \(\varepsilon\) at every input. If \(x<y\), the secant slope of \(g\) between \(x\) and \(y\) is \((g(y)-g(x))/(y-x)\). We will produce a perturbation \(u\) for which \(g=f+u\) is uniformly close to \(f\), while this quotient is greater than a specified number.

Definition: A function \(u:[0,1]\to\mathbb{R}\) is piecewise linear if there is a finite partition \(0=t_0<t_1<\cdots<t_n=1\) such that \(u\) is linear on each interval \([t_{i-1},t_i]\). Its sup norm is \(\|u\|_\infty=\sup_{t\in[0,1]}|u(t)|\). A secant slope of \(g\) between \(x<y\) is \((g(y)-g(x))/(y-x)\).

The key construction prescribes opposite values for \(u\) at two nearby points. The change in the numerator of the secant quotient is then twice the size of either prescribed value. Linear interpolation connects those values to zero at the endpoints of the domain without making the perturbation any larger.

Controlling the Size of the Interpolation

Proposition: Let \(0<x<y<1\) and \(\eta>0\). There is a piecewise-linear function \(u:[0,1]\to\mathbb{R}\) such that \(u(0)=u(1)=0\), \(u(x)=-\eta\), \(u(y)=\eta\), and \(\|u\|_\infty=\eta\).

Proof. Define \(u\) by linear interpolation through the four data points \((0,0)\), \((x,-\eta)\), \((y,\eta)\), and \((1,0)\). Since \(0<x<y<1\), these points specify three intervals of positive length, and the interpolated function is continuous and piecewise linear. On each interval, every value of \(u\) lies between its endpoint values: a linear interpolation has the form \((1-s)v_0+sv_1\) for \(0\le s\le1\), which lies between \(v_0\) and \(v_1\). All four specified values belong to \([-\eta,\eta]\), so \(|u(t)|\le\eta\) everywhere. Since \(|u(x)|=\eta\), the supremum is attained and equals \(\eta\). \(\square\)

This proposition is the size control we need. The important quantity for the secant is not the largest value of \(u\) alone, but the difference \(u(y)-u(x)=2\eta\). The next result uses continuity of the original function to ensure that its own change between the chosen points does not cancel too much of this increase.

The Perturbation Theorem

Theorem: Let \(f\in C([0,1])\), let \(\varepsilon>0\), let \(M\ge0\), and let \([a,b]\subseteq[0,1]\) satisfy \(a<b\). There is a piecewise-linear function \(u:[0,1]\to\mathbb{R}\) such that \(\|u\|_\infty<\varepsilon\) and, for \(g=f+u\), there are \(x,y\in(a,b)\) with \(x<y\) for which \(\dfrac{g(y)-g(x)}{y-x}>M\).

Proof. Set \(\eta=\varepsilon/2\), so \(0<\eta<\varepsilon\). Choose \(c\in(a,b)\); this is possible because \(a<b\). By continuity of \(f\) at \(c\), there is \(\delta>0\) such that \(t\in[0,1]\) and \(|t-c|<\delta\) imply \(|f(t)-f(c)|<\eta/2\). Choose a number \(d>0\) satisfying \(d<\min\{b-c,\delta,\eta/(M+1)\}\). All three entries in this minimum are positive, so such a \(d\) exists. Set \(x=c\) and \(y=c+d\). Then \(a<x<y<b\), and \(|f(y)-f(x)|<\eta/2<\eta\), by the choice of \(\delta\).

Apply the proposition to \(x,y,\eta\) and let \(u\) be its piecewise-linear function. Since \(\|u\|_\infty=\eta=\varepsilon/2<\varepsilon\), the required norm bound holds. For \(g=f+u\), we have \(u(y)-u(x)=\eta-(-\eta)=2\eta\), and therefore \(g(y)-g(x)=f(y)-f(x)+2\eta>-\eta+2\eta=\eta\). Also \(0<y-x=d<\eta/(M+1)\). Dividing by the positive number \(d\) gives \(\dfrac{g(y)-g(x)}{y-x}>\dfrac{\eta}{d}>M+1>M\). This proves the assertion, including the strict inequality, for every \(\varepsilon>0\), every \(M\ge0\), and every nondegenerate interval \([a,b]\). \(\square\)

The proof has two independent choices. Continuity makes the change \(f(y)-f(x)\) small compared with the prescribed vertical change. The distance \(y-x\) is then chosen small enough that even the guaranteed positive change in \(g\) produces the desired quotient. The perturbation may affect the entire domain, but its sup norm stays controlled because its interpolated values never leave \([-\eta,\eta]\).

Worked Constructions

Worked Example: A Quadratic Function

Let \(f(t)=t^2\), choose the interval \([0.4,0.7]\), require \(\|u\|_\infty<0.25\), and seek a secant slope greater than \(10\). Take \(\eta=0.1\), \(x=0.5\), and \(y=0.51\). Both points lie strictly inside the chosen interval, and \(y-x=0.01\).

Compute the original change: \(f(x)=0.5^2=0.25\) and \(f(y)=0.51^2=0.2601\), so \(f(y)-f(x)=0.2601-0.25=0.0101\). Define \(u\) by linear interpolation through \((0,0)\), \((0.5,-0.1)\), \((0.51,0.1)\), and \((1,0)\). The interpolation bound gives \(\|u\|_\infty=0.1<0.25\).

The perturbed endpoint values are \(g(x)=0.25-0.1=0.15\) and \(g(y)=0.2601+0.1=0.3601\). Consequently, \((g(y)-g(x))/(y-x)=(0.3601-0.15)/0.01=0.2101/0.01=21.01\), which is greater than \(10\).

Check: Directly, the change in the numerator is \(0.0101+0.2=0.2101\), because the perturbation changes the two endpoint values by \(-0.1\) and \(+0.1\). Dividing by \(0.01\) again gives \(21.01\). The norm bound and the secant condition both hold.

Worked Example: Increasing the Slope of a Linear Function

Let \(f(t)=3t\), use \([0.3,0.6]\), and seek a secant slope greater than \(8\) with sup norm perturbation less than \(0.1\). Choose \(\eta=0.04\), \(x=0.4\), and \(y=0.41\). Here \(y-x=0.01\), and the original function values are \(f(0.4)=1.2\) and \(f(0.41)=1.23\). Thus \(f(y)-f(x)=1.23-1.2=0.03\).

Interpolate \(u\) through \((0,0)\), \((0.4,-0.04)\), \((0.41,0.04)\), and \((1,0)\). The proposition yields \(\|u\|_\infty=0.04<0.1\). The perturbed endpoint values are \(g(x)=1.2-0.04=1.16\) and \(g(y)=1.23+0.04=1.27\). Therefore, \((g(y)-g(x))/(y-x)=(1.27-1.16)/0.01=0.11/0.01=11\), and \(11>8\).

Check: The original change \(0.03\) plus the perturbation change \(0.08\) equals \(0.11\), the numerator just computed. The perturbation stays below the required bound at every point, not just at \(x\) and \(y\), by linear interpolation.

Worked Example: Overcoming a Negative Original Secant

Let \(f(t)=|t-0.5|\), choose \([0.45,0.55]\), and seek a secant slope greater than \(6\) with perturbation norm less than \(0.06\). Set \(\eta=0.02\), \(x=0.49\), and \(y=0.495\). The points are inside the interval and \(y-x=0.005\). The function values are \(f(x)=|0.49-0.5|=0.01\) and \(f(y)=|0.495-0.5|=0.005\), so the original change is \(0.005-0.01=-0.005\).

Let \(u\) be the interpolation through \((0,0)\), \((0.49,-0.02)\), \((0.495,0.02)\), and \((1,0)\). Its sup norm is \(0.02<0.06\). Now \(g(x)=0.01-0.02=-0.01\) and \(g(y)=0.005+0.02=0.025\). The perturbed secant slope is \((0.025-(-0.01))/0.005=0.035/0.005=7\), which is greater than \(6\).

Check: Although the original change is negative, adding the perturbation difference \(0.02-(-0.02)=0.04\) gives \(-0.005+0.04=0.035\). The positive numerator and the positive gap give the computed slope \(7\).

Why the Construction Matters—and a Common Error

The conclusion is local in its secant condition but global in its norm control: the two points can be chosen inside any prescribed nondegenerate interval, while the perturbation remains small everywhere on \([0,1]\). This gives a concrete way to find functions close to a given continuous function with a large secant on a specified interval. The result concerns existence of a secant, not differentiability at either endpoint or elsewhere.

Common pitfall. In the quadratic example, a wrong calculation might say that the perturbation changes the numerator by \(0.1\), giving a slope \((0.0101+0.1)/0.01=11.01\). This incorrectly counts only one endpoint change. The numerator uses the difference \(g(y)-g(x)\): the value at \(y\) increases by \(0.1\), and the value at \(x\) decreases by \(0.1\). The total increase is \(0.1-(-0.1)=0.2\), so the correct quotient is \((0.0101+0.2)/0.01=21.01\). The sup norm, by contrast, is \(0.1\), not \(0.2\): it measures the largest change at a single input, not the difference between changes at two inputs.

Check Your Understanding

Use the construction and its estimates to answer the following questions.

  1. Why must the two chosen points satisfy \(x<y\), and where is this inequality used when deriving the secant bound?
  2. In the theorem, explain why choosing \(d<\eta/(M+1)\) gives a strict slope bound greater than \(M\).
  3. For the interpolation values \(u(x)=-\eta\) and \(u(y)=\eta\), compute \(u(y)-u(x)\) and compare it with \(\|u\|_\infty\).
  4. Which part of the proof uses continuity of \(f\), and what estimate does continuity provide?
  5. Does the theorem require the original secant slope of \(f\) to be positive? Explain using the numerator estimate.