Plotting Implicit function of 1 variable

  • #1
joshmccraney
Gold Member
1,941
98

Main Question or Discussion Point

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.
 

Answers and Replies

  • #2
andrewkirk
Science Advisor
Homework Helper
Insights Author
Gold Member
3,836
1,418
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
 

Related Threads on Plotting Implicit function of 1 variable

Replies
2
Views
666
  • Last Post
Replies
3
Views
64K
Replies
2
Views
5K
Replies
4
Views
2K
Replies
10
Views
947
Replies
2
Views
4K
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
2
Views
7K
  • Last Post
Replies
1
Views
2K
Top