# Mean value theorem on a triangle in 2D

Given three points in $\mathbb{R}^2$, $(x_1, y_1)$, $(x_2, y_2)$ and $(x_3, y_3)$, and a $C^2$ surface through them $f(x,y)$, is there always a point in the interior of the triangle in formed by the three points where the tangent plane is parallel to the plane through $(x_i,y_i,f(x_i,y_i))$.

I've not seen this as a generalisation of the MVT, so I'm assuming it should be either blindingly obvious, or there should be some simple counter example - but I can't think of either myself.

Define the plane interpolating $(x_i,y_i,f(x_i,y_i))$ as $L(x,y)$, as $\hat{f}=f-L$.
It is clear that the hypothesis is equivalent to asking whether given three zeros of $\hat{f}$, is there a point where $\nabla\hat{f}=0$ the interior of the triangle formed by the zeros.
Now consider $\hat{f}=1-r^2$. This has zeros on the unit circle, but it's only maxima is at the origin.
The points $(1,0)$ and $(\cos(\theta),\sin(\theta))$ are zeros of $\hat{f}$, but for small enough $\theta$ their convex hull does not contain the origin, thus there is no point in their interior where $\nabla\hat{f}=0$, providing a counter-example to the claim.
{"ft_lang_label":"__label__en","ft_lang_prob":0.93858236,"math_prob":0.99990034,"size":484,"snap":"2019-51-2020-05","text_gpt3_token_len":144,"char_repetition_ratio":0.10625,"word_repetition_ratio":0.0,"special_character_ratio":0.30785123,"punctuation_ratio":0.14285715,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9999902,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-12-16T02:47:59Z\",\"WARC-Record-ID\":\"<urn:uuid:0df1f851-5070-4c26-864f-7e0acba9f4d4>\",\"Content-Length\":\"129068\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:8e95c4d5-d8fd-40b0-bf6f-83604c8ddb8e>\",\"WARC-Concurrent-To\":\"<urn:uuid:e4101518-9616-4c04-a700-24e661749bc7>\",\"WARC-IP-Address\":\"151.101.1.69\",\"WARC-Target-URI\":\"https://math.stackexchange.com/questions/941057/mean-value-theorem-on-a-triangle-in-2d\",\"WARC-Payload-Digest\":\"sha1:J72E5HULRSANEXESQZHO5UDG7NJUBGDZ\",\"WARC-Block-Digest\":\"sha1:MJT5OCWKSYV2NEU5ENBF2TRWJ6ND6K57\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-51/CC-MAIN-2019-51_segments_1575541315293.87_warc_CC-MAIN-20191216013805-20191216041805-00180.warc.gz\"}"}