Showing posts with label Vector Analysis. Show all posts
Showing posts with label Vector Analysis. Show all posts

Wednesday, March 14, 2012

Vectors: Grad, Div and Curl

Another chapter down!  This is my favorite part.  It's like someone is reading my mind.

MATH: Were you looking for this?
RYAN: Um.  I dunn-
                  Omigod.  ..... Ummmmm.  This is totally awesome.  Yes. Yes I-
MATH: There's more, if you'd --
RYAN:  ...was.   wait.  What?
MATH ... stop talking.
RYAN:   Oh.
MATH:  Check this out:
A scalar function φ is said to be harmonic if it is continuous,
 has continuous second partial derivatives, and satisfies Laplace's Equation:

      
RYAN:  How did you know I-
MATH: I'm just getting warmed up.  How about this.
RYAN: But how -?
MATH: ...do you define the gradient of a vector field?  Turn the page.
                    {rustle}

     Like that.  Now try this:
     And you have a formula for computing Del squared of a field:
     You should probably check the partials by hand.
RYAN:  Yeah, I-
MATH: Oh, and you're welcome.
RYAN:  Hey! I was go-
MATH: Sure you were.
RYAN:  This shit is fucking amazing.
MATH: {Yawn}Yeah.  {Stretch}  I know.  So, I see the Indian girl is still at the next table.  You know it's not because she wasn't going to drink it, right?
RYAN:  Wait. What?
MATH:  The beer.  You should talk to her. She's taking a long time to put her hair up for you.  You should probably ask her out.
RYAN:  Look, buddy. I'm not a mind reader.  If she wants to talk to me, I'm right here.
MATH:  Spare me.    And good luck with that.
RYAN:  With what?
MATH:  ....
            ....
 RYAN:  What?
MATH:  You are a complete idiot.
____________________
I am a complete idiot.  Anyway, Vectors continue to contain more Radness per component of space than any other container.  Expressed in terms of  BMX,
Where grad(BMX) is the direction of maximum increase in BMX, in mega-wheelie-hours.

I tend to double, triple, sextuple-check identities.  That has to stop.  The vector algebra identities involving Del take an Awful Lot of Symbols to verify by hand.    I did them all. A few results will live here so I can find them.  Like

curl (curl f) =



Notes:
1) The proof is just a verification of consistency:

If the operator distributes partials according to
       1) the usual product rules for vectors,
        2) swapping dot product order  to allow Del to operate on something
Then a result is obtained which is algebraically consistent.  In other words, it might as well be a definition.

I think it is self-evident that the intermediate, undefined form grad(f)  preserves measure if immediately operated on by dot (scalar) product.    It is not a proof that grad(f) has any general meaning.  
I assume the justification for adoption of the algebra itself lies in physical measurement of space. 

2)  I have almost found my difficulty with partial derivatives, implicit functions, and multiple integration.  The place where all of the differentials come together remains unclear.  There is more than one way to integrate multiple variables. It depends on the relationship between all quantities, there are many such quantities, and I cannot convince myself that substitution of a variable is trivial.  I think very soon I will have to go back and build diagrams with every little dx, dy, dz,  and work out each connection to a partial or substituted variable.

Grrrr.

In the meantime, moving forward is helping, so I will keep doing so.  On to Vector Integration.

Thursday, March 8, 2012

Vector surfaces

I haven't forgotten about the schoolgirl problem or Snell's Law.  I (finally) have a  correct general solution for Kirikman's schoolgirls: a puzzle consisting of simple blocks with which any of the particular solutions can be built.

I intend to finish Applied Vector Analysis in a month.  8 Chapters remain; most of the math I need is here.  

  • DifferentiationSpace curves
    Surfaces
    Tangent, curvature, torsion
  • Divergence, Gradient, Curl
  • Integration
    Line, surface and volume integrals
    Gauss' (Divergence) Theorem
    Green's Theorem
    Volume-to-surface; surface-to-line transformations
    Irrotational Fields
  • Orthogonal Curvilinear Coordinates
    Cripple Special coordinate systems
  • Fluid Mechanics:
    Equations of continuity, motion, and energy
    Fluid States
    Steady flow and streamlines
    Vortex flow and circulation
  • Electromagnetic Theory:
    Electromagnetic field
    Maxwell's equations
    Potential
    Energy and the Poynting vector
    Static fields
Rad.
I'll take notes here.


PARAMETRIC SURFACES:  NORMAL VECTOR
 The normal N to any surface represented by a vector function r(x,y) is given by

     
where
     


I. Explicit function of x, y
Let a surface S be given by the equations
     
where x, y, z are the coordinate axes.  Then the position vector of any point on the surface is given by the vector function
     
Compute the partial derivatives,
     
 Compute the cross product:
     

And the magnitude, for normalization:
     

The normal vector to any point on the surface is then
     


II. Implicit function of x, y.
I'm still not comfortable with partial derivatives of implicit functions.  I lose the intuition quickly, and return to the definitions often.
Fix it, Ryan.
Okay.  The following result makes me happy.

"
Problem 4-11  Find a unit normal vector n to a surface S that is represented by                                                

"

Go one step at a time.  This is a surface.  Any surface can be represented by a (series of) function(s) of two variables.  So, the given function has two independent variables.  Phi implicitly defines a function of two variables.  By convention, I assume the independent variables are listed first, and are therefore x and y.

Phi defines z implicitly as a function of x and y.


Differentiate with respect to x:
     

Solve for the partial of z with respect to x:
     

Differentiate with respect to y, and solve for the partial of z with respect to y:
     

Now, we have implicitly defined z as a function having the same form as the explicit equation in section I. Substitute the conspicuously Jacobian values (1) and (2) into the equations from I, and we now have the desired partial derivatives:
     

Again, the cross product:
     
 The relationship is clearer, and normalization simplified, if this is rewritten as:
     

Normalize!
     

Goodbye, extra z-partial.

     

Notes:
1. It is not clear to me why the implicit function is differentiated without reference to the unit vectors i, j and k. "Because it's implicit".  Yeah.  I get it.  But rendering z = z(x,y) as a vector function is independent of the function's status as implicit or explicit.  The answer is about measure, and I need to find it.

2.  In the implicit function, it doesn't matter what x, y and z are. One of the three partial derivatives of φ is nonzero, or it does not meet the general definition of a surface.  This nonzero partial corresponds to the dependent variable.  I assume the partial derivative of φ with respect to z is nonzero.  If it turns out to be x or y, the result can be computed in the same fashion.
The convention is for simplicity: list the dependent variables last.  It saves the following step: suppose I intend to solve problem 4-11 and I require the dependent variable in the third position.  Then I will solve the system
instead, where w is the dependent variable.  Map the variables x, y, z in problem 4-11 to u, v, w accordingly as the surface function is known.  I do not have to change a letter of the solution.