Continuous function problem involving distance of sets in $mathbbR^n$.

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite













Given $a,b in mathbbR$ and $A,B$ disjoints non-empty closed sets, show that there is a function $f: mathbbR^n to mathbbR$ continous satisfying the following properties:
$$f(x) = a;; forall x in A,quad f(x) = b;; forall x in B.$$
$$mina,b leq f(x) leq maxa,b;; forall x in mathbbR^n.$$




Define
$$x longmapsto aleft(fracoperatornamed(x,B)operatornamed(x,B) + operatornamed(x,A)right) + bleft(fracoperatornamed(x,A)operatornamed(x,A) + operatornamed(x,B)right).$$



I proved almost all properties, It remains to be shown that



$$mina,b leq f(x) leq maxa,b;; forall x in left(mathbbR^nsetminus (A cup B)right).$$



How do I do this?




Notation. $operatornamed(x,A)$ is the distance of $x$ to $A$.







share|cite|improve this question



















  • $f$ has domain $mathbb R^n$ but $x in A$, so how does $f(x)$ make any sense?
    – Lee Mosher
    Jul 25 at 18:58






  • 2




    $f(x)$ is a convex combination of $a$ and $b$.
    – Daniel Fischer♦
    Jul 25 at 18:59






  • 1




    Oh, I see. $A$ and $B$ are subsets of $mathbb R^n$. That should definitely be said in the question.
    – Lee Mosher
    Jul 25 at 19:01










  • @LeeMosher, yes! In fact, the question is poorly written, but I also assumed $A, B subset mathbbR^n$
    – Lucas Corrêa
    Jul 25 at 19:03










  • @DanielFischer, Of course! Thank you!
    – Lucas Corrêa
    Jul 25 at 19:04














up vote
0
down vote

favorite













Given $a,b in mathbbR$ and $A,B$ disjoints non-empty closed sets, show that there is a function $f: mathbbR^n to mathbbR$ continous satisfying the following properties:
$$f(x) = a;; forall x in A,quad f(x) = b;; forall x in B.$$
$$mina,b leq f(x) leq maxa,b;; forall x in mathbbR^n.$$




Define
$$x longmapsto aleft(fracoperatornamed(x,B)operatornamed(x,B) + operatornamed(x,A)right) + bleft(fracoperatornamed(x,A)operatornamed(x,A) + operatornamed(x,B)right).$$



I proved almost all properties, It remains to be shown that



$$mina,b leq f(x) leq maxa,b;; forall x in left(mathbbR^nsetminus (A cup B)right).$$



How do I do this?




Notation. $operatornamed(x,A)$ is the distance of $x$ to $A$.







share|cite|improve this question



















  • $f$ has domain $mathbb R^n$ but $x in A$, so how does $f(x)$ make any sense?
    – Lee Mosher
    Jul 25 at 18:58






  • 2




    $f(x)$ is a convex combination of $a$ and $b$.
    – Daniel Fischer♦
    Jul 25 at 18:59






  • 1




    Oh, I see. $A$ and $B$ are subsets of $mathbb R^n$. That should definitely be said in the question.
    – Lee Mosher
    Jul 25 at 19:01










  • @LeeMosher, yes! In fact, the question is poorly written, but I also assumed $A, B subset mathbbR^n$
    – Lucas Corrêa
    Jul 25 at 19:03










  • @DanielFischer, Of course! Thank you!
    – Lucas Corrêa
    Jul 25 at 19:04












up vote
0
down vote

favorite









up vote
0
down vote

favorite












Given $a,b in mathbbR$ and $A,B$ disjoints non-empty closed sets, show that there is a function $f: mathbbR^n to mathbbR$ continous satisfying the following properties:
$$f(x) = a;; forall x in A,quad f(x) = b;; forall x in B.$$
$$mina,b leq f(x) leq maxa,b;; forall x in mathbbR^n.$$




Define
$$x longmapsto aleft(fracoperatornamed(x,B)operatornamed(x,B) + operatornamed(x,A)right) + bleft(fracoperatornamed(x,A)operatornamed(x,A) + operatornamed(x,B)right).$$



I proved almost all properties, It remains to be shown that



$$mina,b leq f(x) leq maxa,b;; forall x in left(mathbbR^nsetminus (A cup B)right).$$



How do I do this?




Notation. $operatornamed(x,A)$ is the distance of $x$ to $A$.







share|cite|improve this question












Given $a,b in mathbbR$ and $A,B$ disjoints non-empty closed sets, show that there is a function $f: mathbbR^n to mathbbR$ continous satisfying the following properties:
$$f(x) = a;; forall x in A,quad f(x) = b;; forall x in B.$$
$$mina,b leq f(x) leq maxa,b;; forall x in mathbbR^n.$$




Define
$$x longmapsto aleft(fracoperatornamed(x,B)operatornamed(x,B) + operatornamed(x,A)right) + bleft(fracoperatornamed(x,A)operatornamed(x,A) + operatornamed(x,B)right).$$



I proved almost all properties, It remains to be shown that



$$mina,b leq f(x) leq maxa,b;; forall x in left(mathbbR^nsetminus (A cup B)right).$$



How do I do this?




Notation. $operatornamed(x,A)$ is the distance of $x$ to $A$.









share|cite|improve this question










share|cite|improve this question




share|cite|improve this question









asked Jul 25 at 18:51









Lucas Corrêa

1,101319




1,101319











  • $f$ has domain $mathbb R^n$ but $x in A$, so how does $f(x)$ make any sense?
    – Lee Mosher
    Jul 25 at 18:58






  • 2




    $f(x)$ is a convex combination of $a$ and $b$.
    – Daniel Fischer♦
    Jul 25 at 18:59






  • 1




    Oh, I see. $A$ and $B$ are subsets of $mathbb R^n$. That should definitely be said in the question.
    – Lee Mosher
    Jul 25 at 19:01










  • @LeeMosher, yes! In fact, the question is poorly written, but I also assumed $A, B subset mathbbR^n$
    – Lucas Corrêa
    Jul 25 at 19:03










  • @DanielFischer, Of course! Thank you!
    – Lucas Corrêa
    Jul 25 at 19:04
















  • $f$ has domain $mathbb R^n$ but $x in A$, so how does $f(x)$ make any sense?
    – Lee Mosher
    Jul 25 at 18:58






  • 2




    $f(x)$ is a convex combination of $a$ and $b$.
    – Daniel Fischer♦
    Jul 25 at 18:59






  • 1




    Oh, I see. $A$ and $B$ are subsets of $mathbb R^n$. That should definitely be said in the question.
    – Lee Mosher
    Jul 25 at 19:01










  • @LeeMosher, yes! In fact, the question is poorly written, but I also assumed $A, B subset mathbbR^n$
    – Lucas Corrêa
    Jul 25 at 19:03










  • @DanielFischer, Of course! Thank you!
    – Lucas Corrêa
    Jul 25 at 19:04















$f$ has domain $mathbb R^n$ but $x in A$, so how does $f(x)$ make any sense?
– Lee Mosher
Jul 25 at 18:58




$f$ has domain $mathbb R^n$ but $x in A$, so how does $f(x)$ make any sense?
– Lee Mosher
Jul 25 at 18:58




2




2




$f(x)$ is a convex combination of $a$ and $b$.
– Daniel Fischer♦
Jul 25 at 18:59




$f(x)$ is a convex combination of $a$ and $b$.
– Daniel Fischer♦
Jul 25 at 18:59




1




1




Oh, I see. $A$ and $B$ are subsets of $mathbb R^n$. That should definitely be said in the question.
– Lee Mosher
Jul 25 at 19:01




Oh, I see. $A$ and $B$ are subsets of $mathbb R^n$. That should definitely be said in the question.
– Lee Mosher
Jul 25 at 19:01












@LeeMosher, yes! In fact, the question is poorly written, but I also assumed $A, B subset mathbbR^n$
– Lucas Corrêa
Jul 25 at 19:03




@LeeMosher, yes! In fact, the question is poorly written, but I also assumed $A, B subset mathbbR^n$
– Lucas Corrêa
Jul 25 at 19:03












@DanielFischer, Of course! Thank you!
– Lucas Corrêa
Jul 25 at 19:04




@DanielFischer, Of course! Thank you!
– Lucas Corrêa
Jul 25 at 19:04















active

oldest

votes











Your Answer




StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2862714%2fcontinuous-function-problem-involving-distance-of-sets-in-mathbbrn%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2862714%2fcontinuous-function-problem-involving-distance-of-sets-in-mathbbrn%23new-answer', 'question_page');

);

Post as a guest













































































Comments

Popular posts from this blog

What is the equation of a 3D cone with generalised tilt?

Color the edges and diagonals of a regular polygon

Relationship between determinant of matrix and determinant of adjoint?