Implicit Differentiation Clarification

In summary, to solve for y in the equation y^{2}+3y-5=x, you use the chain rule to differentiate y(x)^2 with respect to x and get 2*y*dy/dx. Then you add dy/dx to the result to get y(x).
  • #1
Asphyxiated
264
0

Homework Statement



[tex] 2x^{2} - 3y^{2} = 4 [/tex]

Homework Equations


We say that y is an implicit function of x if we are given an equation:

[tex] \sigma(x,y) = \tau(x,y)[/tex]

Then to differentiate we do:

[tex] \frac {d(\sigma(x,y))} {dx} = \frac {d(\tau(x,y))} {dx} [/tex]

The Attempt at a Solution



[tex] 2x^{2} - 3y^{2} = 4 [/tex]

[tex] \frac {d(2x^{2} - 3y^{2})} {dx} = \frac {d(4)} {dx} [/tex]

[tex] 4x - 6y \frac {dy} {dx} = 0 [/tex]

[tex] -6y \frac {dy} {dx} = -4x [/tex]

[tex] \frac {dy} {dx} = \frac {4x} {6y} = \frac {2x} {3y} [/tex]

If this is correct, that's great, but I really do not understand why the [tex] \frac {dy} {dx} [/tex] gets put into the equation. Of course I understand its function but I really don't understand the rules that go along with placing it in the equation. If I add it to one side shouldn't I have to add it to the other?

If I am wrong, please tell me what I did wrong and how to fix it.

Thanks!
 
Physics news on Phys.org
  • #2
That is great. Sure, dy/dx is what you want to find, isn't it? I don't see why you think you 'added it to one side'. You just differentiated and solved for it. Didn't you? There's nothing odd or wrong about that.
 
  • #3
Well, I guess I mean after this:

[tex] \frac {d(2x^{2} - 3y^{2})} {dx} = \frac {d(4)} {dx} [/tex]

you get:

[tex] 4x - 6y \frac {dy} {dx} = 0 [/tex]

Where does the dy/dx come from? It's not leftover from the equation on the left side so I must have added it to the equation, and as far as I know, when you add (or subtract or anything) to/from one side you must also do it to the other. So that's where I am second guessing myself I suppose because it feels wrong to me to add it to the left and not the whole equation... if you get what I mean...
 
  • #4
You didn't 'add it'. You differentiated d(y^2)/dx and got 2*y*dy/dx using the chain rule. Or I at least sincerely hope you did. I'm now guessing you didn't. But that's what you should have done.
 
  • #5
um yeah I didn't, I mean I 'kind of' did, I took the derivative of [tex] 2x^{2}-3y^{2} [/tex] and then added dy/dx to the result because that's how it was explained in my book (note it didn't say to "add dy/dx" I just got that from the examples.) If possible could you further explain what you just said?
 
  • #6
Chain rule, man. f(y(x))'=f'(y(x))*y'(x). Look it up. f here is the squaring function. f(u)=u^2. So f'(u)=2u. f'(y(x))=2*y(x). y'(x)=dy/dx. Starting to make sense?
 
  • #7
Yeah, I guess I just never carried the thought process that far... but I am pretty sure I understand you now. In my equation x is the independent variable and y depends on x so y is actually y(x), am I thinking about this correctly now?
 
  • #8
Asphyxiated said:
Yeah, I guess I just never carried the thought process that far... but I am pretty sure I understand you now. In my equation x is the independent variable and y depends on x so y is actually y(x), am I thinking about this correctly now?

Right. So ((y(x))^2)'=2*y(x)*y'(x) where "'" is d/dx.
 
  • #9
Hey, whenever you get online can you help me out with this question Dick? It's the same type of question from the same section, I think I am just a little confused:

[tex] y = \frac {1} {(x+y)} [/tex]

[tex] \frac {d(y)} {dx} = \frac {d(\frac {1} {(x+y)})} {dx} [/tex]

[tex] \frac {dy} {dx} = - \frac {1} {(x+y)^{2}} * 1 + \frac {dy} {dx} [/tex]

At this point I would consider myself stuck, the only move I see is this:

[tex] \frac {dy} {dx} = - \frac {1} {(x+y)^{2}} + \frac {dy} {dx} [/tex]

[tex] \frac {dy} {dx} - \frac {dy} {dx} = - \frac {1} {(x+y)^{2}} [/tex]

and then you get 0 = which is not what I am trying to solve for obviously.. so I made a mistake some where, also I am not sure if

[tex] 1 + \frac {dy} {dx} [/tex]

in

[tex] \frac {dy} {dx} = - \frac {1} {(x+y)^{2}} * 1 + \frac {dy} {dx} [/tex]

should be considered a binomial such as:

[tex] \frac {dy} {dx} = - \frac {1} {(x+y)^{2}} * (1 + \frac {dy} {dx}) [/tex]

Hopefully that's not all too confusing..., thanks for the help in advance!

______________________________________________________________________

Another question just to check to see if I understand this:

[tex] y^{2} + 3y - 5 = x [/tex]

[tex] \frac {d(y^{2}+3y-5)} {dx} = \frac {d(x)} {dx} [/tex]

[tex] 2y \frac {dy} {dx} + 3 \frac {dy} {dx} = 1 [/tex]

[tex] \frac {dy} {dx}(2y +3) = 1 [/tex]

[tex] \frac {dy} {dx}(2y+3)-1 = 0 [/tex]

[tex] (2y+3)-1 = \frac {dy} {dx} [/tex]

I am not really sure if the last move is legal because 0 / anything is 0 so... is it more like this:

[tex] \frac {dy} {dx}(2y +3) = 1 [/tex]

[tex] \frac {dy} {dx} = \frac {1} {(2y+3)} [/tex]
 
Last edited:
  • #10
I think your main problem is just that your algebra is a little shakey. If it were more solid, you would know what's right and what's wrong. For the second one, this is correct,
[tex]
\frac {dy} {dx} = \frac {1} {(2y+3)}
[/tex]
for the first one this is correct,

[tex]
\frac {dy} {dx} = - \frac {1} {(x+y)^{2}} * (1 + \frac {dy} {dx})
[/tex].

Now you have to expand it and move all the dy/dx stuff to one side and everything else to the other side. The other stuff is just plain wrong algebraically, and as part of your algebra practice, you should tell me why they are wrong.

For example, why is going from here,

[tex]
\frac {dy} {dx}(2y+3)-1 = 0
[/tex]

to here,

[tex]
(2y+3)-1 = \frac {dy} {dx}
[/tex]

just plain dead wrong.
 
Last edited:
  • #11
Well to answer the last question you posed, the best answer I can give you as to why its wrong is that 0 divided by anything is going to 0, not my dy/dx, maybe there is more that I forgot as to why it is not legal to make that move.

Also after expanding the term in the first problem I gave you I get:

[tex] \frac {dy} {dx} = - \frac {1} {(x+y)^{2}} * (1 + \frac {dy}{dx}) [/tex]

[tex] \frac {dy} {dx} = - \frac {1} {(x+y)^{2}} - \frac {1} {(x+y)^{2}} (\frac {dy}{dx}) [/tex]

but after this step if I divide to move the dx/dy on the right to the left it will leave me with 1 on the left which is not correct either...

Also you are quite right about my algebra skills, algebra II is the last class I took in high school and then started teaching myself trig, but there was about a 4 year gap in between algebra II and starting trig... but thanks for all the help man!
 
  • #12
Ok, simpler question in the same form. Why don't x*a-1=0 and a-1=x have the same solution? That is essentially what you did with the question I posed. The simple answer to why it is illegal to make that move is that there is no legal way to make that rearrangement. Whatever is not legal is PROHIBITED. Besides, they give you different solutions for x. You have got to get those algebra skills up. Your math future depends on it.

[tex]
\frac {dy} {dx} = - \frac {1} {(x+y)^{2}} - \frac {1} {(x+y)^{2}} (\frac {dy}{dx})
[/tex]

goes to,

[tex]
\frac {dy} {dx} + \frac {1} {(x+y)^{2}} (\frac {dy}{dx})= - \frac {1} {(x+y)^{2}}
[/tex]

as a first step. Now can you solve for dy/dx?
 
Last edited:
  • #13
not exactly no... I briefly explored that option before posting my last posting, I have 'explored' it more since you confirm that was the direction I was suppose to go in but things get convoluted quickly here for me...

[tex] \frac {dy} {dx} + \frac {1} {(x+y)^{2}} (\frac {dy} {dx}) = - \frac {1} {(x+y)^{2}} [/tex]

[tex] \frac {dy} {dx} + \frac {dy} {dx} = \frac {- \frac {1} {(x+y)^{2}}} {\frac {1} {(x+y)^{2}}} [/tex]

then the large fraction on right becomes -1 and i think you could go:

[tex] \frac {dy} {dx} (1+1) = -1 [/tex]

and I could ultimately end up with dy/dx = -1/2 but I have no x or y variables left and again must be doing it wrong... sorry I am not catching on here man
 
  • #14
Ok. Your algebra, in fact, sucks. Big time. The left side becomes dy/dx*(1+1/(x+y)^2)). Just factor out the dy/dx. That is one of the few legal things you can do. That equals -1/(x+y)^2. Now you have an equation that is schematically a*(dy/dx)=b. Solve for dy/dx. And don't use voodoo.
 
Last edited:
  • #15
Alright man, I got to say, I don't know how I missed that, I'm usually pretty comfortable with factoring...but anyway I think this is right then...

[tex] \frac {dy} {dx} (1 + \frac {1} {(x+y)^{2}}) = - \frac {1} {(x+y)^{2}} [/tex]

[tex] \frac {dy} {dx} = \frac {- \frac {1} {(x+y)^{2}}} {(1 + \frac {1} {(x+y)^{2}})} [/tex]

yay or nay?
 
  • #16
Yay. You can simplify that a little bit. If you dare...
 
  • #17
I'll give it a shot, maybe find some redemption, although it could go terribly wrong as well, haha

[tex] \frac {dy} {dx} = \frac {- \frac {1} {(x+y)^{2}}} {(1 + \frac {1} {(x+y)^{2}})} [/tex]

[tex] \frac {dy} {dx} = -\frac {1} {(x+y)^{2}} * \frac {1 + (x+y)^{2}} {1} [/tex]

[tex] \frac {dy} {dx} = - \frac {1 + (x+y)^{2}} {(x+y)^{2}} [/tex]

[tex] \frac {dy} {dx} = - \frac {1} {(x+y)^{2}} + 1 [/tex]

that's what I got, I don't think there is any voodoo in there to speak of but as of right now, that confidence is kind of shaken
 
Last edited:
  • #18
Way wrong. Here's a trick that might help. Replace (x+y) with a number, like 2. Now figure out the value of the right side of each line. Where did it change from -1/5, the starting value to 3/4 the ending value? How many other values are in between? Where are the bad steps?
 
Last edited:
  • #19
ok how about this:

[tex] \frac {dy} {dx} = \frac {-\frac {1} {(x+y)^{2}}} {(1+\frac {1} {(x+y)^{2}})} [/tex]

[tex] \frac {dy} {dx} = \frac {-\frac {1} {(x+y)^{2}}} {\frac {(x+y)^{2}+1} {(x+y)^{2}}} [/tex]

[tex] \frac {dy} {dx} = -\frac {1} {(x+y)^{2}} * \frac {(x+y)^{2}} {(x+y)^{2}+1} [/tex]

[tex] \frac {dy} {dx} = -\frac {(x+y)^{2}} {(x+y)^{2}((x+y)^{2} +1)} [/tex]

[tex] \frac {dy} {dx} = -\frac {1} {(x+y)^{2} +1} [/tex]

I checked for consistency in the results all the way through, so I think that this is correct... NO VOODOO
 
Last edited:
  • #20
Now that's correct. No voodoo this time. If you put (x+y)=2, then the first line is -1/5 and the last line is -1/5. That's a pretty good check against voodoo, try checking numbers for a while, until you feel more confident.
 
  • #21
ok, going for broke here Dick, here is another problem, I am rather certain that it is correct and simplified.

[tex] xy^{3}=y+x [/tex]

[tex] \frac {d(xy^{3})} {dx} = \frac {d(y+x)} {dx} [/tex]

[tex] x*3y^{2}\frac{dy}{dx}+y^{3}=\frac {dy}{dx}+1 [/tex]

[tex] x * 3y^{2}\frac{dy}{dx} = \frac {dy}{dx} + 1 - y^{3} [/tex]

[tex] x * 3y^{2}\frac{dy}{dx} - \frac{dy}{dx} = 1 - y^{3} [/tex]

[tex] 3y^{2}\frac {dy}{dx}-\frac{dy}{dx} = \frac {1-y^{3}} {x} [/tex]

[tex] \frac{dy}{dx}(3y^{2} - 1) = \frac {1-y^{3}} {x} [/tex]

[tex] \frac {dy}{dx} = \frac {\frac {1-y^{3}}{x}} {3y^{2}-1} [/tex]

then simplified:

[tex] \frac {dy}{dx} = \frac {1-y^{3}} {x} * \frac {1} {3y^{2}-1} [/tex]

[tex] \frac {dy}{dx} = \frac {1-y^{3}} {(x)(3y^{2}-1)} [/tex]
 
  • #22
Goof alert here.

[tex]
x * 3y^{2}\frac{dy}{dx} - \frac{dy}{dx} = 1 - y^{3}
[/tex]

That's fine. But on the next line you tried to divide through by x, getting:

[tex]
3y^{2}\frac {dy}{dx}-\frac{dy}{dx} = \frac {1-y^{3}} {x}
[/tex]

That's wrong. The right side got divided by x, and the first term on the left got divided by x. The second one didn't. If you are going to divide by x, you have to divide EVERYTHING by x.
 
  • #23
ok so can I do it this way and make:

[tex] x * 3y^{2}\frac{dy}{dx} - \frac{dy}{dx} = 1 - y^{3} [/tex]

into

[tex] 3y^{2}x\frac{dy}{dx} - \frac {dy}{dx} = 1-y^{3} [/tex]

then

[tex] \frac {dy}{dx}(3y^{2}x-1) = 1-y^3 [/tex]

[tex] \frac {dy}{dx} = \frac {1-y^{3}} {3y^{2}x-1} [/tex]
 
  • #24
Asphyxiated said:
ok so can I do it this way and make:

[tex] x * 3y^{2}\frac{dy}{dx} - \frac{dy}{dx} = 1 - y^{3} [/tex]

into

[tex] 3y^{2}x\frac{dy}{dx} - \frac {dy}{dx} = 1-y^{3} [/tex]

then

[tex] \frac {dy}{dx}(3y^{2}x-1) = 1-y^3 [/tex]

[tex] \frac {dy}{dx} = \frac {1-y^{3}} {3y^{2}x-1} [/tex]

Now that looks right.
 
  • #25
Alright cool, that division step was the only thing that I questioned myself about and I was right that I was wrong... haha anyway, just to make sure, the end result is as simple as possible right? I don't see anything to be done but I wanted to make sure.

Anyway thanks once again!
 
  • #26
It's simple enough. Just stop making those dumb mistakes, ok?
 
  • #27
yeah man, I'll try
 
  • #28
So let's try this again, as long as it's ok with you:

[tex] y = \sqrt{xy+1} [/tex]

which is the same as:

[tex] y = (xy+1)^{1/2} [/tex]

so

[tex] \frac {d(y)}{dx} = \frac {d((xy+1)^{1/2})}{dx} [/tex]

[tex] \frac {dy}{dx} = \frac {1}{2} (xy+1)^{-1/2} * (x\frac{dy}{dx} + y) [/tex]

which is the same as:

[tex] \frac{dy}{dx} = \frac{1}{2} \frac{1}{\sqrt{xy+1}} * (x\frac{dy}{dx}+y) [/tex]

more simple:

[tex] \frac {dy}{dx}= \frac {1} {2\sqrt{xy+1}} * (x\frac{dy}{dx}+y) [/tex]

[tex] \frac {dy}{dx}= \frac{1}{2\sqrt{xy+1}}x\frac{dy}{dx}+\frac {1}{2\sqrt{xy+1}}y [/tex]

[tex] \frac {dy}{dx} - \frac {1}{2\sqrt{xy+1}}y = \frac{1}{2\sqrt{xy+1}}x\frac{dy}{dx} [/tex]

[tex] - \frac {1}{2\sqrt{xy+1}}y = \frac{1}{2\sqrt{xy+1}}x\frac{dy}{dx} - \frac {dy}{dx} [/tex]

[tex] - \frac {1}{2\sqrt{xy+1}}y =\frac{dy}{dx} (\frac {1}{2\sqrt{xy+1}}x - 1) [/tex]

[tex] \frac {-\frac{1}{2\sqrt{xy+1}}y} {\frac {1} {2\sqrt{xy+1}}x -1} = \frac {dy}{dx} [/tex]

which is to say:

[tex] \frac {-\frac{y}{2\sqrt{xy+1}}} {\frac {x} {2\sqrt{xy+1}} -1} = \frac {dy}{dx} [/tex]

then:

[tex] \frac {-\frac{y}{2\sqrt{xy+1}}} {\frac {x-2\sqrt{xy+1}} {2\sqrt{xy+1}}} = \frac {dy}{dx} [/tex]


[tex] -\frac {y} {2\sqrt{xy+1}} * \frac {2\sqrt{xy+1}} {x-2\sqrt{xy+1}} = \frac {dy}{dx}[/tex]

[tex] -\frac {(y)(2\sqrt{xy+1})} {(2\sqrt{xy+1})(x-2\sqrt{xy+1})} = \frac {dy}{dx} [/tex]

[tex] -\frac {y} {x-2\sqrt{xy+1}} = \frac {dy}{dx} [/tex]

so in summation:

[tex] \frac {dy}{dx} = -\frac {y} {x-2\sqrt{xy+1}} [/tex]

I'm feeling confident this time, are you?
 
  • #29
That looks correct.
 
  • #30
hoorah
 
  • #31
I am hoping my addition of binomials is correct:

[tex] xy^{2} - 3x^{2}y +x =1 [/tex]

[tex] \frac {d(xy^{2}-3x^{2}y+x)}{dx} = \frac {d(1)}{dx} [/tex]

[tex] (2yx\frac{dy}{dx}+y^{2}) - (3x^{2}\frac{dy}{dx}+6xy)+1 = 0 [/tex]

then I change the subtraction to addition and move the 1:

[tex] (2yx\frac{dy}{dx}+y^{2}) + (-3x^{2}\frac{dy}{dx}-6xy) = -1 [/tex]

[tex] 2yx\frac{dy}{dx} - 3x^{2}\frac{dy}{dx} +y^{2}-6xy = -1 [/tex]

[tex] 2yx\frac{dy}{dx} - 3x^{2}\frac{dy}{dx} +y^{2} = -1 + 6xy [/tex]

[tex] 2yx\frac{dy}{dx} - 3x^{2}\frac{dy}{dx} = -1 + 6xy - y^{2} [/tex]

[tex] \frac{dy}{dx}(2yx - 3x^{2}) = -1 + 6xy - y^{2} [/tex]

[tex] \frac{dy}{dx}= \frac {-1 + 6xy - y^{2}} {2yx - 3x^{2}} [/tex]
 
Last edited:
  • #32
I'm with you up to here:
[tex]
\frac{dy}{dx}= \frac {-1 + 6xy - y^{2}} {2yx - 3x^{2}}
[/tex]

That's good. It's actually good work, then you went completely off the radar using some algebra rule you apparently just made up. Will you stop doing that?
This is getting to the point were I'm going to have to ask you not only to show your steps but to show the justification for each step. Otherwise, you are never going to learn to self-check these steps. You do fine for a while and then you just make a completely bongo move. Do you know that the manipulations you do in algebra are largely confined to i) adding or subtracting the same quantity from both sides an equation and ii) multiplying or dividing both sides of an equation by the same quantity? They aren't just like, randomly rearranging symbols in vaguely plausible ways.

How would you justify the step after that where you just bleeped out an xy from the numerator and denominator?
 
Last edited:
  • #33
well I checked everything up to the point that I messed up, I thought that same values in the numerator and the denominator cancel. Since x*y = y*x and x=x and y=y. I definitely didn't just rearrange the symbols in vaguely plausible ways... but after checking the simplification (i will call it that) i see that I was wrong in that regard. Really the problem lies in me having to recall the correct way some step is done that I haven't used much recently, and vaguely remember from high school, I removed the two last steps since they are wrong

Not that it matters much since I evidently made up my own rule on this problem but did you look at the problem posted before this one? Pretty sure that one is 100% the first time around. I should just stop making assumptions when posting a problem. The last result I have on my board for the problem you just posted about is where you said that it was good. Usually I'll think that I see something else that can be done after I get it all written up and don't bother to check at that point... So, yeah
 
  • #34
Sure. The main point is you can add/subtract to both sides of equation as in a=b+c -> a-c=(b+c)-c -> a-c=b or you can multiply/divide in a similar pattern. That's all. Ask yourself if that's REALLY what you are doing before you do anything. Cancelling the xy doesn't fall into either of those categories. Then maybe you won't have to check so much.
 
  • #35
[tex] 2xy^{-2}+x^{-2} =y [/tex]

[tex] -4xy^{-3}\frac{dy}{dx} + 2y^{-2} - 2x^{-3} = \frac {dy}{dx} [/tex]

[tex] -4xy^{-3}\frac{dy}{dx} + 2y^{-2} = \frac {dy}{dx} + 2x^{-3} [/tex]

[tex] -4xy^{-3}\frac{dy}{dx} = \frac {dy}{dx} + 2x^{-3}- 2y^{-2} [/tex]

[tex] -4xy^{-3}\frac{dy}{dx} -\frac {dy}{dx} = 2x^{-3}- 2y^{-2} [/tex]

[tex] \frac{dy}{dx}(-4xy^{-3} -1) = 2x^{-3}- 2y^{-2} [/tex]

[tex] \frac{dy}{dx} = \frac {2x^{-3}- 2y^{-2}} {-4xy^{-3} -1} [/tex]
 
Back
Top