Surface Integral

Motivation

KE, CC-BY, "torus".

Have you ever thought to yourself, "I wonder how much powdered sugar I could get on a donut?"
I would assume no but I can get you on the right track.

Vectors

Disclaimer: this page will be a little out there, even for me.

A vector is a combination of a scalar and a direction. Technically, that is. Less formally, we can say that a vector is the combination of a length and a direction. For example, an arrow pointing up with length 3 is a vector. There are many ways to notate a vector but for this we will use the standard x, y ordered pair notation with angled brackets. A vector is assumed to have its tail at the origin and its head at the point shown in x,y. Its length (by simple trigonometry) is x2+y2 and its direction (or angle) is tan1(yx).

Easy enough, right? Right, but now it gets worse.
To find the surface area of a donut (torus) we must realize that a donut is 3-dimensional.
That means that our vectors will be of the form v=x,y,z. Our length will be x2+y2+z2 and our direction will be a little bit (lotta bit) more complicated and unnecessary.

Operations

Let us notice that ax,y,z=ax,ay,az. Where a is just a number.

Another property to notice is that x,y,z+a,b,c=x+a,y+b,z+c.

Using ı^=1,0,0, ȷ^=0,1,0, and k^=0,0,1, We can rewrite any vector x,y,z as xı^+yȷ^+zk^.

We define the cross product of two vectors to be the determinant of the matrix made up of the basis vectors and the two other vectors together, that is: for any two vectors, u=x,y,z and v=a,b,c, u×v=|ı^ȷ^k^xyzabc|=ı^(yczb)+ȷ^(zaxc)+k^(xbya)=yczb,zaxc,xbya Geometrically, the cross product gives us a new vector that is one of the vectors that is perpendicular to both.


Surface Integral

Consider that Ω is some surface (in our case, a donut) in 3 dimensions.
v(t,s) is a function that takes in two parameters and gives out a vector. Using the desired constrained inputs for the function, the function will map out Ω.
Finally, consider C being the space of the (constraint of t) × (the constraint of s).

In our case, Ω is a donut, v(t,s)=(b+acos(t))sin(s),(b+acos(t))cos(s),asin(t), and our constraints are that t and s both go from 0 to 2π so C=[0,2π]×[0,2π]. Where a is the radius of the loop and b is the radius of the donut.

The formula for surface area is C|vt×vs|dtds
Using our amazing calculus skills, we can rewrite this as 02π02π|vt×vs|dtds Calculating the partial derivatives, we get: vt=asin(s)sin(t),acos(s)sin(t),acos(t) And calculating the other, we get: vs=(b+acos(t))cos(s),(b+acos(t)sin(s)),0 Skipping most of the hard work, we find the determinant (which geometrically is the area of the parallelogram created by the two vectors' cross product): |vt×vs|=ab+a2cos(t) Now we can rewrite the integral and solve! 02π02πab+a2cos(t)dtds=02π[abt+a2sin(t)]02πds=02π2πabds=[2πabs]02π=4π2ab Wow. We found our answer. The surface area of a donut is 4π2 times its inner radius times its outer radius. We could have just looked that up but we didn't. Astounding.