Chapter IX · The logarithmic, exponential and circular functions of a real variable
Common logarithms, and working with
Logarithms to any base are constant multiples of ; plus a tour of Hardy's examples on the exponential function, the hyperbolic functions and their inverses.
Why this matters
Hardy’s logarithm is the natural logarithm, to base . For three centuries before electronic calculators, numerical work used logarithms to base , and today computer science uses base . §217 shows that nothing essential depends on the base: all logarithms are constant multiples of one another. The section is short, but it is followed by one of the longest sets of examples in the book: derivatives and integrals involving , equations such as , and the hyperbolic functions , , . This lesson works through a representative selection.
The idea
A logarithm turns multiplication into addition: . Mark the numbers on a line at distances proportional to their logarithms, and multiplying two numbers becomes laying two lengths end to end. That is a slide rule. Which base you use only decides the unit of length; the marks themselves sit in the same places.
Try this. Set and , and read the product on the D scale under the of the sliding C scale. Then switch the ruler at the bottom between base and base .
What to notice
The blue length (to ) plus the ochre length (from to ) reaches : lengths add because logarithms add. Switching the base changes only the numbers on the bottom ruler, stretching them by the factor ; every mark stays where it is. So and are the same function up to a constant factor.
Precise statements
Let , . For , is the number such that . Hardy’s is . Logarithms to base are called common logarithms.
For , and ,
In particular , where , and .
Take natural logarithms of .
Existence and uniqueness of
, and , so is a strictly monotone continuous function of taking every positive value exactly once. Hence is well defined.
Compute it
If then , so .
The constants for base
and its reciprocal is . So common logarithms are natural logarithms multiplied by .
The theorem fits the uniqueness result of the second lesson: satisfies , so it must be , and because .
Working with the exponential: Hardy’s examples
The examples after §217 use everything built so far. We take a selection. The first is an equation whose number of roots changes as a parameter crosses a critical value.
Try this. Keep and lower from towards . Watch the two roots move together. Then change and find the new critical .
- roots
What to notice
The two roots merge when the line becomes the dashed tangent , at (for , ), touching the curve at . For smaller the line passes underneath and there is no root. The critical case is where the line through the origin is tangent to the curve.
Show that, for and , the equation has two real roots, one, or none, according as , or .
Hint
Hint
Solution
For , , so every root is positive. Let ; then and as (the exponential beats the linear term).
is strictly increasing. If , then on , increases from , and there is no root; note , consistent with the claim. If , decreases on and increases on , where . Its least value is
which is negative, zero or positive as , or . By the intermediate value theorem and monotonicity on each side of , there are two roots, one (double) root at , or none, in the three cases. Geometrically, is the tangent from the origin, touching at .
Show that has no real root except , and that has no real root except , which is a triple root. (Hardy says it has “three real roots”; that is true only if the root is counted three times, with its multiplicity.)
Hint
Solution
First. has , negative for and positive for . So has its least value and is positive elsewhere.
Second. has , with equality only at . So is strictly increasing, and is its only zero: for , for . Since and , the zero has multiplicity three: near , . Counting multiplicity, as one does for polynomial equations, that is “three real roots”, all at .
Prove that
Hint
Solution
Integrating by parts with as the factor to integrate:
Multiply by : and . Solving, and . Differentiating the answers confirms them, also when . (In Chapter X both formulae become one: the real and imaginary parts of .)
Try this. Look at and its successive maxima. Change and watch how quickly they shrink.
- e^(−ax) sin bx
- trace point (drag)
What to notice
The maxima shrink by the same factor from one to the next: they form a geometric progression with ratio , because consecutive maxima are a period apart. The next exercise proves it and finds the curve on which they lie.
For , show that has infinitely many maxima, that their values form a geometric progression, and that they lie on the curve .
Hint
Solution
exactly when . Let with , so . The stationary points are . Where is even, and changes from positive to negative (maxima); where is odd, minima.
At the maximum the value is , so the maxima lie on the stated curve. Consecutive maxima are apart, so , a constant: a geometric progression.
The hyperbolic functions
Hardy introduces them in Examples LXXXVIII, 20–28:
with , , as reciprocals. They satisfy identities that look like the trigonometric ones, with some signs changed, for example (the point runs along the hyperbola , hence the name). Chapter X explains the likeness: .
Prove that , that , that , and that .
Hint
Solution
.
.
. And has numerator smaller in absolute value than the (positive) denominator, since .
Show that is a one-to-one map of the real line onto itself, with inverse ; and that maps the real line one-to-one onto , with inverse . Deduce for .
Hint
Solution
. , and as , so is a continuous strictly increasing map onto . To invert, put : , i.e. , so . Only the plus sign gives . Hence .
. , as (divide numerator and denominator by ). With , gives , so for .
The integral. . And , which differs by a constant.
Show that has a very large positive root, and estimate it.
Hint
Solution
For the equation is equivalent to . The function is negative at () and positive at (), so there is a root between.
Write . Then . Starting from : ; again: ; again: . So the root is . Hardy stops after one step, at , and says the error is less than ; the true root is , so his estimate is off by about . (There are two other real roots, near and near : on each, must be close to , which forces to within about of .)
Check yourself
What is (to 4 decimal places)?
. This is the constant that converts natural logarithms into common ones.
If , what is ?
. Check: . A larger base gives smaller logarithms, by the factor .
is defined for every .
False. for every , so has no solution when and every is a solution when . In the formula , the denominator .
How many real roots has ?
Here , , so the line is steeper than the tangent from the origin and cuts the curve twice (near and ). With there would be none.
Hardy’s language
Summary
- : all logarithms are constant multiples of the natural one; and .
- Logarithms turn multiplication into addition of lengths (the slide rule); the base only sets the unit.
- () has two, one or no roots as , , : the critical line is the tangent from the origin.
- , , are built from ; their inverses are logarithms, e.g. .