We’re asked to find the derivative of the following function with respect to x:

(1)y=3x2

Performing the differentiation process

y=limΔx0f(x+Δx)f(x)Δx=limΔx03(x+Δx)23x2Δx=limΔx03x2+6xΔxΔx23x2Δx=limΔx06xΔx=6x

Let’s say that we’re given the same problem in a reversed version, we’re asked to find the original function of the following derivate function

(2)y=6x

Why? because “when we formulate physical problems mathematically the given physical information usually leads to derived functions, and the primary objective in solving the physical problems is to find the original functions” 1

We know that the original function corresponding to (2) is (1) but is there an algorithm to find the derivative for the case above? A possible algorithm for the differentiation of the function above might be:

for each term in the function
  - mutiply the coefficient with the exponent of the independent variable
  - reduce the exponent of the independent variable by one

Reversing the algorithm above means that we’re actually trying to find the original function, a reversed version of the algorithm above might be:

for each term in the function
  - increment the exponent of the independent variable by one
  - divide the coefficient with the exponent of the independent variable

If we apply it to (2) we get the original function:

6x6x26/2x23x2

However we have overlooked one point, it’s also true that (2) is the derived function of y=3x2+C where C is some constant, this means that a constant term that was in the original function doesn’t show up in the derived function, in the view of this possibility we must say that

y=3x2+C

The process of going from the derived function to the original function is called antidifferentiation or integration, the original function is called the primitive function or the indefinite integral of the given function (which is shortened to integral)

Before proving the correctness of the previous algorithm let’s try it on similar functions, the formula for instantaneous acceleration (the instantaneous rate of change of speed with respect to time) is

v=32

Here the independent variable is actually x0, applying the 2-step algorithm to find the original function

32t032t32/1t32t

Same as above, since the original function might have had a constant

v=32t+C

Straight line motion in one direction

Galileo obtained a basic physical principle, if one neglects air resistance all objects near the earth’s surface fall to earth with the same acceleration which is constant (a downward acceleration), the constant value is equal to:

32 feet/s 

find how long it takes for an object dropped from 400 feet above the earth’s surface to reach the surface.

The instantaneous acceleration as seen above is

a=v=32

Applying the 2-step algorithm

v=32t+C

If the object is dropped it leaves with zero speed (when t=0, v=0), substituting these values in the formula above to find the value of C

0=320+CC=0

Therefore the correct formula for speed is

(3)v=s=32t

Applying a new process of antidifferentiation to (3)

s=16t2+C

If we agree to measure distance from the point the object is dropped then the initial distance when t=0 is also zero, C will also have a value of zero, hence the correct formula for distance is

s=16t2

To answer the original equation we must find out the value of t given that s=400:

t=±s16=±40016=±25=±5

For the physical problem only the positive solution is valid, with the same knowledge we can also tackle problems where the object is thrown instead of dropped

find how long it takes for an object thrown downward from with a velocity of 100 ft/s from a height of 1000 feet to reach the earth’s surface

Starting with the formula of instantaneous acceleration:

a=32

Applying the 2-step algorithm

v=32t+C

The object is thrown downwards instead of dropped which means that when t=0,;v=100

100=320+CC=100

Hence the correct formula for speed is

v=32t+100

Applying a new process of antidifferentiation

s=16t2+100t+C

If we agree to measure the distance from the point where the object is thrown then C=0

s=16t2+100t

It’s convenient to measure distance from the earth’s surface and not from any arbitrary distance like the examples above, however this means that the upward direction is positive, then the acceleration of the gravity must be negative i.e. 32;ft/sec2 so that the distance traveled by reason of this acceleration is recorded as downward

v=32ft/sec2

Then by antifidifferentiation

(4)v=32t+C

if an object is thrown upward it must have an initial velocity upward, let’s say that an object located in the earth’s surface is thrown upward with an initial velocity equal to 128;ft/s, substituting these values in (4) (when t=0,;v=128):

128=320+CC=128

so that

(5)v=32t+128

Applying a new process of antidifferentiation to find the distance traveled upward at any time t

s=16t2+128t+C

Because we have agreed to measure distance from the surface the value of C is zero because when t=0 the object is still on the ground

(6)s=16t2+128t

One question of interest is the maximum height attained by an object whose motion is represented by (6), this problem could be answered if we knew at what t the object attains maximum height, however we can use (5) to obtain the time since we know that the instant the object attains maximum height the velocity will be zero (the object will rise until it’s velocity is zero and then fall), substituting zero as the speed in (5)

0=32t+128t=12832=4

Now that we know the time at which the object attains the maximum height let’s replace it on (6)

s=16(4)2+1284=256+512=256 feet 

We can generalize the solutions above for objects thrown in any planet, we can represent the acceleration with the symbol g, so the acceleration due to this gravity felt from the ground is

(7)a=g

By antidifferentiation

v=gt+C

Since it’s a generalization we don’t know the initial velocity (the value of C is some constant), let’s represent the initial velocity of the object with the symbol v0, hence the formula for the velocity is

(8)v=v0gt

Applying a new process of antidifferentiation to find the distance of the object from the ground

s=v0tgt22+C

For this case we also don’t know the initial distance from the ground the object is when t=0, let’s represent the initial distance from the ground with the symbol s0

(9)s=s0+v0tgt22

// TODO: introduce the integral symbol

Definite Integral

Area as the limit of the sum

Let’s say we want to compute the area of the graph below f(x) and the x-axis bounded by the vertical lines x=a=1 and x=b=2

f(x)=x2
00.20.40.60.811.21.41.61.822.22.42.62.8300.511.522.533.544.55ab

An approximation to the area can be found by taking the maximum y-value in (a,b) called m1 and multiplying it (ba) which will be expressed as Δ(x), then the first approximation is m1Δx

S1=m1Δx
00.20.40.60.811.21.41.61.822.22.42.62.8300.511.522.533.544.55abm_1

We can obtain a better approximation if we divide the interval (a,b) into two equal parts each denoted by Δx multiplied by the maximum y-value in each part and then form the sum

S2=m1Δx+m2Δx
00.20.40.60.811.21.41.61.822.22.42.62.8300.511.522.533.544.55abm_1m_2

Dividing the interval (a,b) into n equal parts each denoted as Δx and choosing n maximum y-values for each part we form the sum:

Sn=m1Δx+m2Δx++mnΔx
00.20.40.60.811.21.41.61.822.22.42.62.8300.511.522.533.544.55ab

The quantity n can increase without a limit, to each n there’s a corresponding sum, now the quantity

limnSn

Seems to give the exact area of the under the curve bounded by a and b therefore

limnSn=A

There is another notation for this limit which keeps the bounds that determine the area, if y=f(x) then we write for the limit:

abf(x)dx

The elongated S denotes integration, the symbols a and b are the left and right ends of the domain whose area is being calculated and f(x)dx is a reminder that we took rectangles of height yi and width Δxi.

Evaluation of definite integrals

Another way to find the area is as follows, previously we found an approximation of the area as (Δxmax(f(x)) for all x[a,b]), similary we can take the lower bound instead (Δxmin(f(x)) for all x[a,b]) let’s assume that somehow we have found the area below the curve bounded by [a,x0], moving x0 to the right will generate an increment in the area, this change in the area can be expressed as

ΔA=y¯Δx
ΔAΔx=y¯

The value of y¯ is some value between f(x0) and f(x0+Δx), to obtain the instantaneous rate of change in the area with respect to x we must find the limit of ΔA/Δx as Δx approaches zero, also as Δx approaches zero the value of y¯ also approaches f(x0) therefore

ΔAΔx=y0=f(x0)

Because this is true for any value of x in the interval [a,b]

ΔAΔx=y=f(x)

To find the value of A(x) we apply antidifferentiation

A=f(x)dx

As an example let’s apply the above to the function f(x)=x2

(10)A=x2dx=x33+C

When x=a=1 we know that the area is zero then

0=133+CC=13

Then

A=x3313

is the function which expresses the area from a to any position x, to find the area bounded by [a,b] we substitute x=b=2 and get

A=23313=73

We can obtain the same result if we take the expression (10) substituting 2 for x, 1 for x and then subtracting the second result from the first

233+C(13+C)=73

The constant of the integration is eliminated in the process, this process is actually called the fundamental theorem of the calculus

abf(x)dx=F(b)F(a)

Where F(x) is the antiderivative of f(x)

Additional properties of the definite integral

abf(x)dx=baf(x)dx
abf(x)dx=ax0f(x)dx+x0bf(x)dx
abudx±abvdx=ab(u±v)dx
ddxaxudu=f(x)

Numerical methods for evaluating definite integrals

Trapezoid rule

Let’s imagine that we have a curve which it’s impossible to find the antiderivative thus the area below the curve, instead of calculating it we can approximate it’s value by using trapezoids instead of rectangles as we’ve done before, we also know that approximating the area below the curve using the min(f(x)) value found in the interval [a,b] multiplied by ba denoted as Δx gives a lower bound of the area below the curve

Sn=y0Δx+y1Δx+yn1Δx

Another appoximation was using the max(f(x)) value found in the interval [a,b] multiplied by ba denoted as Δx which gives the upper bound of the area below the curve

Sn=y1Δx+y2Δx+ynΔx

Calculating the average of these sums will definitely give an approximate result

Sn=12(y0+y1)Δx+12(y1+y2)Δx++12(yn1+yn)Δx

Each of these terms is the area of a trapezoid of height Δx and bases yi, yi+1

-2.5−2-1.5−1-0.500.511.522.5−101234567y_0y_1y_2y_3y_4y_5y_6y_7

Rewriting the equation above

abf(x)dxΔx(12y0+y1+y2++yn1+12yn)

[Simpson’s rule][simpson]

Simpson rule approximates the value of a definite integral by using quadratic polynomials of the form

(11)y=ax2+bx+c

which pass through three points belonging to the curve which are (h,y0), (0,y1), (h,y2)

−2-1.5−1-0.500.511.52−101234567-h0hy_0y_1y_2

The area below the curve bounded by [h,h] is

A=hh(ax2+bx+c)dx=ax33+bx22+cx|hh=2ah33+2ch=h3(2ah2+6c)

Since the points (h,y0), (0,y1) and (h,y2) are on the curve, they satisfy (11)

y0=ah2bh+cy1=cy2=ah2+bh+c

The quantity

y0+4y1+y2=(ah2bh+c)+4c+(ah2+bh+c)=2ah2+6c

is equal to a part of the area under the quadratic polynomial found above, therefore

A=h3(y0+4y1+y2)

To find the area bounded by [a,b] we have to take an even number n of subintervals of equal length

h=ban

n subintervals are defined with n+1 points which are:

x0=a,x1=a+h,x2=a+2h++xn=a+nh=b

We can estimate the value of the integral by adding the areas computed for each unique contiguous pair of subintervals

abf(x)dxh3(y0+4y1+y2)+h3(y2+4y3+y4)++h3(yn2+4yn1+yn)h3(y0+4y1+2y2+4y3+2y4++4yn1+yn)

Physical applications of the definite integral

The calculation of work

When a force applied to an object causes a displacement it’s said that work was done upon the object, this quantity expressed with the symbol W is the product

W=Fs

As an example let’s calculate the work done by the force of gravity, choosing the direction from the center of the earth upward as the positive direction we can use Newton’s law for gravitation, this law states that any two objects attract each other and this force is given quantitatively by

F=GmMr2

G is a constant, m and M are the masses of the two objects and r is the distance between the objects (idealized as point particles)

Since this force of gravity actually pulls objects towards the center of the earth and we chose the direction from the center of the earth upward as positive this quantity must be negative

(12)F=GmMr2

To calculate the work done by gravity we cannot multiply the force of gravity by the displacement because the force actually varies from point to point along the path, suppose the object is at some distance r from the center of the earth and gravity pulls the object downward a small distance Δr then we work done by gravity is

ΔW=FΔr

By division

ΔWΔr=F

We now determine the limit of ΔWΔr as Δr approaches 0 which is the rate of change of work with respect to the displacement over the path

dWdr=limΔr0ΔwΔr=F

Replacing (12)

dWdr=GmMr2

To find W we apply an antidifferentiation process

W=GmMr2=GmMr+C

Assuming that initially when the object was at r=r1 there was no force being applied to it therefore W=0 and C=GmM/r1 and

W=GmMrGmMr1

  1. Excerpt From: Morris Kline. “Calculus: An Intuitive and Physical Approach(Second Edition).” [simpson]: http://pages.pacificcoast.net/~cazelais/187/simpson.pdf ↩︎