Step 1: Parameterize the line segment C.
The line segment goes from P0=(−1,2,0) to P1=(3,0,1).
A parameterization for a line segment is given by r(t)=P0+t(P1−P0) for 0≤t≤1.
P1−P0=(3−(−1),0−2,1−0)=(4,−2,1)
So, the position vector r(t) is:
r(t)=(−1,2,0)+t(4,−2,1)
r(t)=(−1+4t)i+(2−2t)j+tk
This gives us the parametric equations for x,y,z:
x(t)=−1+4t
y(t)=2−2t
z(t)=t
Step 2: Find dr in terms of t.
Differentiate each component of r(t) with respect to t:
dtdx=dtd(−1+4t)=4
dtdy=dtd(2−2t)=−2
dtdz=dtd(t)=1
So, dr=(dtdxi+dtdyj+dtdzk)dt=(4i−2j+1k)dt.
Step 3: Express the vector field F in terms of t.
The given vector field is F(x,y,z)=xzi−yzj+xk.
Substitute x(t), y(t), and z(t) into F:
Fx=xz=(−1+4t)(t)=−t+4t2
Fy=−yz=−(2−2t)(t)=−(2t−2t2)=−2t+2t2
Fz=x=−1+4t
So, F(t)=(4t2−t)i+(2t2−2t)j+(4t−1)k.
Step 4: Calculate the dot product F⋅dr.
F⋅dr=(Fxdtdx+Fydtdy+Fzdtdz)dt
F⋅dr=((4t2−t)(4)+(2t2−2t)(−2)+(4t−1)(1))dt
F⋅dr=((16t2−4t)+(−4t2+4t)+(4t−1))dt
Combine like terms:
F⋅dr=(16t2−4t2−4t+4t+4t−1)dt
F⋅dr=(12t2+4t−1)dt
Step 5: Evaluate the definite integral.
The integral is from t=0 to t=1:
∫CF⋅dr=∫01(12t2+4t−1)dt
Integrate term by term:
=[312t3+24t2−t]01
=[4t3+2t2−t]01
Now, evaluate at the limits:
=(4(1)3+2(1)2−1)−(4(0)3+2(0)2−0)
=(4+2−1)−(0)
=5
The value of the line integral is 5.