Wednesday, April 11, 2018

Unizor - Physics4Teens - Mechanics - Kinematics - Trajectory





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



Trajectory



Trajectory is a set of all points in the three-dimensional space visited by a moving object (a point) during its motion. In other words, it's a trace of the motion.



If an object is moving, we can see its position at any moment in time.
After it has left one position in space and moved to another, the old
position is empty, we cannot see anything there, unless we leave certain
mark in space at every position visited by our object.

So, we cannot see an entire trajectory, unless we use some special
marking in our three dimensional space for each position visited by a
moving object.

For example, if our object is a tip of a pencil and its movement is
restricted to a surface of a paper, such a movement leaves a line on a
paper that represents the trajectory.

In three dimensional space it's more difficult to arrange conditions of a
motion that leaves a visible trace, but not impossible. Wilson Cloud
Chamber is an example of such an arrangement. Elementary particles
flying through it leave traces.



Now, when a concept of trajectory is introduced, let's define it more rigorously.

When talking about motion in more precise terms, we imply existence of
Cartesian coordinates with known origin, direction of axes and unit of
measurement of the length, certain time interval (usually, from 0 to some time limit T), during which the motion takes place, and coordinate functions of time x(t), y(t) and z(t), defining X-, Y- and Z-coordinates of a moving object at any moment of time t. These functions are defined on time interval [0, T], so we know the position of a moving object at any moment of time.

With that information we can define a trajectory of the movement as a set of all points with coordinates {x(t), y(t), z(t)}, where time parameter t belongs to an interval [0, T].



Obviously, the three coordinate functions x(t), y(t) and z(t) must be defined for any argument t that belongs to interval [0, T] (mathematically expressed as t ∈ [0, T]).

We can say even more about these functions. They must be continuous,
otherwise it would appear that in zero time our object moved from one
point to another on some distance, implying its infinite speed - a dream
of science fiction.



While we have no knowledge about forces affecting the motion, we cannot
predict the trajectory. All we can do is to observe it. Knowing all the
forces and the laws describing the results of their action on a moving
object, we will be able to predict the trajectory beforehand. This will
be discussed in lectures dedicated to Dynamics later in this course.



Let's discuss certain types of trajectories we will be dealing with in this course.



Straight line trajectory is the simplest one. Describing a motion
along this line, we will usually have the X-axis directed along the
line of motion. That results in Y- and Z-coordinates of a moving object
to be equal to zero at all times, that is y(t)=0 and z(t)=0 for all t ∈ [0, T].

So, only one function x(t), defined for all t ∈ [0, T] is sufficient to describe the motion along the straight line. For a motion in one direction (only forward) the function x(t) is monotonic. The "standing still" at the beginning of motion is described by function x(t) equal to zero for all values of time argument t. For oscillating movement around the origin along the X-axis function x(t) might resemble some kind of wave.



While qualitative analysis of function x(t) that describes certain types of straight line
movements is interesting, the reverse analysis is more fruitful from
the theoretical viewpoint. Let's examine a trajectory for a few types of
coordinate function x(t) (assuming x(0)=0 to signify that an object is at the origin of coordinates at time t=0 and two other coordinate functions, y(t) and z(t), are equal to zero for all t ∈ [0, T], which assures the movement along the straight line - the X-axis).



If x(t)=0 for all t ∈ [0, T], the object does not move from the origin of coordinates.

If x(t)=a·t, the object moves along the X-axis with constant speed, that is covering a units of length (say, meters) for each unit of time (say, second).

If x(t)=a·sin(t), the object moves along the X-axis oscillating back and forth.

If x(t)=2t−1, the object moves along the X-axis
always in a positive direction with increasing speed, that is covering
greater distance in a unit of time for greater values of time t. In other words, from t=100 to t=101 the object covers greater distance than from t=10 to t=11.



Circular trajectory occurs when an object moves within certain plane in our three-dimensional space in a circle of some radius R
around some central point. An example of such a movement might be the
rotation of any point on a carousel around its center. In this case it's
convenient to choose a system of Cartesian coordinates with origin in a
center of rotation with a plane of rotation lying in the XY-plane. Then
the Z-coordinate of a moving object will always be zero and the motion
can be described by two functions x(t) and y(t), always satisfying the equation x2(t) + y2(t) = R2.

For example, these coordinate functions define a motion with circular trajectory of radius R within an XY-plane with a center at the origin of coordinates:

x(t) = R·cos(t)

y(t) = R·sin(t)

z(t) = 0



Spiral trajectory occurs when an object moves in our three-dimensional space along a cylindrical surface of some radius R,
circling around the cylinder's axis with its projection on this axis
moving always forward. An example of this motion might be the movement
of the tip of a cork screw, when you open a bottle standing on a table.
While getting down into the cork, this tip makes small circles around
the cork screw's main axis. In this case it's convenient to choose a
system of Cartesian coordinates with Z-axis going down along the axis of
rotation of a cork screw (down into the bottle along its central axis)
and XY-plane to be perpendicular to this axis (and perpendicular to a
bottle's central axis), aligned to the top of a bottle. Then the
Z-coordinate of a tip of a cork screw will be a function of time
representing the depth of the tip inside a cork. The X and Y coordinates
will be similar to those for a plain circular trajectory described above.

For example, the following coordinate functions define a motion with spiral trajectory:

x(t) = R·cos(t)

y(t) = R·sin(t)

z(t) = a·t



Obviously, the complexity of the trajectories has no limits, but in this course we will be dealing with simple ones.

Tuesday, April 10, 2018

Unizor - Physics4Teens - Mechanics - Kinematics - Motion





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



Motion



When talking about motion, we have to start by defining two things:

what is moving (moving object) and

what does it mean that this object is moving.

These are qualitative characteristics.



When these issues are clarified, the next issue is to describe the
characteristics of the moving object and to describe in certain terms
the parameters of the movement.

These are quantitative characteristics.



Then, knowing quantitative characteristics of the moving object and the
parameters of its movement, our task is to come up with certain Laws of
Motion. These laws are supposed to be universal and independent of the
characteristics of the moving object and parameters of its movement.



Let's examine the moving object. In this course in most cases we will assume that the moving object is a geometric point in three-dimensional space. Therefore, the size of a moving object is zero in all directions.



Before defining the motion, we have to introduce another physical concept - time.

First of all, time is an undefinable characteristic of all processes taking place in our world. The fact that time
is undefinable is not a good news, but the good news is that we can
measure it by comparing any process with some standard process and
calculating the rate of any process in units of comparison of it with
the rate of a standard process.



Since our moving object is a point in three-dimensional space, we can
consider some system of coordinates in this space and talk about a position
of our moving object (point) in terms of its coordinates. So, three
coordinates of our moving object in this system of coordinates determine
its position.



Now we can define a concept of motion as a process (the rate of which can be measured by time) during which the position of our moving object (a point with three coordinates) is changing with time.

If M is a moving object, we can talk about its position at any moment of time t defined by three coordinates - functions of time x(t), y(t) and z(t).



We have come up with a conclusion that motion can be represented as three functions of time - the X-, Y- and Z-coordinates of a point that represents our moving object.



Since any function, in mathematical terms, represents a transformation of one number (in our case, time) into another (in our case, coordinate), we have to understand what kind of numbers (time arguments and coordinate values) we are dealing with.



Let's start with time.

To talk about numbers that represent time, we have to know how to
measure time. We need to measure the time interval, so we need to know
when the time starts, which in many cases is a moment the motion starts,
and how long it lasts from one moment (say, from the beginning of
motion) to another moment (for example, a moment of observation). That
requires the unit of time to measure this interval.

Let's assume that we have chosen an interval of time of one rotation of our planet Earth around its axis to be equal to 24 hours, each hour to be equal to 60 minutes and each minute to be equal to 60 seconds. So, the interval of time of one rotation of Earth equals to 24 hours or 24·60=1440 minutes or 1440·60=86400 seconds.

From now on in most cases we will use seconds as the main unit of
time because this is an international standard. Having the unit of time
defined, we can talk about the numerical time argument in coordinate
functions x(t), y(t) and z(t).



Now let's consider what values these coordinate functions take.

This is a familiar Cartesian coordinates, so all we need is a system of
coordinates. But this is exactly the problem. Which system of
coordinates should we choose and which unit of length to use?

The answer to this question is not easy. Under typical conditions we can
say that the system of coordinates has its origin at the point of the
beginning of the motion, which means that coordinates of our moving
object (point) at time t=0 are equal to 0, that is x(0)=0, y(0)=0 and z(0)=0.

As for direction of the axis of coordinates, we might choose any three
orthogonal directions, but usually will choose them to simplify the
coordinate functions.

For example, if we are dealing with a straight line movement, we better
choose X-axis along the direction of this movement, which leaves only
one coordinate function, x(t), to represent the movement, since other coordinate functions, y(t) and z(t) will always be equal to zero for any time moment t.

Finally, the unit of length should be chosen, and there are many. In most cases we will use metric meter as a unit of length along each coordinate axis, because it's an international standard.



With a choice of the beginning of time, the unit of time measurement,
the coordinate system and the unit of length we have fully defined all
the components needed to meaningfully describe the motion as represented by three coordinate functions x(t), y(t) and z(t), where time t is an argument and function values define the position of a moving object (point) in our three-dimensional space at time t.

Monday, April 9, 2018

Unizor - Physics4Teens - Introduction





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



Physics for Teenagers



This course of Physics for Teenagers is intended for those students and
teachers interested in the fundamental laws of the classical Physics as
it stood before Theory of Relativity, Quantum Mechanics and other new
developments were introduced.



The emphasis of the course is on physical laws expressed in mathematical
form, bringing theoretical precision into a focus, rather then
practical aspects of physical characteristics. It is extremely
important, therefore, to be familiar with mathematical apparatus used in
theoretical Physics, and, as an example, we can refer students to a
course of "Math 4 Teens" on this site UNIZOR.COM.



The main educational material for this course is "Textbook of Elementary
Physics" by Landsberg (in three volumes). This textbook was written in
Russian and translated to other languages, including English. It
presents a concise description of all major physical laws on solid
theoretical foundation.



It should be noted that solid mathematical foundation of this course is
its main characteristic. That's why it's very important to be at ease
with broad spectrum of Calculus concepts - derivatives, integrals,
differential equations etc. - all presented in sufficient details in the
course "Math 4 Teens" mentioned above.



Considering the limitations of this Internet-based classroom, we will
not be able to present real experiments to prove certain physical
properties, but sufficient discussion and description of such
experiments will be presented to explain their results.

We do not think this lack of experimental basis should discourage
students. After all, Einstein came up with his Theory of Relativity
using only logic, and the planet Pluto was discovered by performing
calculations, not by looking in the telescope.



This course is divided in the following sections:

Mechanics,

Energy,

Electricity,

Magnetism,

Waves,

Optics,

Atoms.



This course of Physics for Teenagers is a work in progress. We started
it in 2018 and will gradually fill with lectures, notes and exams. If
you see that some sections are missing, please be patient, they will be
ready in the coming months.

Monday, August 21, 2017

Unizor - Double Integrals - Volume of Pyramid





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

Double Integrals - Pyramid

As another example of a double integral as a volume of a solid, consider a pyramid with three plains coinciding with three coordinate planes as follows:
base is a right triangle with vertex of the right angle at the origin of coordinates O and catheti OA (along the X-axis) and OB (along the Y-axis);
point C on the Z-axis is the top vertex of this pyramid.

Let the lengths of these sides be
OA = a
OB = b
OC = c
Our task is to calculate the volume of this pyramid using the double integral and techniques described in the previous lecture.



We can consider this problem as the problem of determining a volume of a solid bounded on the top by a plane going through three given points A, B and C and defined on the base triangle ΔOAB lying in the XY-plane.

Since we intend to integrate a function to determine a volume, let's express the plane going through points A, B and C as a function f(x,y) of two arguments x and y - coordinates of a point that belong to a base triangle.
Traditional equation of this plane in three-dimensional coordinates is
x/a + y/b + z/c = 1
from which follows the functional representation
z = f(x, y) = c·(1 − x/a − y/b)

Since our base in not rectangular, we have to pick the primary argument, let it be x changing from 0 to a. The argument y has limits that depend on the value of x in order for point (x, y) to be within our triangle. For each x, therefore, argument y should change from 0 to a point on the hypotenuse of our base triangle.
Equation of this line on a plane that goes through points A on the X-axis and B on the Y-axis is
x/a + y/b = 1
Therefore, the point on a hypotenuse that corresponds to X-coordinate x is
y = b·(1 − x/a)



So, for each primary coordinate x (from 0 to a) coordinate y is changing from 0 to b·(1 − x/a).

Using exactly the same logic as in the previous lecture, we can express the volume of this pyramid as a double integral of function
f(x, y) = c·(1 − x/a − y/b)
on a base triangle ΔOAB described by primary argument x changing from 0 to a and dependent argument y changing from 0 to b·(1 − x/a).

Now the formula for a volume of our pyramid would be
V = ∫0a [∫0b·(1−x/a) f(x,y) dy] dx
where
f(x, y) = c·(1 − x/a − y/b)

Let's perform the inner integration by y considering x constant.
∫0b·(1−x/a) f(x,y) dy =
= ∫0b·(1−x/a)c·(1−x/a−y/b) dy =
= c·(1−x/a) ∫0b·(1−x/a) dy − (c/b) ∫0b·(1−x/a)y dy =
= b·c·(1−x/a)²−b·c·(1−x/a)²/2 =
= b·c·(1−x/a)²/2
Now, to get the volume of our pyramid, we have to integrate this as a function of x from 0 to a:
V = ∫0a b·c·(1−x/a)²/2 dx
In this case, to integrate it, let's make a substitution
t = 1−x/a
Then we can express x, its differential dx and limits of integration 0 and a in terms of t:
x = a − a·t
dx = −a·dt
x=0 ⇒ t=1
x=a ⇒ t=0

As a result of this substitution,
V = ∫10 b·c·t²/2 (−a)·dt =
= (a·b·c/2)·∫01t²dt =
= (a·b·c/2)·(1/3) = a·b·c/6
which corresponds to a known formula for a volume of a pyramid.

Thursday, August 17, 2017

Unizor - Double Integrals - Circular Base





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

Double Integrals -
Circular Base


Previous lecture introduced a concept of a double integral as a volume of a solid with a rectangular base.
In particular, we came to a conclusion that in this case we can integrate, first, by one of the argument and then by another or, equally well, in an opposite order. Rectangular base of a solid allowed such a freedom.

In this lecture we will consider a solid with a circular base and, which is important, the technique of calculating the volume of this solid would be valid for many other types of bases, not necessarily circular. Another important point is that the integration in one order cannot be performed in another order without modifications.

Consider the following problem.
Given a smooth function of two variables f(x, y) with non-negative values (that is, f(x, y) ≥ 0), defined on an area bounded by a circle of a radius R with a center at the origin of coordinates, and represented by a surface in (X,Y,Z) coordinate space.



Our task is to find the "volume of a solid" - the measure of a part of coordinate space bounded on the top by a surface representing this function, on the bottom - by X,Y-plane and sides forming a cylindrical surface based on a circle described above, rising on a height determined by the values of our function on the circle's border.

We will follow the same logic as in a case of a rectangular base.
The process of approximation starts with dividing our circular base into many small rectangles by lines x=xi (where i∈[0,M], x0=−R, xM=R) and y=yj (where j∈[0,N], y0=−R, yN=R) and constructing rectangular parallelepipeds on the base of these small rectangles with the height equaled to a value of function f(x, y) in the corner of each base rectangle with largest coordinates x and y ("top right corner").

If point (xi, yj) represents the coordinates of a "top right" corner of a small base rectangle and Δxi=xi−xi−1, Δyj=yj−yj−1are sides of this small rectangle, the volume of a constructed rectangular parallelepiped equals to
ΔVi,j = f(xi, yj)·Δxi·Δyj

The combined volume of all these parallelepipeds approximates the volume of our solid. With increasing number of small base rectangles and, correspondingly, decreasing their dimensions we assume that there is a limit of the combined volume of all these parallelepipeds.
It can be proven that under certain conditions of smoothness of our function f(x, y) the limit does exist and is unique, regardless of the way how exactly we divide the domain of our function into small rectangles, as long as their dimensions are converging to zero (or, more precisely, the dimensions of the largest among them converges to zero).

Now let's consider how we can summarize the volumes of all parallelepipeds constructed on the basis of small rectangles. We cannot summarize all xi and yj, as we did in a case of a rectangular base, because many of them will go outside of a circle where the function is undefined.
Instead, let's use the following logic. We will choose one of the arguments, let's say x, as the "primary" and will change it from x0=−R to xM=R, that is through all values of xi. For each chosen x=xi we will choose only those values of y that fall within a circle of radius R, that is from −√R²−x² to √R²−x².

Therefore, while the limits of summation by "primary" argument x are all its values from x0=−R to xM=R, the limits of summation by "secondary" argument y depend on the value of "primary" x as specified above.
This dependence of the limits of summation (and, subsequently, integration) by secondary argument on the value of the primary one is the only difference of this case of circular base from the previously considered rectangular base.

Decreasing the intervals between division points by both arguments and going to a limit, we will have, firstly, an integral by a primary argument x in limits from −R to R and, for each value of x we will have to integrate by a secondary argument y in limits that depend on the value of primary argument x - from −√R²−x² to √R²−x².

The final formula would look like this:
∫−RR [∫−√R²−x²√R²−x² f(x, y) dy] dx

Let's use this formula for calculating the volume of a cylinder with f(x, y)=H - the height of a cylinder.
According to the rules of geometry, the volume of a cylinder equals to a product of an area of a base by its height, so we have to get the answer V=πR²H.
Let's check if we get it through integration.

∫−RR [∫−√R²−x²√R²−x² H dy] dx = ∫−RR [2H√R²−x²] dx
Substitute
x=R·sin(t),
where −π/2 ≤ t ≤ π/2
Then √R²−x² = R·cos(t),
dx=R·cos(t) dt,
getting
∫−π/2π/2[2HRcos(t)]R·cos(t)dt = 2HR²∫−π/2π/2cos²(t)dt

To simplify it further, use the trigonometric identity
cos(2t) = cos²(t)−sin²(t) =
= 2cos²(t) −1

from which we derive
cos²(t) = [cos(2t)+1]/2
Our integral now looks like this
2HR²∫−π/2π/2[cos(2t)+1]/2 dt =
= HR²∫−π/2π/2[cos(2t)+1] dt =
= HR²∫−π/2π/2cos(2t) dt + HR²∫−π/2π/2 dt
Indefinite integral (anti-derivative) of cos(2t) is (1/2)·sin(2t).
Therefore, the first integral in this sum equals to
∫−π/2π/2cos(2t) dt = (1/2)·[sin(2π/2)−sin(−2π/2)] = (1/2)·[sin(π)−sin(−π)] = 0

The second integral in a sum above equals to
∫−π/2π/2 dt = π/2 − (−π/2) = π
Therefore, the result of integration is
HR²·π = πR²H which corresponds to results from geometry.

Thursday, August 3, 2017

Unizor - Double Integrals - Volume of Solid





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

Double Integrals -
Volume of a Solid


Consider the following problem.
Given a smooth function of two variables f(x, y) (we will always consider smooth functions in terms of continuity and sufficient differentiability), with non-negative values (that is, f(x, y) ≥ 0), defined on a closed rectangle a ≤ x ≤ b, c ≤ y ≤ d and represented by a surface in (X,Y,Z) coordinate space.



In the following we will use the word "area" in a sense of a two-dimensional part of a plane and as a quantitative measure of this part of plane. The context would clarify which one it is used in every case.

Our task is to find the "volume of a solid" - the measure of a part of coordinate space bounded on the top by a surface representing this function, on the bottom - the X,Y-plane and on the four sides by planes x = a, x = b, y = c and y = d.

There is no ready to use formula for such a volume. We do know how the volume of a rectangular parallelepiped is defined, it is a product of its three dimensions - length multiplied by width, multiplied by height, but not of such a complicated figure as the one we consider now.

We really have to define what the volume of this figure is and then attempt to calculate it based on values of function f(x, y) on a rectangle [a, b, c, d].
We did have a similar problem in Geometry with the volume of solids and approached it as a sequence of approximations of a complex figure with simple ones. Let's do the same now.

We will use certain intuitive considerations to define the volume of a solid and will prove that this definition is mathematically valid.

The process of approximation starts with dividing rectangle [a, b, c, d] into many small rectangles by lines x=xi (where i∈[0,M], x0=a, xM=b) and y=yj(where j∈[0,N], y0=c, yN=d) and constructing M·N rectangular parallelepipeds on the base of these small rectangles with the height equaled to a value of function f(x, y) in the corner of each base rectangle with largest coordinates x and y ("top right corner").

If point (xi, yj) represents the coordinates of a "top right" corner of a small base rectangle and Δxi=xi−xi−1, Δyj=yj−yj−1are sides of this small rectangle, the volume of a constructed rectangular parallelepiped equals to
ΔVi,j = f(xi, yj)·Δxi·Δyj

The combined volume of all these parallelepipeds approximates the volume of our solid. With increasing number of small base rectangles and, correspondingly, decreasing their dimensions we assume that there is a limit of the combined volume of all these parallelepipeds.
It can be proven that under certain conditions of smoothness of our function f(x, y) the limit does exist and is unique, regardless of the way how exactly we divide the domain of our function into small rectangles, as long as their dimensions are converging to zero (or, more precisely, the =dimensions of the largest among them converges to zero).

Now let's consider how we can summarize the volumes of all parallelepipeds constructed on the basis of small rectangles. There are two simple methods.

1. We can go from one point y=yj to another, varying index j from 1 to N and for each value of y=yj summarize the volumes of all parallelepipeds based on all values of x=xi, varying index i from 1 to M. So, for each index j we calculate the sum of all Vi,j, varying index i.
Then we summarize these sums by index j deriving with an approximate volume
VM·N = Σj∈[1,N] Σi∈[1,M] Vi,j =
= 
Σj Σi f(xi, yj)·
Δxi·Δyj =
= 
Σj [Σi f(xi, yj)·Δxi]·Δyj

2. On the other hand, we can go from one point x=xi to another, varying index i from 1 to M and for each value of x=xisummarize the volumes of all parallelepipeds based on all values of y=yj, varying index j from 1 to N. So, for each index i we calculate the sum of all Vi,j, varying index j.
Then we summarize these sums by index i deriving with an approximate volume
VM·N = Σi∈[1,M] Σj∈[1,N] Vi,j =
= 
Σi Σj f(xi, yj)·
Δxi·Δyj =
= 
Σi [Σj f(xi, yj)·Δyj]·Δxi

Both approaches to summarizing the volumes of small parallelepipeds should result in the same value of a combined volume.

Let's examine now what happens with both our formulas for total volume when the rectangles are getting smaller and smaller.

Recall the definition of a definite integral of function φ(t) on a segment p ≤ t ≤ q as a limit of sums of areas of rectangles obtained by dividing segment [p,q] into small pieces:
Σk φ(tk)·Δtk → ∫pq φ(t) dt

We can now say that
Σj f(xi, yj)·Δyj converges to
φ(xi) = lim Σj f(xi, yj)·Δyj =
= ∫cd f(xi, y) dy
under condition of maximum among Δyj converges to zero. Then we continue with the second summation getting
Σi [Σj f(xi, yj)·Δyj]·Δxi →
→ Σi [∫cd f(xi, y) dy]·Δxi →
→ ∫ab[∫cd f(xi, y) dy] dx

On the other hand, we can similarly state that
Σi f(xi, yj)·Δxi converges to
ψ(yj) = lim Σi f(xi, yj)·Δxi =
= ∫ab f(x, yj) dx
under condition of maximum among Δxi converges to zero. Then we continue with the second summation getting
Σj [Σi f(xi, yj)·Δxi]·Δyj →
→ Σj [∫ab f(x, yj) dx]·Δyj →
→ ∫cd[∫ab f(x, y) dx] dy

But these are supposed to be the same results since the difference is only in the order of summation. The sums are the same, therefore the limits are the same, therefore we can write this limit as a double integral:
∫cd∫ab f(x, y) dx dy
or
∫ab∫cd f(x, y) dy dx

Both are the same and constitute two integrations of function f(x, y) performed consecutively, either by x from a to b (keeping y as a constant) and then by y from c to d or, in reverse, first by y from c to d (keeping x as a constant) and then by x from a to b.

Thursday, July 6, 2017

Unizor - Partial Differential Equations - Heat Solution





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

Partial Differential Equations
Solution to Heat Equation


Our purpose is to solve the heat equation that describes the dynamics of temperature distribution within a thin rod and looks like this:
∂T(t,x)/∂t = a²·∂²T(t,x)/∂x²
where
t - time,
x - distance of a point on a thin rod from its edge,
T(t,x) - temperature at time t of a point on a rod at distance x from its edge,
a - constant that depends on physical characteristics of a rod.

This is a partial differential equation for function T(t,x) describing the distribution of temperature T within a thin rod at time t at location with X-coordinate x, assuming it's positioned along the X-axis with the left edge at x=0.

First of all, let's state that this distribution of temperature depends not only on the equation itself, which reflects dynamics of heat movement within a rod, but also depends on the initial conditions - what was the temperature at different locations of a rod at time t=0, described by function T(x,0).

Another type of condition that might be necessary to take into account is so-called boundary condition. It plays an important role in cases when edges of a rod are maintained at certain (not necessarily fixed) temperature all the time, which can be described by functions T(0,t) and T(L,t) (here L is the length of a rod).

Now we are ready to solve the equation.
Let's find a solution to our partial differential equation in a form
T(t,x) = f(t)·g(x)
We don't know if we will succeed on this way, but it's worth to try, since this relatively simple approach might bring us to solution. If it does, great. If it does not, at least, we tried.

Then
∂T(t,x)/∂t = f'(t)·g(x)
∂²T(t,x)/∂x² = f(t)·g''(x)
Now our heat equation looks like
f'(t)·g(x) = a²·f(t)·g''(x)
or
f'(t)/f(t) = a²·g''(x)/g(x)
Now we have a peculiar situation, when a function of t is equal to a function of x. The only possibility of this might be if both functions are constants that are equal to each other.
Therefore,
f'(t)/f(t) = A and
a²·g''(x)/g(x) = A
where A - some unknown constant that might be determined using initial conditions.

These are two ordinary differential equations, both types were addressed in the previous lectures. Let's get to their solutions.

The equation for f(t) is solved as follows:
df/f = A·dt
Integrating both sides results in
ln|f| = A·t + C
(where C - any constant)
|f(t)| = eA·t+C
or, considering C is any constant,
f(t) = C·eA·t

It's easy to check that this is a solution since
f'(t) = C·A·eA·t and
f'(t)/f(t) = A

The equation for g(x) is a linear equation of the second order, considered in a prior lecture about oscillation of a spring.
We can represent it as
g''(x) − (A/a²)·g(x) = 0
We will look for its solution in a form
g(x) = eλ·x
where λ - any complex number.
Since
g''(x) = λ²·eλ·x
we come to a simple quadratic equation for λ:
λ² − A/a² = 0
with solutions
λ = ±(1/a)·√A
This results in solutions for g(x):
g(x) = C1·e(1/a)·√A·x + C2·e−(1/a)·√A·x

General solution to a heat equation can now be represented as
T(t,x) = f(t)·g(x) =
= C·eA·t·(C1·e(1/a)·√A·x + C2·e−(1/a)·√A·x)

where C, C1 and C2 are unknown constants, that can be defined only if additional conditions (initial conditions or boundary conditions) are given.

What remains is analysis of our solution for a purpose to get only real component of it, ignoring imaginary part, and apply initial condition on distribution of temperatures at time t=0, like T(0,x)=u(x), and boundary conditions (if applicable) T(t,0)=T0 and T(t,L)=TL in order to determine unknown constants. These are purely technical issues and lie outside the scope of this course.