Vector Projection
Introduction

If a and b are two vectors, the vector projection of a on b is the vector a1 with the same direction as b and with the length:

When θ is not known, we can compute cosθ using the following property of Dot Product a∙b:

Thus, the length of a1 can be also computed as follows:

Since a1 is in the same direction as b,

Where
is the Unit Vector with the same direction as b:

References & Resources
- Wikipedia - http://en.wikipedia.org/wiki/Vector_projection
Latest Post
- Dependency injection
- Directives and Pipes
- Data binding
- HTTP Get vs. Post
- Node.js is everywhere
- MongoDB root user
- Combine JavaScript and CSS
- Inline Small JavaScript and CSS
- Minify JavaScript and CSS
- Defer Parsing of JavaScript
- Prefer Async Script Loading
- Components, Bootstrap and DOM
- What is HEAD in git?
- Show the changes in Git.
- What is AngularJS 2?
- Confidence Interval for a Population Mean
- Accuracy vs. Precision
- Sampling Distribution
- Working with the Normal Distribution
- Standardized score - Z score
- Percentile
- Evaluating the Normal Distribution
- What is Nodejs? Advantages and disadvantage?
- How do I debug Nodejs applications?
- Sync directory search using fs.readdirSync