The contiunity equation and differentiation

In summary, the continuity equation, given as ln(\rho) + ln(A) + ln(V) = constant, can be differentiated to obtain the equation \frac{d\rho}{\rho} + \frac{dA}{A} + \frac{dV}{V} = 0. However, the question of what this is differentiated with respect to is dependent on the value of the constant. The differentiation is not strictly a derivative, but a total differential, and can be thought of as an accretion along a curve of constant value. In order to find the linear part of the equation, the accretions must be related to each other. This can be done by using the product rule on \Delta (\
  • #1
Cyrus
3,238
16
The contiunity equation is given as:

[tex] ln(\rho) + ln(A) + ln(V)=constant[/tex]

"Differentiating Eq. 11.43 we get:

[tex]\frac{d\rho}{\rho}+ \frac{dA}{A} +\frac{dV}{V}=0[/tex]

My question is, what is this differentiated with resepct to?

Its clearly not [tex]\rho[/tex], A or V alone.
 
Last edited:
Physics news on Phys.org
  • #2
It depends on what your "constant" is actually independent of. For instance, if the top equation is a constant in space or time, then a derivative with repsect to space or time co-ordinates will give you the bottom equation.
 
  • #3
Then, shouldn't it be [tex]\frac{d\rho}{dx}\frac{1}{\rho}[/tex], (assuming d.w.r.t. x).

[tex]d\rho[/tex] alone, is meaningless.
 
  • #4
While in the above case, it may simply be laziness of notation, I don't believe it is, in general, meaningless. But I'm not qualified to talk about differential forms, so I'll let someone else do it.
 
  • #5
It's not, strictly speaking, a derivative, it is a total differential. Just as, with f(x,y), both x and y are functions of t, we have (chain rule)
[tex]\frac{df}{dt}= \frac{\partial f}{\partial x}\frac{dx}{dt}+ \frac{\partial f}{\partial y}\frac{dy}{dt}[/tex]
and the total differential is
[tex]df= \frac{df}{dx}dx+ \frac{df}{dy}dy[/tex]
with no mention of a specific variable, t.
 
  • #6
Go along the curve of constant value C, with an accretion [tex](d\rho,dA,dV)[/tex]
Then, we have two equations:
[tex]\ln(\rho)+\ln(A)+\ln(V)=C[/tex]
[tex]\ln(\rho+d\rho)+\ln(A+dA)+\ln(V+dV)=C[/tex]
Subtracting, we get:
[tex](\ln(\rho+d\rho)-\ln(\rho))+(\ln(A+dA)-\ln(A))+(\ln(V+dV)-\ln(V))=0[/tex]
an equation for the related accretions whose linear part is given by your second expression.
 
  • #7
arildno said:
Go along the curve of constant value C, with an accretion [tex](d\rho,dA,dV)[/tex]
Then, we have two equations:
[tex]\ln(\rho)+\ln(A)+\ln(V)=C[/tex]
[tex]\ln(\rho+d\rho)+\ln(A+dA)+\ln(V+dV)=C[/tex]
Subtracting, we get:
[tex](\ln(\rho+d\rho)-\ln(\rho))+(\ln(A+dA)-\ln(A))+(\ln(V+dV)-\ln(V))=0[/tex]
an equation for the related accretions whose linear part is given by your second expression.

I know this completely goes against everything I know about mathematical rigor, especially since I haven't learned about differential geometry yet, but...

[tex](\ln(\rho+d\rho)-\ln(\rho))+(\ln(A+dA)-\ln(A))+(\ln(V+dV)-\ln(V))=0[/tex]

Dividing through by [tex]dA\cdot dV \cdot d\rho[/tex] we get some nice difference quotients giving:

[tex]\frac{1}{\rho \cdot dA \cdot dV} + \frac{1}{A\cdot d\rho \cdot dV}+\frac{1}{V\cdot dA \cdot d\rho} = 0[/tex]

Then, multiplying by [tex]dA\cdot dV \cdot d\rho[/tex] yields the desired result. Would this be an acceptable thing to do, pretending I knew the rigorous theory of differentials?
 
  • #8
You have, for finite accretions:
[tex]\ln(\rho+d\rho)-\ln(\rho)=\frac{d\rho}{\rho}+O(d\rho^{2})[/tex]
and so on, by simple Taylor expansions.

The retained LINEAR equation is that relation which must hold between the differential accretions.
 
  • #9
What is a finite accretion :( ? And doesn't that Taylor series only have a radius of convergence of 1?
 
  • #10
A triple of real numbers (dp,dA,dV), not all zero.
 
  • #11
Can those differentials really be considered real numbers? Even when they are considered numbers in non-standard analysis they had to construct the hyper reals to do so.
 
  • #12
Well, I made the notational sin using d's rather than [itex]\bigtriangleup[/itex]'s instead.
 
  • #13
Differentiating is the calculation of tangent planes to a surface. There is no need for "with respect to" to do that. The "wrt" has the meaning of picking a preferred parameterisation (of curves on the surface).
 
  • #14
Thanks HallyofIvy and arildno.

Also, the equation above it says:

[tex]dp + \frac{1}{2}d(V^2)+\gamma dz=0[/tex]

Here, [tex]d(V^2)=2VdV[/tex]. But in this case isn't it d.w.r.t. V? I.e. [tex]\frac{d}{dV}(V^2)[/tex]

Or is that ok in terms of differential notation? I suppose its just another application of the total differential on [tex]V^2[/tex].

Edit: Ah, it can't be [tex]\frac{d}{dV}(V^2)[/tex] because that would just yield 2V, and no dV term.
 
  • #15
Another thing I was not sure about:

If you follow the derivation of the product rule it says:

[tex] \Delta (uv)=u \Delta v +v\Delta u + \Delta u \Delta v[/tex]

Am I not allowed to change the [tex]\Delta[/tex]'s into d's if I consider [tex]\Delta[/tex] very small? In which case this could also be viewed as an application of the product rule?

I.e, use the product rule on [tex]\Delta (\rho VA)=0[/tex] and divide by the accretion [tex](d\rho,dA,dV)[/tex]
to get the same result.
 
Last edited:
  • #16
Cyrus said:
Then, shouldn't it be [tex]\frac{d\rho}{dx}\frac{1}{\rho}[/tex], (assuming d.w.r.t. x).

[tex]d\rho[/tex] alone, is meaningless.
It's meaningful, you just haven't been taught the meaning.


You are already encouraged to think of things like [itex]\rho[/itex], P, and V as 'numbers'. You know that they're really functions of your state, but you manipulate them as if they were ordinary numbers. For example, you write [itex]\ln \rho[/itex] when you really mean function composition; it is another function of your state, and evaluating it on a state [itex]\xi[/itex] gives you the number [itex](\ln \rho)(\xi) := \ln(\rho(\xi))[/itex]. You could view this as sloppiness, but it also turns out that there is a deep reason that suggests this really is the right way to be treating these things.


Expressions like [itex]d\rho[/itex] are differential forms. But to keep in spirit, you simply think of a new kind of object called a 'differential', and it turns out that 'numbers' and 'differentials' relate in all the ways you would like them to relate, except for one -- you you can't divide 'differentials' to get a derivative1. In order to get derivatives, you have to pair a 'differential' with a 'vector'. (really, a vector field. But we call it a 'vector' to keep in the right spirit!) e.g. if you've parametrized your state space with the variables (s, t), then you have the 'vectors' [itex]\partial/\partial s[/itex] and [itex]\partial / \partial t[/itex]... and now everything works out:

[tex]\left( d\rho \cdot \frac{\partial}{\partial s} \right) (\xi(s, t))
=
\frac{\partial}{\partial s} \left( \rho(\xi(s, t)) \right)
[/tex]

where the right hand side is an ordinary partial derivative that you learned in your calculus courses. As you might imagine, the left hand side is usually given the same notation: [itex]\partial \rho / \partial s := d\rho \cdot \partial/\partial s[/itex].


1: Well, you probably can make some sense of division, but I won't try to do it here
 
Last edited:
  • #17
Hurkyl said:
-- you you can't divide 'differentials' to get a derivative1

Why not? [tex] \frac{dy}{dx} = _{lim \Delta x \rightarrow 0} \frac{\Delta y}{\Delta x} [/tex]

This is the differential, dy, divided by the differential dx.

I.e. [tex] dy=f'(x)dx[/tex]

Its exactly the division of dy by dx.
 
  • #18
Cyrus said:
Why not? [tex] \frac{dy}{dx} = _{lim \Delta x \rightarrow 0} \frac{\Delta y}{\Delta x} [/tex]

This is the differential, dy, divided by the differential dx.

I.e. [tex] dy=f'(x)dx[/tex]

Its exactly the division of dy by dx.
Division does make sense in some cases, but it doesn't work out so nicely in others. One of matt grime's favorite counterexamples is the identity

[tex]
\frac{\partial x}{\partial y} \frac{\partial y}{\partial z} \frac{\partial z}{\partial x} = -1
[/tex]

:smile:


For example, if our state space is the plane (parametrized by (x, y)), and we define the scalar z by

z = x + y

then we also have

x = z - y
y = z - x

and we compute

[tex]
\frac{\partial x}{\partial y} \frac{\partial y}{\partial z} \frac{\partial z}{\partial x}
=
(-1) \cdot 1 \cdot 1 = -1[/tex]


The tricky point here is that the vector [itex]\partial / \partial y[/itex] is not well-defined on its own -- here, it was used to denote the directional derivative in the direction in which "y increases but z remains fixed". Similarly for [itex]\partial / \partial z[/itex] and [itex]\partial / \partial x[/itex].

In other words, you have to have chosen a parametrization before these partial differentiation operators make sense, and [itex]\partial / \partial y[/itex] can mean different things depending on the parametrization. (e.g. the direction in which "y increases but z remains fixed" is different from the direction in which "y increases but x remains fixed", but alas, in the simplest notation, both would be notated [itex]\partial / \partial y[/itex])

On the other hand, you need no such thing to make sense of differentials.


Roughly speaking, differentials are to functions as vectors are to parametrizations. And to compute a derivative, you need both a differential and a vector.
 
Last edited:
  • #19
Cyrus said:
Another thing I was not sure about:

If you follow the derivation of the product rule it says:

[tex] \Delta (uv)=u \Delta v +v\Delta u + \Delta u \Delta v[/tex]

Am I not allowed to change the [tex]\Delta[/tex]'s into d's if I consider [tex]\Delta[/tex] very small? In which case this could also be viewed as an application of the product rule?

I.e, use the product rule on [tex]\Delta (\rho VA)=0[/tex] and divide by the accretion [tex](d\rho,dA,dV)[/tex]
to get the same result.

Not sure what you are saying here.
By, definition, we have:
[tex]\bigtriangleup(uv)=(u+\bigtriangleup{u})(v+\bigtriangleup{v})-uv[/tex]
By merely using the arithemical law of distributivity, you gain your result.
 
  • #20
Im saying is it incorrect to replace the deltas with d's?
 
  • #21
Cyrus said:
...

If you follow the derivation of the product rule it says:

[tex] \Delta (uv)=u \Delta v +v\Delta u + \Delta u \Delta v[/tex]

Am I not allowed to change the [tex]\Delta[/tex]'s into d's if I consider [tex]\Delta[/tex] very small? In which case this could also be viewed as an application of the product rule? ...

The answer is yes, but the justification depends from the ...way you thinking! :smile:

  • In a world filled up with physicists the quantity [tex]\delta\,u\,\delta\,v[/tex] is too small and you can neglect it, thus if you divide, say with [tex]\delta\,t[/tex] you get the product rule
    [tex]\frac{d}{d\,t}(u\cdot v)=\frac{d\,u}{d\,t}\cdot v+u\cdot\frac{d\,v}{d\,t}[/tex]
    no need for reference to limits, the word small makes it all work.
  • In a world filled up with mathematicians "[itex] \Delta t[/itex] small" means to divide by [itex] \Delta t[/itex] and take the limit [itex] \Delta t\rightarrow 0[/itex] in order to formulate the derivatives of [itex]u,\,v[/itex] with respect to [itex] t[/itex]. Of course you have to known that [itex]u(t),\,v(t)[/itex] are differentiable, therefor continuous.
    On the other hand

    [tex] \Delta (uv)=u \Delta v +v\Delta u + \Delta u \Delta v[/tex]

    means nothing! What is the argument of [itex]u(t),\,v(t)[/itex] for the above equation? Thus the correct way to evaluate [tex] \Delta (uv)[/tex] is to write
    [tex]\begin{array}{lll}\Delta(u(t)\,v(t)) &=&u(t)\,v(t) -u(t_o)\,v(t_o)\\ &=& u(t)\,v(t) +u(t_o)\,v(t)-u(t_o)\,v(t)-u(t_o)\,v(t_o) \\ &=& \Delta(u(t))\,v(t) +u(t_o)\,\Delta(v(t))\end{array} [/tex]
    Divide now by [tex]\Delta t[/tex] and take the limit [tex]\Delta t\rightarrow 0[/tex] you have the product rule again (using of course the continuity o the [itex]u(t),\,v(t)[/itex]).

Bottom line: you can apply the product rule to the [tex] \Delta (uv) [/tex] and divide by [tex]\Delta t[/tex] in order to produce derivates!

P.S.1 The whole analysis is based on the fact that we are dealing with functions on the real line (one independent variable). For all the other cases ([tex] \mathbb{R}^n[/tex], manifolds) we must invite for help, the differential forms, as Hurkyl posted.

P.S.2 Physicist' s way is quicker (I prefer it! :biggrin: ), but in order to be sure that you applied it correctly you have to know the mathematician' s way! :smile:
 
  • #22
Though I'm sure most Physicists or physics students actually haven't learned non-standard analysis, it is their barrier of criticism to mathematicians because that proof of the product rule is completely justified by the theory.

For non-standard analysis, in the 1960's Abraham Robinson constructed the set of the hyperreals, an extension of the real numbers to include infinitesimals and infinities (one was defined as the reciprocal of the other, just a matter of preference). In the hyperreals, the infinitesimals posses the property that they are smaller in modulus than any real number, and that zero isn't the only infinitesimal. It also had the property (well, definition from construction I believe) that its square was equal to (exactly) zero.

Edit: I should mention, I haven't offically taken a course in NSA either, so I shouldn't be talking at all.
 
  • #23
Gib Z said:
In the hyperreals, the infinitesimals posses the property that they are smaller in modulus than any real number, and that zero isn't the only infinitesimal. It also had the property (well, definition from construction I believe) that its square was equal to (exactly) zero.
The red part is not right.

The revolutionary property of the hyperreals is that they satisfy exactly the same set of 'internal' statements that the real numbers do. (this is called elementary equivalence, and in this context it's also called the transfer principle) For example, the real numbers satisfy the internal property that the only solution to x*x=0 is x=0. Therefore, the hyperreals satisfy the same property.

(The hyperreals are not useful on their own -- the power of nonstandard analysis comes from comparing the standard reals with the hyperreals)



Number systems that have the property you stated are actually easy to construct. For example, you can construct one in exactly the same way you would the complexes; except rather than adjoining a new number i satisfying [itex]i^2 = -1[/itex], you adjoin a new number [itex]\epsilon[/itex] satisfying [itex]\epsilon^2 = 0[/itex]. In fact, this particular number system even has a name: the dual numbers (see wikipedia). I have them seen used fruitfully in purely algebraic contexts, and I think also in differential geometry.
 
Last edited:
  • #24
Ahh that's odd, I could have sworn I read that, and on wikipedia too. But your logic is obviously correct, I must brush up :(
 

1. What is the continuity equation?

The continuity equation is a fundamental equation in fluid mechanics that expresses the principle of conservation of mass. It states that the mass of a fluid entering a given region must be equal to the mass of the fluid leaving that region, plus any sources or sinks of mass within the region.

2. How is the continuity equation used in fluid mechanics?

The continuity equation is used to analyze and predict the behavior of fluids. It is particularly useful in situations where the flow velocity is changing, such as in pipes, nozzles, and pumps. By applying the continuity equation, we can determine how the velocity and cross-sectional area of a fluid will change as it flows through a given system.

3. What is the mathematical form of the continuity equation?

The mathematical form of the continuity equation is ∂ρ/∂t + ∇·(ρv) = 0, where ρ is the density of the fluid, t is time, v is the fluid velocity, and ∇· is the divergence operator. This equation can also be written in integral form as the mass flux through a closed surface is equal to the rate of change of mass within that surface.

4. What is the significance of differentiation in the continuity equation?

Differentiation is used in the continuity equation to express the change in fluid velocity over time and in space. It allows us to analyze how the flow of a fluid changes at different points in a system and how it evolves over time. Differentiation is also essential in solving differential equations that arise from the continuity equation.

5. Can the continuity equation be applied to all types of fluids?

Yes, the continuity equation is a universal principle and can be applied to all types of fluids, including liquids, gases, and even plasmas. However, in some cases, the equation may need to be modified to account for compressibility or other factors that affect the behavior of the fluid.

Similar threads

Replies
3
Views
321
Replies
19
Views
3K
Replies
22
Views
2K
Replies
10
Views
679
Replies
2
Views
922
Replies
33
Views
2K
Replies
2
Views
156
Replies
10
Views
1K
Replies
4
Views
1K
Replies
3
Views
932
Back
Top