How can I derive a three-variable function from two given points?

In summary, the conversation revolves around a problem involving a force field and a line integral, where the answer was solved using a vector representation and a line integral. The individual is now looking for an alternative method and has a question about deriving a path as a function of (x,y,z) from given points. It is discussed that this cannot be done by defining a path in (x,y,z) due to it being a straight line in three-dimensional space. A solution is suggested to reverse substitute from u to x,y,z.
  • #1
schroder
369
1
Recently I was working through a problem involving a force field, and came up with a question I could not answer, so I thought I would post it here. I solved the problem using a vector representation and a line integral, and although I am sure the answer is correct, I would like to solve it by a slightly different method. My question is about the method.

Here is the original problem: I have a vector field x^3 i + 3zy^2 j + -x^2y k and I am calculating the line integral along the straight line segment passing through points (3,2,1) to (0,1,0)
I set this up in terms of u : (3-3u) i + (2-u) j + (1-u) k
Now I substituted into the vector field to get:
[(3 - 3u)^3 (-3)] + [3 (1 - u) (2 – u)^2 (-1) ] + [(3 -3u)^2 (2 – u) (-1)]
This is now integrated in respect to u between the limits 0 to 1 yielding: -19.25

So far so good. Now what I would like to do is integrate the same field in terms of (x,y,z) instead of u. To do that I need to derive a path as a function of (x,y,z) from the given points. That is my question! Of course, I know how to derive the function for two points given in (x,y) by using the point-slope formula. But it has somehow escaped my memory on how to derive a three variable function from the given points.

I’m sure someone here knows how to do this. Can you help?
 
Physics news on Phys.org
  • #2
schroder said:
Recently I was working through a problem involving a force field, and came up with a question I could not answer, so I thought I would post it here. I solved the problem using a vector representation and a line integral, and although I am sure the answer is correct, I would like to solve it by a slightly different method. My question is about the method.

Here is the original problem: I have a vector field x^3 i + 3zy^2 j + -x^2y k and I am calculating the line integral along the straight line segment passing through points (3,2,1) to (0,1,0)
I set this up in terms of u : (3-3u) i + (2-u) j + (1-u) k
Now I substituted into the vector field to get:
[(3 - 3u)^3 (-3)] + [3 (1 - u) (2 – u)^2 (-1) ] + [(3 -3u)^2 (2 – u) (-1)]
This is now integrated in respect to u between the limits 0 to 1 yielding: -19.25

So far so good. Now what I would like to do is integrate the same field in terms of (x,y,z) instead of u. To do that I need to derive a path as a function of (x,y,z) from the given points. That is my question! Of course, I know how to derive the function for two points given in (x,y) by using the point-slope formula. But it has somehow escaped my memory on how to derive a three variable function from the given points.

I’m sure someone here knows how to do this. Can you help?
What do you mean by that? You can't write a line or curve as a single equation of 3 variables. A line is one-dimensional. If you were to write a single equation f(x,y,z)= 0 you could choose any two of those variables and solve for the third: that defines a two-dimensional surface.

This was typed first-then I realized I had misunderstood your question so I went back and changed- but I forgot to erase this:
You already have that [itex]\vec{r}(u)= (3-3u)\vec{i}+ (2-u)\vec{j}+ (1-u)\vec{k}[/itex][/itex] and now you want to use x itself as parameter? Let x= 3- 3u. Then 3u= 3- x so u= 1- x/3. Replace u by that in the formula: [/itex]\vec{r}(x)= x\vec{i}+ (5- x/3)/vec{j}+ (4- x/3)\vec{k}[/itex]
I thought when I started that that you were asking how to write the curve as a function of x, not as a function of "x, y, z".
 
Last edited by a moderator:
  • #3
HallsofIvy said:
What do you mean by that? You can't write a line or curve as a single equation of 3 variables. A line is one-dimensional. If you were to write a single equation f(x,y,z)= 0 you could choose any two of those variables and solve for the third: that defines a two-dimensional surface.
You already have that [itex]\vec{r}(u)= (3-3u)\vec{i}+ (2-u)\vec{j}+ (1-u)\vec{k}[/itex] and now you want to use

It seems you didn't quite finish what you started to say, but you told me what I needed to know; it can't be done by defining a path in (x,y,z) even though the path is in three dimensional space it is still a straight line. Thanks.
 
  • #4
I have gone back and editted what I wrote before.
 
  • #5
HallsofIvy said:
I have gone back and editted what I wrote before.

OK. I see it now. Apparently there is still something wrong with the LaTex, but I get the idea. All I need to do is a reverse sunstitution from terms of u to terms of x,y,z. Thank you.
 

1. What is a line integral?

A line integral is a type of integral used in mathematics and physics to calculate the area under a curve. It involves finding the area of a surface or volume by integrating along a specific path.

2. What are the two methods for calculating a line integral?

The two methods for calculating a line integral are the fundamental theorem of calculus and the Green's theorem. The fundamental theorem of calculus involves finding the antiderivative of a function and evaluating it at the endpoints of the path, while Green's theorem requires converting the line integral into a double integral over a region in the plane.

3. When is the fundamental theorem of calculus used?

The fundamental theorem of calculus is typically used when the path of integration is a straight line or a curve that is easily parameterized. It is also used when the function being integrated has a known antiderivative.

4. When is Green's theorem used?

Green's theorem is used when the path of integration is a closed loop or a more complex curve that cannot be easily parameterized. It is also used when the function being integrated is not easily integrated using traditional methods.

5. What are some real-life applications of line integrals?

Line integrals have many real-life applications in physics, engineering, and economics. They are used to calculate work done by a force, electric field and magnetic field calculations, fluid flow and circulation, and calculating the average value of a function over a region.

Similar threads

Replies
1
Views
2K
Replies
1
Views
1K
Replies
12
Views
1K
Replies
20
Views
2K
Replies
3
Views
329
Replies
1
Views
1K
Replies
4
Views
348
  • Calculus
Replies
1
Views
1K
Replies
8
Views
176
Back
Top