Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I would think it would be f(P)=(0,1). Why does it include the endpoint?

share|improve this question

closed as off-topic by Sjoerd C. de Vries, Yves Klett, Mark McClure, Artes, m_goldberg Jul 23 '14 at 16:20

  • The question does not concern the technical computing software Mathematica by Wolfram Research. Please see the help center to find out about the topics that can be asked here.
If this question can be reworded to fit the rules in the help center, please edit the question.

Is this question about the software product called Mathematica, or about math? –  Sjoerd C. de Vries Jul 23 '14 at 14:38
Because the function achieves the max value (of 1) at the point x=1 (in the interior of P). –  bill s Jul 23 '14 at 14:45
@SjoerdC.deVries we should have a keyboard shortcut for this case (Ctrl+Alt+M). –  Yves Klett Jul 23 '14 at 14:48

1 Answer 1

y = 2*x - x^2;

Plot[y, {x, 0, 2}]


parabola with roots 0,2, peaking at (1,1)

So the range is (0,1] because 1 is within the range because it happens at f(1)=1. 0 is not actually in the range, because 0 is not in the domain (because (0,2)). But 1 is definitely in the range, because 1 is definitely in the domain.

share|improve this answer

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