## Line Integrals

### Scalar Fields

We have a curve C in the x-y plane, we can represent a point on this curve then by a vector r. To do a line integral, we break the curve into small pieces `ds`

, you have a small element of length `ds`

and a value of f on that element, we multiply them together, and then we sum over all of the elements on the curve C. Then the integral is Riemann sum:

`β«`_{c} f(r) ds

There are 2 method of solving this integral:

- Curve is y = y(x)
- Curve is parameterized x = x(t), y = y(t)

### Vector Fields

Most of the physical problems that we define in terms of line integrals are actually line integrals of a vector field. We have a curve C with direction. On this curve, we have a well-defined vector field u^{β} . At the same time we have an element of the curve `dr`

^{β}, pointing and along the direction of the curve. It’s basically saying that you have to take the component of u^{β} along the curve to do the line integral:

`β«`_{c} u^{β} β dr^{β}

But this actually can be written in terms of a line integral of a scalar field, where t^ is the tangent unit vector:

`β«`_{c} (u^{β} β t^) ds

Usually we do the integral by parameterizing the curve.

### Work-Energy Theorem

Work in a physicist definition is the energy transferred to an object by a force. The work is actually line integral of the force along the curve, it is done by the force on the mass results in the change in the kinetic energy of the mass.

## Surface Integrals

### Scalar Fields

We have some surface in three-dimensions. The surface itself is a two-dimensional object. We have a scalar field f defined on the surface. The surface integral of the scalar field will be obtained by a Riemann sum, where we break the surface into small surface elements `dS`

. Then multiply each element `dS`

by the average value of the scalar field f, and finally we sum over all of those surface elements.

`β«`_{S} f(r) dS

We compute this integral by parameterizing the surface, by actually parameterizing r. If the scalar field f(r) = 1, then the surface integral just gives us the area of the surface.

### Vector Fields

We have a vector field u^{β} defined on the surface, the surface integral of the vector field is defined as:

`β«`_{S} u^{β} β dS^{β}

It can also be written in terms of a surface integral of a scalar field, where n^ is the normal vector to the surface. The key here is that to define the surface integral of a vector field, we take the dot product of the vector field with the normal unit vector to the surface

`β«`_{S} (u^{β} β n^) dS

### Flux Integrals

The surface integral of a vector field is sometimes called a flux integral and the flux integral usually has some physical meaning.

The mass flux is then as the fluid flows through the surface.

`β«`_{S} Ο u^{β} β dS^{β}

In the context of electricity and magnetism, we have both electric flux and magnetic flux:

`β«`_{S} E^{β} β dS^{β}
β«_{S} B^{β} β dS^{β}

## My Certificate

For more on **Line and Surface Integrals**, please refer to the wonderful course here https://www.coursera.org/learn/vector-calculus-engineers

## Related Quick Recap

*I am Kesler Zhu, thank you for visiting my website. Check out more course reviews at https://KZHU.ai*