All published worksheets from http://sagenb.org
Image: ubuntu2004
Calculate the line integral of for each of the curves from (0,0) to (1,1)
Cool graphs with explanations are at the bottom of each problem!
Other Sage pages for Line Integral of Work Type: SOLVER
where C is the curve parameterized by with given orientation and .
SOLUTION TO PROBLEMS
Check type of line integral: This line integral is of work type (Type II) since the integrand is a vector function (it has components: P=-y and Q=x) - watch the video.
Preparation for SOLVER: We must parameterize the curve C with a vector function in 1 parameter t, find the interval and check that the order of this interval puts the orientation of the curve as given.
Work particular to the given problems: All curves are 2d and given explicitly with interval: . We simply let x=t, y=f(t) and z=0 with interval:
Problem 1: Calculate the line integral of work type where from (0,0) to (1,1).
Step 0: The program declares our variables. We are given variables (x,y,z). We need t as parameter.
Step 1: We define , the interval of t and . Changes with problem; you must input your parametrization of the curve, your interval for t (check orientation) and your vector function F(x,y,z).
Step 2: The program finds the vector function with the partial derivatives:
Step 3: The program defines a standard sage function for "change of variables" for a 1-variable parametrization (curve).
The program changes the variables of from a vector in x, y, z to a vector of t using the components of s(t).
Step 4: Then program finds the dot product of the vectors from Step2 and Step3.
Step 6: The program computes the integral (work).
So the work done by along the line curve from (0,0) to (1,1) is:
Graph 1: We graph the vector field and the curve from (0,0) to (1,1).
- Remember the orientation of the curve is from (0,0) to (1,1).
- With respect to this orientation, the vector field is "mildly positive" with respect to the curve, i.e. they are pointing slightly in the direction of the orientation.
- So some "work" is being done along the line.
Step 1: We define , the interval of t and . Changes with problem; you must input your parametrization of the curve, your interval for t (check orientation) and your vector function F(x,y,z).
Step 2: The program finds the vector function with the partial derivatives:
Step 3: The program defines a standard sage function for "change of variables" for a 1-variable parametrization (curve).
The program changes the variables of from a vector in x, y, z to a vector of t using the components of s(t).
Step 4: Then program finds the dot product of the vectors from Step2 and Step3.
Step 6: The program computes the integral (work).
So the work done by along the line curve from (0,0) to (1,1) is:
Graph 2: We graph the vector field and the curve from (0,0) to (1,1).
- Remember the orientation of the curve is from (0,0) to (1,1).
- With respect to this orientation, the vector field is "mildly negative" That is, the arrows point "backwards".
- So some "work" is being lost along the line.
Step 1: We define , the interval of t and . Changes with problem; you must input your parametrization of the curve, your interval for t (check orientation) and your vector function F(x,y,z).
Step 2: The program finds the vector function with the partial derivatives:
Step 3: The program defines a standard sage function for "change of variables" for a 1-variable parametrization (curve).
The program changes the variables of from a vector in x, y, z to a vector of t using the components of s(t).
Step 4: Then program finds the dot product of the vectors from Step2 and Step3.
Step 6: The program computes the integral (work).
So the work done by along the line curve $y=\sin ({{\pi x} \over 2})$ from (0,0) to (1,1) is:
Graph 1: We graph the vector field and the curve $y=\sin ({{\pi x} \over 2})$ from (0,0) to (1,1).
- Remember the orientation of the curve is from (0,0) to (1,1).
- With respect to this orientation, it is hard to tell exactly the direction of the vector field .
- Our calculations show us that some work is lost.