Integrating a partial derivative

In summary, the conversation discusses the concept of stream function and its relation to flow velocity in fluid mechanics. The author introduces the stream function as a potential function and shows how it can be integrated to obtain the flow velocity components. There is a discussion about the notation used for partials and the conditions required for integration. The conversation also touches on the concept of exact differential equations and their relation to potential functions.
  • #1
Saladsamurai
3,020
7

Homework Statement


Well hello! :smile:

I am still uncomfortable with partials. In my (fluid mechanics) text we introduce this "stream function" [itex]\Psi(x,y)[/itex] such that [itex]u =\partial{\Psi}/\partial{y}[/itex] and [itex]v =-\partial{\Psi}/\partial{x}[/itex] where u and v are the horizontal and vertical components of the flow velocity.

The author then integrates [itex]u =\partial{\Psi}/\partial{y}[/itex] to obtain [itex]\Psi = \int_0^y u\,dy[/itex]. This does not jive well with me. First of all, I don't think we can just say [itex]u =\partial{\Psi}/\partial{y} \rightarrow \Psi = \int u \,dy[/itex] can we? He just completely ignored the fact that they were partials! Or has he?

Would it be correct to assume that what he means is for us to integrate [itex]\int\partial{\Psi} = \int u\,\partial{y}[/itex] in the same way that we would integrate [/itex]\int d\Psi=\int u \,dy[/itex] under the condition that our constant of integration include the possibility that it is a function of x ?Just trying to reason through this one. Thanks!
 
Physics news on Phys.org
  • #2
exactly so say
[tex]
u(x,y) =\partial{\Psi(x,y)}/\partial{y}
[/tex]

then the form of psi will be
[tex]
\Psi(x,y)} = \int U(x,y) + g(x)
[/tex]
[tex]
U(x,y) = \int u(x,y)
[/tex]
where g is the constant of integration

not that the way psi is written in terms of the definite integral sets it to be zero at y=0
 
  • #3
lanedance said:
exactly so say
[tex]
u(x,y) =\partial{\Psi(x,y)}/\partial{y}
[/tex]

then the form of psi will be
[tex]
\Psi(x,y)} = \int U(x,y) + g(x)
[/tex]
[tex]
U(x,y) = \int u(x,y)
[/tex]
where g is the constant of integration

not that the way psi is written in terms of the definite integral sets it to be zero at y=0

Right. Ok. I have a feeling he is just "hiding" the g(x) somewhere else, whether it be in an unspoken assumption or elsewhere in the end result.

Out of curiosity: When talking about the integrals of single variable functions and we use Leibnitz notation, we typically 'separate' the equation as [itex]dy/dx = f(x)\rightarrow y(x)=\int f(x)\,dx[/itex].

Is it proper to do the same with partials: [itex]\partial{y}/\partial{x} = f(x)\rightarrow y(x,y)=\int f(x)\,\partial{x}[/itex]? Where upon integration we let the constant of integration be a function of x.

It is just the notation that I am curious about.
 
  • #4
The stream function is an example of a potential function, say [tex]\Phi(\vec{x})[/tex]. By potential function, we mean that the components of the gradient [tex]\nabla \Phi(\vec{x})[/tex] are related to quantities of physical interest, in this case the components of flow velocity. The proper way to compute the potential is via a line integral:

[tex] \int_L \nabla \Phi(\vec{x})\cdot d\vec{x} = \Phi(\vec{x}_2) - \Phi(\vec{x}_1),[/tex]

where [tex]L[/tex] is a smooth path from [tex]\vec{x}_1[/tex] to [tex]\vec{x}_2[/tex] and [tex]d\vec{x}[/tex] is the tangent vector at each point of the path.

It might be useful to see if you can apply this definition to the example in the text to see if there's something special about the path chosen there to explain the absence of an integration constant. It's also possible that the potential vanishes at [tex](0,0)[/tex] and the author is using that implicitly.

Your question about differential equations is also explained by the formula above. We can integrate a function of two variables whenever we can express the equation in the form

[tex]M(x,y) dx + N(x,y) dy = \nabla \Phi(x,y) \cdot d\vec{x}.[/tex]

This is true whenever

[tex]\frac{\partial M}{\partial y} = -\frac{\partial N}{\partial x},[/tex]

which comes from demanding that the curl of a gradient is zero. You can refer to a diff eq text for exact differential equations to see the details.
 
  • #5
Hi there fzero! Great information. I will check into this as soon as I trudge through my assignments. I flipped back a few pages and noticed that he imposed the condition that [itex]\Psi(x,0) = 0[/itex] and looking at your post this looks like it might be what I was missing.

I am familiar (from an engineering mathematics standpoint) with exact diff eqs. So, do we say that we cannot integrate function of two variables when it is not exact?
 
  • #6
Saladsamurai said:
Hi there fzero! Great information. I will check into this as soon as I trudge through my assignments. I flipped back a few pages and noticed that he imposed the condition that [itex]\Psi(x,0) = 0[/itex] and looking at your post this looks like it might be what I was missing.

I am familiar (from an engineering mathematics standpoint) with exact diff eqs. So, do we say that we cannot integrate function of two variables when it is not exact?

It's sometimes possible that we can use an integrating factor to show that there's a related exact differential. If a differential is completely not exact, then a potential function does not exist, but there can still be some other solution to the differential equation (possibly not expressible analytically). If there is no potential function, then the physics is usually path dependent. For instance if there was no stream function, the integrals of the flow velocity components would not just depend on the endpoints of the line integral, but would depend on the details of the path chosen. Also the line integral over a closed path would not vanish. Presumably most of your course will focus on cases where a potential exists.
 

1. What is a partial derivative and why is it important in integration?

A partial derivative is a mathematical concept used to measure the rate of change of a function with respect to one of its variables while holding other variables constant. It is important in integration because it allows us to find the rate of change of a function in a specific direction, which is essential in many real-life applications.

2. What is the difference between a partial derivative and a total derivative?

A partial derivative measures the rate of change of a function with respect to one variable, while a total derivative measures the rate of change of a function with respect to all of its variables. In other words, a partial derivative considers all variables except one to be constant, while a total derivative takes into account the impact of all variables on the function.

3. How do you integrate a partial derivative?

To integrate a partial derivative, you first need to determine the variable with respect to which the derivative is taken. Then, you can integrate the derivative as you would a regular function, treating all other variables as constants. This will give you the initial function, with an added constant of integration for each variable.

4. Can a partial derivative be negative?

Yes, a partial derivative can be negative. This means that the function is decreasing in the direction of that variable. However, it is important to note that a negative partial derivative does not necessarily mean that the overall function is decreasing.

5. What are some real-life applications of integrating a partial derivative?

Integrating a partial derivative has many real-life applications, such as in physics to calculate velocity and acceleration, in economics to determine marginal cost and marginal revenue, and in engineering to optimize systems and processes. It is also used in fields such as meteorology, biology, and finance to analyze and model complex systems.

Similar threads

  • Calculus and Beyond Homework Help
Replies
6
Views
549
Replies
4
Views
648
  • Calculus and Beyond Homework Help
Replies
3
Views
278
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
910
  • Calculus and Beyond Homework Help
Replies
10
Views
2K
  • Calculus and Beyond Homework Help
Replies
4
Views
727
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
21
Views
1K
  • Calculus and Beyond Homework Help
Replies
10
Views
1K
Back
Top