What is the line integral for the given line segments and parametric equations?

In summary, the line integral of ∫ x+yz dx + 2x dy + xyz dz with C consisting of line segments from (1,0,1) to (2,3,1) and from (2,3,1) to (2,5,2) is 97/3. However, the attempt at a solution was incorrect and resulted in an answer of 41/3.
  • #1
maogden
4
0

Homework Statement


Find the line integral of ∫ x+yz dx + 2x dy + xyz dz

C consists of line segments from (1,0,1) to (2,3,1) and from (2,3,1) to (2,5,2).


Homework Equations



r=(1-t)<r0> + t<r1> 0<t<1

The Attempt at a Solution



I split up the two line segments into C1 and C2.

For C1 I got the parametric equation of x(t)=1+t, y(t)=3t, z(t)=1
I plugged this into the original equation also using dx=dt, dy=3dt, dz=0
This gave me the answer C1=13.

I then found the parametric equations of C2 to be x(t)=2, y(t)=3-2t, z(t)=1-t.
I plugged these into the equations again with their derivatives and got the answer to be -22/3.

I added C1 and C2 and got 17/3 as my answer.

The correct answer should be 97/3.
 
Physics news on Phys.org
  • #2
On the first, if I let:

x=1+t
y=3t
z=1

I get 12.

On the second, how about let

x=2
y=3+2t
z=1+t
 
  • #3
maogden said:

Homework Statement


Find the line integral of ∫ x+yz dx + 2x dy + xyz dz

C consists of line segments from (1,0,1) to (2,3,1) and from (2,3,1) to (2,5,2).


Homework Equations



r=(1-t)<r0> + t<r1> 0<t<1

The Attempt at a Solution



I split up the two line segments into C1 and C2.

For C1 I got the parametric equation of x(t)=1+t, y(t)=3t, z(t)=1
I plugged this into the original equation also using dx=dt, dy=3dt, dz=0
This gave me the answer C1=13.
If you had shown how you got this, we might have been able to point out a mistake. As it is, we, like jackmell, can only say that your first integral is wrong.

I then found the parametric equations of C2 to be x(t)=2, y(t)=3-2t, z(t)=1-t.
Okay, when t= 0, (x, y, z)= (2, 3, 1) and when t= -1, (x, y, z)= (2, 5, 2). Did you then integrate from 0 to -1?

I plugged these into the equations again with their derivatives and got the answer to be -22/3.

I added C1 and C2 and got 17/3 as my answer.

The correct answer should be 97/3.
 
  • #4
Sorry I didn't explain my work. I integrated both C1 and C2 from 0 to 1.. why are you integrating it from -1 to 0?

And here's the rest of my work,

C1:
r=(1-t)<1,0,1> + t<2,3,1>
r=<1+t,3t,1>

(from 0 to 1)∫ (1+4t) (1)dt +
(from 0 to 1)∫ (2) (1+t) (3) dt +
(from 0 to 1)∫ (1+t)(3t)(1)(0) dt

[2t^2+t](0 to 1) +
6[t+(t2/2)](0 to 1) +
[t](0 to 1)

(2 + 1) + (6 + 3) + 1 = 13


C2:
r=(1-t)<2,3,1> + t<2,5,2>
r=<2,3-2t,1-t>

(from 0 to 1)∫ 2+(3+2t)(1-t)(0)dt +
(from 0 to 1)∫ 4(-2)dt +
(from 0 to 1)∫ (2)(3-2t)(1-t)(-1) dt

2[t](0 to 1) +
-8[t](0 to 1) +
-2[3t - (5/2)*t2 + (2/3)*t3](0 to 1)

adding these up i got (-19/3) when I redid the problem again.

so C1 + C2 = (20/3)
 
  • #5
maogden said:
Sorry I didn't explain my work. I integrated both C1 and C2 from 0 to 1.. why are you integrating it from -1 to 0?

And here's the rest of my work,

C1:
r=(1-t)<1,0,1> + t<2,3,1>
r=<1+t,3t,1>

(from 0 to 1)∫ (1+4t) (1)dt +
(from 0 to 1)∫ (2) (1+t) (3) dt +
(from 0 to 1)∫ (1+t)(3t)(1)(0) dt

[2t^2+t](0 to 1) +
6[t+(t2/2)](0 to 1) +
[t](0 to 1)

(2 + 1) + (6 + 3) + 1 = 13

Ok, that third one should be zero because z=1 which means dz=0 right? There you go. Got 36/3 of them.

C2:
r=(1-t)<2,3,1> + t<2,5,2>
r=<2,3-2t,1-t>

(from 0 to 1)∫ 2+(3+2t)(1-t)(0)dt +
(from 0 to 1)∫ 4(-2)dt +
(from 0 to 1)∫ (2)(3-2t)(1-t)(-1) dt

2[t](0 to 1) +
-8[t](0 to 1) +
-2[3t - (5/2)*t2 + (2/3)*t3](0 to 1)

adding these up i got (-19/3) when I redid the problem again.

so C1 + C2 = (20/3)
[/quote]

Now that second one you have:

[tex]\mathop\int\limits_{(2,3,2)}^{(2,5,2)} (x+yz)dx+2xdy+xyzdz[/tex]

Ok, if I let:

x=2
y=3+2t
z=1+t

then I need to let t go from 0 to 1 so it's

[tex]\int_0^1 (x+yz)dx+2xdy+xyzdz,\quad x(t)=2, y(t)=3+2t, z(t)=1+t[/tex]

you can do that I bet.
 
  • #6
maogden said:
Sorry I didn't explain my work. I integrated both C1 and C2 from 0 to 1.. why are you integrating it from -1 to 0?
I'm not. I asked if you did because your parametric equations, x(t)=2, y(t)=3-2t, z(t)=1-t, give x(0)= 2, y(0)= 3, z(0)= 1, the first point, and x(-1)= 2, y(-1)= 5, z(-1)= 2, the second point.

If you integrate from 0 to 1 then, because x(1)= 2, y(1)= 3- 2= 1, z(1)= 1- 1= 0, you are integrating from (2, 3, 1) to (2, 1, 0) which is not what you wanted to do.
 
  • #7
HallsofIvy said:
I asked if you did because your parametric equations, x(t)=2, y(t)=3-2t, z(t)=1-t, give x(0)= 2, y(0)= 3, z(0)= 1, the first point, and x(-1)= 2, y(-1)= 5, z(-1)= 2, the second point.

If you integrate from 0 to 1 then, because x(1)= 2, y(1)= 3- 2= 1, z(1)= 1- 1= 0, you are integrating from (2, 3, 1) to (2, 1, 0) which is not what you wanted to do.


Ok I think I understand..

So what you're saying is...

[itex]0,-1\int[/itex]
 
  • #8
HallsofIvy said:
I asked if you did because your parametric equations, x(t)=2, y(t)=3-2t, z(t)=1-t, give x(0)= 2, y(0)= 3, z(0)= 1, the first point, and x(-1)= 2, y(-1)= 5, z(-1)= 2, the second point.

If you integrate from 0 to 1 then, because x(1)= 2, y(1)= 3- 2= 1, z(1)= 1- 1= 0, you are integrating from (2, 3, 1) to (2, 1, 0) which is not what you wanted to do.

Ok I think I understand..

So what you're saying is...

(from 0 to -1)∫ (2 + (3-2t)(1+2t))(0)dt +
(from 0 to -1)∫ (2(2t))(3)dt +
(from 0 to -1)∫ (2)(3-2t)(2)dt
simplified:
4 * (from 0 to -1)∫ -4t^2 + 4t + 1 dt

4[(-4t^3)/3 + 2t^2 + t] dt <== from 0 to -1

4(4/3 + 2 - 1 - (0 + 0 + 0)) = 28/3

but,
28/3 + 13 ≠ 97/3
 

What is a line integral?

A line integral is a type of integral used in mathematics and physics to calculate the total value of a function along a specific path or curve. It is often used to find the work done by a force along a particular path or the total mass of a surface.

How is a line integral calculated?

To calculate a line integral, you need to first define the path or curve along which the integral will be evaluated. Then, you integrate the function along that path, taking into account any changes in direction or magnitude. This can be done using various methods such as the fundamental theorem of calculus or using parametric equations.

What is the difference between a line integral and a regular integral?

A regular integral calculates the area under a curve or the volume of a solid, whereas a line integral evaluates the value of a function along a path or curve. Line integrals also take into account the direction and magnitude of the function, while regular integrals do not.

In what fields of study are line integrals commonly used?

Line integrals are commonly used in fields such as physics, engineering, and mathematics. They can be used to calculate the work done by a force, the mass of a surface, the magnetic flux through a circuit, and much more. They are also used in vector calculus to study topics such as gradient fields, conservative fields, and path independence.

What are some real-life applications of line integrals?

Line integrals have many real-life applications, such as calculating the work done by a force on an object, finding the flow of a fluid through a pipe, and determining the electric field around a charged particle. They are also used in computer graphics to render 3D images and in economics to calculate consumer surplus.

Similar threads

  • Calculus and Beyond Homework Help
Replies
2
Views
352
  • Calculus and Beyond Homework Help
Replies
12
Views
973
  • Calculus and Beyond Homework Help
Replies
6
Views
2K
  • Calculus and Beyond Homework Help
Replies
10
Views
401
  • Calculus and Beyond Homework Help
Replies
4
Views
998
  • Calculus and Beyond Homework Help
Replies
2
Views
223
  • Calculus and Beyond Homework Help
Replies
3
Views
902
  • Calculus and Beyond Homework Help
Replies
1
Views
476
Replies
1
Views
594
  • Calculus and Beyond Homework Help
Replies
8
Views
861
Back
Top