Kittttttan*s Web

日本語 | English

Calculus

Introduction to Calculus

1.1 Velocity and Distance

The right way to begin a calculus book is with calculus. This chapter will jump directly into the two problems that the subject was invented to solve. You will see what the questions are, and you will see an important part of the answer. There are plenty of good things left for the other chapters, so why not get started?

The book begins with an example that is familiar to everybody who drives a car. It is calculus in action—the driver sees it happening. The example is the relation between the speedometer and the odometer. One measures the speed (or velocity); the other measures the distance traveled. We will write v for the velocity, and ƒ for how far the car has gone. The two instruments sit together on the dashboard:

Velocity v and total distance ƒ (at one instant of time).
[Fig. 1.1]

Notice that the units of measurement are different for v and f.The distance ƒ is measured in kilometers or miles (it is easier to say miles). The velocity v is measured in km/hr or miles per hour. A unit of time enters the velocity but not the distance. Every formula to compute v from ƒ will have f divided by time.

The central question of calculus is the relation between v and ƒ.

Can you find v if you know ƒ, and vice versa, and how? If we know the velocity over the whole history of the car, we should be able to compute the total distance traveled. In other words, if the speedometer record is complete but the odometer is missing, its information could be recovered. One way to do it (without calculus) is to put in a new odometer and drive the car all over again at the right speeds. That seems like a hard way; calculus may be easier. But the point is that the information is there. If we know everything about v, there must be a method to find ƒ.

What happens in the opposite direction, when ƒ is known? If you have a complete record of distance, could you recover the complete velocity? In principle you could drive the car, repeat the history, and read off the speed. Again there must be a better way.

The whole subject of calculus is built on the relation between v and ƒ. The question we are raising here is not some kind of joke, after which the book will get serious and the mathematics will get started. On the contrary, I am serious now-and the mathematics has already started. We need to know how to find the velocity from a record of the distance. (That is called differentiation, and it is the central idea of differential calculus.) We also want to compute the distance from a history of the velocity. (That is integration, and it is the goal of integral calculus.)

Differentiation goes from ƒ to v; integration goes from v to ƒ. We look first at examples in which these pairs can be computed and understood.

CONSTANT VELOCITY

Suppose the velocity is fixed at v=60 (miles per hour). Then f increases at this constant rate. After two hours the distance is ƒ=120 (miles). After four hours f=240 and after t hours ƒ=60t. We say that ƒ increases linearly with time—its graph is a straight line.

Constant velocity v=60 and linearly increasing distance ƒ=60t.
[Fig. 1.2]

Notice that this example starts the car at full velocity. No time is spent picking up speed. (The velocity is a "step function".) Notice also that the distance starts at zero; the car is new. Those decisions make the graphs of v and f as neat as possible. One is the horizontal line v=60. The other is the sloping line ƒ=60t. This v, ƒ, t relation needs algebra but not calculus:

if v is constant and ƒ starts at zero then ƒ = vt.

The opposite is also true. When ƒ increases linearly, v is constant. The division by time gives the slope. The distance is ƒ1=120 miles when the time is t1=2 hours. Later ƒ2=240 at t2=4. At both points, the ratio ƒ/t is 60 miles/hour. Geometrically, the velocity is the slope of the distance graph:

slope = change in distance ⁄ change in time = vt ⁄ t = v.

Straight lines ƒ = 20 + 60t (slope 60) and ƒ = -30t (slope -30).
[Fig. 1.3]

The slope of the ƒ-graph gives the v-graph. Figure 1.3 shows two more possibilities:

  1. The distance starts at 20 instead of 0. The distance formula changes from 60t to 20 + 60t. The number 20 cancels when we compute change in distance—so the slope is still 60.
  2. When v is negative, the graph of ƒ goes downward. The car goes backward and the slope of ƒ = -30t is v = -30.

I don't think speedometers go below zero. But driving backwards, it's not that safe to watch. If you go fast enough, Toyota says they measure "absolute values"—the speedometer reads +30 when the velocity is -30. For the odometer, as far as I know it just stops. It should go backward.*1

VELOCITY vs. DISTANCE: SLOPE vs. AREA

How do you compute ƒ from v? The point of the question is to see ƒ = vt on the graphs. We want to start with the graph of v and discover the graph of ƒ. Amazingly, the opposite of slope is area.

The distance ƒ is the area under the v-graph. When v is constant, the region under the graph is a rectangle. Its height is v, its width is t, and its area is v times t. This is integration, to go from v to f by computing the area. We are glimpsing two of the central facts of calculus.

1A   The slope of the ƒ-graph gives the velocity v. The area under the v-graph gives the distance ƒ.

That is certainly not obvious, and I hesitated a long time before I wrote it down in this first section. The best way to understand it is to look first at more examples. The whole point of calculus is to deal with velocities that are not constant, and from now on v has several values.

EXAMPLE (Forward and back) There is a motion that you will understand right away. The car goes forward with velocity V, and comes back at the same speed. To say it more correctly, the velocity in the second part is -V. If the forward part lasts until t = 3, and the backward part continues to t = 6, the car will come back where it started. The total distance after both parts will be ƒ = 0.

Velocities + V and -V give motion forward and back, ending at ƒ(6)=0.
[Fig. 1.4]

The v-graph shows velocities +V and -V. The distance starts up with slope +V and reaches ƒ = 3V. Then the car starts backward. The distance goes down with slope -V and returns to ƒ = 0 at t = 6.

Notice what that means. The total area "under" the v-graph is zero! A negative velocity makes the distance graph go downward (negative slope). The car is moving backward. Area below the axis in the v-graph is counted as negative.

FUNCTION

This forward-back example gives practice with a crucially important idea—the concept of a "function". We seize this golden opportunity to explain functions:

The number v(t) is the value of the function v at the time t.

The time t is the input to the function. The velocity v(t) at that time is the output. Most people say "v of t" when they read v(t). The number "v of 2" is the velocity when t = 2. The forward-back example has v(2) = +V and v(4) = -V. The function contains the whole history, like a memory bank that has a record of v at each t.

It is simple to convert forward-back motion into a formula. Here is v(t):

v(t)={+Vif 0<t<3
?if t=3
-Vif 3<t<6

The right side contains the instructions for finding v(t). The input t is converted into the output +V or -V. The velocity v(t) depends on t. In this case the function is "discontinuous," because the needle jumps at t = 3. The velocity is not defined at that instant. There is no v(3). (You might argue that v is zero at the jump, but that leads to trouble.) The graph of ƒ has a corner, and we can't give its slope.

The problem also involves a second function, namely the distance. The principle behind ƒ(t) is the same: ƒ(t) is the distance at time t. It is the net distance forward, and again the instructions change at t = 3. In the forward motion, ƒ(t) equals Vt as before. In the backward half, a calculation is built into the formula for ƒ(t):

ƒ(t)={Vtif 0≤t≤3
V(6-t)if 3≤t≤6

At the switching time the right side gives two instructions (one on each line). This would be bad except that they agree: ƒ(3) = 3V *2. The distance function is "continuous." There is no jump in ƒ, even when there is a jump in v. After t = 3 the distance decreases because of -Vt. At t = 6 the second instruction correctly gives ƒ(6) = 0.

Notice something more. The functions were given by graphs before they were given by formulas. The graphs tell you ƒ and v at every time t—sometimes more clearly than the formulas. The values ƒ(t) and v(t) can also be given by tables or equations or a set of instructions. (In some way all functions are instructions—the function tells how to find ƒ at time t.) Part of knowing ƒ is knowing all its inputs and outputs—its domain and range:

The domain of a function is the set of inputs. The range is the set of outputs.

The domain of ƒ consists of all times 0≤t≤6. The range consists of all distances 0≤f(t)≤3V. (The range of v contains only the two velocities +V and -V.) We mention now, and repeat later, that every "linear" function has a formula ƒ(t) = vt + C. Its graph is a line and v is the slope. The constant C moves the line up and down. It adjusts the line to go through any desired starting point.

SUMMARY: MORE ABOUT FUNCTIONS

May I collect together the ideas brought out by this example? We had two functions v and ƒ. One was velocity, the other was distance. Each function had a domain, and a range, and most important a graph. For the ƒ-graph we studied the slope (which agreed with v). For the v-graph we studied the area (which agreed with ƒ). Calculus produces functions in pairs, and the best thing a book can do early is to show you more of them.

in{input tfunction ƒoutput f(t)}in
theinput 2function voutput v(2)the
domaininput 7ƒ(t)=2t+6ƒ(7)=20range

Note about the definition of a function. The idea behind the symbol ƒ(t) is absolutely crucial to mathematics. Words don't do it justice! By definition, a function is a "rule" that assigns one member of the range to each member of the domain. Or, a function is a set of pairs (t, ƒ(t)) with no t appearing twice. (These are "ordered pairs" because we write t before ƒ(t).) Both of those definitions are correct—but somehow they are too passive.

In practice what matters is the active part. The number ƒ(t) is produced from the number t. We read a graph, plug into a formula, solve an equation, run a computer program. The input t is "mapped" to the output ƒ(t), which changes as t changes. Calculus is about the rate of change. This rate is our other function v.

Subtracting 2 from ƒ affects the range. Subtracting 2 from t affects the domain.
[Fig. 1.5]

It is quite hard at the beginning, and not automatic, to see the difference between ƒ(t)-2 and ƒ(t-2). Those are both new functions, created out of the original ƒ(t). In ƒ(t)-2, we subtract 2 from all the distances. That moves the whole graph down. In ƒ(t-2), we subtract 2 from the time. That moves the graph over to the right. Figure 1.5 shows both movements, starting from ƒ(t) = 2t + 1. The formula to find ƒ(t-2) is 2(t-2) + 1, which is 2t-3.

A graphing calculator also moves the graph, when you change the viewing window. You can pick any rectangle A≤t≤B, C≤ƒ(t)≤D. The screen shows that part of the graph. But on the calculator, the function ƒ(t) remains the same. It is the axes that get renumbered. In our figures the axes stay the same and the function is changed.

There are two more basic ways to change a function. (We are always creating new functions—that is what mathematics is all about.) Instead of subtracting or adding, we can multiply the distance by 2. Figure 1.6 shows 2f(t). And instead of shifting the time, we can speed it up. The function becomes ƒ(2t). Everything happens twice as fast (and takes half as long). On the calculator those changes correspond to a "zoom"—on the ƒ axis or the t axis. We soon come back to zooms.

Doubling the distance or speeding up the time doubles the slope.
[Fig. 1.6]

1.1 EXERCISES

Each section of the book contains read-through questions. They allow you to outline the section yourself-more actively than reading a summary. This is probably the best way to remember the important ideas.

Starting from ƒ(0) = 0 at constant velocity v, the distance function is ƒ(t) = a. When ƒ(t) = 55t the velocity is v = b. When ƒ(t) = 55t + 1000 the velocity is still c and the starting value is ƒ(0)= d. In each case v is the e of the graph of ƒ. When f is negative, the graph of g goes downward. In that case area in the v-graph counts as h.

Forward motion from ƒ(0) = 0 to ƒ(2) = 10 has v = i. Then backward motion to f(4) = 0 has v = j. The distance function is ƒ(t)= 5t for 0≤t≤2 and then ƒ(t) = k (not -5t). The slopes are l and m. The distance ƒ(3) = n. The area under the v-graph up to time 1.5 is o. The domain of ƒ is the time interval p, and the range is the distance interval q. The range of v(t) is only r.

The value of ƒ(t) = 3t + 1 at t = 2 is ƒ(2) = s. The value 19 equals ƒ(t). The difference ƒ(4) - ƒ(1) = u. That is the change in distance, when 4-1 is the change in v. The ratio of those changes equals w, which is the x of the graph. The formula for ƒ(t) + 2 is 3t + 3 whereas ƒ(t+2) equals y. Those functions have the same z as f: the graph of ƒ(t) + 2 is shifted A and ƒ(t+2) is shifted B. The formula for ƒ(5t) is C. The formula for 5ƒ(t) is D. The slope has jumped from 3 to E.

The set of inputs to a function is its F. The set of outputs is its G. The functions ƒ(t) = 7 + 3(t-2) and ƒ(t) = vt + C are H. Their graphs are I with slopes equal to J and K. They are the same function, if v = L and C = M.

Draw the velocity graph that goes with each distance graph.

  1. 1. graph
  2. 2. graph
  3. 3. Write down three-part formulas for the velocities u(t) in Problem 2, starting from v(t) = 2 for 0 <t<10.
  4. 4. The distance in lb starts with ƒ(t) = 10-lot for 0≤t≤1. Give a formula for the second part.
  5. 5. In the middle of graph 2a find ƒ(15) and ƒ(12) and ƒ(t).
  6. 6. In graph 2b find ƒ(1.4T). If T= 3 what is ƒ(4)?
  7. 7. Find the average speed between t = 0 and t = 5 in graph 1a. What is the speed at t = 5?
  8. 8. What is the average speed between t = 0 and t = 2 in graph 1b? The average speed is zero between t = 1⁄2 and t =  .
  9. 9. (recommended) A car goes at speed u = 20 into a brick wall at distance f-4. Give two-part formulas for v(t) and ƒ(t) (before and after), and draw the graphs.
  10. 10. Draw any reasonable graphs of v(t) and ƒ(t) when
    1. the driver backs up, stops to shift gear, then goes fast;
    2. the driver slows to 55 for a police car;
    3. in a rough gear change, the car accelerates in jumps;
    4. the driver waits for a light that turns green.
  11. 11. Your bank account earns simple interest on the opening balance ƒ(0). What are the interest rates per year?
    graph
  12. 12. The earth's population is growing at v = 100 million a year, starting from ƒ = 5.2 billion in 1990. Graph ƒ(t) and find ƒ(2000).

Draw the distance graph that goes with each velocity graph. Start from ƒ = 0 at t = 0 and mark the distance.

  1. 13. graph
  2. 14. graph
  3. 15. Write down formulas for v(t) in Problem 14, starting with v = -40 for 0<t<1. Find the average velocities to t = 2.5 and t = 3T.
  4. 16. Give 3-part formulas for the areas ƒ(t) under v(t) in 13.
  5. 17. The distance in 14a starts with ƒ(t)= -40t for 0≤t≤1. Find ƒ(t) in the other part, which passes through f = 0 at t = 2.
  6. 18. Draw the velocity and distance graphs if v(t) = 8 for 0<t<2, ƒ(t) = 20+t for 2≤t≤3.
  7. 19. Draw rough graphs of y = √x and y = √(x-4) and y = √x - 4. They are "half-parabolas" with infinite slope at the start.
  8. 20. What is the break-even point if x yearbooks cost $1200 + 30x to produce and the income is 40x? The slope of the cost line is   (cost per additional book). If it goes above   you can't break even.
  9. 21. What are the domains and ranges of the distance functions in 14a and 14b—all values of t and ƒ(t) if ƒ(0) = 0?
  10. 22. What is the range of u(t) in 14b? Why is t = 1 not in the domain of v(t) in 14a?

Problems 23-28 involve linear functions ƒ(t)= vt + C. Find the constants v and C.

  1. 23. What linear function has ƒ(0)= 3 and ƒ(2) = -1 ?
  2. 24. Find two linear functions whose domain is 0≤t≤2 and whose range is 1≤ƒ(t)≤9.
  3. 25. Find the linear function with ƒ(1) = 4 and slope 6.
  4. 26. What functions have ƒ(t+1) = ƒ(t) + 2?
  5. 27. Find the linear function with ƒ(t+2) = ƒ(t) + 6 and ƒ(1)= 10.
  6. 28. Find the only ƒ = vt that has ƒ(2t) = 4ƒ(t). Show that every ƒ = (1/2)at2 has this property. To go   times as far in twice the time, you must accelerate
  7. 29. Sketch the graph of ƒ(t) = |5 -2tl (absolute value) for |t|≤2 and find its slopes and range.
  8. 30. Sketch the graph of ƒ(t) = 4 - t - |4-t| for 2≤t≤5 and find its slope and range.
  9. 31. Suppose v = 8 up to time T, and after that v = -2. Starting from zero, when does ƒ return to zero? Give formulas for v(t) and ƒ(t).
  10. 32. Suppose v = 3 up to time T = 4. What new velocity will lead to ƒ(7) = 30 if ƒ(0) = 0? Give formulas for u(t) and ƒ(t).
  11. 33. What function F(C) converts Celsius temperature C to Fahrenheit temperature F? The slope is  , whish is the number of Fahrenheit degrees equivalent to 1°C.
  12. 34. What function C(F) converts Fahrenheit to Celsius (or Centigrade), and what is its slope?
  13. 35. What function converts the weight w in grams to the weight ƒ(w) in kilograms? Interpret the slope of f(w).
  14. 36. (Newspaper of March 1989) Ten hours after the accident the alcohol reading was .061. Blood alcohol is eliminated at .015 per hour. What was the reading at the time of the accident? How much later would it drop to .04 (the maximum set by the Coast Guard)? The usual limit on drivers is .10 percent.

Which points between t = 0 and t = 5 can be in the domain of ƒ(t)? With this domain find the range in 37-42.

  1. 37. ƒ(t) = √(t-1)
  2. 38. ƒ(t) = 1⁄√(t-1)
  3. 39. ƒ(t) = |t-4| (absolute value)
  4. 40. ƒ(t) = 1⁄((t-4)2)
  5. 41. ƒ(t) = 2t
  6. 42. ƒ(t) = 2-t
  7. 43.
    1. Draw the graph of ƒ(t) = it + 3 with domain 0≤t≤2. Then give a formula and graph for
    2. ƒ(t) + 1
    3. ƒ(t+1)
    4. 4ƒ(t)
    5. ƒ(4t).
  8. 44.
    1. Draw the graph of U(t) = step function = (0 for t<0, 1 for t≥0). Then draw
    2. U(t) + 2
    3. U(t + 2)
    4. 3U(t)
    5. U(3t).
  9. 45.
    1. Draw the graph of ƒ(t) = t + 1 for -1≤t≤1. Find the domain, range, slope, and formula for
    2. 2ƒ(t) + 2
    3. ƒ(t - 3)
    4. -ƒ(t)
    5. ƒ(-t).
  10. 46. If ƒ(t) = t - 1 what are 2ƒ(3t) and ƒ(1-t) and ƒ(t-I)?
  11. 47. In the forward-back example find ƒ((1/2)T) and ƒ(3T). Verify that those agree with the areas "under" the v-graph in Figure 1.4.
  12. 48. Find formulas for the outputs ƒ1(t) and ƒ2(t) which come from the input t:
    1. inside = input ∗ 3, output = inside + 3
    2. inside + input + 6, output tinside ∗ 3
    Note BASIC and FORTRAN (and calculus itself) use = instead of t.But the symbol tor := is in some ways better. The instruction t + t + 6 produces a new t equal to the old t plus six. The equation t = t + 6 is not intended.
  13. 49. Your computer can add and multiply. Starting with the number 1 and the input called t, give a list of instructions to lead to these outputs:
    ƒ1(t)=t2+t, ƒ2(t)=ƒ11(t)), ƒ3(t)=ƒ1(t+1).
  14. 50. In fifty words or less explain what a function is.

The last questions are challenging but possible.

  1. 51. If ƒ(t) = 3t - 1 for 0≤t≤2 give formulas (with domain) and find the slopes of these six functions:
    1. ƒ(t+2)
    2. ƒ(t) + 2
    3. 2ƒ(t)
    4. ƒ(2t)
    5. ƒ(-t)
    6. ƒ(ƒ(t)).
  2. 52. For ƒ(t) = ut + C find the formulas and slopes of
    1. 3ƒ(t) + 1
    2. ƒ(3t+1)
    3. 2ƒ(4t)
    4. ƒ(-t)
    5. ƒ(t) - ƒ(0)
    6. ƒ(ƒ(t)).
  3. 53 (hardest) The forward-back function is ƒ(t) = 2t for 0≤t≤3, ƒ(t)= 12-2t for 3≤t≤6. Graph ƒ(ƒ(t)) and find its four-part formula. First try t = 1.5 and 3.
  4. 54.
    1. Why is the letter X not the graph of a function?
    2. Which capital letters are the graphs of functions?
    3. Draw graphs of their slopes.