Parametrization of distance to non-unit circle/sphere with non-centered origin
up vote
0
down vote
favorite
I attempt to parametrize the distance $z(theta;r,z_0)$ from the origin $(x,y)=(0,0)$ of my coordinate system to arbitrary points $(x,y)$ on a circle, as a function of the variable $theta$ (angle), the parameter $r$ (circle radius), and the parameter $z_0$ (minimum distance) defined by $z_0equiv z(theta=0)$. The circle has its unknown origin on the $x$ axis, so that $z(theta=pi/2)= z(theta=3pi/2)$.
I know the parametrization for a unit circle, $(x-z_0)^2+2(x-z_0)+y^2=0$, and the obvious relation $z^2=x^2+y^2$. However, I don't know what parametrization of the circle I can use for an arbitrary circle radius $r$. And I don't know how to express $x$ in terms of $theta$ for arbitrary $(r,z_0)$.
Therefore, do you have any suggestions how to determine $z(theta;r,z_0)$? I expect this function to look similar to the sine function, just "shallower" and non-negative.
Finally, my second goal is to parametrize the distance $z(theta,phi;r,z_0)$ to arbitrary points on a sphere, which requires the introduction of another angle $phi$. Do you have any suggestions how to proceed?
analytic-geometry polar-coordinates spherical-coordinates parametrization
add a comment |
up vote
0
down vote
favorite
I attempt to parametrize the distance $z(theta;r,z_0)$ from the origin $(x,y)=(0,0)$ of my coordinate system to arbitrary points $(x,y)$ on a circle, as a function of the variable $theta$ (angle), the parameter $r$ (circle radius), and the parameter $z_0$ (minimum distance) defined by $z_0equiv z(theta=0)$. The circle has its unknown origin on the $x$ axis, so that $z(theta=pi/2)= z(theta=3pi/2)$.
I know the parametrization for a unit circle, $(x-z_0)^2+2(x-z_0)+y^2=0$, and the obvious relation $z^2=x^2+y^2$. However, I don't know what parametrization of the circle I can use for an arbitrary circle radius $r$. And I don't know how to express $x$ in terms of $theta$ for arbitrary $(r,z_0)$.
Therefore, do you have any suggestions how to determine $z(theta;r,z_0)$? I expect this function to look similar to the sine function, just "shallower" and non-negative.
Finally, my second goal is to parametrize the distance $z(theta,phi;r,z_0)$ to arbitrary points on a sphere, which requires the introduction of another angle $phi$. Do you have any suggestions how to proceed?
analytic-geometry polar-coordinates spherical-coordinates parametrization
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I attempt to parametrize the distance $z(theta;r,z_0)$ from the origin $(x,y)=(0,0)$ of my coordinate system to arbitrary points $(x,y)$ on a circle, as a function of the variable $theta$ (angle), the parameter $r$ (circle radius), and the parameter $z_0$ (minimum distance) defined by $z_0equiv z(theta=0)$. The circle has its unknown origin on the $x$ axis, so that $z(theta=pi/2)= z(theta=3pi/2)$.
I know the parametrization for a unit circle, $(x-z_0)^2+2(x-z_0)+y^2=0$, and the obvious relation $z^2=x^2+y^2$. However, I don't know what parametrization of the circle I can use for an arbitrary circle radius $r$. And I don't know how to express $x$ in terms of $theta$ for arbitrary $(r,z_0)$.
Therefore, do you have any suggestions how to determine $z(theta;r,z_0)$? I expect this function to look similar to the sine function, just "shallower" and non-negative.
Finally, my second goal is to parametrize the distance $z(theta,phi;r,z_0)$ to arbitrary points on a sphere, which requires the introduction of another angle $phi$. Do you have any suggestions how to proceed?
analytic-geometry polar-coordinates spherical-coordinates parametrization
I attempt to parametrize the distance $z(theta;r,z_0)$ from the origin $(x,y)=(0,0)$ of my coordinate system to arbitrary points $(x,y)$ on a circle, as a function of the variable $theta$ (angle), the parameter $r$ (circle radius), and the parameter $z_0$ (minimum distance) defined by $z_0equiv z(theta=0)$. The circle has its unknown origin on the $x$ axis, so that $z(theta=pi/2)= z(theta=3pi/2)$.
I know the parametrization for a unit circle, $(x-z_0)^2+2(x-z_0)+y^2=0$, and the obvious relation $z^2=x^2+y^2$. However, I don't know what parametrization of the circle I can use for an arbitrary circle radius $r$. And I don't know how to express $x$ in terms of $theta$ for arbitrary $(r,z_0)$.
Therefore, do you have any suggestions how to determine $z(theta;r,z_0)$? I expect this function to look similar to the sine function, just "shallower" and non-negative.
Finally, my second goal is to parametrize the distance $z(theta,phi;r,z_0)$ to arbitrary points on a sphere, which requires the introduction of another angle $phi$. Do you have any suggestions how to proceed?
analytic-geometry polar-coordinates spherical-coordinates parametrization
analytic-geometry polar-coordinates spherical-coordinates parametrization
edited Nov 23 at 1:06
Jean Marie
28.6k41849
28.6k41849
asked Nov 23 at 1:03
LCF
1327
1327
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
An arbitrary circle of radius $r$ with it's centre on the $x$-axis at $x_0$ given by
$$ (x - x_0)^2 + y^2 = r^2 $$
We can rewrite this as
$$ left(frac{x - x_0}{r}right)^2 + left(frac{y}{r}right)^2 = 1$$
So that we can let $cos(theta) = left(frac{x - x_0}{r}right)$ and $sin(theta) = left(frac{y}{r}right)$ to get $x = rcos(theta) + x_0, y = rsin(theta)$. Hence we get the vector parametrization
$$mathbf{r} = (rcos(theta) + x_0,rsin(theta))$$
Which satisfies $||mathbf{r}|| = z$.
If $x_0 < 0$, then the minimum distance takes place at $theta = 0$, so $mathbf{r}_0 = (r + x_0,0) Rightarrow z_0 = sqrt{(x_0 + r)^2} Rightarrow z_0 = |x_0 + r|$ And the result varies depending on whether $r > |x_0|$ or $r < |x_0|$. I'll just do the case where $r < |x_0|$. Then $x_0 + r < 0$ so that $x_0 = -(z_0 + r)$. So,
$$mathbf{r} = left(rcos(theta) - (z_0 + r),rsin(theta)right)$$
And hence,
$$ z^2 = left(rcos(theta) - (z_0 + r)right)^2 + left(rsin(theta)right)^2$$
as desired. I'll emphasize again that since the relation between $z_0, x_0, r,$ and $theta$ changes depending on $x_0$ and $r$, you'll get slightly different relations for the noted conditions above.
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',
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%2f3009869%2fparametrization-of-distance-to-non-unit-circle-sphere-with-non-centered-origin%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
An arbitrary circle of radius $r$ with it's centre on the $x$-axis at $x_0$ given by
$$ (x - x_0)^2 + y^2 = r^2 $$
We can rewrite this as
$$ left(frac{x - x_0}{r}right)^2 + left(frac{y}{r}right)^2 = 1$$
So that we can let $cos(theta) = left(frac{x - x_0}{r}right)$ and $sin(theta) = left(frac{y}{r}right)$ to get $x = rcos(theta) + x_0, y = rsin(theta)$. Hence we get the vector parametrization
$$mathbf{r} = (rcos(theta) + x_0,rsin(theta))$$
Which satisfies $||mathbf{r}|| = z$.
If $x_0 < 0$, then the minimum distance takes place at $theta = 0$, so $mathbf{r}_0 = (r + x_0,0) Rightarrow z_0 = sqrt{(x_0 + r)^2} Rightarrow z_0 = |x_0 + r|$ And the result varies depending on whether $r > |x_0|$ or $r < |x_0|$. I'll just do the case where $r < |x_0|$. Then $x_0 + r < 0$ so that $x_0 = -(z_0 + r)$. So,
$$mathbf{r} = left(rcos(theta) - (z_0 + r),rsin(theta)right)$$
And hence,
$$ z^2 = left(rcos(theta) - (z_0 + r)right)^2 + left(rsin(theta)right)^2$$
as desired. I'll emphasize again that since the relation between $z_0, x_0, r,$ and $theta$ changes depending on $x_0$ and $r$, you'll get slightly different relations for the noted conditions above.
add a comment |
up vote
1
down vote
accepted
An arbitrary circle of radius $r$ with it's centre on the $x$-axis at $x_0$ given by
$$ (x - x_0)^2 + y^2 = r^2 $$
We can rewrite this as
$$ left(frac{x - x_0}{r}right)^2 + left(frac{y}{r}right)^2 = 1$$
So that we can let $cos(theta) = left(frac{x - x_0}{r}right)$ and $sin(theta) = left(frac{y}{r}right)$ to get $x = rcos(theta) + x_0, y = rsin(theta)$. Hence we get the vector parametrization
$$mathbf{r} = (rcos(theta) + x_0,rsin(theta))$$
Which satisfies $||mathbf{r}|| = z$.
If $x_0 < 0$, then the minimum distance takes place at $theta = 0$, so $mathbf{r}_0 = (r + x_0,0) Rightarrow z_0 = sqrt{(x_0 + r)^2} Rightarrow z_0 = |x_0 + r|$ And the result varies depending on whether $r > |x_0|$ or $r < |x_0|$. I'll just do the case where $r < |x_0|$. Then $x_0 + r < 0$ so that $x_0 = -(z_0 + r)$. So,
$$mathbf{r} = left(rcos(theta) - (z_0 + r),rsin(theta)right)$$
And hence,
$$ z^2 = left(rcos(theta) - (z_0 + r)right)^2 + left(rsin(theta)right)^2$$
as desired. I'll emphasize again that since the relation between $z_0, x_0, r,$ and $theta$ changes depending on $x_0$ and $r$, you'll get slightly different relations for the noted conditions above.
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
An arbitrary circle of radius $r$ with it's centre on the $x$-axis at $x_0$ given by
$$ (x - x_0)^2 + y^2 = r^2 $$
We can rewrite this as
$$ left(frac{x - x_0}{r}right)^2 + left(frac{y}{r}right)^2 = 1$$
So that we can let $cos(theta) = left(frac{x - x_0}{r}right)$ and $sin(theta) = left(frac{y}{r}right)$ to get $x = rcos(theta) + x_0, y = rsin(theta)$. Hence we get the vector parametrization
$$mathbf{r} = (rcos(theta) + x_0,rsin(theta))$$
Which satisfies $||mathbf{r}|| = z$.
If $x_0 < 0$, then the minimum distance takes place at $theta = 0$, so $mathbf{r}_0 = (r + x_0,0) Rightarrow z_0 = sqrt{(x_0 + r)^2} Rightarrow z_0 = |x_0 + r|$ And the result varies depending on whether $r > |x_0|$ or $r < |x_0|$. I'll just do the case where $r < |x_0|$. Then $x_0 + r < 0$ so that $x_0 = -(z_0 + r)$. So,
$$mathbf{r} = left(rcos(theta) - (z_0 + r),rsin(theta)right)$$
And hence,
$$ z^2 = left(rcos(theta) - (z_0 + r)right)^2 + left(rsin(theta)right)^2$$
as desired. I'll emphasize again that since the relation between $z_0, x_0, r,$ and $theta$ changes depending on $x_0$ and $r$, you'll get slightly different relations for the noted conditions above.
An arbitrary circle of radius $r$ with it's centre on the $x$-axis at $x_0$ given by
$$ (x - x_0)^2 + y^2 = r^2 $$
We can rewrite this as
$$ left(frac{x - x_0}{r}right)^2 + left(frac{y}{r}right)^2 = 1$$
So that we can let $cos(theta) = left(frac{x - x_0}{r}right)$ and $sin(theta) = left(frac{y}{r}right)$ to get $x = rcos(theta) + x_0, y = rsin(theta)$. Hence we get the vector parametrization
$$mathbf{r} = (rcos(theta) + x_0,rsin(theta))$$
Which satisfies $||mathbf{r}|| = z$.
If $x_0 < 0$, then the minimum distance takes place at $theta = 0$, so $mathbf{r}_0 = (r + x_0,0) Rightarrow z_0 = sqrt{(x_0 + r)^2} Rightarrow z_0 = |x_0 + r|$ And the result varies depending on whether $r > |x_0|$ or $r < |x_0|$. I'll just do the case where $r < |x_0|$. Then $x_0 + r < 0$ so that $x_0 = -(z_0 + r)$. So,
$$mathbf{r} = left(rcos(theta) - (z_0 + r),rsin(theta)right)$$
And hence,
$$ z^2 = left(rcos(theta) - (z_0 + r)right)^2 + left(rsin(theta)right)^2$$
as desired. I'll emphasize again that since the relation between $z_0, x_0, r,$ and $theta$ changes depending on $x_0$ and $r$, you'll get slightly different relations for the noted conditions above.
answered Nov 23 at 2:02
AlkaKadri
1,459411
1,459411
add a comment |
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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.
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%2f3009869%2fparametrization-of-distance-to-non-unit-circle-sphere-with-non-centered-origin%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