Friday, February 10, 2017

Unizor - Indefinite Integrals - Speed





Notes to a video lecture on http://www.unizor.com

Indefinite Integral - Speed and Distance

Consider a function s(t) that describes the distance covered by a moving object as a function of time.
Recall the procedure of differentiation as it is applied to this function.
Since a ratio of increment of distance Δs covered during an increment of time from momentt to moment t+Δt is average speed during this interval of time, the limit of this ratio, as time interval Δt converges to zero, is the instantaneous speed of an object at moment t:
v(t) = limΔt→0[Δs/Δt] = ds/dt = sI(t)

Consider a situation when we monitor only the speed as a function of time v(t). Can we find the distance we have covered?
The operation of integration answers this.

Since indefinite integral of v(t)describes a function, whose derivative is v(t), it fits exactly what distance, as a function of time s(t), is. Additional constant, participating in the result of integration, can be interpreted as distance covered before we started our observation of speed and does not change the character of dependency between speed as a function of time v(t) and distance as a function of times(t).

This can be expressed as
∫ v(t) dt = s(t)+C

Let's analyze the above expression of an integral.
Since v(t) is an instantaneous speed at moment t, the result of its multiplication by an infinitesimal increment of time dt represents a distance covered during this infinitesimal interval from t to t+dt.
To get the overall distance, we have summarize infinite number of infinitesimal distances, so the sign of integration can be interpreted as such sum. Incidentally, a sign ∫reminds a letter S (from the word "sum") stretched vertically.

The point of this analysis is that the whole expression ∫ v(t) dt can be interpreted as "sum of infinite number of infinitesimal products of v(t) by dt".

Monday, February 6, 2017

Unizor - Indefinite Integrals - Definition





Notes to a video lecture on http://www.unizor.com

Indefinite Integral - Definition

Consider a set of sufficiently smooth (differentiable as many times as the context implies) functions and an operation of differentiations.
This operation allows for any such smooth function (an element of our set) to find a corresponding target - its derivative (also an element of our set). So, the differentiation is an unary operation on a set of smooth functions.

When we talk about unary operations, we always want to know the properties of these operations. We have already considered how differentiation works on a function multiplied by a constant, how it works on a sum of two functions, their product and ratio. We did not touch the inverse operation yet.
Integration is the inverse operation to differentiation, and we would like to define it more precisely.

The meaning of the inverse operation on a set is that, if applied on a result of a direct operation, we will get an original element of a set the direct operation was applied to.
In our case, the direct operation was a differentiation that resulted in a derivative of an original function. So, we expect that integration, if applied on a derivative of an original function, results in that original function.

Well, this is not exactly true. Integration is not an inverse operation to differentiation in a classical meaning of the word "inverse". The reason is simple, and it's the same as in case of an operation of square root as not exactly an inverse to raising to the power of two. As we know, 2² = (−2)² = 4. So, raising to the power of two is an operation that for any real number finds its square. But operation of square root from 4 has two targets, 2 and −2, which makes this operation returning two different values, which does not correspond to a classical concept of operation delivering one exact target for any source.

As in a case with square root, integration of a function results in more than one function, derivative of which equals to a subject of integration.
Consider two functions, f(x)and g(x)=f(x)+C, where C is a constant.
Derivatives of these two functions are the same because (we use symbol Dx for operation of differentiation)
Dxg(x) = Dx(f(x)+C) =
= Dx f(x)+DxC = Dx f(x)

since derivative of a constant is zero.

Since our constant C can be any real number, we have infinite number of functions, derivatives of which are the same. It's quantitatively more complex than with an operation of square root, where we have only two numbers with equal squares, but the idea is the same, and we have deal with this somehow.

One of the ways we deal with square root, we use a symbol ±to indicate both results of this operation, implying that both positive and negative numbers, if squared, give the original element we applied the operation of square root.
Analogously, since all functions, that differ only by an additive constant, result in the same derivative, we just use symbolic +C with any specific function, derivative of which gives the function we integrated, to specify all the possibilities of integration.

Again, referring to square roots, where mathematicians invented a special symbol for this operation √   , a special symbol for integration was invented as well, it's called "integral" symbol and it looks like this: ∫.

So, if Dx f(x) = g(x), then
∫ g(x) = f(x)+C

To emphasize that differentiation was by argument x, we used an index in an operation of differentiation Dxor symbol d/dx. For similar purposes we would like to say that an argument of integration is x. To specify this, we add dx at the end of operation of integration, so the complete notation is
∫ g(x) dx = f(x)+C,
which implies that the derivative of f(x) (as well as derivative of any other function that differs from it by a constant) is g(x).

Here are a few examples.

Dx xn = n·xn−1 ⇒
⇒ ∫ xn dx = xn+1/(n+1) + C
(for all n ≠ −1,
see integral of 1/x below)

Dx ex = ex ⇒
⇒ ∫ ex dx = ex + C

Dx sin(x) = cos(x) ⇒
⇒ ∫ cos(x) dx = sin(x) + C

Dx ln(x) = 1/x ⇒
⇒ ∫ 1/x dx = ln(x) + C

We can now define an operation of integration more precisely.
A set of functions f(x)+C, where f(x) is some concrete smooth function and C is any real constant, is called an integral of function g(x), if derivative of f(x) is equal tog(x).
Sometimes any specific function f(x), whose derivative equals to g(x) is called anti-derivative of function g(x).

There is one unfinished detail in this definition.
Obviously, our goal is to find all such functions, derivative of which is equal to a function we integrate. Assuming we found one, we can add any real constant to it and get another function, whose derivative equals to the function we integrate. Does this procedure delivers all the answers? In other words, do all functions, derivative of which equals to a given function, differ only by a constant?

The answer is yes, and here is the proof.

Recall a lecture "Constant Function" among "Main Theorems" of derivatives. In this lecture we have proven that, if the function has derivative equal to zero at each value of an argument, then this function is constant.
Now assume that two functions,f1(x) and f2(x), have derivatives equaled to each other:
d/dx f1(x) = d/dx f2(x)
From this we conclude that
d/dx (f1(x) − f2(x)) = 0
Therefore, according to a theorem mentioned above,
f1(x) − f2(x) = C
(where C - some constant).
End of proof.

As we see, to find an integral of a function, that is to find all such functions, whose derivative equals to the original integrated function, it's sufficient to find just one function, whose derivative equals to our integrated function, and, adding any real constant to it, we will obtain all other functions, whose derivative is the same, and we are certain that there are no other solutions to our integration.

Wednesday, February 1, 2017

Unizor - Derivatives -Problems 4





Notes to a video lecture on http://www.unizor.com

Derivatives - Problems 4

Problem 4.1
For an implicitly defined function
x=x(t),
y=y(t)
find the second derivative
y''xx(t) = d²y/dx².

Solution
First derivative dy/dx was discussed in the lecture on differentiation of implicitly defined function and is
y'x(t) = dy(t)/dx(t) = [dy(t)/dt]/[dx(t)/dt]
The second derivative is a derivative of the first derivative:
y''xx(t) = d/dx[y'x(t)] =
= d/dx{[dy(t)/dt] / [dx(t)/dt]} =
= d/dx[y't(t)/x't(t)] =
= {d/dt[y't(t)/x't(t)]}/[dx(t)/dt]=
= {d/dt[y't(t)/x't(t)]} / x't(t) =
= [y''tt(t)·x't(t)−y't(t)·x''t(t)] / {[x't(t)]²·x't(t)} =
= [y''tt(t)·x't(t)−y't(t)·x''t(t)] / [x't(t)]³ =

Problem 4.2
Using the results of Problem 4.1, find the second derivative of parametrically defined function
x=arctan(t),
y=ln(1+t²)

Answer
y''xx(t) = 2+2·t²

Problem 4.3
Using the results of Problem 4.1, find the second derivative of parametrically defined function
x=cos(2t),
y=sin²(t)

Answer
y''xx(t) = 0
This prompts that y as a function of x must be a straight line.
Indeed, since
x=cos(2t)=1−2sin²(t),
it follows that
x+2y=1 and
y = (1−x)/2.
Graph of this function is below

The parametric definition of this function puts restrictions on its domain
−1 ≤ x ≤ 1
and range
0 ≤ y ≤ 1.
But within these boundaries y(x) is a linear function.

Problem 4.4
Using the results of Problem 4.1, find the second derivative of parametrically defined function
x=cos(2t),
y=t²

Answer
y''xx(t) = [sin(2t)−2t·cos(2t)] / [2sin³(2t)]

Saturday, January 28, 2017

Unizor - Derivatives - Exercises 3





Notes to a video lecture on http://www.unizor.com

Derivatives - Exercise 3

Exercise 3.1
Using the rules of taking a derivative, find the derivative of
f(x) = sin²(x) + cos²(x)
Why the answer is, what it is?

Exercise 3.2
Using the rules of taking a derivative, find the derivative of
f(x) = ln(ex)
Why the answer is, what it is?

Exercise 3.3
Using the rules of taking a derivative, find the derivative of
f(x) = √x+√x

Answer
[1+1/(2√x)] /2√x+√x

Exercise 3.4
Using the rules of taking a derivative, find the derivative of
f(x) = arctan(1/x)

Answer
−1/(1+x²)

Exercise 3.5
Using the rules of taking a derivative, find the derivative of
f(x) = x1/x

Answer
x1/x·(1−ln(x))/x²

Exercise 3.6
Using the rules of taking a derivative, find the derivative of this implicitly defined function
yx = xy
(of course, the derivative will also be implicitly defined)

Answer
(y²−x·y·ln(y))/(x²−x·y·ln(x))

Thursday, January 26, 2017

Unizor - Derivatives -Problems 3





Notes to a video lecture on http://www.unizor.com

Derivatives - Problems 3

Problem 3.1
Prove that function y=xn·e−x is converging to zero as x→∞.

Hint
Use L'Hopitale's rule.

Problem 3.2
Prove that function y=ln(x)·x−nis converging to zero as x→∞.

Hint
Use L'Hopitale's rule.

Problem 3.3
Taking into consideration that ln(10)=2.302585 and using differential to approximate increment, calculate approximate value of ln(10.1).

Answer
2.312585
(more precise calculation gives value 2.312535)

Problem 3.4
As a continuation of the previous problem, using Taylor series up to second derivative, calculate approximate value of ln(10.1).

Answer
2.312535

Problem 3.5
A particle is moving along a circle of radius R with a center at the origin of coordinates.
The angle from the positive direction of X-axis to a radius to a particle's position is a function φ(t) of time t.
Determine the particle's components of velocity vector {Vx(t), Vy(t)} and absolute speed V(t).

Solution
Position of a particle in Cartesian coordinates is as follows:
X(t) = R·cos(φ(t))
Y(t) = R·sin(φ(t))
The components of the velocity vector are
Vx = X'(t) = −R·sin(φ(t))·φ'(t)
Vy = Y'(t) = R·cos(φ(t))·φ'(t)
From this we can calculate the differential along the curve
ds = √[X'(t)]²+[Y'(t)]² ·dt =
= R|φ'(t)|·dt

Therefore, absolute speed is
V = ds/dt = R|φ'(t)|
This corresponds to another way to calculate the absolute speed, using our knowledge from geometry that the length of an arc s, that corresponds to angle φ, equals to R·φ, from which follows that absolute speed as a function of time is R·|φ'(t)|.
F unction φ'(t) is called angular speed of a particle.
If angle φ(t) is changing proportionally to time, that is ifφ(t)=C·t, where C is constant (positive for counterclockwise movement, negative for clockwise), angular speedφ'(t)=C is constant too and, therefore, absolute speed of a particle moving along the circle is constant R·|C| as well.

Problem 3.6
A projectile is launched at angleφ to horizon with initial absolute speed v.
Determine the components of its velocity vector {Vx(t), Vy(t)} and absolute speed V(t) during the time it's rising on its trajectory.

Solution
Horizontal component of the velocity Vx=v·cos(φ) remains the same since there are no forces acting in that direction. During the rising part of trajectory vertical component of the speed Vy(t) would decrease from initial value v·sin(φ) by g=9.8m/sec² every second, so its value at time t isVy(t)=v·sin(φ)−g·t.
Absolute speed is
V = √[Vx(t)]²+[Vy(t)]² =
= √[v·cos(φ)]²+[v·sin(φ)−g·t]² =
= √v²−2v·sin(φ)·g·t+g²·t²


Let's analyze this formula.
First, let's determine the time our projectile will rise. This is the time of diminishing its vertical component of the velocity Vy(t) from its initial value v·sin(φ) to zero if it's diminishing by g every unit of time.
This time, obviously, is v·sin(φ)/g.
At the end of this period vertical component of the velocity is zero and absolute speed should be equal to horizontal component, which retains its initial value v·cos(φ).
Substituting t=v·sin(φ)/g into a formula for absolute speed, we get:
√v²−2v²·sin²(φ)+v²·sin²(φ) =
= v·cos(φ) = Vx
,
as expected.

Tuesday, January 24, 2017

Unizor - Derivatives - Differential Along a Curve





Notes to a video lecture on http://www.unizor.com

Differential Along the Curve

We will discuss curves on a plane defined parametrically as a pair of functions {x(t), y(t)}, where t is a parameter taking real values in some finite interval [a,b], while x(t) and y(t) are coordinates of points on a curve.
We assume that both coordinate functions are smooth functions of parameter t.

Our main task is to discuss the length that a point covers when it moves along this curve as parameter t changes its value within its domain.

Traditional approach to this task is to approximate the curve with a series of connected segments as presented on this picture.

The idea is to increase the number of these segments, while the length of each would become smaller, and consider the sum of the lengths of these segments to approximate the length of a curve. This approximation would be better if all segments are getting smaller, so we can assume that, if there is a limit of the sum of lengths of these segments, if they are infinitesimally small, this limit is, by definition, the length of a curve.

Let's assume that we deal with a motion of a particle along this curve. It's position {x(t), y(t)} is a function of time t and the length covered by this particle during its motion along the curve would be a function of time s(t).

During the time from tn to tn+1a particle moves along the curve from point {x(tn), y(tn)} to {x(tn+1), y(t+11)}.
If all Δtn+1=tn+1−tn are sufficiently small, the length along the curve between each pair of beginning and ending points can be approximated by the length of straight segment between them. The smaller the time intervals - the better is our approximation.

So, it's reasonable to assume that if the time increment is an infinitesimal variable, the difference between exact length along the curve and the length of a straight segment is an infinitesimal of a higher order, which in subsequent summation of all infinitesimals to a total length of a curve would not affect the limit.

Let Δx(tn+1)=x(tn+1)−x(tn) and Δy(tn+1)=y(tn+1)−y(tn).
Then the length of the straight segment between two points on a curve is
Δs(tn)=√Δ²x(tn)+Δ²y(tn)

As customary, with all Δtn converging to zero, we will use an infinitesimal variable dt to designate this increment of a parameter t.
With it, both Δx(tn) and Δy(tn)converge to zero and can be represented by infinitesimal variable increments dx and dy.
Analogously, increment of the length Δs(tn) is an infinitesimal variable ds.

So, the formula for infinitesimal increment of the length of a curve, called a differential along the curve, looks like this:
ds(t) = √[dx(t)]²+[dy(t)]²

As we know, differentials dx(t)and dy(t) can be represented as
dx(t) = x'(t)·dt and
dy(t) = y'(t)·dt
That results in the following representation of a differential along the curve:
ds(t) = √[x'(t)]²+[y'(t)]² ·dt

Connection to Physics

In Physics of motion we know a concept of velocity - a vector with absolute value of a ratio between distance and time (speed), directed towards the direction of motion.

If our motion is not straight forward, but goes along some curve, the direction of motion at any time is along the tangential line to this curve.
If our motion is not constant in speed, we can talk about a very small interval of time during which we can assume the speed changes just a little and calculate an average speed during this time.

Approaching this from a more mathematical viewpoint, we consider a moment of time t, a distance covered by that time as a function s(t) and infinitesimal increment of time dt.
During this infinitesimal time increment of the distance covered would be
s(t+dt) − s(t) = ds(t) =
= √[x'(t)]²+[y'(t)]² ·dt


Then the average speed during this infinitesimal period of time dt equals to
|V(t)| = ds(t)/dt =
= √[x'(t)]²+[y'(t)]²


Derivative x'(t) represents the rate of change of X-coordinate of a particle moving along the curve, derivative y'(t) is the same for Y-coordinate.
What the formula for speed along a curve shows is that velocity of an object moving along a curve, as a vector, can be represented as a sum of two vectors - X-component, a vector directed along the X-axis having value Vx(t)=x(t)=x'(t)and Y-component, a vector directed along the Y-axis having value Vy(t)=y'(t).

In vector form it looks like
V(t) = Vx(t) + Vy(t)
where overline indicates that we deal with vectors and sign + means vector addition. Here V(t) is a velocity vector, Vx(t) is its X-component - projection of velocity onto X-axis and Vy(t)is its Y-component - projection of velocity onto Y-axis.

Tuesday, January 17, 2017

Unizor - Derivatives - Properties of Differential of a Function





Notes to a video lecture on http://www.unizor.com

Properties of Differential

Properties of differential of a function resemble properties of derivative and immediately follow from them.
Below are the proofs of all these properties, using Euler's notation for derivative Dx f(x).

Linear Combination
f(x) = a·g(x) + b·h(x)
df(x) = d(a·g(x) + b·h(x)) =
= 
Dx(a·g(x) + b·h(x))·dx =
= (a·
Dxg(x) + b·Dxh(x))·dx =
= a·
Dxg(x)·dx + b·Dxh(x)·dx =
= a·
dg(x) + b·dh(x)


Product
f(x) = g(x)·h(x)
df(x) = d(g(x)·h(x)) =
= 
Dx(g(x)·h(x))·dx =
= (
Dxg(x)·h(x) +
+ g(x)·
Dxh(x))·dx =
= 
Dxg(x)·dx·h(x) +
+ g(x)·
Dxh(x)·dx =
= 
dg(x)·h(x)+g(x)·dh(x)


Reciprocal
f(x) = 1/g(x)
df(x) = d(1/g(x)) =
= 
Dx(1/g(x))·dx =
= −
[1/g²(x)]·Dxg(x)·dx =
= −
[1/g²(x)]·dg(x)

Compound
f(x) = g(h(x))
df(x) = d(g(h(x))) =
= 
Dxg(h(x))·dx =
= 
Dyg(y)·Dxh(x)·dx =
= 
Dyg(y)·dh(x)

substituting y with h(x).
Let's illustrate this rule for compound functions.
g(x) = sin(x)
h(x) = ln(x)
f(x) = g(h(x)) = sin(ln(x))
First, let's calculate the differential directly by taking a derivative from f(x) and multiplying it by dx.
df(x) = Dx f(x)·dx =
= Dxsin(ln(x))·dx =
using the chain rule of differentiation of a compound function
= cos(ln(x))·(1/x)·dx
On the other hand, let's see what our expression for differential of a compound function gives.
df(x) = d(g(h(x))) =
= 
Dyg(y)·dh(x)
 =
= Dysin(y)·dln(x) =
substituting y with ln(x).
= cos(y)·(1/x)·dx =
= cos(ln(x))·(1/x)·dx
As you see, the result is the same as with direct computing the differential.

Implicit
Implicitly defined differential can be calculated using the above rule for differential of a compound function.
Assume, f(x) = g(h(x)) and we need to find dh(x).
Since df(x) = Dyg(y)·dh(x),
we conclude that
dh(x) = df(x)/Dyg(y)
substituting y with h(x).
For example, we need to find dln(x) without the knowledge that Dxln(x) = 1/x, which would immediately give us
dln(x) = (1/x)·dx
Consider an equality
x = eln(x)
If functions are equal, their differentials at any point are also equal.
dx = deln(x)
Now we can use the expression for a differential of a compound function eln(x) where g(x)=exand h(x)=ln(x).
dx = deln(x) = Dyey·dln(x)
substituting y with ln(x).
Hence,
dx = ey·dln(x) =
= eln(x)·dln(x) = x·dln(x)
Finally,
dln(x) = (1/x)·dx
which corresponds to the result of direct calculations if we use the known expression Dxln(x)=1/x.