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

  • Thread starter Thread starter antinerd
  • Start date Start date
  • Tags Tags
    Derivative
Click For Summary
SUMMARY

The discussion focuses on finding the derivative dy/dx for the implicit equation x² + y² + ln(2) = xy. Participants emphasize the importance of applying implicit differentiation and the product rule correctly. The correct derivative is derived as dy/dx = (2x - y) / (x - 2y), highlighting the necessity of understanding both implicit differentiation and the chain rule. The conversation also touches on the implications of complex numbers in the context of the equation.

PREREQUISITES
  • Implicit differentiation
  • Product rule for derivatives
  • Chain rule for derivatives
  • Understanding of logarithmic functions
NEXT STEPS
  • Study implicit differentiation techniques in calculus
  • Learn the product rule for differentiating products of functions
  • Review the chain rule and its applications in differentiation
  • Explore the implications of complex numbers in calculus
USEFUL FOR

Students in calculus courses, educators teaching implicit differentiation, and anyone seeking to improve their understanding of derivatives involving multiple variables.

antinerd
Messages
41
Reaction score
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
ln(2) and xy can be derived as well
 
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?
 
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
 
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
 
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?
 
have you learned the product rule?

f(x)g(x) = f'(x)g(x) + g'(x)f(x)
 
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.
 
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 5x^3 would be 15x^2(\frac{dx}{dx})=15x^2.
The derivative w.r.t. x of 4y^3, however would be 12y^2(\frac{dx}{dy}). The \frac{dx}{dy} 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
x^2+y^2+ln(2)=xy

Now how about an easier one to start. Can you try to implicitly differentiate
x^2+y^2=1 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
x^2+y^2+ln(2)=xy

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


x^2+y^2=1

2x + y^2 = 1

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

2x + y^2 = 1

?

2x is good.
Now what about y^2? what happened to its derivative? Apply the power rule nx^{n-1} 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 y^2? what happened to its derivative? Apply the power rule nx^{n-1} 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...
\frac{d}{dx}(y^3) = \frac{d}{dy}(y^3) * \frac{dy}{dx} = 3y^2 * \frac{dy}{dx}


Example of product rule...
\frac{d}{dx}(x^3y^2) = <br /> (\frac{d}{dx}(x^3))(y^2) + (x^3)(\frac{d}{dx}(y^2))<br /> =3x^2y^2 + x^3(2y*\frac{dy}{dx})<br /> =3x^2y^2 + 2x^3y*\frac{dy}{dx}
 
  • #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 x^2 + y^2 + \ln 2 = xy has no real solutions...

*Proof: Assume x,y \in \mathbb{R}
then x^2 + y^2 + \ln 2 = xy \Rightarrow x^2 + y^2 &lt; xy

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

Because x^2 + y^2 + \ln 2 = xy has no real solutions...

*Proof: Assume x,y \in \mathbb{R}
then x^2 + y^2 + \ln 2 = xy \Rightarrow 0 \leqslant x^2 + y^2 &lt; xy \Rightarrow 0 &lt; xy

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

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 x^2 + y^2 + \ln 2 = xy has no real solutions...

*Proof: Assume x,y \in \mathbb{R}
then x^2 + y^2 + \ln 2 = xy \Rightarrow x^2 + y^2 &lt; xy

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

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?
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 25 ·
Replies
25
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 24 ·
Replies
24
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
1K
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K