Two Variable Function with Specific Properties (Challenging)
$begingroup$
I am looking for a two variable function (a surface), $g(x,b)$, with the following properties:
$$g: [0,pi] times (0,pi) to[0,pi] $$
$$g(0,b)=0$$
$$g(pi,b)=pi$$
$$g(b,b)=frac{pi}{2}$$
$$gleft( x,frac{pi}{2}right)=x$$
Where $xin[0,pi]$ and $bin(0,pi)$.
Can you define such a $g$? I have been looking for a while and am unable to find one. If you cannot define one, does such a $g$ even exist?
calculus multivariable-calculus functions surfaces
$endgroup$
add a comment |
$begingroup$
I am looking for a two variable function (a surface), $g(x,b)$, with the following properties:
$$g: [0,pi] times (0,pi) to[0,pi] $$
$$g(0,b)=0$$
$$g(pi,b)=pi$$
$$g(b,b)=frac{pi}{2}$$
$$gleft( x,frac{pi}{2}right)=x$$
Where $xin[0,pi]$ and $bin(0,pi)$.
Can you define such a $g$? I have been looking for a while and am unable to find one. If you cannot define one, does such a $g$ even exist?
calculus multivariable-calculus functions surfaces
$endgroup$
2
$begingroup$
Must it be continuous/differentiable/etc., or can it simply be any function?
$endgroup$
– Frpzzd
Dec 20 '18 at 21:03
$begingroup$
@RossMillikan Also, the OP asked for a surface, which probably add some further restrictions.
$endgroup$
– Frpzzd
Dec 20 '18 at 21:10
add a comment |
$begingroup$
I am looking for a two variable function (a surface), $g(x,b)$, with the following properties:
$$g: [0,pi] times (0,pi) to[0,pi] $$
$$g(0,b)=0$$
$$g(pi,b)=pi$$
$$g(b,b)=frac{pi}{2}$$
$$gleft( x,frac{pi}{2}right)=x$$
Where $xin[0,pi]$ and $bin(0,pi)$.
Can you define such a $g$? I have been looking for a while and am unable to find one. If you cannot define one, does such a $g$ even exist?
calculus multivariable-calculus functions surfaces
$endgroup$
I am looking for a two variable function (a surface), $g(x,b)$, with the following properties:
$$g: [0,pi] times (0,pi) to[0,pi] $$
$$g(0,b)=0$$
$$g(pi,b)=pi$$
$$g(b,b)=frac{pi}{2}$$
$$gleft( x,frac{pi}{2}right)=x$$
Where $xin[0,pi]$ and $bin(0,pi)$.
Can you define such a $g$? I have been looking for a while and am unable to find one. If you cannot define one, does such a $g$ even exist?
calculus multivariable-calculus functions surfaces
calculus multivariable-calculus functions surfaces
asked Dec 20 '18 at 20:55
ereHsaWyhsipSereHsaWyhsipS
510312
510312
2
$begingroup$
Must it be continuous/differentiable/etc., or can it simply be any function?
$endgroup$
– Frpzzd
Dec 20 '18 at 21:03
$begingroup$
@RossMillikan Also, the OP asked for a surface, which probably add some further restrictions.
$endgroup$
– Frpzzd
Dec 20 '18 at 21:10
add a comment |
2
$begingroup$
Must it be continuous/differentiable/etc., or can it simply be any function?
$endgroup$
– Frpzzd
Dec 20 '18 at 21:03
$begingroup$
@RossMillikan Also, the OP asked for a surface, which probably add some further restrictions.
$endgroup$
– Frpzzd
Dec 20 '18 at 21:10
2
2
$begingroup$
Must it be continuous/differentiable/etc., or can it simply be any function?
$endgroup$
– Frpzzd
Dec 20 '18 at 21:03
$begingroup$
Must it be continuous/differentiable/etc., or can it simply be any function?
$endgroup$
– Frpzzd
Dec 20 '18 at 21:03
$begingroup$
@RossMillikan Also, the OP asked for a surface, which probably add some further restrictions.
$endgroup$
– Frpzzd
Dec 20 '18 at 21:10
$begingroup$
@RossMillikan Also, the OP asked for a surface, which probably add some further restrictions.
$endgroup$
– Frpzzd
Dec 20 '18 at 21:10
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
Something like
$$ g(x,b) = begin{cases} 0 & x=0\ arctanbigl(tan(x-tfracpi2)-tan(b-tfracpi2)bigr)+tfracpi2 & 0<x<pi \ pi & x=pi end{cases} $$
ought to work relatively smoothly, but this version with hyperbolic functions behaves nicer in some respects:
$$ g(x,b) = begin{cases} 0 & x=0\ tfracpi2 Bigl(tanhbigl(operatorname{arctanh}(2x/pi -1)-operatorname{arctanh}(2b/pi-1)bigr)+1Bigr) & 0<x<pi \ pi & x=pi end{cases} $$
"Nicer" is in the eye of the beholder, of course. These proposals both have the general form
$$ g(x,b) = begin{cases} 0 & x=0\ h^{-1}bigl(h(x)-h(b)bigr) & 0<x<pi \ pi & x=pi end{cases} $$
where $h$ is an increasing bijection $(0,pi)tomathbb R$ with $h(pi/2)=0$. This immediately guarantees the properties you specify, as well as continuity in your domain. Furthermore the function is increasing in $x$ and $b$ for fixed $b$ and $x$.
The $tan$ version has the property that at each fixed $b$ we have $g(varepsilon, b)approxvarepsilon$ for small enough $varepsilon$ (and similarly at the other three edges of the domain, mutatis mutandis). This probably is not what you want, but since I don't know what you want it for it could be exactly what you need.
On the other hand $operatorname{arctanh}$ gives the nice property that if you graph $g$ for constant $x$ or $b$, there are no inflection points. One would probably usually find that desirable.
For a purely algebraic option you might try $h(x)=frac{1}{pi-x}-frac{1}{x} $, which ought to behave more or less like the tangent option.
$endgroup$
add a comment |
$begingroup$
$$g(x,y)=2arctanfrac{tan(x/2)}{tan (y/2)}$$
I've started from $g(b,b)=fracpi2$. That means that somehow $g$ depends either on the difference $(x-y)$, or some ratio of similar functions for the coordinates $f(x)/f(y)$. The second form was hinted from the fact that $y$ is on an open interval, so $f(0),f(pi)in[0,pminfty]$. The fact that $g(0,b)=0$ means $f(0)=0$. But $g(pi,y)=pi$ means that I need to scale $f(pi)=infty$ back to $pi$ (that's where the ideas of $tan$ and $arctan$ functions came from). If $f(pi/2)=1$ you have $arctan tan x=x$.
Note: following the comment from @HenningMakholm, I can rewrite this in a more accurate way:
$$g(x,y)=lim_{uto x}2arctanfrac{tan(u/2)}{tan(y/2)}$$
$endgroup$
1
$begingroup$
I think you'll need a special case for $x=pi$ there. (By the way, this fits into the general form I propose in my answer, by setting $h(x)=log tan(x/2)$).
$endgroup$
– Henning Makholm
Dec 20 '18 at 21:54
$begingroup$
Thanks @HenningMakholm. I've added to my answer using a hack: I've used limit.
$endgroup$
– Andrei
Dec 20 '18 at 22:03
add a comment |
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',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3047957%2ftwo-variable-function-with-specific-properties-challenging%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Something like
$$ g(x,b) = begin{cases} 0 & x=0\ arctanbigl(tan(x-tfracpi2)-tan(b-tfracpi2)bigr)+tfracpi2 & 0<x<pi \ pi & x=pi end{cases} $$
ought to work relatively smoothly, but this version with hyperbolic functions behaves nicer in some respects:
$$ g(x,b) = begin{cases} 0 & x=0\ tfracpi2 Bigl(tanhbigl(operatorname{arctanh}(2x/pi -1)-operatorname{arctanh}(2b/pi-1)bigr)+1Bigr) & 0<x<pi \ pi & x=pi end{cases} $$
"Nicer" is in the eye of the beholder, of course. These proposals both have the general form
$$ g(x,b) = begin{cases} 0 & x=0\ h^{-1}bigl(h(x)-h(b)bigr) & 0<x<pi \ pi & x=pi end{cases} $$
where $h$ is an increasing bijection $(0,pi)tomathbb R$ with $h(pi/2)=0$. This immediately guarantees the properties you specify, as well as continuity in your domain. Furthermore the function is increasing in $x$ and $b$ for fixed $b$ and $x$.
The $tan$ version has the property that at each fixed $b$ we have $g(varepsilon, b)approxvarepsilon$ for small enough $varepsilon$ (and similarly at the other three edges of the domain, mutatis mutandis). This probably is not what you want, but since I don't know what you want it for it could be exactly what you need.
On the other hand $operatorname{arctanh}$ gives the nice property that if you graph $g$ for constant $x$ or $b$, there are no inflection points. One would probably usually find that desirable.
For a purely algebraic option you might try $h(x)=frac{1}{pi-x}-frac{1}{x} $, which ought to behave more or less like the tangent option.
$endgroup$
add a comment |
$begingroup$
Something like
$$ g(x,b) = begin{cases} 0 & x=0\ arctanbigl(tan(x-tfracpi2)-tan(b-tfracpi2)bigr)+tfracpi2 & 0<x<pi \ pi & x=pi end{cases} $$
ought to work relatively smoothly, but this version with hyperbolic functions behaves nicer in some respects:
$$ g(x,b) = begin{cases} 0 & x=0\ tfracpi2 Bigl(tanhbigl(operatorname{arctanh}(2x/pi -1)-operatorname{arctanh}(2b/pi-1)bigr)+1Bigr) & 0<x<pi \ pi & x=pi end{cases} $$
"Nicer" is in the eye of the beholder, of course. These proposals both have the general form
$$ g(x,b) = begin{cases} 0 & x=0\ h^{-1}bigl(h(x)-h(b)bigr) & 0<x<pi \ pi & x=pi end{cases} $$
where $h$ is an increasing bijection $(0,pi)tomathbb R$ with $h(pi/2)=0$. This immediately guarantees the properties you specify, as well as continuity in your domain. Furthermore the function is increasing in $x$ and $b$ for fixed $b$ and $x$.
The $tan$ version has the property that at each fixed $b$ we have $g(varepsilon, b)approxvarepsilon$ for small enough $varepsilon$ (and similarly at the other three edges of the domain, mutatis mutandis). This probably is not what you want, but since I don't know what you want it for it could be exactly what you need.
On the other hand $operatorname{arctanh}$ gives the nice property that if you graph $g$ for constant $x$ or $b$, there are no inflection points. One would probably usually find that desirable.
For a purely algebraic option you might try $h(x)=frac{1}{pi-x}-frac{1}{x} $, which ought to behave more or less like the tangent option.
$endgroup$
add a comment |
$begingroup$
Something like
$$ g(x,b) = begin{cases} 0 & x=0\ arctanbigl(tan(x-tfracpi2)-tan(b-tfracpi2)bigr)+tfracpi2 & 0<x<pi \ pi & x=pi end{cases} $$
ought to work relatively smoothly, but this version with hyperbolic functions behaves nicer in some respects:
$$ g(x,b) = begin{cases} 0 & x=0\ tfracpi2 Bigl(tanhbigl(operatorname{arctanh}(2x/pi -1)-operatorname{arctanh}(2b/pi-1)bigr)+1Bigr) & 0<x<pi \ pi & x=pi end{cases} $$
"Nicer" is in the eye of the beholder, of course. These proposals both have the general form
$$ g(x,b) = begin{cases} 0 & x=0\ h^{-1}bigl(h(x)-h(b)bigr) & 0<x<pi \ pi & x=pi end{cases} $$
where $h$ is an increasing bijection $(0,pi)tomathbb R$ with $h(pi/2)=0$. This immediately guarantees the properties you specify, as well as continuity in your domain. Furthermore the function is increasing in $x$ and $b$ for fixed $b$ and $x$.
The $tan$ version has the property that at each fixed $b$ we have $g(varepsilon, b)approxvarepsilon$ for small enough $varepsilon$ (and similarly at the other three edges of the domain, mutatis mutandis). This probably is not what you want, but since I don't know what you want it for it could be exactly what you need.
On the other hand $operatorname{arctanh}$ gives the nice property that if you graph $g$ for constant $x$ or $b$, there are no inflection points. One would probably usually find that desirable.
For a purely algebraic option you might try $h(x)=frac{1}{pi-x}-frac{1}{x} $, which ought to behave more or less like the tangent option.
$endgroup$
Something like
$$ g(x,b) = begin{cases} 0 & x=0\ arctanbigl(tan(x-tfracpi2)-tan(b-tfracpi2)bigr)+tfracpi2 & 0<x<pi \ pi & x=pi end{cases} $$
ought to work relatively smoothly, but this version with hyperbolic functions behaves nicer in some respects:
$$ g(x,b) = begin{cases} 0 & x=0\ tfracpi2 Bigl(tanhbigl(operatorname{arctanh}(2x/pi -1)-operatorname{arctanh}(2b/pi-1)bigr)+1Bigr) & 0<x<pi \ pi & x=pi end{cases} $$
"Nicer" is in the eye of the beholder, of course. These proposals both have the general form
$$ g(x,b) = begin{cases} 0 & x=0\ h^{-1}bigl(h(x)-h(b)bigr) & 0<x<pi \ pi & x=pi end{cases} $$
where $h$ is an increasing bijection $(0,pi)tomathbb R$ with $h(pi/2)=0$. This immediately guarantees the properties you specify, as well as continuity in your domain. Furthermore the function is increasing in $x$ and $b$ for fixed $b$ and $x$.
The $tan$ version has the property that at each fixed $b$ we have $g(varepsilon, b)approxvarepsilon$ for small enough $varepsilon$ (and similarly at the other three edges of the domain, mutatis mutandis). This probably is not what you want, but since I don't know what you want it for it could be exactly what you need.
On the other hand $operatorname{arctanh}$ gives the nice property that if you graph $g$ for constant $x$ or $b$, there are no inflection points. One would probably usually find that desirable.
For a purely algebraic option you might try $h(x)=frac{1}{pi-x}-frac{1}{x} $, which ought to behave more or less like the tangent option.
edited Dec 20 '18 at 21:43
answered Dec 20 '18 at 21:13
Henning MakholmHenning Makholm
239k17304541
239k17304541
add a comment |
add a comment |
$begingroup$
$$g(x,y)=2arctanfrac{tan(x/2)}{tan (y/2)}$$
I've started from $g(b,b)=fracpi2$. That means that somehow $g$ depends either on the difference $(x-y)$, or some ratio of similar functions for the coordinates $f(x)/f(y)$. The second form was hinted from the fact that $y$ is on an open interval, so $f(0),f(pi)in[0,pminfty]$. The fact that $g(0,b)=0$ means $f(0)=0$. But $g(pi,y)=pi$ means that I need to scale $f(pi)=infty$ back to $pi$ (that's where the ideas of $tan$ and $arctan$ functions came from). If $f(pi/2)=1$ you have $arctan tan x=x$.
Note: following the comment from @HenningMakholm, I can rewrite this in a more accurate way:
$$g(x,y)=lim_{uto x}2arctanfrac{tan(u/2)}{tan(y/2)}$$
$endgroup$
1
$begingroup$
I think you'll need a special case for $x=pi$ there. (By the way, this fits into the general form I propose in my answer, by setting $h(x)=log tan(x/2)$).
$endgroup$
– Henning Makholm
Dec 20 '18 at 21:54
$begingroup$
Thanks @HenningMakholm. I've added to my answer using a hack: I've used limit.
$endgroup$
– Andrei
Dec 20 '18 at 22:03
add a comment |
$begingroup$
$$g(x,y)=2arctanfrac{tan(x/2)}{tan (y/2)}$$
I've started from $g(b,b)=fracpi2$. That means that somehow $g$ depends either on the difference $(x-y)$, or some ratio of similar functions for the coordinates $f(x)/f(y)$. The second form was hinted from the fact that $y$ is on an open interval, so $f(0),f(pi)in[0,pminfty]$. The fact that $g(0,b)=0$ means $f(0)=0$. But $g(pi,y)=pi$ means that I need to scale $f(pi)=infty$ back to $pi$ (that's where the ideas of $tan$ and $arctan$ functions came from). If $f(pi/2)=1$ you have $arctan tan x=x$.
Note: following the comment from @HenningMakholm, I can rewrite this in a more accurate way:
$$g(x,y)=lim_{uto x}2arctanfrac{tan(u/2)}{tan(y/2)}$$
$endgroup$
1
$begingroup$
I think you'll need a special case for $x=pi$ there. (By the way, this fits into the general form I propose in my answer, by setting $h(x)=log tan(x/2)$).
$endgroup$
– Henning Makholm
Dec 20 '18 at 21:54
$begingroup$
Thanks @HenningMakholm. I've added to my answer using a hack: I've used limit.
$endgroup$
– Andrei
Dec 20 '18 at 22:03
add a comment |
$begingroup$
$$g(x,y)=2arctanfrac{tan(x/2)}{tan (y/2)}$$
I've started from $g(b,b)=fracpi2$. That means that somehow $g$ depends either on the difference $(x-y)$, or some ratio of similar functions for the coordinates $f(x)/f(y)$. The second form was hinted from the fact that $y$ is on an open interval, so $f(0),f(pi)in[0,pminfty]$. The fact that $g(0,b)=0$ means $f(0)=0$. But $g(pi,y)=pi$ means that I need to scale $f(pi)=infty$ back to $pi$ (that's where the ideas of $tan$ and $arctan$ functions came from). If $f(pi/2)=1$ you have $arctan tan x=x$.
Note: following the comment from @HenningMakholm, I can rewrite this in a more accurate way:
$$g(x,y)=lim_{uto x}2arctanfrac{tan(u/2)}{tan(y/2)}$$
$endgroup$
$$g(x,y)=2arctanfrac{tan(x/2)}{tan (y/2)}$$
I've started from $g(b,b)=fracpi2$. That means that somehow $g$ depends either on the difference $(x-y)$, or some ratio of similar functions for the coordinates $f(x)/f(y)$. The second form was hinted from the fact that $y$ is on an open interval, so $f(0),f(pi)in[0,pminfty]$. The fact that $g(0,b)=0$ means $f(0)=0$. But $g(pi,y)=pi$ means that I need to scale $f(pi)=infty$ back to $pi$ (that's where the ideas of $tan$ and $arctan$ functions came from). If $f(pi/2)=1$ you have $arctan tan x=x$.
Note: following the comment from @HenningMakholm, I can rewrite this in a more accurate way:
$$g(x,y)=lim_{uto x}2arctanfrac{tan(u/2)}{tan(y/2)}$$
edited Dec 20 '18 at 22:02
answered Dec 20 '18 at 21:48
AndreiAndrei
11.8k21026
11.8k21026
1
$begingroup$
I think you'll need a special case for $x=pi$ there. (By the way, this fits into the general form I propose in my answer, by setting $h(x)=log tan(x/2)$).
$endgroup$
– Henning Makholm
Dec 20 '18 at 21:54
$begingroup$
Thanks @HenningMakholm. I've added to my answer using a hack: I've used limit.
$endgroup$
– Andrei
Dec 20 '18 at 22:03
add a comment |
1
$begingroup$
I think you'll need a special case for $x=pi$ there. (By the way, this fits into the general form I propose in my answer, by setting $h(x)=log tan(x/2)$).
$endgroup$
– Henning Makholm
Dec 20 '18 at 21:54
$begingroup$
Thanks @HenningMakholm. I've added to my answer using a hack: I've used limit.
$endgroup$
– Andrei
Dec 20 '18 at 22:03
1
1
$begingroup$
I think you'll need a special case for $x=pi$ there. (By the way, this fits into the general form I propose in my answer, by setting $h(x)=log tan(x/2)$).
$endgroup$
– Henning Makholm
Dec 20 '18 at 21:54
$begingroup$
I think you'll need a special case for $x=pi$ there. (By the way, this fits into the general form I propose in my answer, by setting $h(x)=log tan(x/2)$).
$endgroup$
– Henning Makholm
Dec 20 '18 at 21:54
$begingroup$
Thanks @HenningMakholm. I've added to my answer using a hack: I've used limit.
$endgroup$
– Andrei
Dec 20 '18 at 22:03
$begingroup$
Thanks @HenningMakholm. I've added to my answer using a hack: I've used limit.
$endgroup$
– Andrei
Dec 20 '18 at 22:03
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3047957%2ftwo-variable-function-with-specific-properties-challenging%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
$begingroup$
Must it be continuous/differentiable/etc., or can it simply be any function?
$endgroup$
– Frpzzd
Dec 20 '18 at 21:03
$begingroup$
@RossMillikan Also, the OP asked for a surface, which probably add some further restrictions.
$endgroup$
– Frpzzd
Dec 20 '18 at 21:10