M HYPE SPLASH
// updates

Vector projection in 2d application

By Emma Terry
$\begingroup$

Can somebody please give me an easy application of vector projection in 2D. I dont want to see an example in physics.

Thanks.

$\endgroup$

3 Answers

$\begingroup$

The shadow of a thin object in the plane of the object and the light source.

Component of load force along one member in a joint of two straight beams. (Engineering.)

$\endgroup$ 2 $\begingroup$

I know it's not specific to $\mathbb{R}^2$, but least squares approximation is a very well-known application of orthogonal projection to very "real world" purposes.

$\endgroup$ $\begingroup$

Think about simple linear regression (OLS) in statistics. In this case, we want to model data $y$ in terms of $x$, such that $$y = \alpha + \beta x + \epsilon.$$

If $y$ is your $n \times 1$ vector of data, then you are projecting it onto two vectors:

  1. An $n \times 1$ vector of one's.
  2. An $n \times 1$ vector of the independent variable $x$.

Bringing these two vectors together as columns of a $n \times 2$ matrix $X$, we can then write the OLS esitmate of $(\alpha, \beta)$ as a parameter vector $\hat{\beta} = (XX')^{-1}X'y$, such that $$E[y] = X\hat{\beta},$$ and the projection matrix is $P = X(XX')^{-1}X',$ thus the expectation is really $$E[y] = Py,$$ or the projection of $y$ onto $x$ and a scalar dimension.

$\endgroup$

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy