What is the derivative for x^2 + y^2 + ln(2) = xy?

  • Thread starter antinerd
  • Start date
  • Tags
    Derivative
In summary, the homework statement is to find dy/dx in terms of x and y. The Attempt at a Solution is to try and find the answer to the equation x+y=1. The correct derivative for xy is the product rule, and implicit differentiation is needed to apply it. The final equation is x+y=1.
  • #1
antinerd
41
0

Homework Statement




Find dy/dx in terms of x and y


Homework Equations




x^2 + y^2 + ln(2) = xy


The Attempt at a Solution




I'm pretty sure I did it right, but I am wondering if I was supposed to take the derivative of everything:

2x + 2y = 1

Is that the correct derivative? If so, then I'm good to go...
 
Physics news on Phys.org
  • #2
ln(2) and xy can be derived as well
 
  • #3
rocophysics said:
ln(2) and xy can be derived as well

Didn't I already derive xy? It's 1 right?

And isn't ln(2) a constant?
 
  • #4
xy = product rule ... are you doing implicit/explicit differentiation? y' if you are.

ln(2) ... i forgot, been a while since I've taken Calculus
 
  • #5
rocophysics said:
xy = product rule ... are you doing implicit/explicit differentiation? y' if you are.

ln(2) ... i forgot, been a while since I've taken Calculus

It just says: "Find dy/dx"

So, OK, let me correct the dy/dx xy:

so it's y + x

Now, can the answer be written thus:

x + y = 1 ??

And would I have to write it like this:

dy/dx x+y = 1 dy/dx
 
  • #6
antinerd said:
It just says: "Find dy/dx"

So, OK, let me correct the dy/dx xy:

so it's y + x

Now, can the answer be written thus:

x + y = 1 ??

And would I have to write it like this:

dy/dx x+y = 1 dy/dx

Where is this "1" coming from? And that still isn't the correct derivative of xy, you need to use the product rule. What is the derivative of y with respect to x?
 
  • #7
have you learned the product rule?

f(x)g(x) = f'(x)g(x) + g'(x)f(x)
 
  • #8
You need to take partial derivatives, and in the process of doing this, you will get dy/dx 's in your equation. Then group like terms and solve for dy/dx. Have you learned about partial derivatives? The product rule mention above will be helpful in the process, as well.
 
  • #9
abelian jeff said:
You need to take partial derivatives, and in the process of doing this, you will get dy/dx 's in your equation. Then group like terms and solve for dy/dx. Have you learned about partial derivatives? The product rule mention above will be helpful in the process, as well.

Alright hold up.
 
  • #10
abelian jeff said:
You need to take partial derivatives, and in the process of doing this, you will get dy/dx 's in your equation. Then group like terms and solve for dy/dx. Have you learned about partial derivatives? The product rule mention above will be helpful in the process, as well.

I'd imagine this problm is showing up in the context of a calulus one class after a lesson on implicit differentiation, hence the original poster has probably never encountered partial derivatives before, and has no reason at all to find them for this problem, I don't understand why you think he needs to take partial derivatives.
 
  • #11
Crap, you're right, I made a typo. I meant to type implicit, not partial. Apologies.
 
  • #12
rocophysics said:
have you learned the product rule?

f(x)g(x) = f'(x)g(x) + g'(x)f(x)

Not to be nitpicky, but I think what rocophysics meant was
(fg)'(x)=f'(x)g(x) + g'(x)f(x)

I don't go looking to correct peoples' mistakes, however I know how difficult learning new notations can be. If we all start out on the same page, it will be easier down the road.

Casey
 
  • #13
The thing that I'm not getting is how to get from

2x + 2y + ln2 = xy

to

d/dx (2x + 2y + ln2) = xy

and what to do after that, and what to do with the other side of the equation...
 
  • #14
Can someone show me a small example of how to do these derivatives?
 
  • #15
If you take the derivative with respect to x of the left hand side of the equation, you have to take it of the right hand side, too.

However, simply writing d/dx on the left side there isn't enough. You need to take the derivative with respect to x to each of the summands on the left side (and, of course, the right side of the equation too).

For instance, the derivative w.r.t. x of [tex]5x^3[/tex] would be [tex]15x^2(\frac{dx}{dx})=15x^2.[/tex]
The derivative w.r.t. x of [tex]4y^3[/tex], however would be [tex]12y^2(\frac{dx}{dy})[/tex]. The [tex]\frac{dx}{dy}[/tex] remains in this case.

You have learned about implicit differentiation, correct?
 
Last edited:
  • #16
antinerd said:
The thing that I'm not getting is how to get from

2x + 2y + ln2 = xy

to

d/dx (2x + 2y + ln2) = xy

and what to do after that, and what to do with the other side of the equation...

Let's start over. You are being asked to implicitly differentiate the function
[tex]x^2+y^2+ln(2)=xy[/tex]

Now how about an easier one to start. Can you try to implicitly differentiate
[tex]x^2+y^2=1[/tex] with respect to x?
 
  • #17
You want d/dx(x^2 + y^2 + ln(2)) = d/dx(xy). Split this into four derivatives and I'm sure anyone here will jump on anyone you get wrong.
 
  • #18
abelian jeff said:
If you take the derivative with respect to x of the left hand side of the equation, you have to take it of the right hand side, too.

However, simply writing d/dx on the left side there isn't enough. You need to take the derivative with respect to x to each of the summands on the left side (and, of course, the right side of the equation too).

For instance, the derivative w.r.t. x of 5x^3 would be 15x^2(dx/dx)=15x^2.
The derivative w.r.t. x of 4y^3, however would be 12y^2(dy/dx). The dy/dx remains in this case.

You have learned about implicit differentiation, correct?

Yeah, I have. But I suck at life.

So what about this for starters:

d/dx (x^2 + y^2 + ln2) = (xy) d/dx

would I then do:

2 + 2y (d/dx) + 0 = xy d/dx

?
 
  • #19
Saladsamurai said:
Let's start over. You are being asked to implicitly differentiate the function
[tex]x^2+y^2+ln(2)=xy[/tex]

Now how about an easier one to start. Can you try to implicitly differentiate
[tex]x^2+y^2=1[/tex] with respect to x?


[tex]x^2+y^2=1[/tex]

2x + y^2 = 1

?
 
  • #20
And what about finding dy/dx in terms of x AND y?
 
  • #21
antinerd said:
[tex]x^2+y^2=1[/tex]

2x + y^2 = 1

?

2x is good.
Now what about [tex]y^2[/tex]? what happened to its derivative? Apply the power rule [tex]nx^{n-1}[/tex] and then we'll apply the chain rule.

Also what is the derivative of a constant (1)?
Remember that when differentiating implicitly, we are differentiaiting the ENTIRE function with respect to x.
 
  • #22
Saladsamurai said:
Not to be nitpicky, but I think what rocophysics meant was
(fg)'(x)=f'(x)g(x) + g'(x)f(x)

I don't go looking to correct peoples' mistakes, however I know how difficult learning new notations can be. If we all start out on the same page, it will be easier down the road.

Casey
no prob, I'm picky as well
 
  • #23
Saladsamurai said:
2x is good.
Now what about [tex]y^2[/tex]? what happened to its derivative? Apply the power rule [tex]nx^{n-1}[/tex] and then we'll apply the chain rule.

Also what is the derivative of a constant (1)?
Remember that when differentiating implicitly, we are differentiaiting the ENTIRE function with respect to x.

But if it's with RESPECT to x, don't you just derive the terms with x?

But to answer your question, it's:

2x + 2y = 0

correct?
 
  • #24
antinerd said:
But if it's with RESPECT to x, don't you just derive the terms with x?

But to answer your question, it's:

2x + 2y = 0

correct?

No that is not true, you're forgetting the chain rule. What is the derivative of y2 if y is a function of x?
 
  • #25
Remember that d/dx (y) = dy/dx

To take the derivative of y^3 for example you use the chain rule...
[tex]\frac{d}{dx}(y^3) = \frac{d}{dy}(y^3) * \frac{dy}{dx} = 3y^2 * \frac{dy}{dx}[/tex]


Example of product rule...
[tex]\frac{d}{dx}(x^3y^2) =
(\frac{d}{dx}(x^3))(y^2) + (x^3)(\frac{d}{dx}(y^2))
=3x^2y^2 + x^3(2y*\frac{dy}{dx})
=3x^2y^2 + 2x^3y*\frac{dy}{dx}[/tex]
 
  • #26
antinerd said:
But if it's with RESPECT to x, don't you just derive the terms with x?

correct?
No because everything except the constant varies with x. if you wanted you could rewrite the equation EXPLICITLY in terms of y to get y=sqrt(1-x^2) and then take the derivative...but we want to do it IMPLICITLY.

WRT x means "as x changes), not just the terms involving x 'matter'
antinerd said:
But if it's with RESPECT to x, don't you just derive the terms with x?

But to answer your question, it's:

2x + 2y = 0

correct?
You are close, but we want the derivative of y^2 wrt x, so we need to apply the chain rule. Do you know the chain rule d/dx [u^2]=2u*du/dx
 
  • #27
So in the case of y^2 it is 2y times the derivative of y wrt x ...and that is just dy/dx
 
  • #28
antinerd said:

Homework Equations



x^2 + y^2 + ln(2) = xy
Are you sure you wrote that down correctly?

Because [tex]x^2 + y^2 + \ln 2 = xy[/tex] has no real solutions...

*Proof: Assume [tex]x,y \in \mathbb{R}[/tex]
then [tex] x^2 + y^2 + \ln 2 = xy \Rightarrow x^2 + y^2 < xy[/tex]

>However, since [itex]x=y \vee x \ne y[/itex],
[tex]\begin{gathered}
{\text{1)}}\;x = y \Rightarrow x^2 + y^2 < xy \Leftrightarrow 2x^2 < x^2 ,\;{\text{which}}\;{\text{is a contradiction}} \hfill \\
{\text{2)}}\;x \ne y \Rightarrow \left| x \right| < \left| y \right| \vee \left| x \right| > \left| y \right| \hfill \\
{\text{ }}\left| x \right| < \left| y \right| \Rightarrow xy < y^2 \Rightarrow xy < x^2 + y^2 \hfill \\
{\text{ }}\left| x \right| > \left| y \right| \Rightarrow x^2 > xy \Rightarrow x^2 + y^2 > xy \hfill \\
{\text{ Both of these contradict }}x^2 + y^2 < xy \hfill \\
\end{gathered} [/tex]
 
Last edited:
  • #29
bomba923 said:
Are you sure you wrote that down correctly?

Because [tex]x^2 + y^2 + \ln 2 = xy[/tex] has no real solutions...

*Proof: Assume [tex]x,y \in \mathbb{R}[/tex]
then [tex]x^2 + y^2 + \ln 2 = xy \Rightarrow 0 \leqslant x^2 + y^2 < xy \Rightarrow 0 < xy[/tex]

>However, since [itex]x=y \vee x \ne y[/itex],
[tex]\begin{gathered}
{\text{1)}}\;x = y \Rightarrow x^2 + y^2 < xy \Leftrightarrow 2x^2 < x^2 ,\;{\text{which}}\;{\text{is a contradiction}} \hfill \\
{\text{2)}}\;x \ne y \Rightarrow \left| x \right| < \left| y \right| \vee \left| x \right| > \left| y \right| \hfill \\
{\text{ }}\left| x \right| < \left| y \right| \Rightarrow \left| {xy} \right| < y^2 \Rightarrow \left| {xy} \right| < x^2 + y^2 \Rightarrow xy < x^2 + y^2 \because xy > 0 \hfill \\
{\text{ }}\left| x \right| > \left| y \right| \Rightarrow x^2 > \left| {xy} \right| \Rightarrow x^2 + y^2 > \left| {xy} \right| \Rightarrow x^2 + y^2 > xy\because xy > 0 \hfill \\
{\text{ Both of these contradict }}x^2 + y^2 < xy \hfill \\
\end{gathered} [/tex]

Good point! I guess we can assume x and y are complex... :confused: I don't think it affects the implicit differentiation does it?
 
  • #30
bomba923 said:
Am I the only one who found this strange?

Are you sure you wrote that down correctly?

Because [tex]x^2 + y^2 + \ln 2 = xy[/tex] has no real solutions...

*Proof: Assume [tex]x,y \in \mathbb{R}[/tex]
then [tex] x^2 + y^2 + \ln 2 = xy \Rightarrow x^2 + y^2 < xy[/tex]

>However, since [itex]x=y \vee x \ne y[/itex],
[tex]\begin{gathered}
{\text{1)}}\;x = y \Rightarrow x^2 + y^2 < xy \Leftrightarrow 2x^2 < x^2 ,\;{\text{which}}\;{\text{is a contradiction}} \hfill \\
{\text{2)}}\;x \ne y \Rightarrow \left| x \right| < \left| y \right| \vee \left| x \right| > \left| y \right| \hfill \\
{\text{ }}\left| x \right| < \left| y \right| \Rightarrow xy < y^2 \Rightarrow xy < x^2 + y^2 \hfill \\
{\text{ }}\left| x \right| > \left| y \right| \Rightarrow x^2 > xy \Rightarrow x^2 + y^2 > xy \hfill \\
{\text{ Both of these contradict }}x^2 + y^2 < xy \hfill \\
\end{gathered} [/tex]

Yeah, well, that's the question that's written down...

Hmm... I guess it doesn't really matter. Does it even affect what I will get as a derivative?
 
  • #31
Saladsamurai said:
You are close, but we want the derivative of y^2 wrt x, so we need to apply the chain rule. Do you know the chain rule d/dx [u^2]=2u*du/dx

How can I use the chain rule here?
 
  • #32
antinerd said:
How can I use the chain rule here?

See post #25.
 
  • #33
learningphysics said:
Good point! I guess we can assume x and y are complex...
All real numbers are complex; perhaps you meant, "assume x or y have nonzero imaginary coefficients?"
learningphysics said:
:confused: I don't think it affects the implicit differentiation does it?
You can still implicitly differentiate 'y' with respect to 'x' in [tex]x^2 + y^2 + \ln 2 = xy[/tex]
to obtain
[tex]y' = \frac{{2x - y}}{{x - 2y}}[/tex]
with simple poles spanning the (complex) line [tex]x = 2y[/tex] as expected
antinerd said:
Yeah, well, that's the question that's written down...

Hmm... I guess it doesn't really matter. Does it even affect what I will get as a derivative?
There is not much difference if you set your domain to be [tex]\mathbb{C}^2 - \mathbb{R}^2[/tex];
otherwise your original equation cannot solve your derivative (i.e, with domain [tex]\mathbb{R}^2[/tex])
 
Last edited:
  • #34
OK so, guys, I just want to thank you for the help so far :)

This is getting the dx/dy with respect to x and y, correct?

x^2 + y^2 + ln2 = xy

(d/dx) x2 + (d/dx) y^2 + (d/dx) ln2 = (d/dx) xy

2x + 2y dy/dx + 0 = y + x dy/dx

Is this correct so far? If not, what am I doing wrong? I would appreciate corrections :)
 
  • #35
You're writing things like (dy/dx)y^2 when you should be writing (d/dx)y^2.

The first is multipying a function dy/dx by another function y^2, the second is applying the derivative operator d/dx to the function y^2, which is what you should be doing.
 

Similar threads

  • Calculus and Beyond Homework Help
Replies
6
Views
547
  • Calculus and Beyond Homework Help
Replies
14
Views
231
  • Calculus and Beyond Homework Help
Replies
25
Views
333
  • Calculus and Beyond Homework Help
Replies
2
Views
537
  • Calculus and Beyond Homework Help
Replies
24
Views
2K
  • Calculus and Beyond Homework Help
Replies
4
Views
104
  • Calculus and Beyond Homework Help
Replies
11
Views
818
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
490
  • Calculus and Beyond Homework Help
Replies
5
Views
538
Back
Top