Chapter
3

Functions, Inequalities and Rigour

Knowing that something is true is not the same as knowing why, and the difference is where mathematics lives.

In this chapter

  1. 3.1 Spot the Flaw STEP I 1991 Worksheet
  2. 3.2 AM–GM, Backwards STEP II 1993 Worksheet
  3. 3.3 The Power of Convexity STEP II 2007 Worksheet
  4. 3.4 Areas That Prove Inequalities STEP III 2011 Worksheet
  5. 3.5 \(\pi^e\) or \(e^\pi\)? STEP II 2013 Worksheet
  6. 3.6 A Bound on Slopes STEP I 1988 Worksheet
  7. 3.7 \(\pi^2 \leq 10\) STEP II 2014 Worksheet
  8. 3.8 Functions from Their Addition Laws STEP III 2019 Worksheet
  9. 3.9 Inventing a New Function STEP II 2021 Worksheet
  10. ✔ Looking back: what we have learned
Chapter 3 \(\cdot\) Introduction

Getting It Right

In mathematics you don’t understand things. You just get used to them.

— John von Neumann

Here is a “proof” that \(1 = 2\). Let \(a = b\). Then \(a^2 = ab\), so \(a^2 - b^2 = ab - b^2\), which factorises as \((a + b)(a - b) = b(a - b)\). Cancelling \(a - b\) gives \(a + b = b\), and since \(a = b\), that says \(2b = b\), so \(2 = 1\).

You probably spotted the problem: since \(a = b\), “cancelling \(a - b\)” means dividing by zero. But notice how plausible every step looked, and how easily the error hid inside a routine move. Real mistakes in real mathematics are rarely so obvious, and they have fooled some of the greatest mathematicians who ever lived. This chapter is about the habits of mind that catch them: precise definitions, careful use of theorems, and a healthy suspicion of arguments that seem too easy.

Why rigour matters

At school, mathematics is mostly about getting answers. At university it is mostly about knowing that your answers are right, and being able to convince someone else. That shift is the biggest single change between school and university mathematics, and it can be unsettling. Why spend a page proving something that “obviously” works?

The answer is that “obvious” is unreliable. The history of analysis is full of results that seemed obvious and were false: that a continuous function must be differentiable except perhaps at a few isolated points (André-Marie Ampère published a “proof” in 1806; in 1872 Weierstrass found a continuous function differentiable nowhere), that a convergent sum of continuous functions is continuous (Cauchy believed it; Abel found a counterexample), that you can rearrange the terms of a convergent series without changing its sum (you can’t, in general). Rigour is not pedantry. It is the only reliable way to tell the true from the plausible.

Inequalities: the working tools of analysis

The second theme of this chapter is inequalities. In school mathematics most results are equations: this equals that. In analysis, most results are inequalities: this is at most that. To prove a sequence converges you show the error is less than any tolerance; to prove an integral exists you show some sum is bounded; to estimate how good an approximation is, you bound the error. A professional analyst spends much more time proving inequalities than equations, and the classical inequalities you will meet here (AM–GM, Jensen, Young, Hölder, Cauchy–Schwarz) are the tools of the trade.

They are also remarkable in their own right. A single inequality about functions, with a well-chosen example, proves \(\pi^2 \leq 10\) (Section 3.7). A fact about the shape of the logarithm settles whether \(\pi^e\) or \(e^\pi\) is bigger (Section 3.5). A chemist’s question about measurement errors leads to some of the most important polynomials in mathematics (Section 3.6).

What you will meet at university

Rigour is the theme of first-year Analysis, and also of a course often called Numbers and Sets or Foundations, where you learn to write proofs precisely. You will meet the formal definitions of continuity and differentiability, and theorems with precise hypotheses (the intermediate value theorem, the mean value theorem, the extreme value theorem) whose hypotheses really matter. Later courses develop the inequalities in this chapter into whole subjects: functional analysis studies spaces of functions measured by integrals like those in Section 3.4 and Section 3.7; convex analysis and optimisation grow out of Section 3.3; approximation theory grows out of Section 3.6; and special functions like the one in Section 3.9 appear throughout applied mathematics and physics.

The questions that run through this chapter

Three big questions
  1. How do you know an argument is correct? What are the common ways for plausible arguments to fail, and how do you check?

  2. How do you prove an inequality? Where do the classical inequalities come from, and how do you choose which one to use?

  3. What is a function, really? Can a function be defined by a property it has, rather than by a formula? And can we invent new functions when the old ones are not enough?

The chapter opens with error-spotting (Section 3.1), then works through the classical inequalities, each from a different angle: an unusual induction, convexity, areas, the shape of a graph, polynomial interpolation and test functions. It closes with two sections on functions defined by their properties: \(e^x\) and \(\tanh x\) from their addition laws, and a brand-new function defined as an inverse.

Ideas in this chapter

§ Topic Idea
3.1 Plausible wrong arguments Checking calculations, logic and hidden hypotheses
3.2 AM–GM Forward–backward induction
3.3 Jensen’s inequality Concave curves lie above their chords
3.4 Young’s inequality Comparing areas in a picture
3.5 \(\pi^e\) or \(e^\pi\)? Reducing to one function and studying its graph
3.6 Slopes of quadratics Expressing the unknown in terms of the known
3.7 \(\pi^2 \leq 10\) Test functions in a general inequality
3.8 \(e^x\) and \(\tanh x\) Functions defined by functional equations
3.9 The W function Inventing a function as an inverse

How to read this chapter

As before, try each question before reading the solution. In this chapter, also try something else: after reading each solution, go back and find the one or two steps that a careless student would get wrong. Where would a hidden assumption slip in? Which hypothesis of which theorem needs checking? Reading in this way, critically and actively, is the single most useful habit you can build before university.