Path integrals
If you need to integrate a scalar-valued function over a curve, it is pretty straight-forward. For example, to integrate f(x,y,z)= over the curve
(t)={t,Sin[t],Tan[t]}, 0≤t≤
, you need to simply use ArcLengthFactor to convet ds to dt and compose f and c:
If your curve (and function) is in some other coordinate system, you simply have to specify that in the ArcLengthFactor term. (Be careful that you specify your variables in the order Mathematica expects them in for your coordinate system, both in f and in c.)
Problem
Find ds, where
is the curve {
,Sin[t],Cos[t]}, 0≤t≤π, where both the curve and the function are in ParabolicCylindrical coordinates. Graph the curve. Work the problem twice, once in Parabolic Cylindrical coordinates and once by converting everything to Cartesian. Should the answers be the same? (Use NIntegrate to evaulate the integral.)
Created by Mathematica (April 3, 2007) | ![]() |