Why is $r=sin (theta)$ graphing differently than $x^2+y^2=y$?
up vote
1
down vote
favorite

I do most of my graphing using Desmos, and also use graphing as a visual check for some of the math that I'm a little more wary of when I don't have access to someone to double check my work. I was doing something when I noticed a discrepancy which boils down to the title question. Above is a picture of Desmos's graph of those two equations. If it's just a problem with the calculator, I'll soon report it as a bug and be very relived that math isn't broken.
graphing-functions
|
show 2 more comments
up vote
1
down vote
favorite

I do most of my graphing using Desmos, and also use graphing as a visual check for some of the math that I'm a little more wary of when I don't have access to someone to double check my work. I was doing something when I noticed a discrepancy which boils down to the title question. Above is a picture of Desmos's graph of those two equations. If it's just a problem with the calculator, I'll soon report it as a bug and be very relived that math isn't broken.
graphing-functions
1
I can't see your graphs, but I'm guessing you didn't tell Desmos (however one does that) that the first one should be in polar coordinates. Is there a place to select "polar" as opposed to "cartesian"?
– Ted Shifrin
May 21 at 2:42
There is no need for that, I'll attach an image instead of the graph, or you can try it yourself just by typing the 2 equations in.
– Aaron Quitta
May 21 at 2:46
1
When I opened the link to your graph, it was behaving a little buggy. After switching between rectangular grid and polar grid and turning graphs on and off, it eventually righted itself. In particular using just 1 and 3 plots correctly for me. Also went to Default Zoom. Bad cache maybe.
– sharding4
May 21 at 2:46
@TedShifrin That isn't the issue. It appears (to me) to be the result of a loss-of-precision or an issue with rounding. Basically, the two curves are very, very close to each other, but off by a small amount (maybe a millionth of a unit?).
– Xander Henderson
May 21 at 2:46
I remove myself from this discussion.
– Ted Shifrin
May 21 at 2:48
|
show 2 more comments
up vote
1
down vote
favorite
up vote
1
down vote
favorite

I do most of my graphing using Desmos, and also use graphing as a visual check for some of the math that I'm a little more wary of when I don't have access to someone to double check my work. I was doing something when I noticed a discrepancy which boils down to the title question. Above is a picture of Desmos's graph of those two equations. If it's just a problem with the calculator, I'll soon report it as a bug and be very relived that math isn't broken.
graphing-functions

I do most of my graphing using Desmos, and also use graphing as a visual check for some of the math that I'm a little more wary of when I don't have access to someone to double check my work. I was doing something when I noticed a discrepancy which boils down to the title question. Above is a picture of Desmos's graph of those two equations. If it's just a problem with the calculator, I'll soon report it as a bug and be very relived that math isn't broken.
graphing-functions
graphing-functions
edited Nov 21 at 18:00
idea
1,96231024
1,96231024
asked May 21 at 2:34
Aaron Quitta
323214
323214
1
I can't see your graphs, but I'm guessing you didn't tell Desmos (however one does that) that the first one should be in polar coordinates. Is there a place to select "polar" as opposed to "cartesian"?
– Ted Shifrin
May 21 at 2:42
There is no need for that, I'll attach an image instead of the graph, or you can try it yourself just by typing the 2 equations in.
– Aaron Quitta
May 21 at 2:46
1
When I opened the link to your graph, it was behaving a little buggy. After switching between rectangular grid and polar grid and turning graphs on and off, it eventually righted itself. In particular using just 1 and 3 plots correctly for me. Also went to Default Zoom. Bad cache maybe.
– sharding4
May 21 at 2:46
@TedShifrin That isn't the issue. It appears (to me) to be the result of a loss-of-precision or an issue with rounding. Basically, the two curves are very, very close to each other, but off by a small amount (maybe a millionth of a unit?).
– Xander Henderson
May 21 at 2:46
I remove myself from this discussion.
– Ted Shifrin
May 21 at 2:48
|
show 2 more comments
1
I can't see your graphs, but I'm guessing you didn't tell Desmos (however one does that) that the first one should be in polar coordinates. Is there a place to select "polar" as opposed to "cartesian"?
– Ted Shifrin
May 21 at 2:42
There is no need for that, I'll attach an image instead of the graph, or you can try it yourself just by typing the 2 equations in.
– Aaron Quitta
May 21 at 2:46
1
When I opened the link to your graph, it was behaving a little buggy. After switching between rectangular grid and polar grid and turning graphs on and off, it eventually righted itself. In particular using just 1 and 3 plots correctly for me. Also went to Default Zoom. Bad cache maybe.
– sharding4
May 21 at 2:46
@TedShifrin That isn't the issue. It appears (to me) to be the result of a loss-of-precision or an issue with rounding. Basically, the two curves are very, very close to each other, but off by a small amount (maybe a millionth of a unit?).
– Xander Henderson
May 21 at 2:46
I remove myself from this discussion.
– Ted Shifrin
May 21 at 2:48
1
1
I can't see your graphs, but I'm guessing you didn't tell Desmos (however one does that) that the first one should be in polar coordinates. Is there a place to select "polar" as opposed to "cartesian"?
– Ted Shifrin
May 21 at 2:42
I can't see your graphs, but I'm guessing you didn't tell Desmos (however one does that) that the first one should be in polar coordinates. Is there a place to select "polar" as opposed to "cartesian"?
– Ted Shifrin
May 21 at 2:42
There is no need for that, I'll attach an image instead of the graph, or you can try it yourself just by typing the 2 equations in.
– Aaron Quitta
May 21 at 2:46
There is no need for that, I'll attach an image instead of the graph, or you can try it yourself just by typing the 2 equations in.
– Aaron Quitta
May 21 at 2:46
1
1
When I opened the link to your graph, it was behaving a little buggy. After switching between rectangular grid and polar grid and turning graphs on and off, it eventually righted itself. In particular using just 1 and 3 plots correctly for me. Also went to Default Zoom. Bad cache maybe.
– sharding4
May 21 at 2:46
When I opened the link to your graph, it was behaving a little buggy. After switching between rectangular grid and polar grid and turning graphs on and off, it eventually righted itself. In particular using just 1 and 3 plots correctly for me. Also went to Default Zoom. Bad cache maybe.
– sharding4
May 21 at 2:46
@TedShifrin That isn't the issue. It appears (to me) to be the result of a loss-of-precision or an issue with rounding. Basically, the two curves are very, very close to each other, but off by a small amount (maybe a millionth of a unit?).
– Xander Henderson
May 21 at 2:46
@TedShifrin That isn't the issue. It appears (to me) to be the result of a loss-of-precision or an issue with rounding. Basically, the two curves are very, very close to each other, but off by a small amount (maybe a millionth of a unit?).
– Xander Henderson
May 21 at 2:46
I remove myself from this discussion.
– Ted Shifrin
May 21 at 2:48
I remove myself from this discussion.
– Ted Shifrin
May 21 at 2:48
|
show 2 more comments
1 Answer
1
active
oldest
votes
up vote
0
down vote
The commenters guessing it was a precision error were correct. As far as I can tell, it's an unfortunate consequence of the way Desmos graphs polar equations. Desmos graphs nearly all Cartesian equations with smooth curves, but it uses minuscule line segments to approximate the graphs of polar equations.
For a rough comparison, you can graph $r=sin(9theta)$ and $y=0.77sin(9x+2)$ (in green and purple below, respectively), which have somewhat similar curvature at their relative extrema, and zoom in on the approximate intersection of two extrema in the first quadrant, at about $(0.64,0.765)$ to see how differently Desmos plots both curves (notice also that when zoomed out, they both look smooth). I suspect you were seeing a similar kind of effect when you zoomed in very far on your graph.

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%2f2789515%2fwhy-is-r-sin-theta-graphing-differently-than-x2y2-y%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
0
down vote
The commenters guessing it was a precision error were correct. As far as I can tell, it's an unfortunate consequence of the way Desmos graphs polar equations. Desmos graphs nearly all Cartesian equations with smooth curves, but it uses minuscule line segments to approximate the graphs of polar equations.
For a rough comparison, you can graph $r=sin(9theta)$ and $y=0.77sin(9x+2)$ (in green and purple below, respectively), which have somewhat similar curvature at their relative extrema, and zoom in on the approximate intersection of two extrema in the first quadrant, at about $(0.64,0.765)$ to see how differently Desmos plots both curves (notice also that when zoomed out, they both look smooth). I suspect you were seeing a similar kind of effect when you zoomed in very far on your graph.

add a comment |
up vote
0
down vote
The commenters guessing it was a precision error were correct. As far as I can tell, it's an unfortunate consequence of the way Desmos graphs polar equations. Desmos graphs nearly all Cartesian equations with smooth curves, but it uses minuscule line segments to approximate the graphs of polar equations.
For a rough comparison, you can graph $r=sin(9theta)$ and $y=0.77sin(9x+2)$ (in green and purple below, respectively), which have somewhat similar curvature at their relative extrema, and zoom in on the approximate intersection of two extrema in the first quadrant, at about $(0.64,0.765)$ to see how differently Desmos plots both curves (notice also that when zoomed out, they both look smooth). I suspect you were seeing a similar kind of effect when you zoomed in very far on your graph.

add a comment |
up vote
0
down vote
up vote
0
down vote
The commenters guessing it was a precision error were correct. As far as I can tell, it's an unfortunate consequence of the way Desmos graphs polar equations. Desmos graphs nearly all Cartesian equations with smooth curves, but it uses minuscule line segments to approximate the graphs of polar equations.
For a rough comparison, you can graph $r=sin(9theta)$ and $y=0.77sin(9x+2)$ (in green and purple below, respectively), which have somewhat similar curvature at their relative extrema, and zoom in on the approximate intersection of two extrema in the first quadrant, at about $(0.64,0.765)$ to see how differently Desmos plots both curves (notice also that when zoomed out, they both look smooth). I suspect you were seeing a similar kind of effect when you zoomed in very far on your graph.

The commenters guessing it was a precision error were correct. As far as I can tell, it's an unfortunate consequence of the way Desmos graphs polar equations. Desmos graphs nearly all Cartesian equations with smooth curves, but it uses minuscule line segments to approximate the graphs of polar equations.
For a rough comparison, you can graph $r=sin(9theta)$ and $y=0.77sin(9x+2)$ (in green and purple below, respectively), which have somewhat similar curvature at their relative extrema, and zoom in on the approximate intersection of two extrema in the first quadrant, at about $(0.64,0.765)$ to see how differently Desmos plots both curves (notice also that when zoomed out, they both look smooth). I suspect you were seeing a similar kind of effect when you zoomed in very far on your graph.

edited Nov 22 at 3:11
answered Nov 21 at 17:21
Robert Howard
1,9181822
1,9181822
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%2f2789515%2fwhy-is-r-sin-theta-graphing-differently-than-x2y2-y%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
1
I can't see your graphs, but I'm guessing you didn't tell Desmos (however one does that) that the first one should be in polar coordinates. Is there a place to select "polar" as opposed to "cartesian"?
– Ted Shifrin
May 21 at 2:42
There is no need for that, I'll attach an image instead of the graph, or you can try it yourself just by typing the 2 equations in.
– Aaron Quitta
May 21 at 2:46
1
When I opened the link to your graph, it was behaving a little buggy. After switching between rectangular grid and polar grid and turning graphs on and off, it eventually righted itself. In particular using just 1 and 3 plots correctly for me. Also went to Default Zoom. Bad cache maybe.
– sharding4
May 21 at 2:46
@TedShifrin That isn't the issue. It appears (to me) to be the result of a loss-of-precision or an issue with rounding. Basically, the two curves are very, very close to each other, but off by a small amount (maybe a millionth of a unit?).
– Xander Henderson
May 21 at 2:46
I remove myself from this discussion.
– Ted Shifrin
May 21 at 2:48