# 2.1 Constrained optimization  (Page 2/2)

 Page 2 / 2

A typical problem arising in signal processing is to minimize $x^TAx$ subject to the linear constraint $c^Tx=1$ . $A$ is a positive definite, symmetric matrix (a correlation matrix) in mostproblems. Clearly, the minimum of the objective function occurs at $x=0$ , but his solution cannot satisfy the constraint. The constraint $g(x)=c^Tx-1$ is a scalar-valued one; hence the theorem of Lagrange applies as there are no multiple components in theconstraint forcing a check of linear independence. The Lagrangian is $L(x, )=x^TAx+(c^Tx-1)$ Its gradient is $2Ax+c$ with a solution ${x}_{}=-\left(\frac{{}_{}A^{(-1)}c}{2}\right)$ . To find the value of the Lagrange multiplier, this solution must satisfy the constraint. Imposing theconstraint, ${}_{}c^TA^{(-1)}c=-2$ ; thus, ${}_{}=\frac{-2}{c^TA^{(-1)}c}$ and the total solution is ${x}_{}=\frac{A^{(-1)}c}{c^TA^{(-1)}c}$

When the independent variable is complex-valued, the Lagrange multiplier technique can be used if care is taken to make the Lagrangian real. If it is not real, wecannot use the theorem that permits computation of stationary points by computing the gradient with respect to $\overline{z}$ alone. The Lagrangian may not be real-valued even when the constraint is real. Once insured real, the gradientof the Lagrangian with respect to the conjugate of the independent vector can be evaluated and the minimizationprocedure remains as before.

Consider slight variations to the previous example: let the vector $z$ be complex so that the objective function is $(z)Az$ where $A$ is a positive definite, Hermitian matrix and let the constraint be linear, but vector-valued ( $Cz=c$ ). The Lagrangian is formed from the objective function and the real part of the usual constraint term. $L(z, )=(z)Az+()(Cz-c)+^T(\overline{C}\overline{z}-\overline{c})$ For the Lagrange multiplier theorem to hold, the gradients of each component of the constraint must be linearlyindependent. As these gradients are the columns of $C$ , their mutual linear independence means that each constraint vector mustnot be expressible as a linear combination of the others. We shall assume this portion of the problem statement true.Evaluating the gradient with respect to $\overline{z}$ , keeping $z$ a constant, and setting the result equal to zero yields $A{z}_{}+(C){}_{}=0$ The solution is ${z}_{}$ is $-(A^{(-1)}(C){}_{})$ . Applying the constraint, we find that $CA^{(-1)}(C){}_{}=-c$ . Solving for the Lagrange multiplier and substituting the result into the solution, we find that thesolution to the constrained optimization problem is ${z}_{}=A^{(-1)}(C)CA^{(-1)}(C)^{(-1)}c$ The indicated matrix inverses always exist: $A$ is assumed invertible and $CA^{(-1)}(C)$ is invertible because of the linear independence of the constraints.

## Inequality constraints

When some of the constraints are inequalities, the Lagrange multiplier technique can be used, but the solution must bechecked carefully in its details. But first, the optimizationproblem with equality and inequality constraints is formulated as $\min\{x , f(x)\}\text{subject to}g(x)=0\text{and}h(x)\le 0$ As before, $f()$ is the scalar-valued objective function and $g()$ is the equality constraint function; $h()$ is the inequality constraint function .

The key result which can be used to find the analytic solution to this problem is to first form the Lagrangian in the usualway as $L(x, , )=f(x)+^Tg(x)+^Th(x)$ . The following theorem is the general statement of the Lagrange multiplier technique for constrained optimizationproblems.

Let ${x}^{}$ be a local minimum for the constrained optimization problem. If the gradients of $g$ 's components and the gradients of those components of $h()$ for which ${h}_{i}({x}^{})=0$ are linearly independent, then $\frac{d L({x}^{}, {}^{}, {}^{})}{d x}}=0$ where ${}^{}\ge 0$ and ${}_{i}^{}{h}_{i}({x}^{})=0$

The portion of this result dealing with the inequality constraint differs substantially from that concerned with theequality constraint. Either a component of the constraint equals its maximum value (zero in this case) and thecorresponding component of its Lagrange multiplier is non-negative (and is usually positive) or a component is less than the constraint and its component of the Lagrange multiplier is zero. This latter result meansthat some components of the inequality constraint are not as stringent as others and these lax ones do not affect thesolution.

The rationale behind this theorem is a technique for converting the inequality constraint into an equalityconstraint: ${h}_{i}(x)\le 0$ is equivalent to ${h}_{i}(x)+{s}_{i}^{2}=0$ . Since the new term, called a slack variable , is non-negative, the constraint must be non-positive. With the inclusion of slack variables, theequality constraint theorem can be used and the above theorem results. To prove the theorem, not only does the gradientwith respect to $x$ need to be considered, but also with respect to the vector $s$ of slack variables. The ${i}^{\mathrm{th}}$ component of the gradient of the Lagrangian with respect to $s$ at the stationary point is $2{}_{i}^{}{s}_{i}^{}=0$ . If in solving the optimization problem, ${s}_{i}^{}=0$ , the inequality constraint was in reality an equality constraint and that component of the constraintbehaves accordingly. As ${s}_{i}=\sqrt{-{h}_{i}(x)}$ , ${s}_{i}=0$ implies that that component of the inequality constraint must equal zero. On the other hand, if ${s}_{i}\neq 0$ , the corresponding Lagrange multiplier must be zero.

Consider the problem of minimizing a quadratic form subject to a linear equality constraint and an inequality constrainton the norm of the linear constraint vector's variation. $\min\{x , x^TAx\}\text{subject to}(c+)^Tx=1\text{and}()^{2}\le$ This kind of problem arises in robust estimation. One seeks a solution where one of the "knowns" of the problem, $c$ in this case, is, in reality, only approximately specified. Theindependent variables are $x$ and  . The Lagrangian for this problem is $L(\{x, \}, , )=x^TAx+((c+)^Tx-1)+(()^{2}-)$ Evaluating the gradients with respect to the independent variables yields $2A{x}^{}+{}^{}(c+{}^{})=0$ ${}^{}{x}^{}+2{}^{}{}^{}=0$ The latter equation is key. Recall that either ${}^{}=0$ or the inequality constraint is satisfied with equality. If ${}^{}$ is zero, that implies that ${x}^{}$ must be zero which will not allow the equality constraint to be satisfied. The inescapable conclusion isthat $({}^{})^{2}=$ and that ${}^{}$ is parallel to ${x}^{}$ : ${}^{}=-(\frac{{}^{}}{2{}^{}}{x}^{})$ . Using the first equation, ${x}^{}$ is found to be ${x}^{}=-\left(\frac{{}^{}}{2}\right)A-\frac{{}^{}^{2}}{4{}^{}}I^{(-1)}c$ Imposing the constraints on this solution results in a pair of equations for the Lagrange multipliers. $(1/4\frac{{}^{}^{2}}{{}^{}})^{2}c^T(A-1/4\frac{{}^{}^{2}}{{}^{}}I)^{-2}c=$ $c^TA-1/4\frac{{}^{}^{2}}{{}^{}}I^{(-1)}c=-\left(\frac{2}{{}^{}}\right)-2\frac{{}^{}}{{}^{}^{2}}$ Multiple solutions are possible and each must be checked. The rather complicated completion of this example is left tothe (numerically oriented) reader.

#### Questions & Answers

how can chip be made from sand
Eke Reply
is this allso about nanoscale material
Almas
are nano particles real
Missy Reply
yeah
Joseph
Hello, if I study Physics teacher in bachelor, can I study Nanotechnology in master?
Lale Reply
no can't
Lohitha
where is the latest information on a no technology how can I find it
William
currently
William
where we get a research paper on Nano chemistry....?
Maira Reply
nanopartical of organic/inorganic / physical chemistry , pdf / thesis / review
Ali
what are the products of Nano chemistry?
Maira Reply
There are lots of products of nano chemistry... Like nano coatings.....carbon fiber.. And lots of others..
learn
Even nanotechnology is pretty much all about chemistry... Its the chemistry on quantum or atomic level
learn
Google
da
no nanotechnology is also a part of physics and maths it requires angle formulas and some pressure regarding concepts
Bhagvanji
hey
Giriraj
Preparation and Applications of Nanomaterial for Drug Delivery
Hafiz Reply
revolt
da
Application of nanotechnology in medicine
has a lot of application modern world
Kamaluddeen
yes
narayan
what is variations in raman spectra for nanomaterials
Jyoti Reply
ya I also want to know the raman spectra
Bhagvanji
I only see partial conversation and what's the question here!
Crow Reply
what about nanotechnology for water purification
RAW Reply
please someone correct me if I'm wrong but I think one can use nanoparticles, specially silver nanoparticles for water treatment.
Damian
yes that's correct
Professor
I think
Professor
Nasa has use it in the 60's, copper as water purification in the moon travel.
Alexandre
nanocopper obvius
Alexandre
what is the stm
Brian Reply
is there industrial application of fullrenes. What is the method to prepare fullrene on large scale.?
Rafiq
industrial application...? mmm I think on the medical side as drug carrier, but you should go deeper on your research, I may be wrong
Damian
How we are making nano material?
LITNING Reply
what is a peer
LITNING Reply
What is meant by 'nano scale'?
LITNING Reply
What is STMs full form?
LITNING
scanning tunneling microscope
Sahil
how nano science is used for hydrophobicity
Santosh
Do u think that Graphene and Fullrene fiber can be used to make Air Plane body structure the lightest and strongest. Rafiq
Rafiq
what is differents between GO and RGO?
Mahi
what is simplest way to understand the applications of nano robots used to detect the cancer affected cell of human body.? How this robot is carried to required site of body cell.? what will be the carrier material and how can be detected that correct delivery of drug is done Rafiq
Rafiq
if virus is killing to make ARTIFICIAL DNA OF GRAPHENE FOR KILLED THE VIRUS .THIS IS OUR ASSUMPTION
Anam
analytical skills graphene is prepared to kill any type viruses .
Anam
Any one who tell me about Preparation and application of Nanomaterial for drug Delivery
Hafiz
what is Nano technology ?
Bob Reply
write examples of Nano molecule?
Bob
The nanotechnology is as new science, to scale nanometric
brayan
nanotechnology is the study, desing, synthesis, manipulation and application of materials and functional systems through control of matter at nanoscale
Damian
how did you get the value of 2000N.What calculations are needed to arrive at it
Smarajit Reply
Privacy Information Security Software Version 1.1a
Good
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

### Read also:

#### Get Jobilize Job Search Mobile App in your pocket Now!

Source:  OpenStax, Statistical signal processing. OpenStax CNX. Dec 05, 2011 Download for free at http://cnx.org/content/col11382/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Statistical signal processing' conversation and receive update notifications? By Madison Christian By Richley Crapo By OpenStax By Marion Cabalfin By Yacoub Jayoghli By Saylor Foundation By Jazzycazz Jackson By OpenStax By Anonymous User By Steve Gibbs