Plotting Implicit function of 1 variable

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 replies · 2K views
member 428835
Hi PF!

I am trying to plot a difficult implicit function, but for ease let's pretend that function is ##y^5\sqrt{1-x}+yx+1 = 0##. I want to plot ##Re(y)## as a function of ##x:x\in[0,2]##. I am using MATLAB. Do you think the best way to plot this is to assign ##x## a value in the domain, use Newton's method to find the zeros, record the found zeros, and reiterate?

Or do you recommend some software package? I made a post similar to this in Mathematica but no solution is available, so I've switched to MATLAB.
 
on Phys.org
joshmccraney said:
Hi PF!

I am trying to plot a difficult implicit function, but for ease let's pretend that function is ##y^5\sqrt{1-x}+yx+1 = 0##. I want to plot ##Re(y)## as a function of ##x:x\in[0,2]##. I am using MATLAB. Do you think the best way to plot this is to assign ##x## a value in the domain, use Newton's method to find the zeros, record the found zeros, and reiterate?

Or do you recommend some software package? I made a post similar to this in Mathematica but no solution is available, so I've switched to MATLAB.
I'd be surprised if Mathematica can't do it, since Wolfram Alpha is a cut-down version of Mathematica, and that can do it:

http://www.wolframalpha.com/input/?i=plot+y^5*sqrt(1-x)++x*y+++1+=+0