Diferenciação implicita

Before this, knowFunção implicita

Interactive · 1 question

Implicit Differentiation

The Chain Rule States: dydx=dydududx\frac{dy}{dx}=\frac{dy}{du}\frac{du}{dx}

Or

f(x)=g(h(x))  ⟹  f′(x)=g′(x)h′(g(x))f(x)= g(h(x)) \implies f'(x) = g'(x) h'(g(x))

Example: ddx(cos⁡(y))\frac{d}{dx}\left(\cos (y)\right)

Say yy is a function of xx, so yy can be rewritten as:

Choose one answer

Interactive · 3 questions

Implicit Functions

In algebra or calculus, we call an equation implicit if it is of the form R(x1,⋯ ,xn)=0\mathcal{R}\left(x_1,\cdots,x_n\right)=0, where R\mathcal{R} is a function of several variables, often a polynomial. For example, the implicit equation of the unit circle is x2+y2−1=0x^2+y^2-1=0.

The above is the most formal definition of an implicit equation. However, we can often rearrange terms in variable forms and call them all implicit forms. For example, an implicit equation of the unit circle could also be x2+y2=1x^2+y^2=1.

Disclaimer: "implicit" does not necessarily mean the function does not have a "nice" explicit form. For instance, f(x)=xπf(x) = x^\pi is in "explicit" form, but it is also implicitly defined by the solution to log⁡y−πlog⁡(x)=0\log y - \pi \log(x) = 0 for yy in terms of xx. Similar for x2+y2=1x^2+y^2=1 vs. 1−x2\sqrt{1-x^2}.

Calculus of implicit functions

Let us say we had an implicit function f(x,y)=cf(x,y)=c, where cc is a constant, and we wanted to find the derivative (or rate of change) dydx\frac{\mathrm{d}y}{\mathrm{d}x}.

What do we do?

Choose one answer

Interactive · 4 questions

Here's an example:

Find the slope of the line tangent to the circle x2+y2=25x^2+y^2=25 at point (3,4)(3,4).

We know we can do it geometrically... But not now. We want to differentiate, but it's not written in the y=⋯y=\cdots form.

You can do it by solving for yy in terms of xx. You will get 2 different solutions, but you still can figure out which one point (3,4)(3,4) is on. But we want to present another way to do it (which could make things much easier in some much more complicated equations).

We know that yy is related to xx somehow, let's assume that there's a function that expressed yy in terms of xx.

Now take the derivative with respect to xx to both sides.

What will x2x^2 term be?

Choose one answer

Video · + 2 min read

(Videos) An Introduction to Implicit Differentiation

by PatrickJMT

Here's a video by patrickJMT explaining what an implicit equation is and how you go about solving it.

Before we begin let's look at the difference between an explicit equation and an implicit equation. An explicit equation is one where yy is by itself and xx is on the other side. y=x2y=sin⁡x+xy=x^2\\ y=\sin x+x An implicit equation is where the xx's and yy's are all mixed up on the same side. x2+xy=yxy=x+yx^2+xy=y\\ xy=x+y

Normally when taking a derivative we take it with respect to xx. ddx(x2)=2x\frac{d}{dx}(x^2)=2x Notice that the symbols match up. We have a dxdx and an x2x^2.

But what if we take the derivative with respect to xx of a function that doesn't have an xx? ddx(y2)\frac{d}{dx}(y^2) The symbols don't match up. But we would like them to. What we do is rewrite ddx\frac{d}{dx} as ddydydx\frac{d}{dy}\frac{dy}{dx}. Now our expression becomes: ddydydxy2\frac{d}{dy}\frac{dy}{dx}y^2 We can rearrange this: ddyy2dydx\frac{d}{dy}y^2\frac{dy}{dx} Notice that the symbols match for dydy and y2y^2 now. So we can differentiate. 2ydydx2y\frac{dy}{dx}

This becomes the gist of how we solve these. We take the derivative like normal, when it's respect to xx, and if we have something different, like a yy or zz, we tack on a dydx\frac{dy}{dx} or dzdx\frac{dz}{dx}.

The procedure for solving these is simple.

  1. Take the derivative and add dydx\frac{dy}{dx} where needed.
  2. Get rid of parentheses.
  3. Solve for dydx\frac{dy}{dx}.

Let's look at an example now. Find dydx\frac{dy}{dx}. x2+xy+cos⁡y=8yx^2+xy+\cos y=8y We start by taking the derivative of each piece. So, the derivative of x2x^2 is just 2x2x. But what about xyxy? This is a product so we need to use the product rule. (x)′(y)+(x)(y)′y+xdydx\color{red}{(x)'}(y)+(x)\color{red}{(y)'}\\ y+x\frac{dy}{dx} For cos⁡y\cos y we need to apply the chain rule. −sin⁡y⋅(y)′−sin⁡ydydx-\sin y\cdot\color{red}{(y)'}\\ -\sin y\frac{dy}{dx} Finally, 8y8y becomes 8dydx8\frac{dy}{dx}.

Putting all these together we get: 2x+(y+xdydx)−sin⁡ydydx=8dydx2x+\left(y+x\frac{dy}{dx}\right)-\sin y\frac{dy}{dx}=8\frac{dy}{dx}

So step 2 tells us to get rid of the parentheses which is easy. 2x+y+xdydx−sin⁡ydydx=8dydx2x+y+x\frac{dy}{dx}-\sin y\frac{dy}{dx}=8\frac{dy}{dx}

So now we have three terms with dydx\frac{dy}{dx} and two terms without. What we want to do is move all the terms with it to one side and all terms without it to the other side. Then we can factor out a dydx\frac{dy}{dx} and solve for it. 2x+y+xdydx−sin⁡ydydx=8dydxxdydx−sin⁡ydydx−8dydx=−2x−ydydx(x−sin⁡y−8)=−2x−ydydx=−2x−yx−sin⁡y−82x+y+x\frac{dy}{dx}-\sin y\frac{dy}{dx}=8\frac{dy}{dx}\\ x\frac{dy}{dx}-\sin y\frac{dy}{dx}-8\frac{dy}{dx}=-2x-y\\ \frac{dy}{dx}(x-\sin y-8)=-2x-y\\ \boxed{\frac{dy}{dx}=\frac{-2x-y}{x-\sin y-8}}

Here's another video by Patrick where he shows you how to find the second derivative of an implicit equation. When finding higher power derivatives for implicit equations you usually end up plugging back in the expression from the previous derivatives.

9x2+y2=918x+2ydydx=02ydydx=−18xdydx=−18x2ydydx=−9xy9x^2+y^2=9\\ 18x+2y\frac{dy}{dx}=0\\ 2y\frac{dy}{dx}=-18x\\ \frac{dy}{dx}=-\frac{18x}{2y}\\ \frac{dy}{dx}=-9\frac{x}y

So there's the first derivative, but now we need to find the second. To do this we need to use the quotient rule. d2ydx2=(−9x)′(y)−(−9x)(y)′y2d2ydx2=−9y+9xdydxy2\frac{d^2y}{dx^2}=\frac{\color{red}{(-9x)'}(y)-(-9x)\color{red}{(y)'}}{y^2}\\ \frac{d^2y}{dx^2}=\frac{-9y+9x\color{red}{\frac{dy}{dx}}}{y^2} So what do we do with this dydx\frac{dy}{dx} in our problem now? Well, we actually have an expression for this since it's just the first derivative. dydx=−9xyd2ydx2=−9y+9x(−9xy)y2d2ydx2=−9y−81x2yy2d2ydx2=−9y2y−81x2yy2d2ydx2=−9y2−81x2yy2d2ydx2=−9y2−81x2y3d2ydx2=−9y2−81x2y3d2ydx2=−9(y2+9x2)y3\color{red}{\frac{dy}{dx}=-9\frac{x}y}\\ \frac{d^2y}{dx^2}=\frac{-9y+9x\color{red}{(\frac{-9x}{y})}}{y^2}\\ \frac{d^2y}{dx^2}=\frac{-9y-\frac{81x^2}{y}}{y^2}\\ \frac{d^2y}{dx^2}=\frac{-\frac{9y^2}{y}-\frac{81x^2}{y}}{y^2}\\ \frac{d^2y}{dx^2}=\frac{\frac{-9y^2-81x^2}{y}}{y^2}\\ \frac{d^2y}{dx^2}=\frac{-9y^2-81x^2}{y^3}\\ \frac{d^2y}{dx^2}=\frac{-9y^2-81x^2}{y^3}\\ \frac{d^2y}{dx^2}=\frac{-9(y^2+9x^2)}{y^3}\\ Now take a look at the expression in the parentheses, y2+9x2y^2+9x^2. This is the same expression that we started with above. x2+y2=9\color{red}{x^2+y^2=9} So we can substitute in 99 for that! d2ydx2=−9(9)y3d2ydx2=−81y3\frac{d^2y}{dx^2}=\frac{-9(\color{red}{9})}{y^3}\\ \boxed{\frac{d^2y}{dx^2}=-\frac{81}{y^3}}

Video

(Videos) Implicit Differentiation Examples

by PatrickJMT

Here's a video by patrickJMT going over some basic examples of implicit differentiation and working through the examples.

The first one is finding dydx\frac{dy}{dx} for: x−2−ln⁡y3=7−2x−3−1y3⋅(y3)′=0−2x−3−1y3⋅3y2⋅(y)′=0−2x−3−1y3(3y2)dydx=0−2x−3−3ydydx=0−3ydydx=2x−3dydx=(−y3)2x3dydx=−2y3x3x^{-2}-\ln y^3=7\\ -2x^{-3}-\frac{1}{y^3}\cdot\color{red}{(y^3)'}=0\\ -2x^{-3}-\frac{1}{y^3}\cdot3y^2\cdot\color{red}{(y)'}=0\\ -2x^{-3}-\frac1{y^3}(3y^2)\frac{dy}{dx}=0\\ -2x^{-3}-\frac3y\frac{dy}{dx}=0\\ -\frac3y\frac{dy}{dx}=2x^{-3}\\ \frac{dy}{dx}=(-\frac y3)\frac2{x^3}\\ \boxed{\frac{dy}{dx}=-\frac{2y}{3x^3}}

The next problem on his list is finding dsdt\frac{ds}{dt} for: s3−t3=8s^3-t^3=8 In this problem our xx variable is now a tt. s3−t3=83s2dsdt−3t2=03s2dsdt=3t2dsdt=t2s2s^3-t^3=8\\ 3s^2\frac{ds}{dt}-3t^2=0\\ 3s^2\frac{ds}{dt}=3t^2\\ \boxed{\frac{ds}{dt}=\frac{t^2}{s^2}}

The final is example is finding dydt\frac{dy}{dt} for: y3+sin⁡(yt)=t53y2dydt+cos⁡(yt)⋅[yt]′=5t43y2dydt+cos⁡(yt)⋅[yt]′=5t43y2dydt+cos⁡(yt)⋅[(y)′(t)+(y)(t)′]=5t43y2dydt+cos⁡(yt)⋅[tdydt+y]=5t43y2dydt+tcos⁡(yt)dydt+ycos⁡(yt)=5t43y2dydt+tcos⁡(yt)dydt=5t4−ycos⁡(yt)dydt[3y2+tcos⁡(yt)]=5t4−ycos⁡(yt)dydt=5t4−ycos⁡(yt)3y2+tcos⁡(yt)y^3+\sin(yt)=t^5\\ 3y^2\frac{dy}{dt}+\cos(yt)\cdot\color{red}{[yt]'}=5t^4\\ 3y^2\frac{dy}{dt}+\cos(yt)\cdot\color{red}{[yt]'}=5t^4\\ 3y^2\frac{dy}{dt}+\cos(yt)\cdot[\color{red}{(y)'}(t)+(y)\color{red}{(t)'}]=5t^4\\ 3y^2\frac{dy}{dt}+\cos(yt)\cdot[t\frac{dy}{dt}+y]=5t^4\\ 3y^2\frac{dy}{dt}+t\cos(yt)\frac{dy}{dt}+y\cos(yt)=5t^4\\ 3y^2\frac{dy}{dt}+t\cos(yt)\frac{dy}{dt}=5t^4-y\cos(yt)\\ \frac{dy}{dt}[3y^2+t\cos(yt)]=5t^4-y\cos(yt)\\ \boxed{\frac{dy}{dt}=\frac{5t^4-y\cos(yt)}{3y^2+t\cos(yt)}}

Video · + 1 min read

(Videos) Compilation of Implicit Differentiation Examples

by PatrickJMT

Here's a video by patrickJMT where he goes over some implicit differentiation examples.

Implicit differentiation is similar to regular differentiation except when taking the derivative of yy we tack on a dydx\frac{dy}{dx}.

The first example he solves is: x3+y3=xyx^3+y^3=xy When we take the derivative the x3x^3 becomes 3x23x^2. When we get to y3y^3 we just take the derivative like we normally do except we add on the dydx\frac{dy}{dx}. 3x2+3y2dydx=(x)′y+x(y)′3x2+3y2dydx=y+xdydx3y2dydx−xdydx=y−3x2dydx(3y2−x)=y−3x2dydx=y−3x23y2−x3x^2+3y^2\color{red}{\frac{dy}{dx}}=\color{red}{(x)'}y+x\color{red}{(y)'}\\ 3x^2+3y^2\frac{dy}{dx}=y+x\color{red}{\frac{dy}{dx}}\\ 3y^2\frac{dy}{dx}-x\frac{dy}{dx}=y-3x^2\\ \frac{dy}{dx}(3y^2-x)=y-3x^2\\ \boxed{\frac{dy}{dx}=\frac{y-3x^2}{3y^2-x}}

The next example is: (x2y)+(xy2)=3x[(x2)′y+x2(y)′]+[(x)′y2+x(y2)′]=3[2xy+x2dydx]+[y2+2xydydx]=3x2dydx+2xydydx=3−2xy−y2dydx(x2+2xy)=3−2xy−y2dydx=3−2xy−y2x2+2xy(x^2y)+(xy^2)=3x\\ [\color{red}{(x^2)'}y+x^2\color{red}{(y)'}]+[\color{red}{(x)'}y^2+x\color{red}{(y^2)'}]=3\\ [2xy+x^2\color{red}{\frac{dy}{dx}}]+[y^2+2xy\color{red}{\frac{dy}{dx}}]=3\\ x^2\frac{dy}{dx}+2xy\frac{dy}{dx}=3-2xy-y^2\\ \frac{dy}{dx}(x^2+2xy)=3-2xy-y^2\\ \boxed{\frac{dy}{dx}=\frac{3-2xy-y^2}{x^2+2xy}}

Here's another video with yet more implicit equations to derive. This videos example being: sec⁡(xy)+ey=3x−4sec⁡(xy)tan⁡(xy)[xy]′+eydydx=3sec⁡(xy)tan⁡(xy)[(x)′y+x(y)′]+eydydx=3sec⁡(xy)tan⁡(xy)(y+xdydx)+eydydx=3ysec⁡(xy)tan⁡(xy)+xsec⁡(xy)tan⁡(xy)dydx+eydydx=3xsec⁡(xy)tan⁡(xy)dydx+eydydx=3−ysec⁡(xy)tan⁡(xy)dydx[xsec⁡(xy)tan⁡(xy)+ey]=3−ysec⁡(xy)tan⁡(xy)dydx=3−ysec⁡(xy)tan⁡(xy)xsec⁡(xy)tan⁡(xy)+ey\sec(xy)+e^y=3x-4\\ \sec(xy)\tan(xy)\color{red}{[xy]'}+e^y\color{red}{\frac{dy}{dx}}=3\\ \sec(xy)\tan(xy)[\color{red}{(x)'}y+x\color{red}{(y)'}]+e^y\frac{dy}{dx}=3\\ \sec(xy)\tan(xy)(y+x\color{red}{\frac{dy}{dx}})+e^y\frac{dy}{dx}=3\\ y\sec(xy)\tan(xy)+x\sec(xy)\tan(xy)\frac{dy}{dx}+e^y\frac{dy}{dx}=3\\ x\sec(xy)\tan(xy)\frac{dy}{dx}+e^y\frac{dy}{dx}=3-y\sec(xy)\tan(xy)\\ \frac{dy}{dx}[x\sec(xy)\tan(xy)+e^y]=3-y\sec(xy)\tan(xy)\\ \boxed{\frac{dy}{dx}=\frac{3-y\sec(xy)\tan(xy)}{x\sec(xy)\tan(xy)+e^y}}

Here's another video with even more examples of implicit differentiation. The first problem he looks at is: 1+x=sin⁡(xy2)1=cos⁡(xy2)⋅[xy2]′1=cos⁡(xy2)[(x)′y2+x(y2)′]1=cos⁡(xy2)[y2+x(2y)dydx]1=y2cos⁡(xy2)+2xycos⁡(xy2)dydx2xycos⁡(xy2)dydx=1−y2cos⁡(xy2)dydx=1−y2cos⁡(xy2)2xycos⁡(xy2)1+x=\sin(xy^2)\\ 1=\cos(xy^2)\cdot\color{red}{[xy^2]'}\\ 1=\cos(xy^2)[\color{red}{(x)'}y^2+x\color{red}{(y^2)'}]\\ 1=\cos(xy^2)[y^2+x(2y)\color{red}{\frac{dy}{dx}}]\\ 1=y^2\cos(xy^2)+2xy\cos(xy^2)\frac{dy}{dx}\\ 2xy\cos(xy^2)\frac{dy}{dx}=1-y^2\cos(xy^2)\\ \boxed{\frac{dy}{dx}=\frac{1-y^2\cos(xy^2)}{2xy\cos(xy^2)}}

The next problem asks for the equation of a tangent line at the point (1,1)(1,1) on the curve x2+xy+y2=3x^2+xy+y^2=3 So the first step is to find the derivative of this curve. This will tell us the slope for the tangent line. 2x+[(x)′y+x(y)′]+2ydydx=02x+y+xdydx+2ydydx=0xdydx+2ydydx=−2x−ydydx(x+2y)=−2x−ydydx=−2x−yx+2y2x+[\color{red}{(x)'}y+x\color{red}{(y)'}]+2y\color{red}{\frac{dy}{dx}}=0\\ 2x+y+x\frac{dy}{dx}+2y\frac{dy}{dx}=0\\ x\frac{dy}{dx}+2y\frac{dy}{dx}=-2x-y\\ \frac{dy}{dx}(x+2y)=-2x-y\\ \frac{dy}{dx}=\frac{-2x-y}{x+2y} Now we plug in the point (1,1)(1,1) in order to find the slope at that point. m=−2(1)−(1)(1)+2(1)m=−33=−1m=\frac{-2\color{red}{(1)}-\color{red}{(1)}}{\color{red}{(1)}+2\color{red}{(1)}}\\ m=-\frac33=-1 Now that we have a point and a slope we can plug all this into the point-slope formula to get the equation of the tangent line. y−y1=m(x−x1)y−1=−1(x−1)y=−x+1+1y=2−xy-y_1=m(x-x_1)\\ y-1=-1(x-1)\\ y=-x+1+1\\ \boxed{y=2-x}

Video · + 1 min read

(Video) Deriving the Derivative of Inverse Tangent

by PatrickJMT

Here's a good video by patrickJMT showing you how to derive the derivative of inverse tangent. This is helpful because it can be hard to remember all the derivative formulas for inverse trig functions. Furthermore, this is a good procedure to remember because you can use a similar method to derive many derivative formulas, like logarithms.

So the function we have is y=tan⁡−1xy=\tan^{-1}x and we want to know what y′y' or, in other words, dydx\frac{dy}{dx}. We could just differentiate both sides but this doesn't help since we don't know the derivative for tan⁡−1x\tan^{-1}x. So let's rearrange our function by taking the tangent of both sides. tan⁡y=tan⁡(tan⁡−1x)\tan y=\tan(\tan^{-1}x) Since a function and its inverse cancel, this now becomes: tan⁡y=x\tan y=x Now we can use implicit differentiation and take the derivative of both sides. ddx(tan⁡y)=ddx(x)sec⁡2y⋅[y]′=1sec⁡2ydydx=1dydx=1sec⁡2y\begin{align} \frac{d}{dx}(\tan y)&=\frac{d}{dx}(x)\\ \sec^2y\cdot\color{red}{[y]'}&=1\\ \sec^2y\frac{dy}{dx}&=1\\ \frac{dy}{dx}&=\frac{1}{\sec^2y} \end{align} So we want our derivative to be in terms of xx but we have a yy in there. We do have the expression: tan⁡y=x\tan y=x. So if we can transform sec⁡2y\sec^2y somehow into something with tan⁡y\tan y. Luckily, we have a nice trig identity to help us out. cos⁡2y+sin⁡2y=1cos⁡2ycos⁡2y+sin⁡2ycos⁡2y=1cos⁡2y1+tan⁡2y=sec⁡2y\begin{align} \cos^2y+\sin^2y&=1\\ \frac{\cos^2y}{\cos^2y}+\frac{\sin^2y}{\cos^2y}&=\frac{1}{\cos^2y}\\ 1+\tan^2y&=\sec^2y \end{align} So we can substitute this into our derivative above. dydx=1sec⁡2y=11+tan⁡2y\begin{align} \frac{dy}{dx}&=\frac{1}{\sec^2y}\\ &=\frac{1}{\color{red}{1+\tan^2y}} \end{align} And since we have our expression tan⁡y=x\tan y=x, we can now express our derivative in terms of xx. dydx=11+x2\boxed{\frac{dy}{dx}=\frac{1}{1+x^2}}

Type a concept, like “slope” or “photosynthesis”.

↑ ↓ to choose · Enter to openSearch explanations and problems