Least Squares With Multiple Quadratic Constraints

In summary, the problem involves finding the minimum value of the norm of a matrix A multiplied by a vector x, subtracted by another vector y, subject to three constraints involving the norms and dot product of two other matrices and a set of constants. This can be solved using Lagrange multipliers, but the resulting system of equations will be symmetric but not positive definite. Care must be taken when choosing a library routine for solving the equations.
  • #1
WCMU101
14
0
Problem:

A = n by m matrix
x = m by 1 vector
y = n by 1 vector

C = c by m matrix
E = e by m matrix

Alpha, gamma and theta are constants.

norm(Ax-y) = min

subject to:

norm(Cx) = alpha
norm(Ex) = gamma
transpose(Cx)*Ex = (alpha^2)*(gamma^2)*cos(theta)

I read a paper on how to do this with 1 quadratic constraint and I got that working, but I can't figure out how to do it with 3. Any advice? (Numerical methods are fine).

Nick.
 
Mathematics news on Phys.org
  • #2
You can do this using Lagrange multipliers. See any optimisation textbook, or Google.

This will add 3 more equations and 3 more variables to the "standard" least squares equations. Note, the extended system of equations will be symmetric, but NOT positive definite, so be careful what library routine you use to solve them!
 

1. What is the purpose of Least Squares with Multiple Quadratic Constraints?

The purpose of Least Squares with Multiple Quadratic Constraints is to find the best linear fit for a set of data points while also considering multiple quadratic constraints. This method is useful for analyzing data that has both linear and quadratic relationships, such as in physics or engineering experiments.

2. How is Least Squares with Multiple Quadratic Constraints different from regular Least Squares?

Regular Least Squares only considers linear constraints, while Least Squares with Multiple Quadratic Constraints also takes into account quadratic constraints. This allows for a more accurate and precise fit for data that has both linear and quadratic relationships.

3. What are some examples where Least Squares with Multiple Quadratic Constraints is commonly used?

Least Squares with Multiple Quadratic Constraints is commonly used in fields such as physics, engineering, and economics. It can be applied to data analysis in experiments involving motion, optimization problems, and financial modeling.

4. What is the mathematical formula for Least Squares with Multiple Quadratic Constraints?

The mathematical formula for Least Squares with Multiple Quadratic Constraints is: min ||Ax - b||^2 subject to Cx = d, where A is a matrix of data points, b is a vector of observed values, C is a matrix of quadratic constraints, and d is a vector of desired values.

5. How does one solve for the optimal solution in Least Squares with Multiple Quadratic Constraints?

One can solve for the optimal solution in Least Squares with Multiple Quadratic Constraints by using methods such as Lagrange multipliers or quadratic programming. These methods involve finding the minimum of a function while satisfying the given constraints.

Similar threads

Replies
7
Views
827
  • Advanced Physics Homework Help
Replies
4
Views
428
Replies
1
Views
2K
  • Linear and Abstract Algebra
Replies
4
Views
2K
Replies
2
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
975
  • Calculus and Beyond Homework Help
Replies
1
Views
869
  • Differential Equations
Replies
2
Views
2K
Replies
1
Views
851
Back
Top