Suppose S is a 2d plane in $\mathbb{R}^3$ s.t. it is the set of all vectors in $\mathbb{R}^3$ with $ax_1+bx_2=0$ (a,b not equal to 0). Let $b=(x_1,x_2,x_3)^T$ be any vector in $\mathbb{R}^3$. How can I use least squares fitting to find the point in S that's closest to b? I understand it will be the projection, but how does least squares come into play? Do I have to use formula $x_{min}=(A^TA)^{-1}A^Tb$?
2026-02-23 06:20:57.1771827657
Finding point on a plane closest to a point in $\mathbb{R}^n$ using least squares method?
131 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in LINEAR-ALGEBRA
- An underdetermined system derived for rotated coordinate system
- How to prove the following equality with matrix norm?
- Alternate basis for a subspace of $\mathcal P_3(\mathbb R)$?
- Why the derivative of $T(\gamma(s))$ is $T$ if this composition is not a linear transformation?
- Why is necessary ask $F$ to be infinite in order to obtain: $ f(v)=0$ for all $ f\in V^* \implies v=0 $
- I don't understand this $\left(\left[T\right]^B_C\right)^{-1}=\left[T^{-1}\right]^C_B$
- Summation in subsets
- $C=AB-BA$. If $CA=AC$, then $C$ is not invertible.
- Basis of span in $R^4$
- Prove if A is regular skew symmetric, I+A is regular (with obstacles)
Related Questions in OPTIMIZATION
- Optimization - If the sum of objective functions are similar, will sum of argmax's be similar
- optimization with strict inequality of variables
- Gradient of Cost Function To Find Matrix Factorization
- Calculation of distance of a point from a curve
- Find all local maxima and minima of $x^2+y^2$ subject to the constraint $x^2+2y=6$. Does $x^2+y^2$ have a global max/min on the same constraint?
- What does it mean to dualize a constraint in the context of Lagrangian relaxation?
- Modified conjugate gradient method to minimise quadratic functional restricted to positive solutions
- Building the model for a Linear Programming Problem
- Maximize the function
- Transform LMI problem into different SDP form
Related Questions in LEAST-SQUARES
- Is the calculated solution, if it exists, unique?
- Statistics - regression, calculating variance
- Dealing with a large Kronecker product in Matlab
- How does the probabilistic interpretation of least squares for linear regression works?
- Optimizing a cost function - Matrix
- Given matrix $Q$ and vector $s$, find a vector $w$ that minimizes $\| Qw-s \|^2$
- Defects of Least square regression in some textbooks
- What is the essence of Least Square Regression?
- Alternative to finite differences for numerical computation of the Hessian of noisy function
- Covariance of least squares parameter?
Related Questions in CONSTRAINTS
- Optimization - If the sum of objective functions are similar, will sum of argmax's be similar
- Find all local maxima and minima of $x^2+y^2$ subject to the constraint $x^2+2y=6$. Does $x^2+y^2$ have a global max/min on the same constraint?
- Constrained eigenvalue problem
- Constrained optimization where the choice is a function over an interval
- MILP constraints with truth table
- Convexify this optimization problem with one nonlinear (bilinear) constraint
- Second-order cone constraints
- Matching position and rotation of moving target.
- Existence of global minimum $f(x,y,z) = x + y + z$ under the constraint $x^2+xy+2y^2-z=1$
- Constrained Optimization: Lagrange Multipliers
Related Questions in WEIGHTED-LEAST-SQUARES
- Weighted Least Squares Without Intercept
- Understanding Galerkin method of weighted residuals
- Is there a least squares estimator for correlated, non-constant variance errors?
- How can I get the gradient of the normal equation for weighted linear regression?
- Minimizing a multivariable function with different vector length?
- Weighted Least Squares - Categorical Data vs. Numerical Data
- Matrix notation for weighted sum of squares
- How to solve conditional least square?
- Nearest (with respect to weights) symmetric positive semidefinite matrix
- Understanding an identity for least squares regression line gradient
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
Let us first consider the case when it is required to find the point on the $$\tag{1} P:\;ax+by+cz=d $$ closest to the origin. The coordinates of the point $Q$ on the plane described by (1) nearest to the origin are equal to the minimal norm solution of (1): $$\tag{2} \left(\begin{array}{c} x_Q\\y_Q\\z_Q \end{array}\right)= \left(\begin{array}{ccc} a& b &c \end{array}\right)^+\cdot d $$ Now consider the case when it is required to find the point on the plane (1) closest to some arbitrary point $M(x_M,y_M,z_M)$. After the change of variables $$ x'=x-x_M,\quad y'=y-y_M,\quad z'= z-z_M $$ $M$ tranforms into the origin and (1) transforms into $$ a(x'+x_M)+b(y'+y_M)+c(z'+z_M)=d $$ or $$ ax'+by'+cz'=d-ax_M-by_M-cz_M. $$ According to (2), we obtain $$ \left(\begin{array}{c} x'_Q\\y'_Q\\z'_Q \end{array}\right)= \left(\begin{array}{ccc} a& b &c \end{array}\right)^+\cdot (d-ax_M-by_M-cz_M) $$ and $$ x_Q= x'_Q+x_M,\quad y_Q= y'_Q+y_M,\quad z_Q= z'_Q+z_M. $$ Since $\left(\begin{array}{ccc} a& b &c \end{array}\right)$ has linearly independent rows, $$ \left(\begin{array}{ccc} a& b &c \end{array}\right)^+= \left(\begin{array}{ccc} a& b &c \end{array}\right)^T (\left(\begin{array}{ccc} a& b &c \end{array}\right)\left(\begin{array}{ccc} a& b &c \end{array}\right)^T)^{-1} = \frac1{a^2+b^2+c^2} \left(\begin{array}{c} a\\b\\c \end{array}\right), $$ thus, $$ \left(\begin{array}{c} x_Q\\y_Q\\z_Q \end{array}\right)= \frac{d-ax_M-by_M-cz_M}{a^2+b^2+c^2} \left(\begin{array}{c} a\\b\\c \end{array}\right)+ \left(\begin{array}{c} x_M\\y_M\\z_M \end{array}\right). $$