Friday, November 4, 2022

Magnetic Field Energy: UNIZOR.COM - Physics4Teens - Waves - Energy of Waves

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

Magnetic Field Energy

Our task is to determine the energy carried by a magnetic field. More precisely, a density of a potential energy as a function of a local characteristic of a magnetic field - the value of its intensity vector B.

First, we have to choose a device where a uniform magnetic field can be created and evaluate the total amount of energy we have to spent to create this uniform magnetic field. This energy will be stored in a certain volume of space inside this device occupied by a created magnetic field as its potential energy.
Then, dividing the total amount of energy of the magnetic field inside this space by the space volume, we will get a density of the potential energy of the magnetic field.

Recall the description of an infinitely long solenoid as a device that produces relatively uniform magnetic field. It was described in the lecture "Electromagnetism - Magnetism of Electric Current - Solenoid" of this course "Physics 4 Teens" on UNIZOR.COM.
The absolute value of an intensity of a uniform magnetic field B inside such a solenoid, was expressed as
B = μ·n·I
where
μ is permeability of the medium inside a solenoid,
n is the density of the wire loops making up a solenoid and
I is the electric current running through a solenoid.

As physicists usually do, we assume that our real solenoid, though not infinite, is long enough to use this formula for absolute value of a magnetic field intensity at all points inside a solenoid and it's zero outside.

While this methodology depends on the fact that the magnetic field we analyze is inside a solenoid, the final formula for energy density will depend only on the field's intensity and, as a field's local characteristic, will be the same, no matter what is the outside source of a magnetic field, whether it's a solenoid or a few permanent magnets, or the result of electromagnetic oscillations far from the source of these oscillations.

Consider a battery of voltage V that we connect to a solenoid of resistance R to create a magnetic field inside it. Electric current I(t) through a solenoid in the beginning equals to zero and, gradually, rises to some value Imax=V/R (Ohm's Law).

Since the electric current varies with time from 0 to Imax, the above formula for magnetic field intensity is time-dependent:
B(t) = μ·n·I(t)

Recall that changing electric current in a wire causes changing magnetic field around it that adversely affects the current, resisting its change. This is a self-induction effect described in the chapter "Electromagnetism - Self-Induction" of this course.

Therefore, the process of rising of an electric current through a solenoid requires some work performed by the battery against self-induction of the solenoid.
This work is converted into energy of the magnetic field inside a solenoid, and we will quantitatively evaluate it.

According to Faraday's Law of Induction, the electromotive force (EMF) U generated against the increasing electric current in a wire loop is proportional to a rate of change of the magnetic flux Φ1 flowing through this single loop:
U(t) = −dΦ1(t)/dt
Magnetic flux is related to a field intensity in a single loop of wire of area A as
Φ1(t) = B(t)·A
For a solenoid with total number of wire loops N the flux will be N times greater:
ΦN(t) = B(t)·A·N

Using the above stated dependency between field intensity B(t) and the electric current I(t), we can express the magnetic flux through a solenoid as
ΦN(t) = μ·n·I(t)·A·N

Obviously, if the length of a solenoid is l and the density of the wire loops is n, the total number of wire loops is
N = n·l

Therefore,
ΦN(t) = μ·n²·I(t)·A·l
Incidentally, the expression A·l is a volume of space inside a solenoid Vspace, so we write the above formula as
ΦN(t) = μ·n²·I(t)·Vspace

The power P(t) at any moment of time t needed to run the electric current (that is, the amount of work per unit of time) depends on the voltage, that is EMF U(t) needed for it and the electric current at the time I(t) as
P(t) = U(t)·I(t)
Using the expression above for the EMF, we derive an absolute value of power as a function of time
P(t) = dΦN(t)/dt·I(t) =
=
d/dt
[μ·n²·I(t)·Vspace]·I(t) =
= μ·n²·Vspace·
[dI(t)/dt]·I(t)

The constants in front form a characteristic of a solenoid called inductance L=μ·n²·Vspace, so we simplify the expression for power as
P(t) = L·I(t)·[dI(t)/dt]

During the time period from t to t+dt the electric current will rise by dI=[dI(t)/dt]·dt and the work performed will be dW=P(t)·dt.
Therefore, to increase the electric current from I to I+dI we have to perform work equal to
dW = L·I·dI

The total amount of work W we have to perform to rise the electric current from 0 to Imax can be obtained by integrating the above expression by I:
W = ∫[0,Imax]L·I·dI = ½L·I²max


When the electric current reaches Imax, the magnetic intensity B reaches its maximum value, and the potential energy accumulated in the magnetic field will be equal to work performed.

From the above formula for magnetic field intensity B=μ·n·I follows that
I = B/(μ·n)
Substituting this into an expression for total work performed,
W = ½L·B²/(μ·n)² =
= ½·μ·n²·Vspace·B²/(μ·n)² =
= ½·Vspace·B²/μ


Dividing the total work performed W (that is, the total potential energy accumulated by a solenoid during the process of rising the electric current) by the total volume inside a solenoid Vspace, we obtain the potential energy density PM of a magnetic field as a function of a local field characteristic - its intensity B:


PM = B²/(2μ)

We have used a simple kind of a magnetic field to derive the formula above - the static uniform finite field inside a solenoid. Notice, however, that the formula contains only the local property of the field - its intensity at any point B.
Even if the field is of a more complex kind (variable, non-uniform, infinite etc.), since only its intensity participates in the above expression for a potential energy density, the formula should be valid.
In particular, it's valid for a magnetic component of an oscillating electromagnetic field.

Combining the result for an electric component of electromagnetic field presented in the previous lecture with the formula above for magnetic component, we obtain a total potential energy density of an electromagnetic field


PE+M = ½[ε·E² + B²/μ]


Final comment about an oscillating electromagnetic field.
Once formed at the source, variable electric field possess certain potential energy.
Where is it going if the source stopped producing it?

Since variable electric field produces variable magnetic field, this energy is transferred to a newly formed variable magnetic field into its potential energy.

In turn, this potential energy of a variable magnetic field is used to generate a new variable electric field with its potential energy, which it uses to generate a new variable magnetic field etc.

That's how energy is delivered by an electromagnetic oscillations to some final destinations, where it might be used to convert it to some other forms.

Saturday, October 29, 2022

Electric Field Energy: UNIZOR.COM - Physics4Teens - Waves - Energy of Waves

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

Electric Field Energy

Let's calculate the potential energy density PE of an electric field inside a capacitor as a function of the field's intensity E, which we assume to be uniform between the plates of a capacitor.

While the methodology will depend on the fact that this electric field is between the plates of a capacitor, the final formula will depend only on the field's intensity and, as a field's local characteristic, will be the same, no matter what is the outside source of an electric field, whether it's plates of a capacitor or a few point charges, or the result of electromagnetic oscillations far from the source of these oscillations.

Consider a battery used to charge a capacitor from initial no electric charge between plates with the difference of potential between the plates being equal to zero to some charge Qmax with corresponding difference of potential between the plates (voltage) being equal Vmax. This process of charging requires some work performed by the battery.
The total energy accumulated inside a capacitor as a result of charging a capacitor should be equal to this amount of work.

This work performed by a battery to charge a capacitor from 0 voltage to Vmax can be considered a function of accumulated charge W=W(Q) and it grows from zero to some maximum Wmax - the energy accumulated by a capacitor as it accumulated a charge of Qmax.
During the charging process the voltage between the plates of a capacitor can also be considered as a function of accumulated charge Q, that is V=V(Q), and it grows from zero to Vmax.

Recall that the difference in electric potential between two points of an electric field (voltage) is the amount of work needed to transfer a unit of electric charge (1 coulomb) from one point to another.
Therefore, to transfer an additional infinitesimal amount of electric charge dQ from one plate of a capacitor to another, when there is already transferred amount of electric charge Q that creates a voltage V(Q) between the plates, the battery has to spend an additional amount of work
dW(Q) = V(Q)·dQ

Further recall that the electric charge on each plate of a capacitor (positive on one plate and negative on another) Q and the voltage between the plates V are proportional to each other with a capacitor's capacitance C being a factor:
Q = V·C or V = Q/C

Therefore, the above expression for an additional amount of work can be written as
dW(Q) = [Q/C]·dQ

To calculate a total amount of energy Wmax needed to charge a capacitor from zero to Qmax, we have to integrate dW from 0 to Qmax:
Wmax = ∫[0,Qmax][Q/C]·dQ =
= ½·Q²max/C

Of course, the amount of charge Qmax can be any from zero to some practical maximum, so we can drop an index max, and the work spent by a battery will be
W = ½·Q²/C = ½V²·C

Let's approach the same problem from a different viewpoint that involves the intensity E of an electric field between the plates of a capacitor charged with Q amount of electricity to a voltage V between its plates.

The capacitance C of a capacitor was discussed in a lecture "Electromagnetism" - "Electric Field" - "Capacitors" of this course and, as was shown there, depends on the area of each plate A, distance between plates d and electric permittivity of a medium between the plates ε:
C = ε·A/d
with the vacuum having the permittivity ε0 and any other medium having it as
ε = εr·ε0
where εr is relative permittivity of a medium.

Using this expression for a capacitance C, the total work to charge a capacitor with Q amount of electricity to a voltage level V can be written as
W = ½·Q²·d/(ε·A) = ½V²·ε·A/d

The definition of the electric field's intensity E is the force with which a field acts on a unit charge, while voltage V between plates is an amount of work needed to move a unit of charge from one plate to another.

Therefore, using the principal
Work = Force ⨯ Distance,
we can write
V = E·d

Substituting this into a formula for the total work yields
W = ½E²·d²·ε·A/d = ½ε·E²·(A·d)

Notice that A·d is a volume of the space between the plates of a capacitor, occupied by an electric field.
Therefore, the expression W/(A·d) characterizes the density PE of a potential energy of an electric field between the plates of a capacitor.

Hence, the potential energy density of an electric field is a local characteristic that depends on the field's intensity and the permittivity of a medium where the field propagates
PE = ½ε·E²

Final comment is related to the fact that we used a simple kind of an electric field to derive the formula above - the static uniform finite field between two plates of a capacitor. The formula contains only the local property of the field - its intensity at any point E.
Even if the field is of a more complex kind (variable, non-uniform, infinite etc.), since only its intensity participates in the above expression for a potential energy density, the formula should be valid.
In particular, it's valid for an electrical component of an oscillating electromagnetic field.

Wednesday, October 19, 2022

Problems 2 on Trigonometric Definitions: UNIZOR.COM - Math4Teens - Trigonometry - Trigonometric Definitions

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

Trigonometry - More Problems on Definitions

1. Prove that for any angle φ the following equality is true
2·(sin6φ + cos6φ) + 1 =
= 3·(sin4φ + cos4φ)


2. Prove that for any angle φ the following equality is true
sin8φ − cos8φ =
= 4·sin6φ−6·sin4φ+4·sin2φ-1


3. Calculate a sum of squares of sines of all angles between 0° and 360° whose measure is a multiple of 30°.

4. Given a point A on a unit circle with positive abscissa xA and positive ordinate yA. Consider a point B with an abscissa equal to an ordinate of A and an ordinate equal to an abscissa of A.
Prove that a sum of angles represented by points A and B is π/2.

5. Solve an equation sin(x)=cos(x).

6. Solve an equation tan(x)=cot(x).

Saturday, September 24, 2022

Electromagnetic Field Equation 4: UNIZOR.COM - Physics4Teens - Waves - F...

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

Electromagnetic Field Equations 4

This lecture is about the Fourth Maxwell equation, expressing in differential form the Ampere-Maxwell's Law - relationship between a changing in time electric field and produced by this process changing in time magnetic field.

But, before diving into mathematical concepts of the Fourth Maxwell's Equation, some general discussion is appropriate.

We mentioned previously that a changing magnetic field induces a changing electric field (Faraday's Law), which was expressed in the Third Maxwell's Equation.

Ampere's Law describes the magnetic field generated by an electric current, actual movement of electric charges.
Constant electric current generates constant magnetic field, variable current generates variable magnetic field.

But constant magnetic field will not generate an electric field. For propagation of electromagnetic field the initial electric current must be variable to produce a variable electric field, which will generate a variable magnetic field, which, in turn, generate a new variable electric field etc.

The addition of an impact of the variable electric field onto a generated magnetic field was introduced by James Maxwell in his Fourth Equation.

If we consider only transformations between variable electric and magnetic fields, it looks like the electric and magnetic components of an electromagnetic field are symmetrical, and the equation, expressing how variable electric field generates variable magnetic field (the Fourth Maxwell equation), should be symmetrical to the Third Maxwell equation describing how changing magnetic field generates a changing electric field.
But it's not exactly so.

We do need some initial source of energy, a variable electric current, to start this chain of transformations between electric and magnetic fields.

While changing electric field generates changing magnetic field and thus propagates through oscillations of a combined electromagnetic field, the first originating changing electric field in this chain (before the first changing magnetic field generated) should appear from somewhere, and that "somewhere" is the flow of electrons - a movement of material objects in our everyday's understanding of the word "material", which is different from "field".

The generation of a magnetic field must include two sources: electric current component capable of generation of magnetic field (constant or changing) and a variable electric field component generating variable magnetic field.

We will address both components separately and then present their sum as the combined source that generates a variable magnetic field.

The Fourth Maxwell Equation encompasses both effect on a generated magnetic field by electric current (Ampere's Law) and by a variable electric field (Maxwell's addition).

We start with magnetic field generated by an electric current.

The existence of a magnetic field around an electric current was introduced in the "Electromagnetism" part of this course, in the topic "Magnetism of Electric Current", which we strongly recommend to review.

Recall the familiar experiment of iron shavings positioned around a straight line electric wire with a current running through the wire that results in creation of visible magnetic field lines in circular formation around a wire.



There is no other source of magnetism that can cause this formation, so we must conclude that an electric current creates a magnetic field that moves iron shavings into circular positions.

In the same topic "Magnetism of Electric Current" mentioned above we suggested the logical basis for a formula for an intensity of the magnetic field around an infinite straight line electric current as dependent on the amperage of the electric current and a distance from a wire carrying this current:
B = μI/(2πR)
where
B is an intensity of the magnetic field,
I is an electric current,
R is a distance of a point of measurement of the magnetic field intensity from the wire with a current,
μ is a magnetic permeability of the media.

Notice that from this formula follows
μ·I = B·(2πR)
That is, an electric current I going through a circular loop times the magnetic permeability of the media (μ0 for vacuum) equals to a circulation of a magnetic field generated by this current along its loop.

This description represents a particular case of a more general Ampere's Circuital Law that states that for any closed loop L around an electric current I the circulation of the magnetic field produced by this current equals to the electric current enclosed in the loop times a magnetic permeability constant:
μ·I = ∫[L]B·dL

Indeed, if the path L is a circle of radius R in the plane perpendicular to a straight line conductor with an electric current I flowing through it, vectors B and dL are collinear with the length of B constant. Therefore, the integral above would be equal to a product of a constant magnitude of a magnetic field intensity by the length of a circumference of radius R:
μ·I = B·(2πR).

To transform this equation into point-based differential one, let's perform two operations:
(1) we will squeeze the loop around point {x,y} on the plane perpendicular to a direction of an electric current and
(2) we will divide both sides of an equation above, the electric current on the left and the circulation on the right, by an area of the loop of a magnetic field line around point {x,y}

As a result of these steps, as presented in the lecture about circulation, the ratio of a circulation to an area of the loop will tend to a curl of a magnetic field at point {x,y}.
On the other hand, division of the electric current by the same area produces average density of electricity flowing through the loop, which in limit, when the loop is squeezed to a point, will produce the density of electricity at that point {x,y}.

This leads us to an equation for point {x,y} in the magnetic field
curl B(x,y) = μ·J(x,y)
where J(x,y) is a density of electric current at point {x,y}.

As we know,
curl B(x,y) = ∇⨯B(x,y), which allows to right the equation above as
∇⨯B(x,y) = μ·J(x,y)

We might want to engage the electric field intensity E instead of current density J into our equation. To accomplish this, we can make one more variation of the above equation based on the empirical Ohm's Law.

Recall that Ohm's Law states
U = I·R
where U is difference in potential,
I - electric current,
R - resistance.
Resistance R is proportional to length of a conductor L and inversely proportional to the area A of its cross-section:
R = ρ·L/A
where ρ is resistivity of the material of a conductor, that is the resistance of the unit of area per unit of length of a conductor.
The conductivity σ is an inverse of ρ.
Therefore,
R = L/(σ·A)
where A is the area of a conductor,
L is the length of a conductor.
Therefore, the Ohm's Law can be written as
U = I·L/(σ·A)
or
U/L = (I/A)/σ
The expression I/A is the electric current density J.
Since U is the difference in potential, it's the work to transfer a unit of electric charge from one end of a conductor to another.
Since work is the force times distance, and the force acting on a unit charge in the electric field is the field's intensity E,
E = J/σ
σ·E = J

Now we can replace the current density J with a product of electric field intensity E and material conductivity σ: J=σ·E, which transforms the equation above into
∇⨯B(x,y) = μ·σ·E(x,y)

This expression for a curl of a magnetic field produced by electric current constitutes the half of the Fourth Maxwell's Equation.
The second half depends on changing electric field generating a changing magnetic field.

First of all, let's support by an experiment that a changing electric field generates a changing magnetic field.
Consider a capacitor.

The alternating current (AC) in the circuit goes through a capacitor connected to some generator of AC power.
The amount of electricity Q(t) accumulated on each plate of a capacitor is proportional to a variable voltage U(t) applied to its plates, and capacity of a capacitor C (see lecture "Electric Fields" - "Capacitors" in this course) is the constant proportionality factor that depends on a type of a capacitor C = Q(t)/U(t)
Q(t) = C·U(t)

Knowing the amount of electricity Q(t) accumulated in a capacitor as a function of time t, we can determine the electric current I(t) in a circuit, which is a rate of change (that is, derivative by time) of the amount of electricity
I(t) = dQ(t)/dt = C·dU(t)/dt

This I(t) is not as "material" as a current in a wire, no electrons are exchanged directly between the plates, but, nevertheless, it's real and, as the "material" current in a wire, it generates a magnetic field around it.
There is a special name for this electric current - displacement current, and we will use the symbol ID(t) for it to differentiate it from the electric current caused by actual movement of charges.

Now we will follow the logic presented above for wire-based electric current generating a magnetic field to calculate the effect of the displacement current, which is a product of the changing electric field without actual movement of the charges.

First of all, we will evaluate the displacement current as follows
ID(t) = C·dU(t)/dt
Capacity C, as described in the lecture "Electric Fields" - "Capacitors" in this course is
C = A·ε/d
where A is the area of a plate of a capacitor (that is, the area, through which displacement current is flowing),
ε is the permittivity of the media between the plates,
d is the distance between the plates.

Therefore,
ID(t) = (A·ε/d)·dU(t)/dt =
= A·ε·
d
[U(t)/d]/dt

If E(t) is the intensity of the electric field between the plates with voltage U(t) between them,
E(t) = U(t)/d
From this follows
ID(t) = A·ε·dE(t)/dt

In terms of density of the displacement current
JD(t)=ID(t)/A

this looks like
JD(t) = ε·dE(t)/dt

Let's consider now any changing in time electric field of intensity E(t,x,y) in two-dimensional XY-coordinate space.
We can imagine a tiny capacitor with plates parallel to XY-plane at point {x,y}, for which the equation above, which is independent on the size of the plates and the distance between them, represents a displacement current density.
Now the expression above for a displacement current density can be stated for any point {x,y} as
JD(t,x,y) = ε·∂E(t,x,y)/∂t

Using the equation above for a curl of a magnetic field intensity as a function of electric current density
curl B(x,y) = μ·J(x,y),
we evaluate another part of a total magnetic field intensity, which depends on variability of the electric field and displacement current density:
curl B(x,y) = μ·JD(t,x,y) =
= μ·ε·
∂E(t,x,y)/∂t


Combining both components of the magnetic field intensity, one that depends on the moving charges and another that depends on variability of the electric field, we obtain the Fourth Maxwell Equation
curl B(t,x,y) =
= μ·ε·
∂E(t,x,y)/∂t + μ·σ·E(t,x,y)


Using our favorite symbol ∇ for curl, the Fourth Maxwell Equation looks like


∇⨯B(t,x,y) =
=μ·ε·
∂E(t,x,y)/∂t + μ·σ·E(t,x,y)



Monday, September 19, 2022

More Field Problems: UNIZOR.COM - Physics4Teens - Waves - Field Waves

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

More Field Problems

Problem 1

Prove that a curl of two-dimensional conservative vector field equals to zero.

Solution

(a) From the definition of the conservative field (the integral of the vector field along any path depends only on the end points) follows that an integral around any closed path equals to zero.
(b) A curl is defined as a limit of the ratio of an integral around a closed path (which is zero for conservative vector field, as stated above) to the area enclosed by this path. The result of this division is zero.


Problem 2

Prove that a two-dimensional conservative field
F(x,y) = {P(x,y), Q(x,y)} =
= P(x,y)·i + Q(x,y)·j

is a gradient of some two-dimensional scalar field f(x,y) called its potential.
In other word, prove that there exists function f(x,y) such that
P(x,y) = ∂f(x,y)/∂x and
Q(x,y) = ∂f(x,y)/∂y.

Solution

Before offering a solution, let's try to use some knowledge about conservative fields that we have learned before.

Recall a concept of potential energy of a gravitation or an electrostatic field.
By definition, it's the work performed by or against a field by moving a unit of mass or a unit of electrical charge from infinitely remote location to a specific location of interest in space, thus making this potential energy a function of a point in space where gravitational or electrostatic forces act.
Validity of a concept of potential energy is based on its independence on the path taken from infinity to a point of interest. Does not it remind the conservative field? It sure does.

That means, a potential energy is a scalar field, a scalar function of a specific location in space. It does not depend on trajectory of movement.

The work participating in the definition of a potential energy is, roughly speaking, a product of a force by distance. More precisely, it's an integral of this product along a trajectory we move a unit of mass or a unit of electric charge, because the force is, generally speaking, variable in magnitude and direction. The force itself constitutes a vector field in space, and the integral of a product of this force by distance along a trajectory (that is, a work performed by or against this vector field by moving a unit of mass or a unit of electric charge) corresponds to a definition of a circulation of this vector field of force along some trajectory of movement.

As an example, let's find the work of moving a unit of mass in the gravitational field. For simplicity, we'll analyze this in one-dimensional case. Let's choose a point {x,0,0} as a point of interest and calculate the work to move a unit of mass along the X-axis from infinity to this point. Let the source of gravity be a mass M at the origin of coordinates.

According to the Newton's Law of Gravity, the force of gravity for a unit mass at distance s from the origin of coordinates is
F(s) = G·M/s²
Therefore, the potential energy at point {x,0,0} is
∫[∞,x]F(s)·ds = ∫[∞,x]G·M/s²·ds
The indefinite integral of 1/s² is −1/s.
Therefore, our potential energy at point {x,0,0} is
U(x) = −G·M/s|x∞ = −G·M/x

The potential energy U(x) is a scalar field.
What's interesting is that
dU(x)/dx = G·M/x² = F(x).
So, a scalar field of potential energy for a gravitational field plays the role of potential, gradient of which is the vector field of gravitational force.

Our guess then is, that in case of a given conservative vector field we can find its potential, gradient of which is our vector field, and this potential is just amount of work performed by or against the vector field of force by moving along some (actually, any) trajectory from some fixed location to a point of interest.
We can choose any trajectory because our vector field is conservative.

Consider a two-dimensional case and point of interest {x,y}.
The given conservative vector field is defined at all points as
F(x,y) = {P(x,y); Q(x,y)}


Let's calculate a work needed to move an object in this field from origin of coordinate to point {x,y}.
Since the field is conservative, we choose an easy path:
A{0,0} → B{x,0} → C{x,y}
and calculate the work separately on an interval AB, then on BC and then add them together.

WAB = ∫[0,x]P(u,0)du
WBC = ∫[0,y]Q(x,v)dv
Total amount work is W(x,y)=WAB+WBC
Can this scalar field W(x,y) be the needed potential, gradient of which is our vector field F(x,y)?

Let's check by calculating the gradient
grad W(x,y) = ∇W(x,y).
If we are correct in the assumption that work by or against the conservative vector field along some trajectory to a point of interest gives a potential of this field, the gradient of work W(x,y) (that is, partial derivatives by each argument) should deliver the vectors of the field F(x,y).
In other words, we should check that
∂W(x,y)/∂x = P(x,y) and
∂W(x,y)/∂y = Q(x,y)

Here are the calculations.
∂W(x,y)/∂x = ∂WAB(x,y)/∂x +
+
∂WBC(x,y)/∂x =
= (
∂/∂x)∫
[0,x]P(u,0)du +
+ (
∂/∂x)∫
[0,y]Q(x,v)dv

The first expression is a derivative by an upper limit of integration, which reverses the integration and results in
(∂/∂x)∫[0,x]P(u,0)du = P(x,0)

The second expression allows to bring differentiation under the integral, since differentiation and integration are for different arguments
(∂/∂x)∫[0,y]Q(x,v)dv =
= ∫
[0,y][(∂Q(x,v)/∂x]dv

From the definition of the conservative field (the integral of the vector field along any path depends only on the end points) follows that an integral around any closed path equals to zero.
A curl is defined as a limit of the ratio of an integral around a closed path (which is zero for conservative vector field, as stated above) to the area enclosed by this path. The result of this division is zero.
The curl in two dimensional case was calculated as
curl F(x,y) =
=
∂Q(x,y)/∂x − ∂P(x,y)/∂y

Since curl is zero for a conservative field,
∂Q(x,y)/∂x = ∂P(x,y)/∂y
and the expression for the second integral above can be changed to
(∂/∂x)∫[0,y]Q(x,v)dv =
= ∫
[0,y][(∂Q(x,v)/∂x]dv =
= ∫
[0,y][(∂P(x,v)/∂v]dv
Integral by v and differentiation by v reverse each other and the result is the original function
∫[0,y][(∂P(x,v)/∂v]dv =
= P(x,v)|y0 = P(x,y) − P(x,0)

Adding this to the first of two integrals above, that we found to be equal to P(x,0), the result will be P(x,y), which corresponds to our expectations.

Absolutely analogous calculations for ∂W(x,y)/∂x will yield Q(x,y) as a result.
These results prove that
grad W(x,y) = F(x,y)
and that proves the existence and construction of the scalar field W(x,y), gradient of which is our conservative vector field F(x,y).


Problem 3

Prove that a curl of a gradient of a three-dimensional scalar field is zero.

Solution

The solution in three-dimensional space is based on the formula for a curl and an expression of a gradient of a scalar field.
Let vector field F(x,y,z) be a gradient of a scalar field f(x,y,z):
Fx(x,y,z) = ∂f(x,y,z)/∂x
Fy(x,y,z) = ∂f(x,y,z)/∂y
Fz(x,y,z) = ∂f(x,y,z)/∂z

A curl of F(x,y,z) is a vector with components
curl F(x,y,z) = ∇⨯F(x,y,z) =
=
{∂Fz(x,y,z)/∂y−∂Fy(x,y,z)/∂z;
∂Fx(x,y,z)/∂z−∂Fz(x,y,z)/∂x;
∂Fy(x,y,z)/∂x−∂Fx(x,y,z)/∂y
}

Substituting Fx, Fy, Fz with their expressions in terms of partial derivatives of f(x,y,z), we obtain
∂Fz(x,y,z)/∂y−∂Fy(x,y,z)/∂z =
=
∂2f(x,y,z)/∂z∂y −
−
∂2f(x,y,z)/∂y∂z = 0

because a mixed partial second derivative by two different arguments does not depend on the order of differentiation (assuming the participating function is twice continuously differentiable)

Analogously,
∂Fx(x,y,z)/∂z−∂Fz(x,y,z)/∂x =
=
∂2f(x,y,z)/∂x∂z −
−
∂2f(x,y,z)/∂z∂x = 0


Finally,
∂Fy(x,y,z)/∂x−∂Fx(x,y,z)/∂y =
=
∂2f(x,y,z)/∂y∂x −
−
∂2f(x,y,z)/∂x∂y = 0


Since a conservative vector field can be represented as a gradient of some scalar field (its potential), we have proven that
curl grad f(...) = 0 or
∇⨯(∇f(...)) = 0
for any scalar vector field f(...).


Saturday, September 17, 2022

Circulation: UNIZOR.COM - Physics4Teens - Waves - Field Waves

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

Circulation of Vector Field

Consider a two-dimensional vector field F(x,y) with components
{Fx(x,y),Fy(x,y)}
For definitiveness, assume that vectors F(x,y) represent some force that can act on objects positioned at any point {x,y} on the coordinate XY-plane. For example, our plane is a surface of water and the wind blows on paper ships on it. So, at any given moment of time the vectors at any point of this two-dimensional vector field are defined by the magnitude and direction of the wind at that point, as represented by arrows on a picture below.


Consider now that the wind does not change and our task is to move a paper ship along some trajectory from point A to point B.
How much work should we perform?
We will consider different cases, increasing the complexity.

Uniform Vector Field and Straight Path

So, our field F(x,y) consists of vectors equal to each other and equal to the same vector F for all points {x,y} on a plane, and our path AB is a straight line.
This is a simple problem from Mechanics.
First, we have to find a projection FAB of vector F onto line AB and then multiply the magnitude of this projection by the length from A to B:
W = |FAB|·|AB|

Using scalar (dot) product of vectors, the same can be expressed as
W = (F·AB)
where AB is a vector from A to B.

If vector F is perpendicular to AB, the scalar product is zero and the work is zero, since the wind does not prevent us to move the ships from A to B nor helps us.

If vector F is collinear with AB, the scalar product is a product of a magnitude of F and a length of AB, taken with a positive sign if the direction of vector F is from B to A and we actually perform work against the wind or taken with a negative sign if the direction of vector F is from A to B and it's the field instead, not we, moves the ship.

If our segment AB is positioned along the X-axis and vector F has components {Fx,Fy}, the work is a product of Fx by a length of AB, taken with appropriate sign, as above.

Non-uniform Vector Field and Straight Path

Assume again that points A and B are on the X-axis.
Now vectors F(x,y) are not the same, their magnitude and directions are functions of point {x,y}.

Since F(x,y)=Fx(x,y)+Fy(x,y), the work against vector F(x,y) can be expressed as a sum of work against its component Fx(x,y), that is collinear with our path AB, and work against its component Fy(x,y), that is perpendicular to our path AB.

Obviously, the latter is zero since Fy(x,y) is perpendicular to path AB.

To calculate the work against Fx(x,y) along path AB (that is, for x from x=A to x=B, while y=0), we break segment AB into many tiny intervals of the same length Δx by points
x0=A, x1, x2,...,xn=B
Assuming that each interval is small enough, so Fx(x,0) does not significantly change within it, the work, approximately, equals to
W = Σi∈[1,n]Fx(xi,0)·Δx

All we need now to have exact value for work is to go to a limit with Δx→0 (assuming, the limit exists), getting
W = ∫[A,B]Fx(x,0)·dx

Non-uniform Vector Field and Curved Path

Our task is to move a paper ship from point P(xp,yp) to point Q(xq,yq) along a defined curved path in the two-dimensional vector force field F(x,y) and calculate the work performed on the way.

This case leads us to integration along a curved path.
This process is not much different from regular definite integral of some function f(x) on a segment x∈[a,b].

First, we break a curved path from point P(xp,yp) to point Q(xq,yq) into many tiny pieces, so small that each one is practically straight and vector field F(x,y) within each piece can be considered constant.

Now our problem to find a total work needed to move a paper ship against the wind from P to Q can be expressed approximately as a sum of works on each almost straight tiny segment against almost constant vector force field.
As we break the path into smaller and smaller pieces, our calculation will be more and more precise, and in the limit case we will come up with exact value of work performed.

The calculation of work on each straight path with constant vector field along it was described above in the part Uniform Vector Field and Straight Path.
All we need is to construct a scalar (dot) product of the vector of force F(x,y), considered constant in the tiny interval around each point {xi,yi}, by the length of ith interval, considered as a vector from {xi-1,yi-1} to {xi,yi}. Then we will sum up all the results from all pieces of a path.

To accomplish this, assume that we actually move along a curved path from P to Q in real time t. At t=0 we are at point P and at time t=T we arrive at point Q.
Our journey along the path on a two-dimensional plane can be described as a function of time: {x(t),y(t)}.

Let's break the total time from 0 to T into many tiny intervals, each equal to Δt:
{t0=0, t1, t2,...tn=T}
Our position along a path at time ti will be {x(ti),y(ti)} with {x(t0),y(t0)}=P and {x(tn),y(tn)}=Q.

Let the velocity of our movement along a path be
V(x,y) = {dx(t)/dt, dy(t)/dt}
This vector is always tangential to a path of motion, that is directed along each tiny piece of a curved path.
The length of the ith piece of a path equals to |V(xi,yi)|·Δt.
Therefore, the work performed on the ith piece of a path equals
ΔWi = (F(xi,yi)·V(xi,yi))·Δt
(here the first multiplication is a scalar product of two vectors, the second one is a product of two scalars)

Now we are ready to calculate approximate work performed on the whole path:
W[PQ] ≅ Σi∈[0,n]ΔWi =
=
Σi∈[0,n](F(xi,yi)·V(xi,yi))·Δt

Familiarity with a definition of the definite integral would lead to expression for the limit of approximate work above to its exact value
W[PQ] =
= ∫(F(x(t),y(t))·V(x(t),y(t)))·dt
where integration is performed in the time interval t∈[0,T]

As you see, an integration along a curved path is reduced to familiar process of integration on a time interval [0,T], as long as we know how we move along a path:
position r(t)={x(t),y(t)} and
velocity, which is a derivative of a position by time
V(x(t),y(t)) = dr(t)/dt =
=
{dx(t)/dt,dy(t)/dt}.

Using a position vector r(t)={x(t),y(t)}, the formula about total work performed on the path from P to Q can be written as W[PQ] =
=∫[0,T](F(x(t),y(t))·dr(t)/dt)·dt=
=
∫[0,T](F(x(t),y(t))·dr(t))
or, simpler,
W[PQ] = ∫[PQ](F·dr),
assuming the integration is performed along a path defined by vector
r(t)={x(t),y(t)}.

All the above analysis of a circulation of two-dimensional vector fields is easily transformed onto three-dimensional case, including the latest formula for a path integral with the only difference that vectors are dependent on three coordinates:
W[PQ] = ∫[PQ](F·dr),
where F = F(x,y,z) and
r = {x, y, z}.

Conservative Vector Fields

There are a few equivalent definitions of conservative vector field.
Here we will define a vector field as conservative if the above path integral (presented as a work done by moving a paper ship along some path from P to Q) depends only on the starting and ending points P and Q and is independent of which path from one to another we choose.

An immediate consequence of this is that a path integral along any closed loop is zero.
Indeed, choose two points on any closed loop, P and Q. Now we have two different paths from P to Q. Since integrals along both paths are the same, integral from P to Q along one of the paths is equal to integral from Q to P along the second path with an opposite sign:
∫[PQ](F·dr) = −∫[QP](F·dr)
The sum of these two integrals is a total integral on a closed loop, and it's equal to zero.

An equivalent definition of a conservative vector field F(x,y) is that it is a gradient of some scalar field f(x,y):
F(x,y) = grad f(x) = ∇f(x,y)
It can be proven that this definition is equivalent to the one above about path integral being dependent only on starting and ending points, each definition can be derived from the other.
The participating scalar function f(x,y) is called a potential for a given vector field F(x,y).

Curl of a Vector Field

By definition, a curl of a two-dimensional vector field at any point equals to a limit of this vector field's circulation along a closed path around that point, divided by the area enclosed in this path, assuming that this path's length and area it encloses tend to zero.

We leave open an issue about existence of this limit. Under general conditions of smoothness of the vector field this limit exists and, therefore, independent on how exactly we shrink the path around a point on a plane to reach the limit.

Let's find the curl analytically.
Choose a rectangular path ABCD around a point {x,y} of sizes Δx⨯Δy.


The choice of a rectangular form is related to ability to analyze separately X- and Y-components of the vector field with only one of them playing a role for each side of this rectangle.

Considering infinitesimal character of the sizes of this rectangle, we can assume that the X-component of the vector field Fx(x,y) is constant along the horizontal sides of a rectangle and equals to its value in the middle of a corresponding side, that is Fx(x,y−½Δy) for side AB and Fx(x,y+½Δy) for side CD.
This X-component should not participate in the calculation along vertical sides BC and DA, as it is perpendicular to them.

Similarly, we can assume that the Y-component of the vector field Fyy(x,y) is constant along the vertical sides of a rectangle and equals to its value in the middle of a corresponding side, that is Fy(x+½Δx,y) for side BC and Fy(x−½Δx,y) for side DA.
This Y-component should not participate in the calculation along horizontal sides AB and CD, as it is perpendicular to them.

Now the total circulation along our rectangular path is
W[ABCD] =
= Fx(x,y−½
Δy)·Δx +
+ Fy(x+½
Δx,y)·Δy −
− Fx(x,y+½
Δy)·Δx −
− Fy(x−½
Δx,y)·Δy
Signs of the members of the above sum depend on which vertex is a start of a path and which direction we choose. The formula above is related to point A as a start and counterclockwise movement along the path.

From the classical definition of a partial derivative for a function of two argument f(x,y)
∂f(x,y)/∂x =
=
lim
[f(x+Δx,y)−f(x,y)]/Δx
where lim is assumed as Δx→0.
Obviously, the same result is from a similar limit of
[f(x+½Δx,y)−f(x−½Δx,y)]/Δx

Therefore,
Fx(x,y+½Δy)−Fx(x,y−½Δy) ≅
≅
[∂Fx(x,y)/∂y]·Δy

Similarly,
Fy(x+½Δx,y)−Fy(x−½Δx,y) ≅
≅
[∂Fy(x,y)/∂x]·Δx

Using these, the circulation above equal to
[∂Fy(x,y)/∂x]·Δx·Δy −
−
[∂Fx(x,y)/∂y]·Δx·Δy

Notice the area of a rectangle Δx·Δy as a multiplier in both component.
Therefore, dividing the circulation around an infinitesimal path around our point by the area encompassed by this path, we obtain the curl of the vector field
curl F(x,y) =
=
∂Fy(x,y)/∂x
− ∂Fx(x,y)/∂y
We will use this definition in the next lecture that discusses curl of a two-dimensional vector field in more details.

Saturday, September 10, 2022

Field Problems: UNIZOR.COM - Physics4Teens - Waves - Field Waves

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

Problems on Field Characteristics

Problem 1

The gravitation field is characterized by a vector of force of gravity per unit of mass of a probe object (a point-mass) as a function of its distance from the source of the field (like Earth).
The direction of this force is always towards a center of mass that is the source of gravity.

Another characteristic of a gravitational field is its potential, which is a work (a scalar) needed to bring a unit of mass from infinity to a point of interest (see "Energy" part of this "Physics 4 Teens" course, chapter "Potential Energy", topic "Gravity").

Let the source of gravitational field be at location {0,0,0} and its mass is M.
Our point of interest is at location {x,y,z}.
The gravitational potential is inversely proportional to a distance from the center of the source of gravity and can be expressed as a scalar function of three coordinates
U(x,y,z) = −G·M·(x²+y²+z²)−½
where G is a gravitational constant.

Determine the vector
grad U(x,y,z) = V(x,y,z) of gradient of this field at any point {x,y,z}, describe its direction and magnitude.

Solution

Gradient of a scalar field is a vector directed towards the highest rate of change of the value of a scalar field.
The components of a vector of gradient are partial derivatives of a scalar field by each coordinates
grad U(x,y,z) = V(x,y,z) =
=
{∂U/∂x,∂F/∂y,∂F/∂z}
which can also be written using a symbol ∇ as
grad U(x,y,z) = V(x,y,z) =
=
∇U(x,y,z)
that looks like a multiplication of a pseudo-vector
∇ = {∂/∂x,∂/∂y,∂/∂z}
by a scalar U(x,y,z).

In our case of
U(x,y,z) = −G·M·(x²+y²+z²)−½

Partial derivative by argument x of this function is
∂U(x,y,z)/∂x =
= G·M·x·(x²+y²+z²)−3/2

Similarly,
∂U(x,y,z)/∂y =
= G·M·y·(x²+y²+z²)−3/2

and
∂U(x,y,z)/∂z =
= G·M·z·(x²+y²+z²)−3/2


The direction of vector grad U(x,y,z) is along the line from the origin of coordinates towards a location of a point of interest {x,y,z}.

The magnitude of this vector is
|grad U(x,y,z)| =
= G·M·(x²+y²+z²)−1

which happened to be the magnitude of the gravitational force of mass M onto a unit mass (that is, the field intensity) at location {x,y,z}, according to the Newton's Law of Gravitation.
The only difference between the force of gravity and the gradient of a gravitational potential field is, the gradient directed from the center to point {x,y,z}, while the force of gravity is in the opposite direction.


Problem 2

Given a three-dimensional vector field
V(x,y,z) = {0,0,z}

(a) Describe this vector field verbally.
(b) Is there a front surface of this field, where all vectors at it are equal?
(c) Find a divergence of this field.
(d) Is there a part of space where divergence is zero?
(e) Find a curl of this field.

Solution

(a) For any point {x,y,z} the vector V(x,y,z)={0,0,z} has only Z-component not equal to zero. It means, all vectors of this vector field are parallel to Z-axis with zero projection on two other axes.
(b) All vectors at points that belong to the same plane parallel to XY-plane are of the same magnitude and direction since their Z-components are the same, while X- and Y-components are zero. So, any
(c) Divergence of V(x,y,z) is
div V(x,y,z) =
= div (0·i + 0·j + z·k) =
=
∂0/∂x + ∂0/∂y + ∂z/∂z =
= 0 + 0 + 1 = 1

(d) No. The divergence div V(x,y,z) is equal to 1 everywhere.
(e) Curl of V(x,y,z) is
curl V(x,y,z) =
=
curl (0·i + 0·j + z·k) =
= (
∂z/∂y−∂0/∂z)·i +
+
∂0/∂z−∂z/∂x)·j +
+
∂0/∂x−∂0/∂y)·k) =
= (0·i + 0·j + 0·k) = 0


Problem 3

Given a two-dimensional vector field
V(x,y) =
=
{−y/√(x²+y²), x/√(x²+y²)}

(a) Describe this vector field verbally.
(b) Is there a front line of this field, where all vectors at it are equal?
(c) Find a divergence of this field.
(d) Is there a part of space where divergence is zero?
(e) Find a curl of this field.

Solution

(a) This vector field is circular, that is a vector V(x,y) at any point of interest is perpendicular to a radius-vector to this point from the origin of coordinates, since the scalar product of V(x,y) and r(x,y)={x,y} is zero.
(b) Yes. Any radial line from the origin of coordinates represents a front line because any field vector originated on it have the same direction (perpendicular to this radial line) and magnitude of 1.
(c) Divergence of V(x,y) is
div V(x,y) =
= div
[−y/√(x²+y²)]·i +
+
[x/√(x²+y²)]·j =
=
∂
[−y/√(x²+y²)]/∂x +
+
∂
[x/√(x²+y²)]/∂y =
= (−y)·(−x)·(x²+y²)−3/2 +
+ (x)·(−y)·(x²+y²)−3/2 =
= (−y·x+x·y)·(x²+y²)−3/2 = 0

(d) Yes, everywhere the divergence is zero. The equality of the magnitude of the field vectors plays a major role.
(e) Curl of V(x,y) is
curl V(x,y) =
=
curl
[−y/√(x²+y²)]·i +
+
[x/√(x²+y²)]·j =
=
{∂[x/√(x²+y²)]/∂x −
−
∂
[−y/√(x²+y²)]/∂y}·k =
= x²·(x²+y²)−3/2 +
+ y²·(x²+y²)−3/2 =
= 1/√(x²+y²)

As we see, the curl is the same for all points of interest on the same distance from the origin of coordinates and the curl is diminishing as a point of interest is moving away from the origin of coordinates.