Given a cartesian equation get points in the plane












1












$begingroup$


I hope this make sense. I'm trying to understand (I'm very newbie with curves) how could I get points from a cartesian equation.



For example, given $(x^2+y^2)^2-2a^2cdot(x^2-y^2)-a^4+c^4=0$ that is the cartesian equation for the Cassian Ovals:



...



I would like to know how to know the points (like in this image). (I'm doing a program that represent points on a texture)



I know that resolving the parametric equation of this (I don't know if this can be done) I can give as much points as iterations done.



But I'm not sure if I can achieve that only with the cartesian equation.



Maybe, if do x=<something> and I try to resolve for this?










share|cite|improve this question











$endgroup$












  • $begingroup$
    there are infinitely many points. What do you mean how to "get" the points?
    $endgroup$
    – dezdichado
    Dec 13 '18 at 18:55










  • $begingroup$
    Well, yes I only want to know the x and y (point) for a serie of number (maybe from 0 to 100). For a circle is easy: $x=asin(t) and $y=acos(t) where a is the squared radius and and t the current iteration. I would like to do something similar but with cartesian equations.
    $endgroup$
    – z3nth10n
    Dec 13 '18 at 19:19
















1












$begingroup$


I hope this make sense. I'm trying to understand (I'm very newbie with curves) how could I get points from a cartesian equation.



For example, given $(x^2+y^2)^2-2a^2cdot(x^2-y^2)-a^4+c^4=0$ that is the cartesian equation for the Cassian Ovals:



...



I would like to know how to know the points (like in this image). (I'm doing a program that represent points on a texture)



I know that resolving the parametric equation of this (I don't know if this can be done) I can give as much points as iterations done.



But I'm not sure if I can achieve that only with the cartesian equation.



Maybe, if do x=<something> and I try to resolve for this?










share|cite|improve this question











$endgroup$












  • $begingroup$
    there are infinitely many points. What do you mean how to "get" the points?
    $endgroup$
    – dezdichado
    Dec 13 '18 at 18:55










  • $begingroup$
    Well, yes I only want to know the x and y (point) for a serie of number (maybe from 0 to 100). For a circle is easy: $x=asin(t) and $y=acos(t) where a is the squared radius and and t the current iteration. I would like to do something similar but with cartesian equations.
    $endgroup$
    – z3nth10n
    Dec 13 '18 at 19:19














1












1








1





$begingroup$


I hope this make sense. I'm trying to understand (I'm very newbie with curves) how could I get points from a cartesian equation.



For example, given $(x^2+y^2)^2-2a^2cdot(x^2-y^2)-a^4+c^4=0$ that is the cartesian equation for the Cassian Ovals:



...



I would like to know how to know the points (like in this image). (I'm doing a program that represent points on a texture)



I know that resolving the parametric equation of this (I don't know if this can be done) I can give as much points as iterations done.



But I'm not sure if I can achieve that only with the cartesian equation.



Maybe, if do x=<something> and I try to resolve for this?










share|cite|improve this question











$endgroup$




I hope this make sense. I'm trying to understand (I'm very newbie with curves) how could I get points from a cartesian equation.



For example, given $(x^2+y^2)^2-2a^2cdot(x^2-y^2)-a^4+c^4=0$ that is the cartesian equation for the Cassian Ovals:



...



I would like to know how to know the points (like in this image). (I'm doing a program that represent points on a texture)



I know that resolving the parametric equation of this (I don't know if this can be done) I can give as much points as iterations done.



But I'm not sure if I can achieve that only with the cartesian equation.



Maybe, if do x=<something> and I try to resolve for this?







parametric implicit-function






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 13 '18 at 22:30









Tianlalu

3,08421038




3,08421038










asked Dec 13 '18 at 18:44









z3nth10nz3nth10n

1085




1085












  • $begingroup$
    there are infinitely many points. What do you mean how to "get" the points?
    $endgroup$
    – dezdichado
    Dec 13 '18 at 18:55










  • $begingroup$
    Well, yes I only want to know the x and y (point) for a serie of number (maybe from 0 to 100). For a circle is easy: $x=asin(t) and $y=acos(t) where a is the squared radius and and t the current iteration. I would like to do something similar but with cartesian equations.
    $endgroup$
    – z3nth10n
    Dec 13 '18 at 19:19


















  • $begingroup$
    there are infinitely many points. What do you mean how to "get" the points?
    $endgroup$
    – dezdichado
    Dec 13 '18 at 18:55










  • $begingroup$
    Well, yes I only want to know the x and y (point) for a serie of number (maybe from 0 to 100). For a circle is easy: $x=asin(t) and $y=acos(t) where a is the squared radius and and t the current iteration. I would like to do something similar but with cartesian equations.
    $endgroup$
    – z3nth10n
    Dec 13 '18 at 19:19
















$begingroup$
there are infinitely many points. What do you mean how to "get" the points?
$endgroup$
– dezdichado
Dec 13 '18 at 18:55




$begingroup$
there are infinitely many points. What do you mean how to "get" the points?
$endgroup$
– dezdichado
Dec 13 '18 at 18:55












$begingroup$
Well, yes I only want to know the x and y (point) for a serie of number (maybe from 0 to 100). For a circle is easy: $x=asin(t) and $y=acos(t) where a is the squared radius and and t the current iteration. I would like to do something similar but with cartesian equations.
$endgroup$
– z3nth10n
Dec 13 '18 at 19:19




$begingroup$
Well, yes I only want to know the x and y (point) for a serie of number (maybe from 0 to 100). For a circle is easy: $x=asin(t) and $y=acos(t) where a is the squared radius and and t the current iteration. I would like to do something similar but with cartesian equations.
$endgroup$
– z3nth10n
Dec 13 '18 at 19:19










1 Answer
1






active

oldest

votes


















1












$begingroup$

With the present curve, after the change of variables



$$
x = rcostheta\
y = rsintheta
$$



we arrive to



$$
f(r,theta) = c^4+r^4-a^4 - 2 a^2 r^2 cos (2 theta )= 0
$$



and solving for $r$



$$
r(theta) = pmsqrt{a^2 cos (2 theta )pmfrac{sqrt{a^4 cos (4 theta )+3 a^4-2 c^4}}{sqrt{2}}}
$$



NOTE



Also another way to do that is to find the explicit dependence $y = g(x)$



Calling $x_2 = x^2, y_2 = y^2$ we have



$$
(x_2 + y_2)^2 - 2 a^2 (x_2 - y_2) - a^4 + c^4 = 0
$$



now solving for $y_2$



$$
y_2 = sqrt{2 a^4+4 a^2 x_2-c^4}-x_2-a^2
$$



then finally



$$
y = pmsqrt{sqrt{2 a^4+4 a^2 x^2-c^4}-x^2-a^2}
$$






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Well, this is the polar equation... But with this I would need to make a circular sweep to get the radius on each degree... I would like to know if there is any method to get the representation (a integer point) on the plane without getting the parametric equation. Thanks.
    $endgroup$
    – z3nth10n
    Dec 13 '18 at 23:02










  • $begingroup$
    @z3nth10n Please. See attached note.
    $endgroup$
    – Cesareo
    Dec 14 '18 at 0:13










  • $begingroup$
    Yep, this is what I did: wolframalpha.com/input/… as you can see: i.gyazo.com/0553fee37d290d178d2a2ab0f6957261.png thanks!
    $endgroup$
    – z3nth10n
    Dec 14 '18 at 0:15













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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3038433%2fgiven-a-cartesian-equation-get-points-in-the-plane%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









1












$begingroup$

With the present curve, after the change of variables



$$
x = rcostheta\
y = rsintheta
$$



we arrive to



$$
f(r,theta) = c^4+r^4-a^4 - 2 a^2 r^2 cos (2 theta )= 0
$$



and solving for $r$



$$
r(theta) = pmsqrt{a^2 cos (2 theta )pmfrac{sqrt{a^4 cos (4 theta )+3 a^4-2 c^4}}{sqrt{2}}}
$$



NOTE



Also another way to do that is to find the explicit dependence $y = g(x)$



Calling $x_2 = x^2, y_2 = y^2$ we have



$$
(x_2 + y_2)^2 - 2 a^2 (x_2 - y_2) - a^4 + c^4 = 0
$$



now solving for $y_2$



$$
y_2 = sqrt{2 a^4+4 a^2 x_2-c^4}-x_2-a^2
$$



then finally



$$
y = pmsqrt{sqrt{2 a^4+4 a^2 x^2-c^4}-x^2-a^2}
$$






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Well, this is the polar equation... But with this I would need to make a circular sweep to get the radius on each degree... I would like to know if there is any method to get the representation (a integer point) on the plane without getting the parametric equation. Thanks.
    $endgroup$
    – z3nth10n
    Dec 13 '18 at 23:02










  • $begingroup$
    @z3nth10n Please. See attached note.
    $endgroup$
    – Cesareo
    Dec 14 '18 at 0:13










  • $begingroup$
    Yep, this is what I did: wolframalpha.com/input/… as you can see: i.gyazo.com/0553fee37d290d178d2a2ab0f6957261.png thanks!
    $endgroup$
    – z3nth10n
    Dec 14 '18 at 0:15


















1












$begingroup$

With the present curve, after the change of variables



$$
x = rcostheta\
y = rsintheta
$$



we arrive to



$$
f(r,theta) = c^4+r^4-a^4 - 2 a^2 r^2 cos (2 theta )= 0
$$



and solving for $r$



$$
r(theta) = pmsqrt{a^2 cos (2 theta )pmfrac{sqrt{a^4 cos (4 theta )+3 a^4-2 c^4}}{sqrt{2}}}
$$



NOTE



Also another way to do that is to find the explicit dependence $y = g(x)$



Calling $x_2 = x^2, y_2 = y^2$ we have



$$
(x_2 + y_2)^2 - 2 a^2 (x_2 - y_2) - a^4 + c^4 = 0
$$



now solving for $y_2$



$$
y_2 = sqrt{2 a^4+4 a^2 x_2-c^4}-x_2-a^2
$$



then finally



$$
y = pmsqrt{sqrt{2 a^4+4 a^2 x^2-c^4}-x^2-a^2}
$$






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Well, this is the polar equation... But with this I would need to make a circular sweep to get the radius on each degree... I would like to know if there is any method to get the representation (a integer point) on the plane without getting the parametric equation. Thanks.
    $endgroup$
    – z3nth10n
    Dec 13 '18 at 23:02










  • $begingroup$
    @z3nth10n Please. See attached note.
    $endgroup$
    – Cesareo
    Dec 14 '18 at 0:13










  • $begingroup$
    Yep, this is what I did: wolframalpha.com/input/… as you can see: i.gyazo.com/0553fee37d290d178d2a2ab0f6957261.png thanks!
    $endgroup$
    – z3nth10n
    Dec 14 '18 at 0:15
















1












1








1





$begingroup$

With the present curve, after the change of variables



$$
x = rcostheta\
y = rsintheta
$$



we arrive to



$$
f(r,theta) = c^4+r^4-a^4 - 2 a^2 r^2 cos (2 theta )= 0
$$



and solving for $r$



$$
r(theta) = pmsqrt{a^2 cos (2 theta )pmfrac{sqrt{a^4 cos (4 theta )+3 a^4-2 c^4}}{sqrt{2}}}
$$



NOTE



Also another way to do that is to find the explicit dependence $y = g(x)$



Calling $x_2 = x^2, y_2 = y^2$ we have



$$
(x_2 + y_2)^2 - 2 a^2 (x_2 - y_2) - a^4 + c^4 = 0
$$



now solving for $y_2$



$$
y_2 = sqrt{2 a^4+4 a^2 x_2-c^4}-x_2-a^2
$$



then finally



$$
y = pmsqrt{sqrt{2 a^4+4 a^2 x^2-c^4}-x^2-a^2}
$$






share|cite|improve this answer











$endgroup$



With the present curve, after the change of variables



$$
x = rcostheta\
y = rsintheta
$$



we arrive to



$$
f(r,theta) = c^4+r^4-a^4 - 2 a^2 r^2 cos (2 theta )= 0
$$



and solving for $r$



$$
r(theta) = pmsqrt{a^2 cos (2 theta )pmfrac{sqrt{a^4 cos (4 theta )+3 a^4-2 c^4}}{sqrt{2}}}
$$



NOTE



Also another way to do that is to find the explicit dependence $y = g(x)$



Calling $x_2 = x^2, y_2 = y^2$ we have



$$
(x_2 + y_2)^2 - 2 a^2 (x_2 - y_2) - a^4 + c^4 = 0
$$



now solving for $y_2$



$$
y_2 = sqrt{2 a^4+4 a^2 x_2-c^4}-x_2-a^2
$$



then finally



$$
y = pmsqrt{sqrt{2 a^4+4 a^2 x^2-c^4}-x^2-a^2}
$$







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Dec 14 '18 at 0:12

























answered Dec 13 '18 at 19:50









CesareoCesareo

9,0863516




9,0863516












  • $begingroup$
    Well, this is the polar equation... But with this I would need to make a circular sweep to get the radius on each degree... I would like to know if there is any method to get the representation (a integer point) on the plane without getting the parametric equation. Thanks.
    $endgroup$
    – z3nth10n
    Dec 13 '18 at 23:02










  • $begingroup$
    @z3nth10n Please. See attached note.
    $endgroup$
    – Cesareo
    Dec 14 '18 at 0:13










  • $begingroup$
    Yep, this is what I did: wolframalpha.com/input/… as you can see: i.gyazo.com/0553fee37d290d178d2a2ab0f6957261.png thanks!
    $endgroup$
    – z3nth10n
    Dec 14 '18 at 0:15




















  • $begingroup$
    Well, this is the polar equation... But with this I would need to make a circular sweep to get the radius on each degree... I would like to know if there is any method to get the representation (a integer point) on the plane without getting the parametric equation. Thanks.
    $endgroup$
    – z3nth10n
    Dec 13 '18 at 23:02










  • $begingroup$
    @z3nth10n Please. See attached note.
    $endgroup$
    – Cesareo
    Dec 14 '18 at 0:13










  • $begingroup$
    Yep, this is what I did: wolframalpha.com/input/… as you can see: i.gyazo.com/0553fee37d290d178d2a2ab0f6957261.png thanks!
    $endgroup$
    – z3nth10n
    Dec 14 '18 at 0:15


















$begingroup$
Well, this is the polar equation... But with this I would need to make a circular sweep to get the radius on each degree... I would like to know if there is any method to get the representation (a integer point) on the plane without getting the parametric equation. Thanks.
$endgroup$
– z3nth10n
Dec 13 '18 at 23:02




$begingroup$
Well, this is the polar equation... But with this I would need to make a circular sweep to get the radius on each degree... I would like to know if there is any method to get the representation (a integer point) on the plane without getting the parametric equation. Thanks.
$endgroup$
– z3nth10n
Dec 13 '18 at 23:02












$begingroup$
@z3nth10n Please. See attached note.
$endgroup$
– Cesareo
Dec 14 '18 at 0:13




$begingroup$
@z3nth10n Please. See attached note.
$endgroup$
– Cesareo
Dec 14 '18 at 0:13












$begingroup$
Yep, this is what I did: wolframalpha.com/input/… as you can see: i.gyazo.com/0553fee37d290d178d2a2ab0f6957261.png thanks!
$endgroup$
– z3nth10n
Dec 14 '18 at 0:15






$begingroup$
Yep, this is what I did: wolframalpha.com/input/… as you can see: i.gyazo.com/0553fee37d290d178d2a2ab0f6957261.png thanks!
$endgroup$
– z3nth10n
Dec 14 '18 at 0:15




















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3038433%2fgiven-a-cartesian-equation-get-points-in-the-plane%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Willebadessen

Ida-Boy-Ed-Garten

Residenzschloss Arolsen