Basics
2015-07-25
Imagination will often carry us to worlds that never were. But without it we go nowhere. – Carl Sagan, popular atrophysicist
Units
Dimensions
A number can be used to count items or measure different concepts. For instance, might be refering to a duration, an angle, a mass, a pressure, a distance, a speed, an acceleration, a force, etc. The concept is referring to is called the dimension of .
There is usually several ways to measure a similar concept. For instance, a distance might be measured in either meters, feet, stadiums, etc. To avoid confusion, we agreed on which units should be prefered; those are called SI Units (for Système International, which is French for International System).
Below is a summary of some dimensions, the corresponding SI unit, and other common units:
Dimension | SI unit | Other units |
---|---|---|
angle | radian (rad) | turn (-), degree (°) |
duration | second (s) | hour (h), day (d), year (y) |
distance | meter (m) | foot (ft), mile (mi), light-year (ly) |
speed | meter per second (m/s) | mile per hour (mph), knot (kn) |
mass | kilogram (kg) | ton (t), pound (lb) |
pressure | pascal (Pa) | atmosphere (atm), bar (bar) |
Prefixes
When considering different scales, it is practical to use different units. Using a same unit when traveling or when describing a stamp would force us to use tiny and huge numbers, making it harder to build an intuition.
Such units have been hinted above. For instance, the ångström is used for the size of atoms and molecules; the parsec is used for interstellar distances. Creating a new unit for each use case is cumberstone and makes it harder to concialiate intersecting situations.
A simpler approach is to use prefixes. The idea is to easily create new units out of a basic one. That way, a kilometer is 1,000 meters and we can simply write 355 km rather than 355,000 m.
Here are the most common prefixes:
kilo- (k-) | mega- (M-) | giga- (G-) | tera- (T-) |
---|---|---|---|
10³ | 10⁶ | 10⁹ | 10¹² |
There are also prefixes to decrease the value of an unit:
milli- (m-) | micro- (µ-) | nano- (n-) | pico- (p-) |
---|---|---|---|
10⁻³ | 10⁻⁶ | 10⁻⁹ | 10⁻¹² |
Conversion
We sometimes need to switch the unit used for a measure. For example, let us convert to SI units. We know that and so:
This particular example shows how easy it is to include units in computations. As we will see below, having the units is useful when considering more complex expressions.
Addition (and substraction)
An addition involves two measures of the same dimension. For example, let us assume we have a distance x defined as follows:
Since we know that that , we can replace it in the expression:
x
Conversely, we could also have said that and then:
x
Of course, the two ways are equivalent and we can check that .
Multiplication (and division)
We can create new units pretty easily. For example, if some object travels a distance in a duration , we can define the velocity . Conversely, assume the object has traveled at a velocity for a duration ; then, the distance it has gone through is:
By doing the operations on both the numerical values and the units, we know what our result is: in this case, it’s a distance, and it is expressed in meters.
Functions
Let us consider a car moving along a straight road at a speed of (e.g. ). The position of the car, , can be determined by the distance from to an arbitrary fix point (the origin). We will note this distance and we have thus .
We will measure time as the delay since the car was at the origin ().
Say we want to follow the evolution of the position of the car as time passes by. In other words, we are interested in knowing as a function of . We know that, at time t, we have . We write it:
This notation gives us a general formula to compute for any given value of . For example, if we want to know the position of the car after one hour:
As another example, it is known that the intensity of the light emitted by a star decreases proportionnaly to the square of the distance to the star. This can be written as:
where is some constant value (i.e. independent from ) which is to be determined experimentally.
Derivatives
Definition
Assume we know the position of the car for any instant and we want to determine the velocity of the car at a given instant .
The velocity is the variation of position through time. Thus, to know how fast the car is going at time , we need to look at the position of the car at two different instants. We already have ; let us also consider for some arbitrary value .
The difference in position between instants and is thus ; a shorter notation for this is . The value is not shown because it has no importance in itself. The Greek letter (“delta”, equivalent of ), is generally used to denote a difference (here, the difference in position).
Notice that, the bigger , the bigger we expect this difference to be: the longer the delay, the longer the car moved. To compensate for this, we will divide by how much time has passed, which is to say :
This value is the mean velocity from instant to instant . However, the mean velocity is a value that only gives a general idea of the speed on some period of time. In this duration, the instant velocity (actual speed) can vary a lot and the mean velocity would then be far off to these values.
Since we expect the speed to not change a lot on short periods of time, a natural solution is to consider the mean velocity over shorter durations.
So, as we pick shorter and shorter durations , the value becomes smaller, but so does . Often, we will notice that the mean velocity seems to converge (becomes closer and closer) to a particular value. Instead of continuing to choose smaller and smaller values of , we will pick this values and call it the limit of as tends to (becomes smaller and smaller). Or, for short:
Such a limit is called the derivative of at . We have a shorter way to note this:
Here, the derivative of at corresponds to the mean velocity over an infinitely small period, that is, the instant velocity.
Finally, we can do this for any value of . Thus, we have a new function that let us evaluate the velocity at any :
Second derivative
The velocity is the derivative of the position. As a function, it can itself fluctuate and we can be interested in these variations. The derivative of the velocity is the acceleration: .
A shorter way of saying that the acceleration is the derivative of the derivative of the position, is to say that the acceleration is the second derivative of the position: .
Formal derivation
We now have a way to compute the derivative of a function at a given point. However, it is not accurate: while we do get a better approximation by taking a smaller value for , the result is still an approximation and can sometimes stay far off.
Instead, we can look at the expressions to determine the exact value for the limit. For instance, let us consider the function and let us search for the derivative of f at some , i.e. . First:
We now look at the value as gets small; in this case, it happens to always be , and does not depend on . Thus, however small , the value is , and:
That way, we know the exact value of derivative of in any point. Let us take a second example with :
Here, the expression does depend on . However, the smaller gets, the less influence it has on the sum: the value is becoming closer and closer to . Thus: .
Derivation rules
Now, what if we want to compute the derivative of ? Of course, we could go through the same step as in the previous part. However keeping the same definitions of and , we can notice that . It means that for all ’s.
It turns out that it can be shown that for any functions and . Using this rule and knowing the derivative of and , we can derive:
There are a few derivation rules that can help us determine the derivative of complex functions easily.
Integrals
Definition
Now, let us consider the reverse situation: we know the velocity of the car at any given instant and we would like to know where it was at an arbitrary instant . In other words, we know the derivative of the position and we intend to get the position back.
The first thing to notice is that the velocity only informs us on relative motion: two cars can have the same velocity through time while being in different positions. In the example below, the positions of two cars with the same speed are shown; since the red car starts ahead, it stays ahead.
This means that we will need additional information to know where to start. Here, we will assume the car start at .
As a first approximation, we could pretend the velocity is constant, and always equal to . That would make the position trivial to compute: .
Now, given a constant velocity and a delay , we know how to compute the distance as . In this situation however, the velocity changes over the time interval from to .
For a better approximation, we will simply split this in several parts of width .
For instance, we can assume that, from time to time , velocity is constant and equal to . Then, the distance traveled on this duration is simply ; then, from to , the car further travel . Thus, from time to time , the car traveled roughly .
When we consider more steps, we will want to avoid writing the whole sum. Instead, we can use the -notation (“sigma”, Greek equivalent of ) to denote a sum:
_i = 1^n v(i h) h =
In other words, means “sum the expression where takes each of the integer values from to ”.
Here, we will want to have so that we can retrieve the distance traveled from time to time .
As for derivation, when tends to zero, our rough approximation will become more precise. Since we stil want we will instead make grow instead, and set to :
As tends to infinity (grows larger and larger), we expect the sum to converge (come closer and closer) to some fixed value. Again, there is a short notation for this:
An ever shorter notation when there is no ambiguity is simply:
Notations with and make it easy to reason with derivatives and integrals. Since is the derivative of :
This highlights the fact that integrals are just summing up all the variations between two points (here, from to ). In particular, to know the exact value of , we need to know the initial value .
There is also a shorter notation for the difference of a value between two points:
Illustration
For example, if , then:
x(30 s) - x(0 s)
In particular, with we are given the additional information that did start at , i.e. , then:
This means that an object starting at rest getting a constant push of will travel in .
Antiderivative
More generally, in the previous example, we could write:
Another way to write it is:
where is a value independent of which depends on the initial conditions (e.g. the position of the car at the initial instant). Each of the possible expression of (depending on ) is a primitive of .
Geometric integrals
There should be more explanations here, but these formulas shows how we compute the areas and volumes of common shapes.
Circle circumference:
d
Disk area:
A
Sphere area:
A
Sphere enclosed volume:
V
Differential equations
Definition
A differential equation is an equation whose unknown is a function and involving a derivative of this function. For example:
This is a differential equation and we already know how to solve it (find the expression of ). Here, for any constant value (there are several possible solutions).
Exponential
The exponential function is defined as where is a mathematical constant whose value is about . It was picked so that:
In other words:
If we define instead, derivation rules gives us:
so that .First order
Now, consider the following equation:
We already know that is a solution; however, so is . Actually, the set of solutions to this equation is the functions where is any constant value.
The remark we made before tell us how to solve a differential equation of the form:
where is also a function. We just need to find such that , i.e. the solutions are: