Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For instance, I saw the expression in the Wikipedia article on Lagrange multipliers:

maximize $f(x, y)$
subject to $g(x, y) = c$

What does "subject to" mean?

share|cite|improve this question
While your question is legitimate, you could look up the phrase in an English dictionary (e.g. the online versions of Cambridge or Oxford dictionaries) first before you posted your question here. – user1551 Nov 29 '11 at 4:54
It comes immediately after subject one. – Will Jagy Nov 29 '11 at 4:55
up vote 10 down vote accepted

It is a way to specify constraints. To put it very simply, the problem "do 'X' subject to 'Y'" means that, you have to do "X" (whatever X is), but you have to do it such that "Y" is also satisfied in the process.

As an example, in 1-D

  • "minimize $x^2$" would just give the answer $0$; but

  • "minimize $x^2$ subject to $x \geq 10$ would yield the answer $100$, since you cannot consider $x < 10$ in your problem.

share|cite|improve this answer

It means that the solution to the optimization problem should satisfy the constraint $g(x,y) = c$.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.