Under refers primarily to position with regard to gravity (Up/Down
), with a secondary sense of covering, or hiding from view.
Within is a variant of inside (of) that refers to position with respect to a container, and has the same secondary sense of hiding as under (because containers, like coverings, are seldom transparent).
They don't mean the same thing, but there are contexts where they can. Measure metaphors are one example.
Using under with a measure phrase as object (as in all the examples given) refers to a vertical scale that increases as it goes up, like a liquid thermometer (which may be an original model). On a scale like this, under means "less than";
M is under N -- M < N
-- means "M is less than N". The same is true of M is beneath N and M is lower than N. The opposite is true of M is above, over, or higher than N; these all mean "greater than"-- M > N
.
- He has reached/surpassed/gone far over the sales goal.
- His productivity is under/lower than what we had expected of him.
Obviously there are other ways to refer to quantities besides a vertical scale. One such is to think of whatever is being quantified (and therefore the quantities themselves) as being measured by a container, like a tablespoon measures a certain amount of cooking oil or sugar.
In three dimensions, with liquids, this also invokes gravity, but that's not necessary, since containers can have other dimensions than three. Plane geometry is about two-dimensional containers like squares and circles, and a great deal of mathematics is about the one-dimensional container defined as the open set of all real numbers greater than zero but less than one --
{ x | 0 < x < 1 }
.
So, to say that M is within N doesn't have the same direct comparison of M and N as M is under N. Rather, it means "M is within N units of X
", where X
is something like a milepost or goal.
- M is within N yards of X.
- M is inside the N-yard line.
- M is within the limit N of significance.
Which one you use (and there are others) depends on what metaphor you're using. If you're not aware of which metaphor you're using, maybe you ought to think about it.
under water
..... the secondwithin
does not fit .... it refers to a rule or a restriction, not to weight .... it should be something likeThe bag was just within the 10 kilos carry-on restriction, ......
under
is not correct, it should beboiled in under...
orboiled within ...
. Similarly, the secondwithin
is not correct, specifically the combinationjust within
sounds ungrammatical, it should bewithin
or[just] barely within
, or else what @jsotola suggests. I cannot give you grammatical reasons for why this is so--only the ear of a native speaker.