Implicit differentiation (beginner)

In summary, Ray Vickson said that the chain rule means to differentiate y2, with respect to x, by multiplying 2y and y^2.
  • #1
quicksilver123
173
0
Homework Statement

Find y' ...
X^2+y^2=25I understand (I think) implicit differentiation, but there is one issue which hangs me up. I've done this before and this is just a refresher as my last calculus course was four years ago.
From what I understand,

2x+2y(y')=0

But why isn't it 2x+2y(y^2)=0. ?
Sorry for not using the notation format but I'm in a bit of a rush.
 
Last edited:
Physics news on Phys.org
  • #2
Hi, because the derivative of ##x^2## is ##2x##. By the derivative of composition ##(f(g(x)))'=f'(g(x))g'(x)## you obtain the first result (##2x+2y(y')=0##) where the second addendum is a composition with ##f(x)=x^{2}## and ##g(x)=y(x)## and you must use the rule before ...

Ssnow
 
  • #3
I'm sorry, but that didn't clarify anything for me :/
 
  • #4
quicksilver123 said:
But why isn't it 2x+2y(y^2)=0. ?
y is a function of x, so y2 is a composite function, like sin(x2), for example. How would you differentiate it?
 
  • #5
In your equation after the first addendum you must derive ## y^2## that is ##(y(x))^2## so a composition of functions ... Using the rule before ##(f(g(x)))'=((y(x))^{2})'=f'(g(x))g'(x)=2(y(x))\cdot (y'(x))=2yy'## ...
 
  • #6
ehild said:
y is a function of x, so y2 is a composite function, like sin(x2), for example. How would you differentiate it?

Erm... well here's my thought process:Here's the original equation that I want to apply differentiation to:
x2+y2=25

I differentiate x2:

2x+y2=25

I differentiate 25.

2x+y2=0

I now want to differentiate y2
I suppose this is where I run into trouble as in most previous cases, I would isolate "y" and differentiate from that point. However, implicit differentiation seems to be "x" in terms of "y," and as a helper mentioned above, this is a composition of functions. This is where I lose the thread.
I want to say:

2x+2y(y2)=0

As this is the chain rule as I understand it. I applied the derivative of the term y2 and the result was 2y. I multiply this by the original expression (y^2). The product of 2y and y^2 would be the derivative of y^2 in this case. I'm applying the logic of a composition function in its barest sense here and it may not jive with implicit differentiation.
 
  • #7
quicksilver123 said:
Erm... well here's my thought process:Here's the original equation that I want to apply differentiation to:
x2+y2=25

I differentiate x2:

2x+y2=25

I differentiate 25.

2x+y2=0

I now want to differentiate y2
I suppose this is where I run into trouble as in most previous cases, I would isolate "y" and differentiate from that point. However, implicit differentiation seems to be "x" in terms of "y," and as a helper mentioned above, this is a composition of functions. This is where I lose the thread.
I want to say:

2x+2y(y2)=0

As this is the chain rule as I understand it. I applied the derivative of the term y2 and the result was 2y. I multiply this by the original expression (y^2). The product of 2y and y^2 would be the derivative of y^2 in this case. I'm applying the logic of a composition function in its barest sense here and it may not jive with implicit differentiation.

Whoever told you that you differentiate fine ##dy^2/dx## by multiplying ##2y## and ##y^2## was lying to you; certainly, nobody on this Forum ever told you such a thing.

To get it right, it may be helpful to you to apply the somewhat imperfect (but still useful and revealing) form of the chain rule:
$$\frac{d y^2}{dx} = \frac{d y^2}{dy} \cdot \frac{dy}{dx}$$.
More generally, for ##F(x) = f(g(x))##:
$$\frac{dF}{dx} = \frac{df}{dg} \cdot \frac{dg}{dx}$$
You can think of this as "cancelling the ##dg##s:
$$ \frac{d f(g)}{dx} = \frac{df}{d\not g} \cdot \frac{d\not g}{dx} $$.

This is actually shorthand for
$$ \frac{d}{dx} f(g(x)) = f'(g(x)) g'(x) \equiv \left. \frac{df(u)}{du}\right|_{u = g(x)} \cdot \frac{dg(x)}{dx} $$
 
  • #8
?
I thought the chain rule meantf(x)=(2x)^1/2
f'(x)=(1/2(2x')(2x))^-(1/2)
f'(x)=(1/2(2)(2x))^-(1/2)
f'(x)=2x^(-1/2)
 
  • #9
quicksilver123 said:
?
I thought the chain rule meantf(x)=(2x)^1/2
f'(x)=(1/2(2x')(2x))^-(1/2)
f'(x)=(1/2(2)(2x))^-(1/2)
f'(x)=2x^(-1/2)

$$\frac{d (2x)^{1/2}}{dx} = \frac{(2x)^{1/2}}{d (2x)} \frac{d (2x)}{dx}$$
Since ##d u^{1/2}/du = (1/2) u^{-1/2}## we have ##d (2x)^{1/2} /d (2x) = (1/2)(2x)^{-1/2}##. Altogether, we have
$$d(2x)^{1/2}/dx = (1/2)(2x)^{-1/2} \cdot 2 = (2x)^{-1/2} = (1/\sqrt{2}) x^{-1/2}$$.
 
Last edited:
  • #10
Since there are two variables involved in the equation ##x^2 + y^2 = 25## it's important to be clear with respect to which variable you're differentiating.
Ssnow said:
Hi, because the derivative of x^2 is 2x
The derivative, with respect to x...

quicksilver123 said:
I differentiate x2
... with respect to x...

quicksilver123 said:
I now want to differentiate y2
... with respect to x.
If you differentiate y2, with respect to y, you get 2y. However, if you differentiate y2, with respect to x, you have to use the chain rule, as Ray Vickson showed near the beginning of his comments in post #7.
 
  • Like
Likes Ssnow
  • #11
Ray Vickson said:
Whoever told you that you differentiate fine ##dy^2/dx## by multiplying ##2y## and ##y^2## was lying to you; certainly, nobody on this Forum ever told you such a thing.

To get it right, it may be helpful to you to apply the somewhat imperfect (but still useful and revealing) form of the chain rule:
$$\frac{d y^2}{dx} = \frac{d y^2}{dy} \cdot \frac{dy}{dx}$$.
More generally, for ##F(x) = f(g(x))##:
$$\frac{dF}{dx} = \frac{df}{dg} \cdot \frac{dg}{dx}$$
You can think of this as "cancelling the ##dg##s:
$$ \frac{d f(g)}{dx} = \frac{df}{d\not g} \cdot \frac{d\not g}{dx} $$.

This is actually shorthand for
$$ \frac{d}{dx} f(g(x)) = f'(g(x)) g'(x) \equiv \left. \frac{df(u)}{du}\right|_{u = g(x)} \cdot \frac{dg(x)}{dx} $$
Erm...

Chain Rule..

f(g(x))=(f' * (g(x)) * f'(x)

where f' is the derivative of the outer function
(x) is the evaluated inner function
and g'x is the derivative of the inner function
 
  • #12
quicksilver123 said:
Erm...

Chain Rule..

f(g(x))=(f' * (g(x)) * f'(x)

where f' is the derivative of the outer function
(x) is the evaluated inner function
and g'x is the derivative of the inner function

What you wrote is wrong; you are saying that ##f(g(x)) = (f' \times (g(x)) \times f'(x)##, and that cannot possibly be true in general. What I wrote above (as have several others) is the 100% absolutely correct form of the chain rule!
 
  • #13
quicksilver123 said:
?
I thought the chain rule meant1, f(x)=(2x)^1/2
2. f'(x)=(1/2(2x')(2x))^-(1/2)
3. f'(x)=(1/2(2)(2x))^-(1/2)
4. f'(x)=2x^(-1/2)
This is not quite right, with most of the errors due to the lack of parentheses. I have added line numbers so that I can refer to specific lines in your work here.

Line 1 -- (2x)^1/2 would usually be interpreted as ##\frac{(2x)^1}{2}##. To fix this, write it as (2x)^(1/2) or as (2x)1/2 using the X2 button in the menu strip, or as ##(2x)^{1/2}## using LaTeX (this is ##(2x)^{1/2}##).
Line 2 -- On the right side, you have ...(2x')... which is sloppy if you mean (2x)' .
Line 4 -- You have 2x^(-1/2), but you should have (2x)^(-1/2).
 
  • #14
quicksilver123 said:
Here's the original equation that I want to apply differentiation to:
x2+y2=25

I differentiate x2:

2x+y2=25

I differentiate 25.

2x+y2=0

I now want to differentiate y2
I hope you don't write stuff like this on your exams. You're claiming
\begin{align*}
x^2+y^2 &= 25 \\
2x+y^2 &= 25 \\
2x+y^2 &= 0
\end{align*}
From the last two equations, I'd conclude 0 = 25! You can't differentiate one term at a time and keep the equal signs there. Instead, you should write something like
\begin{align*}
x^2+y^2 &= 25 \\
(x^2+y^2)' &= (25)' \\
(x^2)'+(y^2)' &= (25)' \\
2x+(y^2)' &= (25)' \\
2x+(y^2)' &= 0
\end{align*}
Do you see the difference? I bring this up because you're being REALLY sloppy with notation in this thread, and I think that might be contributing to part of your confusion.

I suppose this is where I run into trouble as in most previous cases, I would isolate "y" and differentiate from that point. However, implicit differentiation seems to be "x" in terms of "y," and as a helper mentioned above, this is a composition of functions. This is where I lose the thread.
I want to say:

2x+2y(y2)=0

As this is the chain rule as I understand it. I applied the derivative of the term y2 and the result was 2y. I multiply this by the original expression (y^2). The product of 2y and y^2 would be the derivative of y^2 in this case. I'm applying the logic of a composition function in its barest sense here and it may not jive with implicit differentiation.
I'm not sure what you mean by "a composition function in its barest sense here."

Do you understand the following calculation?
\begin{align*}
\frac{d}{dx} (\sin x)^2 &= 2(\sin x)^1 \times (\sin x)' \\
&= 2(\sin x)^1 \cos x \\
&= 2 \sin x \cos x
\end{align*}
You differentiate the "outside" function first, leaving the inside intact, and then you multiply the derivative of the inside. In your problem, the inside function is ##y##.
\begin{align*}
\frac{d}{dx} (y)^2 &= 2(y)^1 \times (y)' \\
&= 2y\,y'
\end{align*}
 
  • Like
Likes quicksilver123
  • #15
Do you understand the following calculation?
\begin{align*}
\frac{d}{dx} (\sin x)^2 &= 2(\sin x)^1 \times (\sin x)' \\
&= 2(\sin x)^1 \cos x \\
&= 2 \sin x \cos x
\end{align*}
You differentiate the "outside" function first, leaving the inside intact, and then you multiply the derivative of the inside. In your problem, the inside function is ##y##.
\begin{align*}
\frac{d}{dx} (y)^2 &= 2(y)^1 \times (y)' \\
&= 2y\,y'
\end{align*}
Thank you. I've done a bunch of practice questions on the chain rule and have moved on to implicit differentiation and this post helped the most.

I apologize for my sloppy notation and confusing statements above, I had skipped ahead to implicit differentiation for some reason while I was doing trig diff. I'll do the rest of the work in order.
If I have any more questions regarding this topic I'll post in this thread.
 

Related to Implicit differentiation (beginner)

1. What is implicit differentiation?

Implicit differentiation is a mathematical technique used to find the derivative of a function that is not explicitly written in terms of the independent variable. It is commonly used when the dependent variable is not isolated on one side of the equation.

2. How is implicit differentiation different from explicit differentiation?

Explicit differentiation is used to find the derivative of a function that is written explicitly in terms of the independent variable. In contrast, implicit differentiation is used when the dependent variable is not isolated on one side of the equation or when the function is not explicitly written in terms of the independent variable.

3. What is the process of implicit differentiation?

The process of implicit differentiation involves taking the derivative of both sides of an equation with respect to the independent variable, treating the dependent variable as a function of the independent variable and using the chain rule when necessary. This allows us to find the derivative of the dependent variable with respect to the independent variable.

4. When is implicit differentiation used?

Implicit differentiation is commonly used in calculus when dealing with equations that are not easily solvable for the dependent variable. It is also used in applications such as optimization and related rates problems.

5. What are some common mistakes made in implicit differentiation?

Common mistakes in implicit differentiation include forgetting to use the chain rule, not differentiating both sides of the equation, and incorrectly applying the product and quotient rules. It is important to carefully follow the steps of the process to avoid making these mistakes.

Similar threads

  • Calculus and Beyond Homework Help
Replies
2
Views
767
  • Calculus and Beyond Homework Help
Replies
15
Views
1K
  • Calculus and Beyond Homework Help
Replies
18
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
702
  • Calculus and Beyond Homework Help
Replies
14
Views
348
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
7
Views
1K
  • Calculus and Beyond Homework Help
Replies
25
Views
457
  • Calculus and Beyond Homework Help
Replies
5
Views
344
  • Calculus and Beyond Homework Help
Replies
10
Views
1K
Back
Top