Math Insight

Applet: The line integral of a path-dependent vector field

Applet: The line integral of a path-dependent vector field

The Java applet did not load, and the above is only a static image representing one view of the applet. The applet was created with LiveGraphics3D. The applet is not loading because it looks like you do not have Java installed. You can click here to get Java.

Applet: The line integral of a path-dependent vector field

The vector field $\dlvf(x,y) = (y,-x)$ and three paths from $\vc{a}=(0,-4)$ (the cyan square) to $\vc{b}=(0,4)$ (the magenta square) as shown. Path $\dlc$ (shown in blue) is a straight line path from $\vc{a}$ to $\vc{b}$. Paths $\adlc$ (in green) and $\sadlc$ (in red) are clockwise and counterclockwise, respectively, circular path from $\vc{a}$ and to $\vc{b}$. You can drag the colored points, and the corresponding color lines on the slider indicate the line integral of $\dlvf$ from $\vc{a}$ along the path up to the colored point. Even when you drag the points to $\vc{b}$, the values of the line integrals have different values, demonstrating that $\dlvf$ is indeed path-dependent.

Applet file: line_integral_path_dependent_vector_field.m

Applet links

This applet is found in the pages

List of all applets

General information about LiveGraphics3D applets

This applet was created using LiveGraphics3D. To manipulate it, you can

  • click and drag to rotate in any direction,
  • shift + click and drag up/down to zoom out/in,
  • shift + click and drag left/right to rotate around an axis coming out of the screen, and
  • press Home to reset to the original view.

Most of the LiveGraphics3D applets have parameters that you can change. In general, you can click and drag points or balls around to change the parameters.

Since these applets use Java, you must have Java installed and properly configured in your browser for the them to display. You can get Java here. If you have trouble getting them to display in your browser, you can visit the LiveGraphics3D troubleshooting page for information on how to get the Java applets to work.

On occasion, even when Java is configured correctly, the Java applets don't load the first time and one instead sees an error message. You can wait a few moments to see if the applet will eventually load itself anyway. You can also reload the page to see if the applet will properly load. Sometimes, one needs to do this multiple times.