4 Applications of the Derivative

4.3 Differentials

In Section 2.2 we explored the meaning and use of the derivative. This section starts by revisiting some of those ideas.

Recall that the derivative of a function f can be used to find the slopes of lines tangent to the graph of f. At x=c, the tangent line to the graph of f has equation

y=f(c)(x-c)+f(c).

The tangent line can be used to find good approximations of f(x) for values of x near c. (This tangent line is also called the linearization of f at c.)

For instance, we can approximate sin1.1 using the tangent line to the graph of f(x)=sinx at x=π/31.05. Recall that sin(π/3)=3/20.866, and cos(π/3)=1/2. Thus the tangent line to f(x)=sinx at x=π/3 is:

(x)=12(x-π/3)+0.866.
margin: 0.51π332xy (a)0.870.880.89π31.132(1.1)sin1.1sin1.1xy (b) Figure 4.3.1: Graphing f(x)=sinx and its tangent line at x=π/3 in order to estimate sin1.1. Λ

In Figure 4.3.1(a), we see a graph of f(x)=sinx graphed along with its tangent line at x=π/3. The small rectangle shows the region that is displayed in Figure 4.3.1(b). In this figure, we see how we are approximating sin1.1 with the tangent line, evaluated at 1.1. Together, the two figures show how close these values are.

Using this line to approximate sin1.1, we have:

(1.1) =12(1.1-π/3)+0.866
=12(0.053)+0.866=0.8925.

(We leave it to the reader to see how good of an approximation this is.)

We now generalize this concept. Given f(x) and an x-value c, the tangent line is (x)=f(c)(x-c)+f(c). Clearly, f(c)=(c). Let Δx be a small number, representing a small change in x value. We assert that:

f(c+Δx)(c+Δx),

since the tangent line to a function approximates well the values of that function near x=c.

As the x value changes from c to c+Δx, the y value of f changes from f(c) to f(c+Δx). We call this change of y value Δy. That is:

Δy=f(c+Δx)-f(c).

Replacing f(c+Δx) with its tangent line approximation, we have

Δy (c+Δx)-f(c)
=f(c)((c+Δx)-c)+f(c)-f(c)
=f(c)Δx (4.3.1)

This final equation is important; we’ll come back to it in Key Idea 4.3.1.

We introduce two new variables, dx and dy in the context of a formal definition.

Definition 4.3.1 Differentials of x and y.

Let y=f(x) be differentiable. The differential of x, denoted dx, is any nonzero real number (usually taken to be a small number). The differential of y, denoted dy, is

dy=f(x)dx.

We can solve for f(x) in the above equation: f(x)=dy/dx. This states that the derivative of f with respect to x is the differential of y divided by the differential of x; this is not the alternate notation for the derivative, dydx. This latter notation was chosen because of the fraction-like qualities of the derivative, but again, it is one symbol and not a fraction.

It is helpful to organize our new concepts and notations in one place and an accompanying figure.

margin: dx=Δx}dy}Δyxy Figure 4.3.2: The distances involved in Key Idea 4.3.1. Λ
Key Idea 4.3.1 Differential Notation

Let y=f(x) be a differentiable function.

  1. (a)

    Δx represents a small, nonzero change in x value.

  2. (b)

    dx represents a small, nonzero change in x value (i.e., Δx=dx).

  3. (c)

    Δy is the change in y value as x changes by Δx; hence

    Δy=f(x+Δx)-f(x).
  4. (d)

    dy=f(x)dx which, by Equation (4.3.1), is an approximation of the change in y value as x changes by Δx; dyΔy.

What is the value of differentials? Like many mathematical concepts, differentials provide both practical and theoretical benefits. We explore both here.

Example 4.3.1 Finding and using differentials

Consider f(x)=x2. Knowing f(3)=9, approximate f(3.1).

SolutionThe x value is changing from x=3 to x=3.1; therefore, we see that dx=0.1. If we know how much the y value changes from f(3) to f(3.1) (i.e., if we know Δy), we will know exactly what f(3.1) is (since we already know f(3)). We can approximate Δy with dy.

Δy dy
=f(3)dx
=230.1=0.6.

We expect the y value to change by about 0.6, so we approximate f(3.1)9.6.

We leave it to the reader to verify this, but the preceding discussion links the differential to the tangent line of f(x) at x=3. One can verify that the tangent line, evaluated at x=3.1, also gives y=9.6.

Of course, it is easy to compute the actual answer (by hand or with a calculator): 3.12=9.61. (Before we get too cynical and say “Then why bother?”, note our approximation is really good!)

So why bother?

In “most” real life situations, we do not know the function that describes a particular behavior. Instead, we can only take measurements of how things change — measurements of the derivative.

Imagine water flowing down a winding channel. It is easy to measure the speed and direction (i.e., the velocity) of water at any location. It is very hard to create a function that describes the overall flow, hence it is hard to predict where a floating object placed at the beginning of the channel will end up. However, we can approximate the path of an object using differentials. Over small intervals, the path taken by a floating object is essentially linear. Differentials allow us to approximate the true path by piecing together lots of short, linear paths. This technique is called Euler’s Method, studied in introductory Differential Equations courses.

We use differentials once more to approximate the value of a function. Even though calculators are very accessible, it is neat to see how these techniques can sometimes be used to easily compute something that looks rather hard.

Example 4.3.2 Using differentials to approximate a function value

Approximate 4.5.

SolutionWe expect 4.52, yet we can do better. Let f(x)=x, and let c=4. Thus f(4)=2. We can compute f(x)=1/(2x), so f(4)=1/4.

We approximate the difference between f(4.5) and f(4) using differentials, with dx=0.5:

f(4.5)-f(4)=Δydy=f(4)dx=1/41/2=1/8=0.125.

The approximate change in f from x=4 to x=4.5 is 0.125, so we approximate 4.52.125.

Differentials are important when we discuss integration. When we study that topic, we will use notation such as

f(x)dx

quite often. While we don’t discuss here what all of that notation means, note the existence of the differential dx. Proper handling of integrals comes with proper handling of differentials.

In light of that, we practice finding differentials in general.

Example 4.3.3 Finding differentials

In each of the following, find the differential dy.

1.y=sinx    2.y=ex(x2+2)    3.y=x2+3x-1

Solution

  1. (a)

    y=sinx:  As f(x)=sinx, f(x)=cosx. Thus

    dy=cos(x)dx.
  2. (b)

    y=ex(x2+2): Let f(x)=ex(x2+2). We need f(x), requiring the Product Rule.

    We have f(x)=ex(x2+2)+2xex, so

    dy=(ex(x2+2)+2xex)dx.
  3. (c)

    y=x2+3x-1: Let f(x)=x2+3x-1; we need f(x), requiring the Chain Rule.

    We have f(x)=12(x2+3x-1)-12(2x+3)=2x+32x2+3x-1. Thus

    dy=(2x+3)dx2x2+3x-1.

Finding the differential dy of y=f(x) is really no harder than finding the derivative of f; we just multiply f(x) by dx. It is important to remember that we are not simply adding the symbol “dx” at the end.

We have seen a practical use of differentials as they offer a good method of making certain approximations. Another use is error propagation. Suppose a length is measured to be x, although the actual value is x+Δx (where we hope Δx is small). This measurement of x may be used to compute some other value; we can think of this as f(x) for some function f. As the true length is x+Δx, one really should have computed f(x+Δx). The difference between f(x) and f(x+Δx) is the propagated error.

How close are f(x) and f(x+Δx)? This is a difference in “y” values;

f(x+Δx)-f(x)=Δydy.

We can approximate the propagated error using differentials.

Example 4.3.4 Using differentials to approximate propagated error

A steel ball bearing is to be manufactured with a diameter of 2cm. The manufacturing process has a tolerance of ±0.1mm in the diameter. Given that the density of steel is about 7.85g/cm3, estimate the propagated error in the mass of the ball bearing.

SolutionThe mass of a ball bearing is found using the equation “mass = volume × density.” In this situation the mass function is a product of the radius of the ball bearing, hence it is m=7.8543πr3. The differential of the mass is

dm=31.4πr2dr.

The radius is to be 1cm; the manufacturing tolerance in the radius is ±0.05mm, or ±0.005cm. The propagated error is approximately:

Δm dm
=31.4π(1)2(±0.005)
=±0.493g

Is this error significant? It certainly depends on the application, but we can get an idea by computing the relative error. The ratio between amount of error to the total mass is

dmm =±0.4937.8543π
=±0.49332.88
=±0.015,

or ±1.5%.

We leave it to the reader to confirm this, but if the diameter of the ball was supposed to be 10cm, the same manufacturing tolerance would give a propagated error in mass of ±12.33g, which corresponds to a percent error of ±0.19%. While the amount of error is much greater (12.33>0.493), the percent error is much lower.

Exercises 4.3

 

Terms and Concepts

  1. 1.

    T/F: Given a differentiable function y=f(x), we are generally free to choose a value for dx, which then determines the value of dy.

  2. 2.

    T/F: The symbols “dx” and “Δx” represent the same concept.

  3. 3.

    T/F: The symbols “dy” and “Δy” represent the same concept.

  4. 4.

    T/F: Differentials are important in the study of integration.

  5. 5.

    How are differentials and tangent lines related?

  6. 6.

    T/F:In real life, differentials are used to approximate function values when the function itself is not known.

Problems

In Exercises 7–16., use differentials to approximate the given value by hand.

  1. 7.

    2.052

  2. 8.

    5.932

  3. 9.

    5.13

  4. 10.

    6.83

  5. 11.

    16.5

  6. 12.

    24

  7. 13.

    633

  8. 14.

    8.53

  9. 15.

    sin3

  10. 16.

    e0.1

In Exercises 17–30., compute the differential dy.

  1. 17.

    y=x2+3x-5

  2. 18.

    y=x7-x5

  3. 19.

    y=14x2

  4. 20.

    y=(2x+sinx)2

  5. 21.

    y=x2e3x

  6. 22.

    y=4x4

  7. 23.

    y=2xtanx+1

  8. 24.

    y=ln(5x)

  9. 25.

    y=exsinx

  10. 26.

    y=cos(sinx)

  11. 27.

    y=x+1x+2

  12. 28.

    y=3xlnx

  13. 29.

    y=xlnx-x

  14. 30.

    y=ln(secx)

In Exercises 31–36., use the linear approximation (1+x)k1+kx to find an approximation for the function f(x) for values of x near zero.

  1. 31.

    f(x)=(1-x)6

  2. 32.

    f(x)=21-x

  3. 33.

    f(x)=11+x

  4. 34.

    f(x)=2+x2

  5. 35.

    f(x)=(4+3x)1/3

  6. 36.

    f(x)=(1-12+x)23

Exercises 37–40. use differentials to approximate propagated error

  1. 37.

    A set of plastic spheres are to be made with a diameter of 1cm. If the manufacturing process is accurate to 1mm, what is the propagated error in volume of the spheres?

  2. 38.
    The distance, in feet, a stone drops in t seconds is given by d(t)=16t2. The depth of a hole is to be approximated by dropping a rock and listening for it to hit the bottom. What is the propagated error if the time measurement is accurate to 2/10ths of a second and the measured time is: (a) 2 seconds? (b) 5 seconds?
  3. 39.

    What is the propagated error in the measurement of the cross sectional area of a circular log if the diameter is measured at 15′′, accurate to 1/4′′?

  4. 40.

    A wall is to be painted that is exactly 8 high and is measured to be 10, 7′′ long. Find the propagated error in the measurement of the wall’s surface area if the measurement of the length is accurate to 1/2′′.

Exercises 41–44. explore some issues related to surveying in which distances are approximated using other measured distances and measured angles. (Hint: Convert all angles to radians before computing.)

  1. 41.
    The length l of a long wall is to be approximated. The angle θ, as shown in the diagram (not to scale), is measured to be 85.2, accurate to 1. Assume that the triangle formed is a right triangle. l=?θ25 (a) What is the measured length l of the wall? (b) What is the propagated error? (c) What is the percent error?
  2. 42.

    Answer the questions of 41., but with a measured angle of 71.5, accurate to 1, measured from a point 100 from the wall.

  3. 43.
    The length l of a long wall is to be calculated by measuring the angle θ shown in the diagram (not to scale). Assume the formed triangle is an isosceles triangle. The measured angle is 143, accurate to 1. l=?θ50 (a) What is the measured length of the wall? (b) What is the propagated error? (c) What is the percent error?
  4. 44.

    Consider the setup in 43.. This time, assume the angle measurement of 143 is exact but the measured 50 from the wall is accurate to 6′′. What is the approximate percent error?

  1. 45.

    Show that the linearization of f(x)=(1+x)k at x=0 is L(x)=1+kx.

Omni CMS