The Quick Calculus Tutorial - Math

The Quick Calculus Tutorial
This text is a quick introduction into Calculus ideas and techniques. It
is designed to help you if you take the Calculus based course Physics 211
at the same time with Calculus I, but you do not yet have any Calculus
background. But we will assume that you have some algebra/trigonometry
skills, of course you can refresh while you read. This guide is accompanied
by six short You-tube lectures going through the six sections (links see at
the end of each section). Take a look at the videos and read the text below,
it is not always quite the same things you will see. Do all the Exercises first
yourself! Stop and think and calculate all Examples yourselves while you go
along. Stop and rethink what you have learned all the time.
There is also available the Calculus Concept Companion . These are
notes from a course that introduces concepts with a different time-line (having an eye on what’s going on in your physic’s class) in comparison to how
the topics are covered in your section of Calculus I. Fell free to read the companion and use its resources while you go through your Physics/Calculus
courses. You can also read the sections out of order.
1
Lecture 1. What is the derivative?
Calculus is the Mathematics of Change. A typical framework to introduce
Calculus begins with the following question: How do we describe the motion
of a moving object?
Three real numbers x(t), y(t), z(t) tell us
an object’s position at time t and thus tell us
how the position is changing with time. Calculus begins with the question to describe
how fast the position is changing in time
and to describe the change in detail. This
leads to the notion of velocity. For example
x(1) = 2, y(1) = 2, z(1) = −1 means that
at time t = 1 we reach the object from the
origin by going two steps in the direction of
the positive x-axis, then two steps in the direction of the positive y-axis and finally one
step down in the direction of the negative z-axis.
In this tutorial we will only consider things moving along a single axis. Often
this may be a vertical motion like when you throw a ball vertically up and tell
the height z(t) above ground at each point in time in some interval of time.
There is a corresponding position functions z(t) (or sometimes x(t), y(t) for
motions that are not vertical like a car moving along a straight line.
For example imagine dropping a ball vertically down from a building 50
feet above the ground. Suppose we place the origin of the z-axis at ground
level. Then
z(t) = 64 − 16t2 , 0 ≤ t ≤ 2
will be the height of the ball above ground for all times t in the time interval
[0, 2]. When t = 2 then we have z(2) = 64 − 16 ⋅ 22 = 0 and the ball hits the
ground.
This is an example of a function. We call t the independent variable and
z the dependent variable in this case.
2
In Calculus books the notation is often different. But this is just a matter
of taste. (When we say y = 64 − 16x2 for 0 ≤ x ≤ 2 and tell that x is time and
y is the height above ground, we have given the same information, variable
names don’t matter but try to remember at all times what the variable names
stand
for.)
Don’t confuse the picture of the orbit of
a moving object with the position graph.
To the left you see the graph of the position graph of the object falling according to
z(t) = 64 − 16t2 during the interval [0, 2].
Now the graph of the position function
sloping down means that the object gets
faster and faster on its way down, the speed
is not constant. If the speed would be constant the object would fall equal distances
in equal time intervals. If we set up a table
showing the height z at times t we get
t 0.0 0.5 1.0 1.5 2.0
z 64 60 48 28
0
and see that while the object only falls 4 feet within the first half second it
falls 28 feet within the fourth half second.
Let us consider another example. A car is moving along the positive x-axis. It starts from rest and
accelerates within the first 10 seconds. The following picture shows
the graph of x(t). How fast is the
car at t = 5? Imagine you take your
feet from the pedal for a short moment ∆t at t = 5 and see how far
you go. Note that if we stop accelerating we move with the constant
velocity, which is the instantaneous
speed that we had at that moment. But how can we determine this velocity?
Suppose the position function is
x(t) = 6t2
3
If ∆t is small the velocity will not change considerably in the interval 5 ≤ t ≤
5 + ∆t. So we can approximate the instantaneous velocity by the average
velocity in this interval, which is for ∆t = 0.1:
vav =
∆x x(5.1) − x(5)
=
.
∆t
5.1 − 5
Let us calculate this average velocity (note that you use the binomial formula)
6 ⋅ 5.12 − 6 ⋅ 52
(5 + 0.1)2 − 52
52 + 2 ⋅ 5 ⋅ 0.1 + 0.01 − 52
=6⋅
=6⋅
= 6 ⋅ (10 + 0.1)
0.1
0.1
0.1
If we replace 0.1 by ∆t we get 6 ⋅ (10 + ∆t). Of course, when ∆t gets smaller
and smaller these number will get closer and closer to 6 ⋅ 10 = 60. This is the
(instantaneous) velocity at t = 5. We write:
v(5) =
dx
∆x
∣ = lim
dt t=5 ∆t→0 ∆t
Now we can do this calculation of the velocity for any time t. In this case
we have the notation:
dx
∆x
v(t) =
= lim
∆t→0
dt
∆t
You just have to be careful with the notation for ∆x because it does not
specify for which t we consider the average velocity.
t2 + 2t ⋅ ∆t + (∆t)2 − t2
∆x 6 ⋅ (t + ∆t)2 − 6t2
=
=6⋅
= 12t + ∆t
∆t
∆t
∆t
When ∆t get very small this quantity will be very close to 12t. Thus:
v(t) =
dx
= 12t
dt
is the derivative of x(t). Note that v(5) = 12 ⋅ 5 = 60, which we calculated
before. v(t) is the instantaneous velocity at time t. Now Calculus will be
a collection of algebraic rules how to calculate derivatives without going
through the above tedious procedure of calculating a limit. But don’t forget
the interpretation of the numbers x′ (t) for a given function x(t): x′ (t) is the
slope of the graph of x(t) for time t. In other words: If x′ (t) > 0 the values of
x(t) are increasing for time t: the velocity is positive. If x′ (t) = 0 the graph
has a horizontal tangent, it usually changes from sloping up to down or vice
4
versa: the velocity is zero at this point. If x′ (t) < 0 then the values of x(t)
are decreasing at time time: the velocity is negative.
Exercise: Consider x(t) = t3 . Calculate
dx
′
∣
dt t=1 = x (1).
∆x
∆t
for t = 1 and find from this
Watch the video Lecture 1 ∶ W hat is the Derivative?
Lecture 2. How to take derivatives?
In this section we will learn the basic rules of taking derivatives.
I. Linearity: Imagine you are walking in a train moving along the x-axis so
that x(t) is the coordinate of the center of the train, measured from some
origin O. You measure how far to the right you are from the center of the
train and call it y(t). Then your coordinate at time time is x(t) + y(t), which
is the distance to the right from the origin O.
What is your velocity with respect to ground: It obviously is the velocity
of the train added to your velocity with respect to the train. In Calculus
language this means:
d
dx dy
(x(t) + y(t)) =
+ .
dt
dt dt
Obviously if you replace x(t) by kx(t) for a constant number k then also
your velocity will be multiplied by k. Thus
d
dx
(kx(t)) = k .
dt
dt
5
This should be clear from the following picture, noting that
k ⋅ x(t) − k ⋅ x(t + ∆t) = k∆x.
Note that if k < 0 you move in the other direction and the velocity also turns
around.
II. Power Rule:
d n
t = ntn−1 ,
dt
where n can be any real number. In particular dtd k = dtd (k ⋅ 1) = dtd t0 = 0 for
a constant k. (Get a feeling for the rule: First take the exponent as a factor
down, then subtract one from the exponent.)
Examples: The following examples are calculated using linearity and the
power rule.
1.
d
(6t4 + 8t2 + 12t + 4) = 6 ⋅ 4t3 + 8 + 8 ⋅ 3t2 + 12 ⋅ 1 + 0 = 24t3 + 24t2 + 12
dt
So, for example the slope of x(t) = 6t4 + 8t3 + 12t + 4 (do you have an
idea how the graph looks like?) for t = 1 is
dx
∣ = 24 + 24 + 12 = 60
dt t=1
2.
1 1
1 1
1 1 1 4
d 1
d √
1
( t + t−1/3 ) = (t 2 + t− 3 ) = t 2 −1 + (− )t− 3 −1 = t− 2 − t− 3
dt
dt
2
3
2
3
1 1
1 1
= ⋅√ − ⋅√
2
t 3 3 t4
3. Suppose you throw up a ball such that the height at time t is given by
z(t) = 4 − (t − 2)2 = 4 − (t2 − 4t + 4) = 4t − t2 = t(4 − t).
What is the velocity after 1 second? (or what is the slope of the graph
of the position function shown below).
6
We calculate:
dz dt
= (4t − t2 ) = 4 − 2t,
dt dt
and so
dz
∣ = 4 − 2 = 2.
dt t=1
Does this answer look reasonable? Go from the point (1, 3) one unit to
the right and 2 units up. This would be the point you would end up if
gravity could be cut off (which of course it can’t) at t = 1. Note that
z ′ (2) = 0. This is the high point of the ball.
There a few more important derivatives.
d
1
ln(t) =
dt
t
d t
e = et ;
dt
d
sin(t) = cos(t) ;
dt
d
cos(t) = − sin(t)
dt
Look at the graphs of the sine and cosine function and compare the slopes
of sin(t) with the values of cos(t):
7
III. Product Rule and Quotient Rule: This tells how a product of two
functions f (t) and g(t) is changing when we change the independent variable.
df
dg
df
(f (t)g(t)) =
⋅ g(t) + f (t)
dt
dt
dt
The idea is to see the necessary quantities
∆(f g) = (∆f ) ⋅ g(t) + f (t) ⋅ ∆g + ∆f ⋅ ∆g
in the picture below. Here f (t) and g(t) denote the lengths of the two sides
of a rectangle so that f (t) ⋅ g(t) is the area. Note that for ∆t small ∆f ⋅ ∆g
is very small so that:
∆(f g) ∆f
∆g
=
⋅ g(t) + f (t) ⋅
∆t
∆t
∆t
By going over to the limit we get the product rule.
Examples:
1.
d 2
d
d
(t sin t) = ( t2 ) ⋅ sin t + t2 (⋅ sin t) = 2t sin t + t2 cos t
dt
dt
dt
2.
d t
(e sin t) = et sin t + et cos t = et (sin t + cos t)
dt
1
Note that x(t) ⋅ x(t)−1 = x(t) ⋅ x(t)
= 1 and the derivative of a constant is
0. So an application of the product rule gives
0=
d
dx
d
(x(t)x(t)−1 ) =
⋅ x(t)−1 + x(t) ⋅ x(t)−1 ,
t
dt
dt
8
and thus by solving for
d
−1
dt x(t)
we get
dx
d
x(t)−1 = − dt 2
dt
x(t)
Combining this with the product rule a simple calculation gives the quotient
rule
d x x′ ⋅ y − x ⋅ y ′
=
,
dt y
y2
where we have abbreviated x′ =
dx
dt
and y ′ =
dy
dt .
Example:
t
t
cos t − sin t d cos
d sin t d sin
d
dt
tan t =
= dt
dt
dt cos t
cos2 t
cos t cos t − sin t(− sin t) cos2 t + sin2 t
=
=
cos2 t
cos2 t
1
=
= sec2 t
cos2 t
What is the derivative of e−t ?
Let’s look at the graphs of et and e−t :
Consider for example at the slopes of e−t at t = −1. This is the negative of
the slope of et at t = 1. In fact in general we have that
d −t
e = −e−t
dt
(Note that this means in particular:
d −t
∣
dt e t=−1
9
= −e−(−1) = −e1 = −
d t
∣
dt e t=1 )
In general for each constant k:
d kt
e = kekt ,
dt
for example
d 3t
dt e
= 3e3t .
The above rule is actually a special case of the
IV. Chain Rule: Consider a composition of two functions f (t) = x(u(t))
(check your Precalculus book if you forgot what this means!)
What has this to do with ekt ? Well recall that is is also written exp(kt),
and we can consider this to be the composition of the function which multiplies by k and the exponential function, so u(t) = kt and x(u) = eu .
Then the chain rule is:
df dx dx du
=
=
⋅ .
dt dt du dt
The first term on the right hand side is more precisely
dx
∣ ,
du u(t)
so you have to take the derivative and then substitute u(t) for the argument.
dx
d u
d
Let’s apply this to the example above: Then du
= du
e = eu and du
dt = dt (kt) =
k and the result follows.
Examples:
10
1. Let x = ecos t . Then x(u) = eu and u(t) = cos t. Thus
d
dx cos t = − sin t
dx
= ecos t ⋅ (− sin t)
dt
d u
du e
= eu and
2. Let x = cos(sin t). Then x(u) = cos(u) and u(t) = sin t. We get
d
d
d
cos(sin(t)) =
cos(u)∣ ⋅ sin t = − sin(sin t) ⋅ cos(t)
dt
du
sin t dt
3. Suppose a particle moves along the z-axis and its position at time t is
2
given by x(t) = e−t +4t . Find the velocity at time t = 1. This is
dx
∣
dt t=1
We note that we have to find the derivative of the composition of x(u) =
eu with u(t) = −t2 + 4t. Note that for t = 1 we have u = −12 + 4 ⋅ 1 = 3.
dx
= eu and du
Then du
dt = −2t + 4. Thus
dx
du
dx
∣ =
∣ ⋅
∣ = e3 ⋅ 2 = 2e3
dt t=1 du u=3 dt t=1
Exercises:
1. Find the derivatives dx
dt :
√
√
ˆ x = t5 + t + √1t (Hint: t = t1/2 )
ˆ x = (t2 + 6)e3t
ˆ x = esin t ⋅ cos(t)
ˆ x = cos(cos(cos t))
ˆ x = ln cot t
2. Suppose an object moves along the y-axis and its position at time t is
given by y(t) = t2 cos(et ). Find the velocity at time t = ln( π2 ). (Hint:
You have to calculate dtd (t2 ⋅ cos(et ))∣t=ln( π ) . The calculation of the
2
derivative requires the product rule, the chain rule, the power rule and
the derivatives of et and cos t).
11
Watch the video Lecture 2 ∶ How to calculate Derivatives?
Lecture 3. How to calculate anti-derivatives?
Given the function of velocities for a motion, how do we find the position?
Well certainly we need to know additionally an initial position, the velocity
alone won’t be able to tell us the position. But since the velocity is the
derivative of the position, the position has to be an anti-derivative of the
velocity. Note that such an anti-derivative can only be determined up to a
constant. We write
∫ v(t)dt
to denote the anti-derivative, which is a class of functions. Now what does
this mean? Let’s say v(t) = t. Then
1 2
∫ v(t)dt = ∫ tdt = 2 t + C.
Here C stands for an arbitrary constant. Note that
d 1 2
1d 2 d
1
( t + C) =
t + C = ⋅ 2t = t
dt 2
2 dt
dt
2
Let’s say that for a motion along the x-axis we have given v(t) = 2t2 and an
initial position x(0) = 2. We first find the anti-derivative of v(t):
2 3
2
∫ 2t dt = 3 t + C,
so x(t) = 23 t3 + C for some constant C. This can be calculated from the
position at time 0:
2
x(0) = ⋅ 0 + C = 2
3
and so C = 2 and the position is
2
x(t) = t3 + 2.
3
But how did we know the anti-derivative of 2t2 . Well we can check that
d 2 3
2
( t + C) ⋅ 3t2 = t2 .
dt 3
3
12
In general taking anti-derivatives requires to turn around the rules we learned in
Section 2. This is easy for some of the rules
but hard for others. It also requires you to
get used to some conceptual understanding.
If you take a derivative you actually perform
an operation with input a function, let’s say
x, and output a function, then denoted dx
dt .
The anti-derivative is an operation somehow
turning this around. The anti-derivative has as input a function, let’s say
v(t), and as output a class of functions (a function plus all possible constants), then denoted ∫ v(t)dt. (We will explain the weird notation later
on).
Here are the basic rules: First linearity holds for integrals:
∫ (f (t) + g(t))dt = ∫ f (t)dt + ∫ g(t)dt ;
∫ kf (t)dt = k ∫ f (t)dt,
where k denotes a constant.
1 n+1
n
∫ t dt = n + 1 t + C for n ≠ −1
(Get a feeling for the rule: First add 1 to the exponent, then take the reciprocal
of the resulting number down as a factor.) Compare with the Power Rule.
Note that the right hand side is not defined for n = −1. This is the
exceptional rule:
dt
∫ t = ln ∣t∣ + C
Examples:
√
2
tdt = ∫ t1/2 dt = t3/2 + C
∫
3
1 5
1 6
∫ t + t dt = ln ∣t∣ + 6 t + C
Of course we have for constants k ≠ 0:
1 kt
kt
∫ e dt = k e + C
1
1
∫ sin(kt)dt = − k cos(kt) + C ; ∫ cos(kt)dt = k sin(kt) + C
13
Note that you will never need the above rules for k = 0 because e0 = 1,
sin(0) = 0 and cos(0) = 1. You will need the special case of the Reverse
Power Rule:
∫ kdt = kt + C
Examples:
1. Suppose that the velocity of a moving object is given by v(t) = 8 cos(2t)
and the initial position is x(0) = 0. Find the position function! We
know that the position function is an anti-derivative for a specif value
of the constant:
1
∫ 8 cos(2t)dt = 8 ∫ cos(2t)dt = 8 ⋅ 2 sin(2t) + C = 4 sin(2t) + C
Since 0 = x(0) = 4 sin(2 ⋅ 0) + C shows C = 0 we have
x(t) = 4 sin(2t)
−t and x(1) = 1. Find x(t)! We first find the
2. Suppose that dx
dt = e
anti-derivative (k = −1):
−t
−t
∫ e dt = −e + C.
Then x(1) = −e−1 + C = 1 shows C = 1 + 1e and we get
x(t) = 1 +
1
− e−t
e
Check your answer: dtd (1 + 1e − e−t ) = −(−e−t ) = e−t and x(1) = 1 +
e−1 = 1 + e−1 − e−1 = 1.
1
e
−
Exercises:
1. Find the anti-derivatives:
ˆ ∫ t2 + 2t1/2 + t−1 dt
ˆ ∫ 2 cos t sin tdt (Hint:
d
dt
sin2 (t) = 2 cos t sin(t) from the chain rule.)
14
2. Consider the motion given by the velocity v(t) = dy
dt = v0 + at for a, v0
constants and let y(0) = y0 . What is the position function y(t)? What
)
is the meaning of a and v0 ? Explain why dtd (v(t)) = dtd ( dy
dt = a. The
d2 y
notation for the last function is dt2 and is called the second order
derivative.
3. Find
d2 x
dt2
for x(t) = t4 + 3t3 + 6t2 + 5.
Watch the video Lecture 3 ∶ How to calculate Anti − derivatives?
Lecture 4. The Fundamental Theorem of Integral Calculus
Suppose we are moving with constant velocity 50 miles/hr for two hours
along the x-axis. How far did we get within those two hours? Of course, 100
miles.
The velocity graph in this is a horizontal
line at height 50. Note that we can interpret
the distance covered in this case as the area
of the rectangle bounded by the lines x =
0, x = 50, t = 0 and t = 2. The units are in
fact correct because 50 mi/hr⋅2 hr = 50miles.
The number though can be interpreted as an
area. Of course this works in general: If we
move with constant velocity k the position
at time t will be kt, where we assume that
the position at time 0 is 0. Again kt is the
area of the rectangle with lengths t on the x-axis and height the velocity.
Next assume that you are accelerating with constant acceleration a: v(t) = at
along the x-axis. We know that if x(0) = 0. By taking the anti-derivative we
know that:
1
x(t) = at2 .
2
How is this number related with the graph of the velocity function? Is the
number x(t) again the area under the graph of x(t) > 0 and above the t-axis
between 0 and t. In this case we the area is that of a triangle with base
length t and height at so is 21 at2 . By subtracting areas of rectangles we see
that in this case the distance covered within the interval [t1 , t2 ] is 21 a(t22 − t21 ).
15
This is the motivation for the notation
∫t
t2
1
t2
v(t)dt = ∫ v(t)dt∣ = x(t)∣t21 = x(t2 ) − x(t1 )
t
t1
This observation is true in general. The change in position is the net area
between the graph of the velocity function and the t-axis. The integral
b
∫a f (t)dt
is called the definite integral of the function f (t) over the interval [a, b].
This is a number and not to be confused with the anti-derivative (also called
indefinite integral), which is a class of functions. Net area means that we
actually subtract the area above the graph and below the t-axis. This makes
sense because when the velocity is negative we have to subtract from our
position. This is indicated in the picture on the below.
We have that
t
∫0 v(t)dt = A1 − A2 = x(t) − x(0)
is the geometric interpretation of the anti-derivative. Now recall that the
velocity is the derivative of the position and the position function is the
anti-derivative. The general statement
b
∫a f (t)dt = F (t2 ) − F (t1 )
for a reasonably nice function f (t) and its anti-derivative F (t) is often called
the Fundamental Theorem of Calculus. It tells the way how we calculate for
example position from a given velocity.
16
A related statement is that
t
d
f (u)du = f (t)
∫
dt a
t
Note that ∫a f (t)dt is a specific anti-derivative of f (t), namely the one with
f (a) = 0. But of course the derivative will not depend on which antiderivative we pick. If we take the derivative of the integral we get back
the function. Note that taking the integral of a derivative of a function gives
back the function up to a constant. In fact, when we take the derivative
we lose the initial condition and the integral won’t know this information.
In the picture below you get the visual representation of the Fundamental
Theorem assertions stated above.
In calculating definite integrals we use some obvious rules, which are
immediate from the net area interpretation or the Fundamental Theorem.
For instance
c
b
c
f
(t)dt
=
f
(t)dt
+
∫
∫
∫ f (t)dt
a
a
b
for any three numbers a, b, c. Also:
a
b
∫b f (t)dt = − ∫a f (t)dt
Finally recall that evaluating a definite integral is usually done by finding
the anti-derivative first and then taking the difference of the values of the
anti-derivative at the two limits of the integral.
Remark: You may wonder about the strange symbol ∫ for integrals. This
symbol is similar to the so called Sigma symbol Σ used to abbreviate sums.
17
For example
5
∑ k = 1 + 2 + 3 + 4 + 5 = 15
k=1
or
6
∑ k 3 = 23 + 33 + 43 + 53 + 63 = 8 + 27 + 64 + 125 + 216 = 440
k=2
I believe you can guess how the symbol is used in general. This integral
symbol is supposed to remind you of the fact that integrals are approximated
by sums in the following way: Suppose we divide an interval [a, b] into n
small equal length sub-intervals of length ∆t and pick values f (ti ) in the i-th
interval. Then
n
b
f
(t)dt
≈
∑ f (tk )∆t
∫
a
k=1
Note that on the right hand side you are summing about areas of n rectangles
with base lengths ∆t and heights f (tk ).
Examples:
1.
1 32 1 3 1 3 8
t ∣ = ⋅2 − ⋅0 = .
∫0
3 0 3
3
3
Note that this number is the area bounded by the t-axis, the graph of
t2 and the line t = 2.
2
t2 dt =
2.
1
∫0
t3 + sin πtdt =
1
1
1
1
1
1 2
1 4 1
t − cos πt∣ = ⋅ 1 − ⋅ (−1) − ( ⋅ 0 − ⋅ 0) = +
4
π
4
π
4
π
4 π
0
3.
1
∫0
t5 + t1/2 + et − 4dt =
1
t6 2 3/2 t
25
+ t + e − 4t∣ = e −
6 3
6
0
4. What is ∑5k=0 k 2 ?
5
∑ k 2 = 02 + 12 + 22 + 32 + 42 + 52 = 1 + 4 + 9 + 16 + 25 = 55
k=0
18
Exercises:
1. Calculate the following definite integrals and interpret in terms of net
areas:
π
ˆ ∫0 sin(t)dt
1
ˆ ∫0 1 + t + t2 + t3 dt
ˆ ∫0 e−t dt
1
1
ˆ ∫−1 f (t)dt where f (t) is any odd functions (which means f (t) =
f (−t)).
2. Suppose an object moves along the y-axis with velocity dy
dt = cos(πt) + 1
and initial position y(0) = 0. Determine y(1) by calculating a definite
integral. Interpret the resulting number as net area for the graph of a
function.
Watch the video Lecture 4 ∶ T he F undamental T heorem of Integral Calculus
Lecture 5. Working with the tool box
Newton’s Law is usually stated as F = ma where m is the mass and a = ddt2x
is the acceleration. Here we assume that F is a force acting on an object
moving along the x-axis.
Suppose that a force F (t) = cos t is the force and m = 1. How do we
find the position function x(t) of the particle if we know that x(0) = 1 and
x′ (0) = 2. If we let v(t) denote the velocity along the x-axis then
2
dv
= cos t
dt
and so by taking the anti-derivative
v(t) = sin t + C
Since v(0) = x′ (0) = 2 we get C = 2 and so
v(t) = 2 + sin t.
19
Then since x′ (t) = v(t) we get x(t) by taking the anti-derivative again:
2t − cos t + C,
for another constant C. Then from x(0) = 2 ⋅ 0 − cos 0 + C = −1 + C + 1 we
calculate C = 2 and thus
x(t) = 2t − cos t + 2.
It is easy to check whether we have found the correct solution. We find by
differentiating
d2 x
dx
(t) = 2 + sin t ,
= cos t,
dt
dt2
and
x(0) = − cos 0 + 2 = 1 , x′ (0) = 2 + sin 0 = 2.
2
d x
The following coordinate system shows the graphs of x(t), dx
dt and dt2 . Do
you understand the relations between those graphs in terms of slope and net
area?
Exercise: Suppose an object with mass 2 kg moves along the y-axis. A
force of F (t) = 2 − e−2t Newtons acts on the object. We have y(0) = −1 and
dy
∣
dt t=0 = 0. Find the position function of the object and graph the function.
Why is the object moving at all, taking into account that it’s velocity at time
0 vanishes? Discuss the motion for large t.
Watch the video Lecture 5 ∶ W orking with the tool box
Lecture 6. Some Solutions for the Exercises
Exercise 1.: We calculate
∆x x(1 + ∆t) − x(1) (1 + ∆t)3 − 1 1 + 3∆t + 3∆t2 + ∆t3 − 1
=
=
=
∆t
∆t
∆t
∆t
= 3 + 3∆t + ∆t2
When ∆t gets smaller and smaller, ∆t2 will be even smaller. Thus
dx
∆x
∣ = lim
=3
dt t=1 ∆t→0 ∆t
Exercises 2.1.:
20
ˆ x = t5 +
√
t + √1t = t5 + t1/2 + t−1/2 , and so by linearity and power rule:
dx
1
1
= 5t4 + t−1/2 − t−3/2
dt
2
2
ˆ x = (t2 + 6)e3t , and by using the product rule, linearity, the power rule
and the derivative of the exponential function (including a constant in
the exponent):
d
d
dx
= ( (t2 + 6)) ⋅ e3t + (t2 + 6) ⋅ e3t = 2te3t + (t2 + 6) ⋅ 3e3t
dt
dt
dt
3t
2
= e (3t + 2t + 18)
ˆ x = esin t cos t, and so by using product rule and chain rule we get:
d
d
dx
= ( esin t ) ⋅ cos t + esin t ⋅ cos t
dt
dt
dt
sin t
sin t
= (e cos t) cos t + e (− sin t)
= esin t (cos2 t − sin t)
ˆ x = cos(cos(cos(t)). We have to apply the chain rule twice:
d
d
d
cos(cos(cos t)) =
cos u∣
⋅ cos(cos t)
dt
du
u=cos(cos t) dt
d
d
= − sin(cos(cos t))
cos u∣
⋅ cos t
du
u=cos t dt
= − sin(cos(cos t)) ⋅ (− sin(cos t)) ⋅ (− sin t)
= − sin(cos(cos t)) ⋅ sin(cos t) ⋅ cos t
ˆ x = ln(cot t). We calculate
d
dt
cot t =
d cos t
dt sin t
using the quotient rule:
d cos t − sin t ⋅ sin t − cos t ⋅ cos t
1
=
= − 2 = − csc2 t
2
dt sin t
sin t
sin t
Exercise 2.2: y(t) = t2 cos(et ). We want to calculate
dy
∣
dt t=ln π/2
21
We use product rule and chain rule to get
dy
= 2t cos(et ) + t2 (− sin(et ))et = 2t cos(et ) − t2 et sin(et )
dt
and by evaluating at ln π/2 and using the identity eln u = u for all u we get
dy
π
π
π π
π
π
π
∣
= 2 ln cos( ) − (ln )2 sin( ) = − (ln )2 ≈ −0.320
dt t=ln π/2
2
2
2 2
2
2
2
Exercise 3.1:
ˆ By linearity and the power rule for anti-derivatives (the power rule
backwards) we get
2 3/2
t3 4 2/3
1 3
2
1/2
−1
t
+
2
⋅
t
+
ln
∣t∣
+
C
=
+ t + ln ∣t∣ + C
t
+
2t
+
t
dt
=
∫
3
3
3 3
d
ˆ Since from the chain rule dt
sin2 t = 2 sin t cos t we know that the derivatives of sin2 t is our integrand and thus
2
∫ 2 cos t sin tdt = sin t + C
Exercise 3.2:
Since v(t) =
dy
dt
we know that y(t) is an anti-derivative of v(t):
1 2
∫ vdt = ∫ v0 + atdt = v0 t + 2 at + C
The constant can be determined by evaluating at t = 0:
1
v0 ⋅ 0 + a ⋅ 0 + C = C = y0 ,
2
so the constant is y0 . So we have:
1
y(t) = y0 + v0 t + at2 .
2
The velocity is not constant but changing uniformly according to dv
dt = a,
where a is the constant acceleration. Also v(0) = v0 is the initial velocity.
This is the uniformly accelerated motion.
22
Exercise 3.3: From x = t4 + 3t3 + 6t2 + 5 we get
dx
= 4t3 + 9t2 + 12t
dt
and
d2 x d dx
d
= ( ) = (4t3 + 9t2 + 12t) = 12t2 + 18t + 12
2
dt
dt dt
dt
Exercise 4.1:
π
ˆ ∫0 sin tdt = − cos t∣0 = − cos π + cos 0 = −(−1) + 1 = 2
π
1
1
ˆ ∫0 1 + t + t2 + t3 dt = t + t2 + t3 + t4 ∣ = 1 + 12 + 13 + 14 =
0
2
3
4
12+6+4+3
12
=
25
12
≈ 2.083
ˆ ∫0 e−t dt = −e−t ∣0 = −e−1 − (−e0 ) = 1 − 1e ≈ 0.632
1
1
ˆ The definite integral is zero. This is because the integral is the net
area, and counts area below the t-axis negative and the area above the
t-axis positive. The two contributions will cancel by the symmetry (see
graph below)
23
In the first three cases the graph of the function is above the t-axis over
the corresponding interval. So the definite integral is the blue area. In the
last case the contributions on the negative axis cancel with those on the
positive axis.
Exercise 4.2: Let v(t) = cos(πt) + 1. For a general number τ the definite
integral
τ
y(τ ) = ∫ v(t)dt
0
0
is the anti-derivative with y(0) = 0. This is because ∫0 g(t)dt = 0 for every
function g(t). Thus
y(1) = ∫
1
0
cos(πt) + 1dt
is the definite integral calculating y(1). Using the Fundamental Theorem we
get
1
1
1
y(1) = − sin(πt) + t∣ = sin(π) + 1 − (sin(0) + 0) = 1.
π
π
0
Compare this with the shaded area for the graph below:
2
Exercise 5.1: From Newton’s law m = 2 and F = m ddt2y we get
d2 y
1
= 1 − e−2t .
2
dt
2
∣
Recall that we have also given y(0) = −1 and dy
dt t=0 = 0. By taking the
anti-derivative we get
d2 y
1 −2t
∫ dt2 dt = t + 4 e + C
24
∣
and using the Fundamental theorem and dy
dt t=0 = 0 we get
1
C = − 4 . Thus
dy
1
1
= t + e−2t −
dt
4
4
Again we take the anti-derivative and get
1
4
+ C = 0 and thus
1 −2t 1 t2 1 −2t t
dy
∫ dt dt = ∫ t + 4 e − 4 = 2 − 8 e − 4 + C
From y(0) = −1 we get − 81 + C = −1 and thus C = − 87 . This gives
7 t t2 1
y(t) = − − + − e−2t
8 4 2 8
You may want to check whether this y(t) satisfies the conditions:
7 0 02 1
7 1
y(0) = − − + − e−2⋅0 = − − = −1
8 4 2 8
8 8
and by taking derivatives
dy
1
1
d2 y
1
= − + t + e−2t ,
= 1 − e−2t
2
dt
4
4
dt
2
The object is moving because even though the velocity at t = 0 vanishes the
acceleration does not. This is like dropping a ball from rest, it starts with
velocity zero but the acceleration due to gravity makes the object move.
Below you the the graph of y(t). Can you relate the graph to the given
force?
For large t we have F ≈ 2 is constant and the motion approaches a uniformly accelerated motion with position graph a parabola (what is the formula for the parabola?)
Watch the video Lecture 6 ∶ Some Solutions f or the Exercises
25