Near a base point a curve is close to its tangent line: f(x) ≈ f(x₀) + f′(x₀)(x − x₀). Five standard approximations near 0 (sin, cos, eˣ, ln(1 + x), (1 + x)ʳ) combine by algebra alone. Adding a term with the second derivative gives the best-fitting parabola.
This lecture opens Unit 2 of 18.01, applications of differentiation. The first application is approximation: replacing a hard function by a simple one that is nearly equal to it close to a chosen point.
The right-hand side is the equation of the tangent line at the base pointx0. So the formula says: near the point of tangency, the curve and its tangent line are close. Far away, the curve can go anywhere it likes, and the approximation means nothing.
Example. Take f(x)=lnx with base pointx0=1, the one place where the logarithm is known exactly. Then f(1)=0 and f′(1)=1/1=1, so (p. 1; notes, p. 1)
Logarithm near 1
lnx≈0+1⋅(x−1)=x−1(x near 1)
In words
log x is approximately 0 plus 1 times the quantity x minus 1, equals x minus 1 (x near 1)
capital delta f over the quantity capital delta x, is approximately f prime ( x nought ), capital delta f is approximately f prime ( x nought ) capital delta x
To keep things simple, the standard list always uses the base pointx0=0, where the formula reads f(x)≈f(0)+f′(0)x (transcript, p. 3). For each function, find f(0) and f′(0) (pp. 3–5):
sine x is approximately x, cos x is approximately 1, e to the power x is approximately 1 plus x, log of the quantity 1 plus x, is approximately x, the quantity 1 plus x, all to the power r is approximately 1 plus r x
Geometrically: the tangent to sinx at 0 is y=x; the tangent to cosx is the horizontal line y=1, since the cosine has its top there; the tangent to ex is y=1+x (p. 4).
Why ln(1+x) and (1+x)r rather than lnx and xr? At x=0 the logarithm goes down to minus infinity and xr can have an infinite slope, so 0 is a bad base point for them. Shifting by 1 moves the good base point to 0: with u=1+x, the earlier result lnu≈u−1 becomes ln(1+x)≈x. It is the same computation in a new variable (p. 5; notes, p. 1).
What is the approximation for? Take ln1.1. With ln(1+x)≈x and x=1/10, at a glance ln1.1≈0.1 (p. 5).
Jerison stresses which side is which. The left side, ln1.1, needs a calculator; the right side, one tenth, is easy. Down the whole table, the hard functions are on the left and simple polynomials on the right. That is the point of a linear approximation: if it is valid, it replaces something hard by something you can work with (pp. 5–6). [The true value is ln1.1=0.0953…]
The five formulas can be combined without any further calculus. In the lecture's Example 3, find the linear approximation near 0 of e−3x/1+x (transcript, pp. 6–7). Write it as a product, e−3x(1+x)−1/2, and use eu≈1+u with u=−3x and (1+x)r≈1+rx with r=−21:
Combining two approximations
e−3x(1+x)−1/2≈(1−3x)(1−21x)=1−27x+23x2≈1−27x
In words
e to the power minus 3 x the quantity 1 plus x, all to the power minus one half is approximately the quantity 1 minus 3 x, the quantity 1 minus one half x, equals 1 minus seven halves x plus three halves x squared is approximately 1 minus seven halves x
The last step drops the x2 term. That is not carelessness: each factor was already approximated by throwing away its own x2 terms, so the 23x2 is only one of many quadratic terms, and keeping it alone would be wrong. Only the linear part is valid (p. 7). [The notes work the same example with e−2x and get 1−25x (notes, pp. 2–3).]
A student asked whether differentiating directly gives the same answer. It must: the approximation is f(0)+f′(0)x, so this shortcut shows at once that f(0)=1 and f′(0)=−27, without a long product-rule computation (p. 9).
Special relativity says that a clock moving at speed v runs slow. If T is the time on the satellite's clock and T′ the time on a watch on the ground (transcript, p. 7; notes, pp. 3–4):
Time dilation
T′=1−v2/c2T
In words
T prime equals T over the quantity the square root of 1 minus v squared over c squared, end of root
[The transcript says "(1−u)1/2" at this point; the exponent is −21, as the next step uses.] GPS satellites move at about 4 km/s and light at 3×105 km/s, so v2/c2 is about 10−10 (p. 8). Jerison reports that the engineers used exactly this approximation to offset the satellites' transmitter frequency, and that the next term, of size u2∼10−20, is far too small to matter (p. 8). [The full GPS clock correction also includes a larger effect of gravity, from general relativity; the lecture discusses only the speed part.]
Worked example
Three quick estimates
Estimate (a) 1.02, (b) the linear approximation of 1+4xe−x near 0, and (c) how much a clock moving at 8.0 km/s falls behind in one day, using the linear approximation.
(a) A square root
1.02=(1+0.02)1/2≈1+21×0.02=1.01. The true value is 1.00995…
(b) A product
(1+4x)1/2≈1+2x and e−x≈1−x, so the product is ≈1+2x−x=1+x, dropping the −2x2.
(c) A fast clock
v2/c2=(8.0/(3.0×105))2≈7.1×10−10, so T′−T≈21×7.1×10−10×86,400s≈3.1×10−5 s: about 31 microseconds a day.
f(x)≈f(x0)+f′(x0)(x−x0)+2f′′(x0)(x−x0)2(x near x0)
In words
f(x) is approximately f( x nought ) plus f prime ( x nought ) the quantity x minus x nought, all plus f double prime ( x nought ) over 2, times the quantity x minus x nought, all squared (x near x nought )
The first two terms are the linear part; the last is the quadratic part. For ln1.1 the quadratic version gives 101−21(101)2=0.1−0.005=0.095, a little less than 0.1 and closer to the true 0.0953 (transcript, p. 10).
Where the ½ comes from. The quadratic approximation should be exact for a quadratic. Take f(x)=a0+a1x+a2x2: then f(0)=a0, f′(0)=a1 and f′′(x)=2a2, so a2=f′′(0)/2 (notes, p. 4). The lecture leaves this for the next time (transcript, p. 10).
Each function needs one more number, f′′(0). The lecture works out the first three and then runs out of time, saving the rest for next time (transcript, pp. 10–11); the last two entries below are from the notes (notes, p. 5):
sinx: f′′=−sinx, so f′′(0)=0 and there is nox2 term. The linear approximationsinx≈x is already quadratic, which is why it is so good.
cos x is approximately 1 minus one half x squared, e to the power x is approximately 1 plus x plus one half x squared, log of the quantity 1 plus x, is approximately x minus one half x squared, the quantity 1 plus x, all to the power r is approximately 1 plus r x plus r the quantity r minus 1, over 2, times x squared
The geometric meaning. For cosx the tangent liney=1 does not even say whether the curve is above or below 1 nearby. The parabolay=1−21x2 does: it bends down with the curve and is the best-fitting parabola at that point (transcript, pp. 10–11).
Loading graph…
ln(1+x) with its linear and quadratic approximations at 0, all computed from their formulas. Near 0 the parabola hugs the curve much longer than the tangent line; far from 0 both fail. At x=0.1 the values are 0.0953 (true), 0.1 (linear) and 0.095 (quadratic).
The notes apply the quadratic list in two more places (notes, pp. 5–6):
The GPS clock again. The quadratic term in (1−v2/c2)−1/2 is 83(v2/c2)2, of order10−20: smaller than any clock can measure, so the linear approximation is enough.
e to the power minus 2 x over the square root of 1 plus x, end of root, is approximately the quantity 1 minus 2 x plus 2 x squared, the quantity 1 minus one half x plus three eighths x squared, is approximately 1 minus five halves x plus 27 over 8, times x squared
The value a quantity gets closer and closer to, as near as we like, as its input approaches some value, without having to reach it. Explained in Rates of change and area under a graph.
How fast one quantity changes compared with another, often time: the change in the first divided by the change in the second. Explained in Rates of change and area under a graph.
Replacing a function near a point by the straight line, or flat plane, that best matches it there, using its first derivatives. Explained in Change of variables in double integrals.
Of a relation or equation: using only first powers of the unknowns, so doubling the cause doubles the effect and effects simply add. Explained in Solving and rearranging formulas.
Einstein's 1905 theory of space and time for observers in steady motion, built on the speed of light being the same for all of them. Explained in The postulates of special relativity.
Einstein's 1915 theory of gravity, in which mass and energy curve spacetime and freely falling bodies follow the straightest possible paths through it. Explained in The equivalence principle and metrics.
The change in the frequency of a wave when its source and the observer move towards or away from each other. Explained in The Doppler effect for sound.
The slowing of a moving clock as seen by an observer it moves past, predicted by special relativity. Explained in Time dilation and length contraction.
The difference between a measured or computed value and the true one; often how large that difference may be.
Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).