Student[VectorCalculus]
PathInt
Calling Sequence
Parameters
Description
Examples
PathInt(f, domain, output = output_type)
f
-
algebraic expression; specify the function
domain
list(name)=path; specify the path of integration
output = output_type
(optional) equation; specify 'integral' or 'value' for output_type; specify 'integral' for the function to return an inert integral, and 'value' to return the computed output
The PathInt(f, domain) calling sequence computes the path integral of the function f over the path specified by domain.
If output=integral is specified, the command returns an unevaluated integral. If output=value is specified, the command returns the computed value of the integral. The default value is value.
Specify the path of integration using unevaluated function calls. The possible paths of integration are Arc, Circle, Circle3D, Ellipse, Line, LineSegments, and Path.
Arc(object, start, finish)
The first parameter of Arc, object, must be a Circle or Ellipse structure. The parameters start and finish must be of type algebraic. This represents a segment of the circumference of the specified Circle or Ellipse, starting at angle start radians and ending at angle finish radians.
For a Circle, an angle of 0 points in the positive x direction. For example, if start is 0 and finish is π2, it would represent the top-right quarter of the circumference of a circle centered anywhere.
For an Ellipse, an angle of 0 points in the direction of one of its semimajor axes: the one in the right-half of the plane. If the Ellipse is vertical (its major axis is coincident with the y-axis), then the 0 angle points in the negative y direction. For example, consider an ellipse centered at the origin with a rotation of Pi/4 (its major axis sits on the line y = x). If start is −π4 and finish is π4, it would represent the portion of its circumference inside the first quadrant of the plane. If the ellipse is not centered at the origin, these angles are treated as if the center of the ellipse were the origin.
Circle(center, radius)
The parameter center is the center of the circle and must have type 'Vector'(algebraic). The parameter radius is the radius of the circle and must have type algebraic. If a coordinate system attribute is specified for center, the center is interpreted in this coordinate system.
Circle3D(cen, rad, normal)
The parameter cen is the center of the circle and must have type 'Vector'(algebraic). The parameter rad is the radius of the circle and must have type algebraic. The parameter normal is the normal to the plane in which the circle lies and must have type 'Vector'(algebraic). If a coordinate system attribute is specified on cen, it is interpreted in that coordinate system.
Ellipse(center, major, minor, angle)
The first parameter, center, is the center of the ellipse and must have type Vector(2, algebraic). The second and third parameters, major and minor, are the lengths of the semimajor and semiminor axes of the ellipse, respectively. The last parameter angle specifies the angle through which the ellipse is rotated from its standard position, in which its major axis is coincident with the x-axis. Note: The ellipse specified by this structure is obtained by first performing the rotation on an ellipse in standard position; this rotated ellipse is then translated to the point center.
Ellipse(expr)
The parameter expr must be an expression of type algebraic. The Ellipse is specified by the equation expr = 0. The two variable names that appear in expr must be the same as those specified in the left-hand side of domain.
Line(p1, p2)
The parameters p1 and p2 must have type 'Vector'(algebraic). They represent the endpoints of the directed line segment from p1 to p2. If coordinate system attributes are specified on the points, they are interpreted in their respective coordinate systems.
LineSegments(p1, p2, ..., pk)
Similar to Line(p1, p2), the parameters pi represent the endpoints of k−1 line segments. The path of integration is the collection of line segments directed from p1 to p2, p2 to p3, ..., and p(k-1) to pk. If any coordinate system attributes are specified, the points are interpreted in their respective coordinate systems.
Path(v, range, coordinate_system)
The first parameter of Path, v, is a Vector representing the components of the path. The second parameter, range, must have type {range, name=range}. If no parameter name is specified in range, it is inferred from v.
If the optional third argument, coordinate_system, is specified, it must be an equation of the form coords=sys or coordinates=sys, where sys is a recognized coordinate system. v is interpreted in the specified coordinate system.
with⁡StudentVectorCalculus:
PathInt⁡x2,x,y=Line⁡0,0,1,1
23
PathInt⁡y2,x,y=LineSegments⁡0,0,1,1,1,2
23+73
PathInt⁡y,x,y=Path⁡cos⁡t,sin⁡t,t=0..π
2
PathInt⁡y,x,y=Path⁡1,t,0..π,coords=polar
PathInt⁡x2+y2,x,y=Circle⁡0,0,3
54⁢π
PathInt⁡x2+y2,x,y=Circle⁡0,0,3,output=integral
∫02⁢π3⁢9⁢cos⁡t2+9⁢sin⁡t2⁢cos⁡t2+sin⁡t2ⅆt
PathInt⁡1,x,y=Ellipse⁡x24+y29−1
12⁢EllipticE⁡53
PathInt⁡x,x,y=Arc⁡Circle⁡0,0,1,0,π2
1
See Also
Coordinates
Student[VectorCalculus][Flux]
Student[VectorCalculus][int]
Student[VectorCalculus][LineInt]
Student[VectorCalculus][SurfaceInt]
Student[VectorCalculus][Vector]
Download Help Document