TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Uses of implicit differentiation

6 点作者 pencil超过 14 年前
Hello HN,<p>I have now gained an intuition of solving a simple equation involving implicit differentiation.example x^2y = 5 where y is considered to be a function of x even though it's not quite obvious.(it's not explicitly stated like y = f(x).)in this case we proceed taking the derivative using the power and the chain rule.my question is what is this implicit differentiation all about?i tried doing a google search on this but couldn't find a convincing article.wikipedia too starts off with the definition of it which i couldn't understand.neither of the two talks about the practicle uses of it. i'll be really happy if someone could explain this concept in detail.so far i've been blindly solving problems involving this technic<p>Thank You

3 条评论

SandB0x超过 14 年前
In your example, y <i>is</i> a function of x. x is also a function of y. If you pick a value for x, there is a unique y that satisfies the equality. If you pick a value for y, there a unique x that satisfies the equality. Let's find y as a function of x<p><pre><code> x^2y = 5 =&#62; y = 5x^-2 &#60;------ this is y(x) </code></pre> That's all it means. This a <i>function</i>, because as mentioned, x uniquely determines y.<p>Now let's look at an example where y is <i>not</i> a function of x - the standard example of a circle of radius r:<p><pre><code> x^2 + y^2 = r^2 </code></pre> solving for y gives<p><pre><code> y = +- sqrt(r^2 - x^2). </code></pre> This is NOT a function, because for a value of x, we don't know which value of y to choose - it could be the positive case or the negative case. Geometrically, this means a line (like y = c) can intersect the circle in two places, so trying to find <i>the</i> single intersection point is not well defined.<p>But the <i>gradient</i> y' IS a function, a function of both x and y and we can find it by implicit differentiation (with respect to x):<p><pre><code> 2x + 2yy' = 0 =&#62; y' = -x/y &#60;---- this is y'(x,y) </code></pre> Geometrically this means that <i>given</i> a point (x,y) on a circle, the gradient <i>is</i> a well defined quantity, even though y(x) is not.<p>------------<p>Also: I had a look at your submission history and I really don't think that HN is the right place for most of your questions. I'm just procrastinating by answering this. You should probably be using math.stackexchange.com or a similar site.
评论 #1652276 未加载
btilly超过 14 年前
This is a perfect example of how math is very simple. It just isn't always simple in a way our brains are wired to naturally follow. With the result that when people "get" a concept, they beat themselves up for not getting something so simple.<p>Implicit differentiation is simple in that way.<p>Let's take your example. xxy = 5. This implicitly defines some function y. xxy is an expression. And 5 is another expression. And the two are equal for all x. Now note that you can differentiate any expression you want to. For instance the derivative of xxy is 2xy + xxy'. And the derivative of 5 is 0.<p>The entire idea of implicit differentiation is this. If two expressions are the same for all x, then they have the same tangent lines, and therefore the same derivatives. Thus you don't need to solve for y first. You can just differentiate and solve for y' instead. This is convenient when y is difficult to solve for.<p>In this case you find that 2xy + xxy' = 0 so xxy' = -2xy and so y' = -2y/x.<p>That's all there is to it.<p>Now two notes of interest. The first is that regular differentiation is really just a special case of implicit differentiation. We get y=f(x) and differentiate both sides to get y'=f'(x). The second is that equations like y' = -2y/x are the start of a very important subject called differential equations.
ggchappell超过 14 年前
Your question is a little vague, but I'll try.<p>What it is: Differentiate both sides of an equation. That's it.<p>Why it works: When two things are equal, if we transform them in identical ways (being careful about what "identical" means), then the results are equal. So if two differentiable functions are equal, then their derivatives must be equal.<p>What it's good for: In spite of all the carefully selected examples we're given in calculus class, the fact is that solving equations is often very difficult, and usually <i>impossible</i>. So if someone writes some "f(x,y) = k", and asks you to solve for y in terms of x, well, in general, you can't do it.<p>Now, suppose you want to find dy/dx in the above situation. The "usual" way is to solve for y and then differentiate. But what if you cannot do that? If you can find the derivative, w.r.t. x, of f(x,y), then you can apply implicit differentiation, to get something like g(x,y)*dy/dx + h(x,y) = 0. Then finding dy/dx is easy.<p>So: What it is good for is finding a derivative while avoiding the pain (or the impossibility) of solving an equation.<p>Of course, that leads to the question of what derivatives are good for, but I'm hoping you have some inkling of the answer to that one. If not, then back up, and learn more about derivatives.