Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Mathematics and Algorithms > Matrices and Linear Algebra > Operations on Vectors > Projection >
Mathematica > Mathematics and Algorithms > Graphs & Networks > Graph Programming > Matrices and Linear Algebra > Operations on Vectors > Projection >
Mathematica > Visualization and Graphics > Graphs & Networks > Graph Programming > Matrices and Linear Algebra > Operations on Vectors > Projection >

Projection

Projection
finds the projection of the vector u onto the vector v.
Projection
finds projections with respect to the inner product function f.
  • For ordinary vectors u and v, the projection is taken to be . »
  • In Projection, u and v can be any expressions or lists of expressions for which the inner product function f applied to pairs yields real results. »
Project the vector (5, 6, 7) onto the x axis:
Project onto another vector:
Project the vector (5, 6, 7) onto the x axis:
In[1]:=
Click for copyable input
Out[1]=
 
Project onto another vector:
In[1]:=
Click for copyable input
Out[1]=
Use symbolic vectors:
Assume all variables are real:
Use exact arithmetic to find the projection of u onto v:
Use machine arithmetic:
Use 20-digit precision arithmetic:
Projection of a complex vector onto another:
Use a different inner product:
Find parallel and orthogonal components of a vector:
is the sum of the parallel and orthogonal components:
Unnormalized Gram-Schmidt algorithm (use Orthogonalize for a better implementation):
Do Gram-Schmidt on a random set of 3 vectors:
Verify orthogonality:
Generate some orthogonal polynomials:
The projection of u onto v is in the direction of v:
For ordinary vectors u and v, the projection is taken to be :
The projection of u onto v is equivalent to multiplication by an outer product matrix:
New in 6
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF