Jump to content
  • Advertisement
Sign in to follow this  
UK_Pablo

Is this right?

This topic is 4262 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi all, I was searching for some info on the chain rule and came across an old post asking how to differentiate the following formula x^2 + y^2 = 4 Now not quite sure what they were on about, but i did it this way. Just want to know if i worked it out right. x^2 + y^2 -4 = 0 sqrt(4-x^2) = y so sub (4-x^2) with a letter, say u sqrt(u) = y : y' = 1/2u^-1/2 u' = 4-x^2 : 2x put it all back together and i got y' = 1/2(sqrt(4-x^2)^-1/2) * 2x which is the same as y' = x*sqrt(4-x^2)^-1/2 Was I any where near right? Thanks in advance.

Share this post


Link to post
Share on other sites
Advertisement
You got: y' = x*sqrt(4-x^2)^-1/2

u' should be negative 2x right? and the ^-1/2 stands for sqrt(), so you should have

y' = -x/sqrt(4-x^2)

by my calculations.

I'm guessing you had x*(4-x^2)^-1/2 and you thought "beauty, 1/2 means sqrt()", and put your sqrt() in, forgetting to change the ^-1/2 to ^-1, which puts it on the denominator.

Share this post


Link to post
Share on other sites
Be careful folks. This looks like schoolwork. Answer the question about whether the solution is basically correct, but do not provide detailed corrections! Remember, this forum is for game development math, not school!

Forum FAQ

Share this post


Link to post
Share on other sites
Quote:
Original post by UK_Pablo
Hi all,

I was searching for some info on the chain rule and came across an old post asking how to differentiate the following formula x^2 + y^2 = 4

What does it mean to differentiate a formula?

Share this post


Link to post
Share on other sites
Quote:
Original post by alvaro
Quote:
Original post by UK_Pablo
Hi all,

I was searching for some info on the chain rule and came across an old post asking how to differentiate the following formula x^2 + y^2 = 4

What does it mean to differentiate a formula?


Not much, without saying which variable you are differentiating with respect to.
If you differentiate that formula with respect to z, or penguin, you get 0.

Share this post


Link to post
Share on other sites
Well, in the most basic way, you can derive a formula without accounting for a particular variable.

for instance:

x = 5y + 2z2 + 5
dx = 5dy + 4zdz

is still a useful form.

Share this post


Link to post
Share on other sites
That's not the tidiest way to calculate dy/dx. Note that the square-root function is not invertible (so you will have two solutions) and you have to perform a case-analysis on the sign of (4 - x²) if you're worried about getting complex solutions.

Implicit formulas don't, in general, give unique explicit expressions for derivatives. If the results are satisfactory, I highly recommend you look to implicit differentiation for a single-valued answer.

Regards
Admiral

Share this post


Link to post
Share on other sites
Quote:
Original post by grhodes_at_work
Be careful folks. This looks like schoolwork. Answer the question about whether the solution is basically correct, but do not provide detailed corrections! Remember, this forum is for game development math, not school!



sorry mate

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!