Rearranging functions/inverse relationships

  • Thread starter Thread starter adron
  • Start date Start date
  • Tags Tags
    Relationships
adron
Messages
5
Reaction score
0

Homework Statement


Say z = f(x,y) where x = r cos(theta) and y = r sin(theta), how would I go about rearranging this to find r(x,y)?


Homework Equations





The Attempt at a Solution


I thought maybe I should find r in terms of x and y and then equate them, but I don't think that's right.. a point in the right direction would be much appreciated.
 
Physics news on Phys.org
What's x^2+y^2? Find a trig identity to use on that expression in terms of r and theta.
 
Ok, so now I have
r = (x^2 + y^2)/sqrt(cos^2 theta + sin^2 theta)

since x^2 + y^2 = 1.

Is that correct? And is that the same as r(x,y)?
 
adron said:
Ok, so now I have
r = (x^2 + y^2)/sqrt(cos^2 theta + sin^2 theta)

since x^2 + y^2 = 1.

Is that correct? And is that the same as r(x,y)?

x^2+y^2=r^2*(sin(theta)^2+cos(theta)^2). Isn't that what you mean??
 
x^2 + y^2 = 1 doesn't it?
so then (r cos(theta))^2 + (r sin(theta))^2 = 1 = x^2 + y^2
And then I just rearranged them to find r in terms of x,y.
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top