birulami
- 153
- 0
Assuming that shrinking/expanding in a given direction is a linear transformation in R^3, what would be the matrix to perform it?
To be more precise, given a vector
e=\left(\begin{array}{c}e_1\\e_2\\e_3\end{array}\right)
with a length of 1, i.e. ||e||=1 and a factor \lambda, I am looking for a matrix A such that for every vector x the vector y=A\cdotx has a projection on e that is longer than the projection of x by the factor \lambda, while all sizes orthogonal to e are kept unchanged.
I came up with a matrix A that contains squares and products of the e_i and, worse, would contain complex numbers for \lambda<1. I expected something simpler? Any ideas?
Thanks,
Harald.
To be more precise, given a vector
e=\left(\begin{array}{c}e_1\\e_2\\e_3\end{array}\right)
with a length of 1, i.e. ||e||=1 and a factor \lambda, I am looking for a matrix A such that for every vector x the vector y=A\cdotx has a projection on e that is longer than the projection of x by the factor \lambda, while all sizes orthogonal to e are kept unchanged.
I came up with a matrix A that contains squares and products of the e_i and, worse, would contain complex numbers for \lambda<1. I expected something simpler? Any ideas?
Thanks,
Harald.