1
$\begingroup$

I wanted to understand how does one plot graphs for cubic functions.

for example ,

$y^2 = x^3 + 2x + 10$

Since this is a cubic function , i understand for every x value , y has a reflection along the x axis. Question being how does one compute the y when x is negative. Since you then end up with square root of a negative number. I am not sure what more i can try to solve this.

$\endgroup$
3
  • $\begingroup$ You don't. Elliptic curves aren't plotted when the expression in $x$ is negative. $\endgroup$ – Parcly Taxel Feb 5 '17 at 0:09
  • $\begingroup$ @parcly Taxel :Sorry , that begs the question how was this plotted : en.wikipedia.org/wiki/Mordell_curve $\endgroup$ – Bobo Feb 5 '17 at 0:11
  • 1
    $\begingroup$ Just for the record, $x$ can be negative and $x^{3}+2x+10$ (for example) can still be positive. For example, $(-1,\sqrt{7})$ and $(-1,-\sqrt{7})$ are two points on the curve $y^{2}=x^{3}+2x+10.$ As for "how to plot the curve," plotting curves of the form $y^{2}=f(x)$ is something that is sometimes taught in high school. Typically it involves first plotting $y=f(x),$ seeing where the roots are, making things curvy according to certain rules and plotting something that is symmetric across the $x$-axis. $\endgroup$ – Will R Feb 5 '17 at 0:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.