(*********************************************************************** Mathematica-Compatible Notebook This notebook can be used on any computer system with Mathematica 3.0, MathReader 3.0, or any compatible application. The data for the notebook starts with the line of stars above. To get the notebook into a Mathematica-compatible application, do one of the following: * Save the data starting with the line of stars above into a file with a name ending in .nb, then open the file inside the application; * Copy the data starting with the line of stars above to the clipboard, then use the Paste menu command inside the application. Data for notebooks contains only printable 7-bit ASCII and can be sent directly in email or through ftp in text mode. Newlines can be CR, LF or CRLF (Unix, Macintosh or MS-DOS style). NOTE: If you modify the data for this notebook not in a Mathematica- compatible application, you must delete the line below containing the word CacheID, otherwise Mathematica-compatible applications may try to use invalid cache data. For more information on notebooks and Mathematica-compatible applications, contact Wolfram Research: web: http://www.wolfram.com email: info@wolfram.com phone: +1-217-398-0700 (U.S.) Notebook reader applications are available free of charge from Wolfram Research. ***********************************************************************) (*CacheID: 232*) (*NotebookFileLineBreakTest NotebookFileLineBreakTest*) (*NotebookOptionsPosition[ 10487, 435]*) (*NotebookOutlinePosition[ 11621, 473]*) (* CellTagsIndexPosition[ 11577, 469]*) (*WindowFrame->Normal*) Notebook[{ Cell[TextData[ "<True, AspectRatioFixed->True], Cell[CellGroupData[{Cell[TextData["Flow Integrals"], "Subsubsection", Evaluatable->False, AspectRatioFixed->True], Cell[TextData[{ "The integral of ", StyleBox["F.dr ", FontFamily->"Courier", FontWeight->"Bold"], " over a curve ", StyleBox["C", FontFamily->"Courier", FontWeight->"Bold"], " defined by\n", StyleBox["r[t] = x[t]i + y[t]j + z[t]k, a<=t<=b", FontFamily->"Courier", FontWeight->"Bold"], " is\n\n", StyleBox["Integrate[F.r'[t],{t,a,b}]\n", FontFamily->"Courier", FontWeight->"Bold"] }], "Text", Evaluatable->False, AspectRatioFixed->True]}, Open]], Cell[CellGroupData[{Cell[TextData[{ StyleBox["Example:", FontWeight->"Bold"], " Let ", StyleBox["C", FontFamily->"Courier", FontWeight->"Bold"], " be defined by ", StyleBox["r[t_] = t i + t^2 j + t^3 k\n", FontFamily->"Courier", FontWeight->"Bold"], "for ", StyleBox["-2<=t<=2. ", FontFamily->"Courier", FontWeight->"Bold"], "Compute the flow integral of\n", StyleBox[" F = x y i + y z j + x z k\n", FontFamily->"Courier", FontWeight->"Bold"], "along ", StyleBox["C", FontFamily->"Courier", FontWeight->"Bold"], "." }], "Text", Evaluatable->False, AspectRatioFixed->True], Cell[TextData[StyleBox["Solution:", FontWeight->"Bold"]], "Text", Evaluatable->False, AspectRatioFixed->True], Cell[CellGroupData[{Cell[TextData["r[t_] = t i + t^2 j + t^3 k"], "Input", AspectRatioFixed->True], Cell[OutputFormData["\<\ {t, t^2, t^3}\ \>", "\<\ 2 3 {t, t , t }\ \>"], "Output", Evaluatable->False, AspectRatioFixed->True]}, Open]], Cell[CellGroupData[{Cell[TextData["r'[t]"], "Input", AspectRatioFixed->True], Cell[OutputFormData["\<\ {1, 2*t, 3*t^2}\ \>", "\<\ 2 {1, 2 t, 3 t }\ \>"], "Output", Evaluatable->False, AspectRatioFixed->True]}, Open]], Cell[CellGroupData[{Cell[TextData["F = x y i + y z j + x z k"], "Input", AspectRatioFixed->True], Cell[OutputFormData["\<\ {x*y, y*z, x*z}\ \>", "\<\ {x y, y z, x z}\ \>"], "Output", Evaluatable->False, AspectRatioFixed->True]}, Open]], Cell[CellGroupData[{Cell[TextData["F /. {x->t, y->t^2, z->t^3}"], "Input", AspectRatioFixed->True], Cell[OutputFormData["\<\ {t^3, t^5, t^4}\ \>", "\<\ 3 5 4 {t , t , t }\ \>"], "Output", Evaluatable->False, AspectRatioFixed->True]}, Open]], Cell[CellGroupData[{Cell[TextData["%.r'[t]"], "Input", AspectRatioFixed->True], Cell[OutputFormData["\<\ t^3 + 5*t^6\ \>", "\<\ 3 6 t + 5 t\ \>"], "Output", Evaluatable->False, AspectRatioFixed->True]}, Open]], Cell[CellGroupData[{Cell[TextData["Integrate[%, {t,-2,2}]"], "Input", AspectRatioFixed->True], Cell[OutputFormData["\<\ 1280/7\ \>", "\<\ 1280 ---- 7\ \>"], "Output", Evaluatable->False, AspectRatioFixed->True]}, Open]]}, Open]], Cell[CellGroupData[{Cell[TextData["?FlowIntegrate"], "Input", AspectRatioFixed->True], Cell[TextData[ "FlowIntegrate[F, r, {t, a, b}, v] computes the\n flow integral of the \ vector field F along\n the curve parameterized by the vector\n function \ r from t = a to t = b. The optional\n argument v is a list of the \ independent\n variables."], "Print", Evaluatable->False, AspectRatioFixed->True]}, Open]], Cell[CellGroupData[{Cell[TextData["FlowIntegrate[F,r[t],{t,-2,2}]"], "Input", AspectRatioFixed->True], Cell[OutputFormData["\<\ 1280/7\ \>", "\<\ 1280 ---- 7\ \>"], "Output", Evaluatable->False, AspectRatioFixed->True]}, Open]], Cell[CellGroupData[{Cell[TextData[{ StyleBox["Example:", FontWeight->"Bold"], " Let ", StyleBox["C", FontFamily->"Courier", FontWeight->"Bold"], " be the plane curve defined by\n", StyleBox[" r[t_] = (t^3-1)i + t^2 j + (t^3+1)k\n 0<=t<=1.\n", FontFamily->"Courier", FontWeight->"Bold"], "Compute the integral of \n", StyleBox[" 2 x y dx + (x^2 + 2 y z)dy + (y^2+1)dz", FontFamily->"Courier", FontWeight->"Bold"], "\nalong ", StyleBox["C.", FontFamily->"Courier", FontWeight->"Bold"] }], "Text", Evaluatable->False, AspectRatioFixed->True], Cell[TextData[StyleBox["Solution:", FontWeight->"Bold"]], "Text", Evaluatable->False, AspectRatioFixed->True], Cell[TextData[{ "We'll use the F. T. L. I. We need to find a function ", StyleBox["f[x,y,z]", FontFamily->"Courier", FontWeight->"Bold"], " such\nthat ", StyleBox[ "Grad[f[x,y,z]] ==\n (2 x y)i + (x^2 + 2 y z)j + (y^2+1)k\n", FontFamily->"Courier", FontWeight->"Bold"], "or:", StyleBox[ "\n D[f[x,y,z],x] == 2 x y\n D[f[x,y,z],y] == x^2 + 2 y z\n \ D[f[x,y,z],z] == y^2+1\n\n", FontFamily->"Courier", FontWeight->"Bold"], "The first equation gives" }], "Text", Evaluatable->False, AspectRatioFixed->True], Cell[CellGroupData[{Cell[TextData["f[x_,y_,z_] = Integrate[2 x y, x] + g[y,z]"], "Input", AspectRatioFixed->True], Cell[OutputFormData["\<\ x^2*y + g[y, z]\ \>", "\<\ 2 x y + g[y, z]\ \>"], "Output", Evaluatable->False, AspectRatioFixed->True]}, Open]], Cell[TextData["To make the second equation true we need"], "Text", Evaluatable->False, AspectRatioFixed->True], Cell[CellGroupData[{Cell[TextData["D[f[x,y,z],y] == x^2 + 2 y z"], "Input", AspectRatioFixed->True], Cell[OutputFormData["\<\ x^2 + Derivative[1, 0][g][y, z] == x^2 + 2*y*z\ \>", "\<\ 2 (1,0) 2 x + g [y, z] == x + 2 y z\ \>"], "Output", Evaluatable->False, AspectRatioFixed->True]}, Open]], Cell[TextData[{ "so ", StyleBox["D[g[y,z],y] == 2 y z ", FontFamily->"Courier", FontWeight->"Bold"], "and" }], "Text", Evaluatable->False, AspectRatioFixed->True], Cell[CellGroupData[{Cell[TextData["g[y_,z_] = Integrate[2 y z, y] + h[z]"], "Input", AspectRatioFixed->True], Cell[OutputFormData["\<\ y^2*z + h[z]\ \>", "\<\ 2 y z + h[z]\ \>"], "Output", Evaluatable->False, AspectRatioFixed->True]}, Open]], Cell[CellGroupData[{Cell[TextData["f[x,y,z]"], "Input", AspectRatioFixed->True], Cell[OutputFormData["\<\ x^2*y + y^2*z + h[z]\ \>", "\<\ 2 2 x y + y z + h[z]\ \>"], "Output", Evaluatable->False, AspectRatioFixed->True]}, Open]], Cell[TextData["To make the third equation true we need"], "Text", Evaluatable->False, AspectRatioFixed->True], Cell[CellGroupData[{Cell[TextData["D[f[x,y,z],z] == y^2 + 1"], "Input", AspectRatioFixed->True], Cell[OutputFormData["\<\ y^2 + Derivative[1][h][z] == 1 + y^2\ \>", "\<\ 2 2 y + h'[z] == 1 + y\ \>"], "Output", Evaluatable->False, AspectRatioFixed->True]}, Open]], Cell[TextData[{ "or ", StyleBox["h'[z] == 1", FontFamily->"Courier", FontWeight->"Bold"], ". This implies" }], "Text", Evaluatable->False, AspectRatioFixed->True], Cell[CellGroupData[{Cell[TextData[" h[z_] = z;\n f[x,y,z]"], "Input", AspectRatioFixed->True], Cell[OutputFormData["\<\ x^2*y + z + y^2*z\ \>", "\<\ 2 2 x y + z + y z\ \>"], "Output", Evaluatable->False, AspectRatioFixed->True]}, Open]], Cell[TextData[{ "By the F.T.L.I., the integral equals ", StyleBox["f[x,y,z]", FontFamily->"Courier", FontWeight->"Bold"], " evaluated at the end points\nof the curve." }], "Text", Evaluatable->False, AspectRatioFixed->True], Cell[CellGroupData[{Cell[TextData["r[t_] = (t^3-1)i + t^2 j + (t^3+1)k"], "Input", AspectRatioFixed->True], Cell[OutputFormData["\<\ {-1 + t^3, t^2, 1 + t^3}\ \>", "\<\ 3 2 3 {-1 + t , t , 1 + t }\ \>"], "Output", Evaluatable->False, AspectRatioFixed->True]}, Open]], Cell[CellGroupData[{Cell[TextData["p = r[0]"], "Input", AspectRatioFixed->True], Cell[OutputFormData["\<\ {-1, 0, 1}\ \>", "\<\ {-1, 0, 1}\ \>"], "Output", Evaluatable->False, AspectRatioFixed->True]}, Open]], Cell[CellGroupData[{Cell[TextData["q = r[1]"], "Input", AspectRatioFixed->True], Cell[OutputFormData["\<\ {0, 1, 2}\ \>", "\<\ {0, 1, 2}\ \>"], "Output", Evaluatable->False, AspectRatioFixed->True]}, Open]], Cell[CellGroupData[{Cell[TextData["f[0,1,2] - f[-1,0,1]"], "Input", AspectRatioFixed->True], Cell[OutputFormData["\<\ 3\ \>", "\<\ 3\ \>"], "Output", Evaluatable->False, AspectRatioFixed->True]}, Open]], Cell[TextData[ "We could also do this integral using the usual formula for flow integrals."], "Text", Evaluatable->False, AspectRatioFixed->True], Cell[CellGroupData[{Cell[TextData[ "FlowIntegrate[{2x y, x^2+2y z, y^2+1},\n r[t],{t,0,1}]"], "Input", AspectRatioFixed->True], Cell[OutputFormData["\<\ 3\ \>", "\<\ 3\ \>"], "Output", Evaluatable->False, AspectRatioFixed->True]}, Open]]}, Open]] }, FrontEndVersion->"Macintosh 3.0", ScreenRectangle->{{0, 1024}, {0, 748}}, AutoGeneratedPackage->None, WindowToolbars->{}, CellGrouping->Manual, WindowSize->{520, 653}, WindowMargins->{{12, Automatic}, {Automatic, 16}}, PrivateNotebookOptions->{"ColorPalette"->{RGBColor, 128}}, ShowCellLabel->True, ShowCellTags->False, RenderingOptions->{"ObjectDithering"->True, "RasterDithering"->False}, CharacterEncoding->"MacintoshAutomaticEncoding", MacintoshSystemPageSetup->"\<\ 00<0001804P000000]P2:?oQon82n@960dL5:0?l0080001804P000000]P2:001 0000I00000400`<300000BL?00400@00000000000000060801T1T00000000000 00000000000000000000000000000000\>" ] (*********************************************************************** Cached data follows. If you edit this Notebook file directly, not using Mathematica, you must remove the line containing CacheID at the top of the file. The cache data will then be recreated when you save this file from within Mathematica. ***********************************************************************) (*CellTagsOutline CellTagsIndex->{} *) (*CellTagsIndex CellTagsIndex->{} *) (*NotebookFileOutline Notebook[{ Cell[1711, 51, 141, 3, 70, "Input", InitializationCell->True], Cell[CellGroupData[{ Cell[1875, 56, 97, 2, 70, "Subsubsection"], Cell[1975, 60, 487, 19, 70, "Text"] }, Open ]], Cell[CellGroupData[{ Cell[2494, 81, 624, 26, 70, "Text"], Cell[3121, 109, 115, 3, 70, "Text"], Cell[CellGroupData[{ Cell[3259, 114, 80, 1, 70, "Input"], Cell[3342, 117, 137, 7, 70, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[3511, 126, 58, 1, 70, "Input"], Cell[3572, 129, 145, 7, 70, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[3749, 138, 78, 1, 70, "Input"], Cell[3830, 141, 133, 7, 70, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[3995, 150, 80, 1, 70, "Input"], Cell[4078, 153, 141, 7, 70, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[4251, 162, 60, 1, 70, "Input"], Cell[4314, 165, 131, 7, 70, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[4477, 174, 75, 1, 70, "Input"], Cell[4555, 177, 120, 8, 70, "Output"] }, Open ]] }, Open ]], Cell[CellGroupData[{ Cell[4716, 187, 67, 1, 70, "Input"], Cell[4786, 190, 330, 6, 70, "Print"] }, Open ]], Cell[CellGroupData[{ Cell[5148, 198, 83, 1, 70, "Input"], Cell[5234, 201, 120, 8, 70, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[5386, 211, 586, 21, 70, "Text"], Cell[5975, 234, 115, 3, 70, "Text"], Cell[6093, 239, 560, 19, 70, "Text"], Cell[CellGroupData[{ Cell[6676, 260, 95, 1, 70, "Input"], Cell[6774, 263, 134, 7, 70, "Output"] }, Open ]], Cell[6920, 272, 114, 2, 70, "Text"], Cell[CellGroupData[{ Cell[7057, 276, 81, 1, 70, "Input"], Cell[7141, 279, 204, 8, 70, "Output"] }, Open ]], Cell[7357, 289, 180, 8, 70, "Text"], Cell[CellGroupData[{ Cell[7560, 299, 90, 1, 70, "Input"], Cell[7653, 302, 128, 7, 70, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[7813, 311, 61, 1, 70, "Input"], Cell[7877, 314, 150, 7, 70, "Output"] }, Open ]], Cell[8039, 323, 113, 2, 70, "Text"], Cell[CellGroupData[{ Cell[8175, 327, 77, 1, 70, "Input"], Cell[8255, 330, 179, 8, 70, "Output"] }, Open ]], Cell[8446, 340, 180, 8, 70, "Text"], Cell[CellGroupData[{ Cell[8649, 350, 75, 1, 70, "Input"], Cell[8727, 353, 148, 7, 70, "Output"] }, Open ]], Cell[8887, 362, 241, 8, 70, "Text"], Cell[CellGroupData[{ Cell[9151, 372, 88, 1, 70, "Input"], Cell[9242, 375, 169, 8, 70, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[9443, 385, 61, 1, 70, "Input"], Cell[9507, 388, 122, 6, 70, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[9661, 396, 61, 1, 70, "Input"], Cell[9725, 399, 120, 6, 70, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[9877, 407, 73, 1, 70, "Input"], Cell[9953, 410, 104, 6, 70, "Output"] }, Open ]], Cell[10069, 418, 152, 4, 70, "Text"], Cell[CellGroupData[{ Cell[10244, 424, 115, 2, 70, "Input"], Cell[10362, 428, 104, 6, 70, "Output"] }, Open ]] }, Open ]] } ] *) (*********************************************************************** End of Mathematica Notebook file. ***********************************************************************)