Chapter 9: Vector Calculus
Section 9.5: Line Integrals
Example 9.5.17
Calculate the flux of the field F=x y i+x+y j through the line from 1,2 to 3,5. Take the normal to the right of the tangent along the line.
Solution
Mathematical Solution
The line from 1,2 to 3,5 is given parametrically by the position vector
R=xy = 12+t (35−12) = 1+2 t2+3 t
The flux of the field F through this line is given by the line integral
∫CF·N ds
=∫abf dy− g dx
=∫01x yx=a|f(x)x=xt,y=yt⋅ddtyt−x+yx=a|f(x)x=xt,y=yt⋅ddtxt dt
=∫011+2 t2+3 t⋅3−1+2 t+2+3 t⋅2 dt
=∫0118⁢t2+11⁢t dt
=23/2
Maple Solution - Interactive
Obtain the flux via the following task template.
Tools≻Tasks≻Browse:
Calculus - Vector≻Integration≻Flux≻2-D≻Through a Polygonal Line
Flux through a Polygonal Line
Select Coordinate SystemCartesian [x,y]Cartesian - otherpolarbipolarcardioidcassinianelliptichyperbolicinvcassinianlogarithmiclogcoshparabolicrosetangent
Obtain the flux via first principles.
Initialize
Tools≻Load Package: Student Vector Calculus
Loading Student:-VectorCalculus
Tools≻Tasks≻Browse: Calculus - Vector≻ Vector Algebra and Settings≻ Display Format for Vectors
Press the Access Settings button and select "Display as Column Vector"
Display Format for Vectors
Define the vector field F
Enter the free vector whose components are those of F. Context Panel: Evaluate and Display Inline
Context Panel: Student Vector Calculus≻Conversions≻To Vector Field
Context Panel: Assign to a Name≻F
x y,x+y = →to Vector Field →assign to a nameF
Define the path parametrically, as a position vector
Context Panel: Assign Name
P=1,2,3,5→assign
R=P1+t P2−P1→assign
Obtain R., a tangent vector along the path
Calculus palette: Differentiation operator Context Panel: Evaluate and Display Inline
ⅆⅆ t R =
Obtain N, a unit normal vector along the path
Write the free vector whose components are those of R., but switched, and the second one negated. Context Panel: Evaluate and Display Inline
Context Panel: Student Vector Calculus≻Normalize≻Euclidean
Context Panel: Assign to a Name≻N
3,−2 = →Euclidean-normalize →assign to a nameN
Obtain ρ=dsdt=R.
Calculus palette: Differentiation operator
Context Panel: Evaluate and Display Inline
Context Panel: Assign to a Name≻rho
ⅆⅆ t R = 13→assign to a nameρ
Obtain the integrand F·N ds
Expression palette: Evaluation template Common Symbols palette: Dot product operator Press the Enter key.
Context Panel: Simplify≻Simplify
Context Panel: Constructions≻Definite Integral≻t (Complete dialog as per figure at the right.)
Context Panel: Evaluate Integral
F·N ρx=a|f(x)x=R1,y=R2
313⁢1+2⁢t⁢2+3⁢t⁢13−213⁢3+5⁢t⁢13⁢13
= simplify
t⁢18⁢t+11
→integrate w.r.t. t
∫01t⁢18⁢t+11ⅆt
=
232
Maple Solution - Coded
Install the Student VectorCalculus package.
Set the display format for vectors via the BasisFormat command.
withStudent:-VectorCalculus:BasisFormatfalse:
Define F via the VectorField command.
F≔VectorFieldx y,x+y:
Apply the Flux command
FluxF,Line1,2,3,5,output=integral=FluxF,Line1,2,3,5
∫013⁢1+2⁢t⁢2+3⁢t−6−10⁢tⅆt=232
Use the Flux command to generate a graph of F and the path of integration
FluxF,Line1,2,3,5,output=plot,scaling=constrained
It is also possible to obtain a solution from first principles.
Define the path parametrically, as the position vector R
Let L be the list of nodes defining the line of integration.
Define R as the position vector parametrizing the line of integration with t∈0,1.
L≔1,2,3,5:R≔L1+t L2−L1
Apply the Norm command to the result obtained with the diff command.
ρ≔NormdiffR,t
13
Apply the Normalize command to the vector whose components are the interchanged components of R., with the second one negated.
N≔Normalize3 t,−2 t assuming t>0
Form and evaluate the requisite line integral
Compute F·N with the DotProduct command, and use the eval and simplify commands to evaluate this expression along the path. Then use the Int and int commands.
IntsimplifyevalDotProductF,N⋅ρ,x=R1,y=R2,t=0..1=intsimplifyevalDotProductF,N⋅ρ,x=R1,y=R2,t=0..1
∫01t⁢18⁢t+11ⅆt=232
<< Previous Example Section 9.5 Next Example >>
© Maplesoft, a division of Waterloo Maple Inc., 2024. All rights reserved. This product is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation.
For more information on Maplesoft products and services, visit www.maplesoft.com
Download Help Document