Showing posts with label Vectors. Show all posts
Showing posts with label Vectors. Show all posts

Thursday, October 13, 2011

Math - Fluid Dynamics - Vectors - Functions related to vectors and scalars

In order to locate a position in space and time, one may use the position vector as a function of time which happens to be a scalar value.  This relation is an example of a vector as a function of a scalar.

\[ \mathbf{r} = \mathbf{r} \left( t \right) \]

or in general if for each scalar variable there exist a vector value then

\[ \mathbf{A} = \mathbf{A} \left( t \right) \]

This relation can be inversed so that a scalar is a function of a vector.  One example is temperature which can be described at every point so that

\[ T = T \left( \mathbf{r} \right) \]

or, again, in general if for each vector value there exist a scalar value

\[ \phi = \phi \left( \mathbf{r} \right) \]

In the case when \( \mathbf{r} \) is the position vector, then the scalar is a function of position.

A third example denotes a vector as a function of a vector.  If one looks at the rigid body rotation that rotates at a constant angular velocity, \( \boldsymbol{\omega} \), then the velocity at a point on the body can be described as

\[ \mathbf{V} = \boldsymbol{\omega} \times \mathbf{r} \]

where the position vector, \( \mathbf{r} \), is taken from the axis of rotation.

Thus, the velocity vector, \( \mathbf{V} \), becomes a function of the position vector, \( \mathbf{r} \).

\[ \mathbf{V} =  \mathbf{V} \left( \mathbf{r} \right) \]

Likewise, the general form becomes

\[ \mathbf{A} =  \mathbf{A} \left( \mathbf{r} \right) \]

and when \(  \mathbf{r} \) is the position vector \(  \mathbf{A} \) is a vector function of position.

Tuesday, October 11, 2011

General Math - Vectors - Bases


According to Betten [1], an orthonormal basis example includes the three-dimensional rectangular Cartesian coordinate system, \( x_i, \; i = 1, 2, 3 \), where a vector is (as also noted in a previous post)

\[ \mathbf{V} = \left( V_1, V_2, V_3 \right) = V_1 \mathbf{e}_1 + V_2 \mathbf{e}_2 + V_3 \mathbf{e}_3 \]

and the unit base vectors are \( \mathbf{e}_1 \), \( \mathbf{e}_2 \), \( \mathbf{e}_3 \).  These unit base vectors make up the orthonormal basis.  One property of these unit base vectors is the Kronecker delta where

\[ \mathbf{e}_i \cdot \mathbf{e}_j = \delta_{ij} \]


According to Pahl and Damrath [], the basis vectors of a real vector space, \( \mathbb{R}^n \), is written as \( \mathbf{b}_1, \ldots, \mathbf{b}_n \).  This basis is orthogonal if the basis vectors are pairwise orthogonal and orthonormal if the basis vectors have a magnitude of one and are pairwise orthogonal.

\[ \text{orthogonal basis:} \qquad i \ne m \quad \Rightarrow \quad \mathbf{b}_i \cdot \mathbf{b}_m = 0 \]

\[ \text{orthonormal basis:} \qquad i = m \quad \Rightarrow \quad \mathbf{b}_i \cdot \mathbf{b}_m = 1 \qquad i \ne m \quad \Rightarrow \quad \mathbf{b}_i \cdot \mathbf{b}_m = 0 \]

A canonical basis...

A covariant basis is written as [2]

\[ \mathbf{b}_1, \ldots, \mathbf{b}_n \]

where the index is based on subscripts.  While a contravariant basis has an index as a superscript shown as [2]

\[ \mathbf{b}^1, \ldots, \mathbf{b}^n \]

A more general form of bases results in a more general coordinate system (such as cylindrical) known as a curvlinear coordinate system.  It is sometimes more useful to work in such coordinate systems.

In such a convention, the rectangular Cartesian right-handed orthogonal coordinates, \( x_i \), define a three-dimensional Euclidean space [1].  Curvlinear coordinates can be expressed as \( \xi^i \) and the transformation between rectangular coordinates and curvlinear coordinates is

\[ x_i = x_i \left( \xi^p \right) \Leftrightarrow \xi_i = \xi_i \left( x^p \right) \]

Slattery [3] gives a curvilinear coordinate system where a spatial vector field can be written as a linear combination of the natural basis


\[ \mathbf{u} = u^i \mathbf{g}_i \]

or a linear combination of the dual basis


\[ \mathbf{u} = u_i \mathbf{g}^i \]

In the rectangular Cartesian coordinate system, covariant and contravariant components are unecessary since the natural and dual basis vectors are the same [3].  Thus,

\[ \mathbf{u} =  u^i \mathbf{g}_i = u^i g_{ki} \mathbf{g}_i = u_k \mathbf{g}^k \]

From this one can separate into

\[ \left( u^i g_{ki} - u_k \right) \mathbf{g}^k = 0 \]

and

\[ u^i g_{ki} - u_k = 0 \]

which comes out to be

\[ u_k = g_{ki u^i} \]

Similarly,

\[i \mathbf{u} =  u_i \mathbf{g}^i = u^i g^{ji} \mathbf{g}_j = u^j \mathbf{g}_k \]

and

\[ u^j = g^{ji}u_i  \]

These relations allow indices to be raised and lowered.




References:


[1] J. Betten. Creep Mechanics, 3rd ed. Springer, Berlin, Germany. 2008.

[2] P. J. Pahl and R. Damrath. Mathematical Foundations of Computational Engineering: A Handbook Springer, Berlin, Germany. 2001.

[3] J. C. Slattery. Advanced Transport Phenomena, Cambridge University Press, Cambridge, UK. 1999.

Friday, September 23, 2011

Math - Vectors - Dot/scalar/inner product

The dot product, scalar, or inner product is the vector multiplication which executes for two vectors \( \mathbf{A} \) and \( \mathbf{B} \) in three dimensions is [1, 2]

\[ \begin{align} \mathbf{A} \cdot \mathbf{B} &= \left(A_1 \mathbf{e}_1 +  A_2 \mathbf{e}_2 + A_3 \mathbf{e}_3 \right) \cdot \left(B_1 \mathbf{e}_1 +  B_2 \mathbf{e}_2 + B_3 \mathbf{e}_3 \right) \\ &= A_1 B_1 + A_2 B_2 + A_3 B_3 \end{align} \]

That is, the dot product multiplies each corresponding component of the vectors and adds them together to  obtain a scalar.  So you could also call this a vector component product.

In progress...to be continued.


References:

[1] K. Karamcheti. Principles of Ideal-Fluid Aerodynamics. John Wiley & Sons, Inc., New York, NY. 1966

[2] W. Kaplan. Advanced Calculus (5th ed.). Addison-Wesley. 2002

Math - Vectors - Unit vector and vector magnitude/length/norm


The unit vector of a vector is in the direction of the vector with a magnitude of one.  For example, in the three-dimensional Cartesian coordinate system the vectors \( \left( \hat{i}, \hat{j}, \hat{k} \right) \) or \( \left( \mathbf{i}, \mathbf{j}, \mathbf{k} \right) \) represent the unit vectors along the three axes \( \left(x, y, z \right) \).

In general, the unit vector of a vector can be written as

\[ \mathbf{e}_A = \dfrac{ \mathbf{A}}{| \mathbf{A}|} \]

which is the vector of \( A \) divided by the magnitude of \( A \).  The magnitude (also called the length or norm) in the three-dimensional case \( \vec{A} = A_1 \mathbf{i} + A_2 \mathbf{j} + A_3 \mathbf{k} \) is expressed as

\[ | \mathbf{A}| = \sqrt{\mathbf{A} \cdot \mathbf{A}} = \sqrt{A_1^2 + A_2^2 + A_3^2} \]

In an orthogonal right-handed system, the unit vectors in three dimensions can be expressed as \( \mathbf{e}_1 \), \( \mathbf{e}_2 \), and \( \mathbf{e}_3 \) where the components of a vector \( \mathbf{A} \) are \( A_1 \), \( A_2 \), and \( A_3 \) and correspond to the unit vectors respectively.  That is the vector \( \mathbf{A} \) can be broken down into individual components which relate to whatever coordinate system and unit vectors are chosen to be used [1, 2].

In progress...to be continued.


References:


[1] K. Karamcheti. Principles of Ideal-Fluid Aerodynamics. John Wiley & Sons, Inc., New York, NY. 1966

[2] W. Kaplan. Advanced Calculus (5th ed.). Addison-Wesley. 2002

Tuesday, September 20, 2011

Vector Analysis and Calculus - General math

This post highlights vector calculus and vector analysis. Such topics and discussions will cover ideas and concepts encountered when dealing with vector analysis. Vectors are a very important concept in science and math and appear very early in calculus and physics classes in college or in advanced high school classes. Vectors are used to describe a direction and magnitude of important concepts in our world such as gravity and other forces. Vectors can also group together many sets of equations into a compact form such as the three-dimensional equations of motion expressed as a single line of a vector equation instead of expanding for each of the three components. Vectors appear very often in fluid dynamics and are a fundamental basis for the subject. Many fluid dynamic books introduce the reader into and with vector analysis [1-5] or contain an appendix at the end of the book [5] while the manuscript by Aris [6] is based upon vectors and fluid dynamics altogether.

As mentioned previously, vectors make up the fundamental basis of mathematics and physics in the world. Many mathematical books which generalize math topics which scientist, engineers, physicists, etc, should be familiar with often place vectorial analysis in the beginning or at least include it in the book type encyclopedia (a collection of topics and methods) of math for applied uses [7].

Vectors not only make up fundamental basis for fluid dynamics, but also for math and physics.  In fact it is an underlying foundation in math and physics sciences. Einstein used vector notation to develop and describe his relativity theories. Many in the early stages of the study of math and physics fields generally see vectors in essential courses such as calculus and general physics. In calculus, vector analysis might appear in a II or III semester of the course as the concepts of divergence, curl, gradient, etc. are brought up and discussed. Vectors appear very early at the very beginning in general college physics courses because almost everything is based upon the vector theory.  Forces, acceleration, velocity, position, momentum, electrostatics, fluid mechanics and dynamics, etc. all utilize vector analysis.

Specifically, since my background is in fluid dynamics from a graduate aerospace engineering education, I will use my experiences to discuss vectors and other topics.  Vectors in fluid dynamics/mechanics can be very useful to describe many fluid concepts and phenomena.  Additionally, vectors are very useful as they are coordinate independent or in other words the user does not have to worry about a coordinates system.

A general representation of a vector can be

\[ \vec{A} = A_1 \vec{e}_1 + A_2\vec{e}_2 + A_3 \vec{e}_3 + \ldots + A_n \vec{e}_n = \sum_{i = 1}^n \]

where the coordinate system can be anything and the number of dimensions \( n \).  This simple relation is why vectors are so useful, powerful, and why they make up the foundations of our math, physics, and related sciences.

The vector may also be written without the arrow above where boldface font is available.

\[ \mathbf{A} = A_1 \mathbf{e}_1 + A_2 \mathbf{e}_2 + A_3 \mathbf{e}_3 + \ldots + A_n \mathbf{e}_n \]

Scalars according to Serre [ ],

"...are elements of some field \( k \) (or \( K \)), or sometimes of a ring \( R \)."



In progress...



References:

[1] K. Karamcheti. Principles of Ideal-Fluid Aerodynamics. John Wiley & Sons, Inc., New York, NY. 1966



[2] R. L. Panton. Incompressible Flow. (3rd ed.). John Wiley & Sons, Inc. Hoboken, NJ. 2005



[3] M. E. O’Neill & F. Chorlton. Viscous and Compressible Fluid Dynamics. Ellis Horwood Limited. Chichester, UK. 1989

[4] T. C. Papanastasiou, G. C. Georgiou, & A. N. Alexandrou. Viscous Fluid Flow. CRC Press. Boca Raton, FL. 2000



[5] M. T. Schobeiri. Fluid Mechanics for Engineers - A Graduate Textbook. Springer.
Berlin, Germany. 2010



[6] R. Aris. Vectors, Tensors and the Basic Equations of Fluid Mechanics. Dover Publications.
New York, NY. 1990



[7] G. B. Arfken & H.-J. Weber, Mathematical Methods for Physicists (6th ed.). Elsevier Academic Press. Burlington, MA. 2005



[ ] D. Serre. Matrices: Theory and Applications. Springer-Verlag New York, Inc., New York, NY. 2002



[ ] D. Serre. Matrices: Theory and Applications. 2nd ed. Springer Science+Business Media, LLC., New York, NY. 2010




Thursday, September 8, 2011

Some references for vector calculus and analysis

Here are some good resources to look at for vector calculus and analysis including linear algebra and matrices.

[1] K. Karamcheti. Principles of Ideal-Fluid Aerodynamics. John Wiley & Sons, Inc., New York, NY. 1966


[2] W. Kaplan. Advanced Calculus (5th ed.). Addison-Wesley. 2002


[3] G. B. Arfken & H.-J. Weber, Mathematical Methods for Physicists (6th ed.). Elsevier Academic Press. Burlington, MA. 2005


[4] R. Aris. Vectors, Tensors and the Basic Equations of Fluid Mechanics. Dover Publications. New York, NY. 1990

[5] A. I. Borisenko and I. E. Tarapov. Vector and Tensor Analysis with Applications, (translated by R. A. Silverman). Dover Publications Inc., Mineola, NY. 1979 (originally published in 1968 by Prentice-Hall, Inc.


[6] H. M. Schey. Div, Grad, Curl, and All That: An Informal Text on Vector Calculus, 3rd ed. W. W. Norton \& Company, New York, NY. 1997


[7] H. M. Schey. Div, Grad, Curl, and All That: An Informal Text on Vector Calculus, 4th ed. W. W. Norton \& Company, New York, NY. 2005


[8] K. R. Reddy, S. Raghavan, and D.V.N. Sarma. Elements of Mechanics, Universities Press (India) Limited, Hyderabad, India. 1994.



[9] C.-T. Tai. General Vector and Dyadic Analysis: Applied Mathematics in Field Theory, 2nd ed. Wiley-IEEE Press, New York, NY. 1997.


[10] J. Betten. Creep Mechanics, 2nd ed. Springer, Berlin, Germany. 2005.


[11] J. Betten. Creep Mechanics, 3rd ed. Springer, Berlin, Germany. 2008.


[12] J. C. Slattery. Advanced Transport Phenomena, Cambridge University Press, Cambridge, UK. 1999.



[13] F. Irgens. Continuum Mechanics Springer, Berlin, Germany. 2008.


[14] P. J. Pahl and R. Damrath. Mathematical Foundations of Computational Engineering: A Handbook Springer, Berlin, Germany. 2001.



[15] M. T. Schobeiri. Fluid Mechanics for Engineers - A Graduate Textbook. Springer.
Berlin, Germany. 2010



In progress...to be continued.