Calculating Work with Line Integrals: Solving a Force Field Problem

Click For Summary
The discussion focuses on calculating work done by a force field using line integrals, specifically from point P1(1,0,0) to P2(0,1,1). The user, Julien, successfully parameterized the line and calculated the work for the first path, seeking confirmation on the method used. For the second path, a helix, Julien struggled to find the correct parameterization but eventually proposed a suitable equation. The conversation also delves into determining the conditions under which the force field is conservative, leading to discussions about potential functions and the correct integration methods. Overall, the thread highlights the complexities of line integrals and the importance of accurate parameterization in vector calculus.
  • #31
JulienB said:
@haruspex Ah okay! No problem, the most I learn comes from the mistakes I make. Thanks for your advices!
This thread got me interested in how to find the potential from the field. I came up with this. Let the independent variables be xi. We know the functions ##\phi_{x_i}##, the subscript denoting partial derivative. I'll abbreviate that to ##\phi_i##.
##\phi=\Sigma \int \phi_i.dx_i-\Sigma_{i<j} \int\int \phi_{ij}.dx_i.dx_j+\Sigma_{i<j<k} \int\int\int \phi_{ijk}.dx_i.dx_j.dx_k ...##.
No doubt this is a known result, just not known to me. It's analogous to the principle of inclusion and exclusion.
But in most cases, it will be far simpler just to spot the potential function with a little trial and error.

Interestingly, it produces an answer even where no potential function exists. This is because it assumes that the function produced by differentiating the given ##\phi_1## wrt x2 will match that obtained by differentiating the given ##\phi_2## wrt x1
 
Last edited:
Physics news on Phys.org
  • #32
haruspex said:
##\phi=\Sigma \int \phi_i.dx_i-\Sigma_{i<j} \int\int \phi_{ij}.dx_i.dx_j+\Sigma_{i<j<k} \int\int\int \phi_{ijk}.dx_i.dx_j.dx_k ...##
Interesting. ...took me a while to digest this :olduhh:. It does look right. I believe each summation term just yields ##\phi## multiplied by a binomial coefficient. Factoring out ##\phi##, you get ##\phi## multiplied by the sum of the coefficients (with the alternating signs). The sum of the coefficients gives 1, so the entire expression reduces to ##\phi##. I've never seen a function expressed this way.
 
  • #33
TSny said:
I believe each summation term just yields ϕmultiplied by a binomial coefficient.
Not exactly. Consider φ=xy+z. The first summation gives 2xy+z. The excess xy gets removed by the second summation.
 
  • #34
haruspex said:
Not exactly. Consider φ=xy+z. The first summation gives 2xy+z. The excess xy gets removed by the second summation.
Yes, you are right. I was making the stupid mistake of thinking that taking the partial derivative of a function with respect to x, say, followed by integrating with respect to x would give back the function (up to a constant of integration). Certainly not!
 
  • #35
haruspex, I'm a little unsure of how to interpret the integrals in your expression. Suppose we have two independent variables ##x## and ##y## and we want to give meaning to the integral ##\int{(x+y)^2}dx##. Doing the integral with a ##u## substitution ##u = x + y## yields ##(x+y)^3/3##. But, instead, if I square out ##(x+y)^2## and then integrate, I get ##x^3/3 + x^2y + xy^2##. These results differ by ##y^3/3##, which can be considered a "constant of integration" since ##y## is held constant during the integration with respect to ##x##. So I'm having trouble seeing how the integrals in your expression lead to a definite result.
 
  • #36
TSny said:
Yes, you are right. I was making the stupid mistake of thinking that taking the partial derivative of a function with respect to x, say, followed by integrating with respect to x would give back the function (up to a constant of integration). Certainly not!
Fwiw, it can be written in vector notation as ##\phi=\int \vec\nabla.\vec{dr}-\int\int (\vec \nabla\times\vec\nabla)\phi.(\vec{dr}\times\vec{dr})+\int\int\int \wedge^3\vec \nabla\phi.\wedge^3\vec{dr}##, where ##\wedge^3\vec v## stands for the triple scalar product ##\vec v.\vec v\times\vec v## (by analogy with the exterior product).
 
  • #37
TSny said:
haruspex, I'm a little unsure of how to interpret the integrals in your expression. Suppose we have two independent variables ##x## and ##y## and we want to give meaning to the integral ##\int{(x+y)^2}dx##. Doing the integral with a ##u## substitution ##u = x + y## yields ##(x+y)^3/3##. But, instead, if I square out ##(x+y)^2## and then integrate, I get ##x^3/3 + x^2y + xy^2##. These results differ by ##y^3/3##, which can be considered a "constant of integration" since ##y## is held constant during the integration with respect to ##x##. So I'm having trouble seeing how the integrals in your expression lead to a definite result.
Yes, that needs to be clarified. I take the integrals to be analogous to partial derivatives, so integration dx treats y and z as constants.
 
  • #38
haruspex said:
Yes, that needs to be clarified. I take the integrals to be analogous to partial derivatives, so integration dx treats y and z as constants.
Yes, that's how I was interpreting the integrals. I just don't see how to decide on the "arbitrary functions of integration". I will think some more about it tomorrow.
 
  • #39
TSny said:
Yes, that's how I was interpreting the integrals. I just don't see how to decide on the "arbitrary functions of integration". I will think some more about it tomorrow.
What I was hoping to achieve is that you don't have to worry about the arbitrary functions. They should come in via the other integrals. All that should be arbitrary at the end is a constant. It seems to work for the cases I've tried.
 
  • #40
Wow nice to see the topic got you so interested :) I can't help (yet), but I'm reading with a lot of interest!
 

Similar threads

Replies
3
Views
1K
Replies
2
Views
1K
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
1
Views
1K
Replies
11
Views
1K
  • · Replies 32 ·
2
Replies
32
Views
2K