When $x I abstract this question from my research and in my research context, the second approach should be right. However, some colleague of mine thinks the first approach is right since it is the right procedure and the second approach gives a result of $2y-1$ which is so far away from $\frac{\partial xy-x}{\partial y}=x$ when $x$ is super close to $y$, which he believes this sounds like the function $xy-x$ is not continuous anymore. Another colleague told me that both can be right and they just have different interpretations in the real world. I was wondering whether you could point out whether both are right and what are the possible interpretations. Are there any fundamental theorems that take care of this issue? Thank you so much!
what's the right way to take the derivative of $xy-x$ where $x\le y$ in y when $x=y$?
0
$\begingroup$
partial-derivative
1 Answers
0
The first approach is correct. Fundamentally, we have that
$$\left.\frac{\partial}{\partial y}(xy-x)\right|_{x=y} \neq \frac{\partial}{\partial y}(y^2 - y)$$
This happens for the same reason that, when you are calculating $f'(a)$, you don't plug $a$ into $f$ first and then differentiate; instead you differentiate first and then plug in $a$. I recommend looking at the definition of the derivative.
-
0@Tough_Man I have no idea what you mean by "Trajectory". The two sides of the un-equality above are obviously going to be related a bit , but I fail to see what you are getting at – 2017-01-27
-
0Sorry, I was still doing edits. Thanks for the answer. But, eventually, we should have $y^2-y$ when $x=y$. Simply looking at the curve $y^2-y$, the derivative should give us $2y-1$, right? Is this question I posted special because of $x=y$ is at the boundary? – 2017-01-27