Line and Surface Integral Calculator
Choose work, scalar line integral, flux or scalar surface integral, enter the field and the parametrisation, and get r′, |r′| or r_u × r_v, the integrand, each step, curl, divergence and a rotatable 3D view.
ทำงานในเบราว์เซอร์ของคุณ ไฟล์ไม่ออกจากอุปกรณ์ ดูวิธีตรวจสอบ
…
วิธีทำ
- 1Choose the integral
Pick work, scalar line, flux or scalar surface integral.
- 2Enter the field
Type f, or the components P, Q and R of F.
- 3Parametrise
Enter r(t) with its t range, or r(u, v) with the u and v ranges.
- 4Read the setup
See r′, the speed or the normal, and the final integrand.
- 5Get the value
Read the exact or numeric value, curl, divergence and potential.
- 6Rotate the plot
Drag the 3D view, then copy, download or print the report.
เกี่ยวกับเครื่องมือนี้
Line and surface integrals generalise ordinary integrals to curves and surfaces in space. A scalar line integral ∫ f ds adds up f along a curve, weighted by arc length, which gives the mass of a wire or simply the length of the curve when f = 1. A vector line integral ∫ F·dr adds up the component of a field along the direction of travel, which is the work a force does or the circulation of a flow. On a surface, ∬ f dS gives a surface area or the mass of a thin shell, and the flux ∬ F·n dS measures how much of a field passes through the surface. Every one of these is computed the same way: parametrise the curve as r(t) or the surface as r(u, v), turn ds into |r′(t)| dt or dS into |r_u × r_v| du dv, substitute the parametrisation into the field and integrate over the parameter range. This calculator performs those steps symbolically and shows each of them. It differentiates the parametrisation, forms the speed or the normal vector, simplifies with sin² + cos² = 1 so that a circle's speed becomes 1 and a sphere's flux integrand becomes 8 sin u, and then integrates with the same symbolic and numeric engine as the multiple integral calculator, reporting an exact value when both agree. For a vector field it also computes the curl and the divergence. If the curl is zero it searches for a potential φ with ∇φ = F and checks the work by φ(end) − φ(start), the fundamental theorem for line integrals. Closed curves and closed surfaces trigger a note about Green's, Stokes' and the divergence theorem. The 3D plot draws the curve with arrows of F along it, or the surface as a wireframe with its normals, and can be rotated by dragging or with buttons.
Choosing a parametrisation
Curves in the plane only need x(t) and y(t); leave z(t) blank. Surfaces always need three components in u and v, and the v bounds may depend on u, so a triangle such as x + y + z = 1 over 0 ≤ v ≤ 1 − u is one entry. The direction matters for work and flux: the Reverse direction button swaps the t limits, which flips the sign of a work integral, and the normal used for flux is r_u × r_v, shown as red arrows on the plot. Swap the roles of u and v if the normal points the wrong way. The result panel also reports the length of the curve or the area of the surface, which helps you check that the parametrisation traces what you intended.
Worked example
Take the force F = (−y, x, z) along the helix r(t) = (cos t, sin t, t) for 0 ≤ t ≤ 2π. Then r′(t) = (−sin t, cos t, 1) and F(r(t)) = (−sin t, cos t, t). Their dot product is sin² t + cos² t + t, which simplifies to t + 1. Integrating from 0 to 2π gives 2π² + 2π ≈ 26.0224. The curve length is 2π√2 ≈ 8.8858, the curl of F is (0, 0, 2) and its divergence is 1. For the flux of F = (x, y, z) out of the sphere of radius 2 the integrand simplifies to 8 sin u and the flux is 32π, which equals 3 times the volume of the ball, as the divergence theorem predicts.
Limits
Integrands with square roots that do not simplify, such as the speed of an ellipse, are integrated numerically and labelled as such. The tool does not check that a surface is closed or orientable, and it does not choose the outward normal for you; check the arrows. A potential function is only searched for when the curl is zero, and fields with singularities, such as (−y, x)/(x² + y²), are not treated specially.
ตัวอย่างพร้อมวิธีทำ
Work of F = (−y, x, z) along the helix (cos t, sin t, t), 0 ≤ t ≤ 2π: integrand t + 1, value 2π² + 2π ≈ 26.0224.
สรุปสั้น ๆ
- หมวดหมู่: คณิตศาสตร์และวิทยาศาสตร์
- ทำงานในเบราว์เซอร์ ไม่ต้องสมัคร ไม่ต้องอัปโหลด
- ข้อมูลที่คุณกรอกอยู่บนอุปกรณ์ของคุณ
- มีภาษาอังกฤษ
- ตรวจสอบเนื้อหาล่าสุด:
- แหล่งข้อมูลทางการ: OpenStax Calculus Volume 3, chapter 6 Vector Calculus
คำถามที่พบบ่อย
What is the difference between ∫ f ds and ∫ F·dr?
The first adds a scalar quantity along the curve weighted by length and does not depend on direction. The second adds the part of a vector field along the direction of motion and changes sign if you reverse the curve.
How do I get the arc length of a curve?
Choose the scalar line integral and set f = 1. The value is the length; it also appears under curve length for every curve.
Which way does the normal point in a flux integral?
Along r_u × r_v for the parametrisation you typed. The red arrows on the 3D plot show it. Swap u and v, or reverse one range, to flip it.
What happens if the field is conservative?
When curl F = 0 the tool tries to find a potential φ. If it succeeds it shows φ and checks that φ(end) − φ(start) equals the line integral, so the path does not matter.
Can the v bounds depend on u?
Yes. This lets you integrate over triangles and other non-rectangular parameter domains. The u bounds must be numbers.
Why does the plot look flat for a plane curve?
A curve with no z(t) lies in the plane z = 0. Use the top view button to look straight down on it.
