Implicit differentiation: Difference between revisions
imported>Tom.Reding m +{{Redirect category shell}} using AWB |
imported>Fgnievinski No edit summary |
||
| Line 1: | Line 1: | ||
{{Short description|Mathematical operation in calculus}} | |||
{{More citations needed|date=November 2025}} | |||
{{Calculus}} | |||
{{ | In [[calculus]], '''implicit differentiation''' is a method of finding the [[Differentiation (mathematics)|derivative]] of an [[implicit function]] using the [[chain rule]]. | ||
{{R to | To differentiate an implicit function {{math|''y''(''x'')}}, defined by an equation {{math|1=''R''(''x'', ''y'') = 0}}, it is {{em|not}} generally possible to [[Equation solving|solve it]] explicitly for {{mvar|y}} and then differentiate it. Instead, one can [[total differentiation|totally differentiate]] {{math|1=''R''(''x'', ''y'') = 0}} with respect to {{mvar|x}} and {{mvar|y}} and then solve the resulting linear equation for {{math|{{sfrac|''dy''|''dx''}}}}, to get the derivative explicitly in terms of {{mvar|x}} and {{mvar|y}}. Even when it is possible to explicitly solve the original equation, the formula resulting from total differentiation is, in general, much simpler and easier to use. | ||
{{R with | |||
}} | ==Formulation== | ||
If {{math|1=''R''(''x'', ''y'') = 0}}, the derivative of the implicit function {{math|''y''(''x'')}} is given by<ref name="Stewart1998">{{cite book | last = Stewart | first = James | title = Calculus Concepts And Contexts | publisher = Brooks/Cole Publishing Company | year = 1998 | isbn = 0-534-34330-9 | url-access = registration | url = https://archive.org/details/calculusconcepts00stew }}</ref>{{rp|§11.5}} | |||
:<math>\frac{dy}{dx} = -\frac{\,\frac{\partial R}{\partial x}\,}{\frac{\partial R}{\partial y}} = -\frac {R_x}{R_y} \,,</math> | |||
where {{math|''R<sub>x</sub>''}} and {{math|''R<sub>y</sub>''}} indicate the [[partial derivative]]s of {{mvar|R}} with respect to {{mvar|x}} and {{mvar|y}}. | |||
The above formula comes from using the [[Chain rule#Multivariable case|generalized chain rule]] to obtain the [[total derivative]] — with respect to {{mvar|x}} — of both sides of {{math|1=''R''(''x'', ''y'') = 0}}: | |||
:<math>\frac{\partial R}{\partial x} \frac{dx}{dx} + \frac{\partial R}{\partial y} \frac{dy}{dx} = 0 \,,</math> | |||
hence | |||
:<math>\frac{\partial R}{\partial x} + \frac{\partial R}{\partial y} \frac{dy}{dx} =0 \,,</math> | |||
which, when solved for {{math|{{sfrac|''dy''|''dx''}}}}, gives the expression above. | |||
==Examples== | |||
=== Example 1 === | |||
Consider | |||
:<math>y + x + 5 = 0 \,.</math> | |||
This equation is easy to solve for {{mvar|y}}, giving | |||
:<math>y = -x - 5 \,,</math> | |||
where the right side is the explicit form of the function {{math|''y''(''x'')}}. Differentiation then gives {{math|1={{sfrac|''dy''|''dx''}} = −1}}. | |||
Alternatively, one can totally differentiate the original equation: | |||
:<math>\begin{align} | |||
\frac{dy}{dx} + \frac{dx}{dx} + \frac{d}{dx}(5) &= 0 \, ; \\[6px] | |||
\frac{dy}{dx} + 1 + 0 &= 0 \,. | |||
\end{align}</math> | |||
Solving for {{math|{{sfrac|''dy''|''dx''}}}} gives | |||
:<math>\frac{dy}{dx} = -1 \,,</math> | |||
the same answer as obtained previously. | |||
=== Example 2 === | |||
An example of an implicit function for which implicit differentiation is easier than using explicit differentiation is the function {{math|''y''(''x'')}} defined by the equation | |||
:<math> x^4 + 2y^2 = 8 \,.</math> | |||
To differentiate this explicitly with respect to {{mvar|x}}, one has first to get | |||
:<math>y(x) = \pm\sqrt{\frac{8 - x^4}{2}} \,,</math> | |||
and then differentiate this function. This creates two derivatives: one for {{math|''y'' ≥ 0}} and another for {{math|''y'' < 0}}. | |||
It is substantially easier to implicitly differentiate the original equation: | |||
:<math>4x^3 + 4y\frac{dy}{dx} = 0 \,,</math> | |||
giving | |||
:<math>\frac{dy}{dx} = \frac{-4x^3}{4y} = -\frac{x^3}{y} \,.</math> | |||
=== Example 3 === | |||
Often, it is difficult or impossible to solve explicitly for {{mvar|y}}, and implicit differentiation is the only feasible method of differentiation. An example is the equation | |||
:<math>y^5-y=x \,.</math> | |||
It is impossible to [[algebraic expression|algebraically express]] {{mvar|y}} explicitly as a function of {{mvar|x}}, and therefore one cannot find {{math|{{sfrac|''dy''|''dx''}}}} by explicit differentiation. Using the implicit method, {{math|{{sfrac|''dy''|''dx''}}}} can be obtained by differentiating the equation to obtain | |||
:<math>5y^4\frac{dy}{dx} - \frac{dy}{dx} = \frac{dx}{dx} \,,</math> | |||
where {{math|1={{sfrac|''dx''|''dx''}} = 1}}. Factoring out {{math|{{sfrac|''dy''|''dx''}}}} shows that | |||
:<math>\left(5y^4 - 1\right)\frac{dy}{dx} = 1 \,,</math> | |||
which yields the result | |||
:<math>\frac{dy}{dx}=\frac{1}{5y^4-1} \,,</math> | |||
which is defined for | |||
:<math>y \ne \pm\frac{1}{\sqrt[4]{5}} \quad \text{and} \quad y \ne \pm \frac{i}{\sqrt[4]{5}} \,.</math> | |||
==References== | |||
{{reflist}} | |||
{{Portal|Mathematics}} | |||
{{Calculus topics}} | |||
[[Category:Differential calculus]] | |||
Latest revision as of 00:40, 1 December 2025
Template:Short description Script error: No such module "Unsubst". Script error: No such module "sidebar".
In calculus, implicit differentiation is a method of finding the derivative of an implicit function using the chain rule. To differentiate an implicit function y(x)Script error: No such module "Check for unknown parameters"., defined by an equation R(x, y) = 0Script error: No such module "Check for unknown parameters"., it is Template:Em generally possible to solve it explicitly for Template:Mvar and then differentiate it. Instead, one can totally differentiate R(x, y) = 0Script error: No such module "Check for unknown parameters". with respect to Template:Mvar and Template:Mvar and then solve the resulting linear equation for Template:SfracScript error: No such module "Check for unknown parameters"., to get the derivative explicitly in terms of Template:Mvar and Template:Mvar. Even when it is possible to explicitly solve the original equation, the formula resulting from total differentiation is, in general, much simpler and easier to use.
Formulation
If R(x, y) = 0Script error: No such module "Check for unknown parameters"., the derivative of the implicit function y(x)Script error: No such module "Check for unknown parameters". is given by[1]Template:Rp
where RxScript error: No such module "Check for unknown parameters". and RyScript error: No such module "Check for unknown parameters". indicate the partial derivatives of Template:Mvar with respect to Template:Mvar and Template:Mvar.
The above formula comes from using the generalized chain rule to obtain the total derivative — with respect to Template:Mvar — of both sides of R(x, y) = 0Script error: No such module "Check for unknown parameters".:
hence
which, when solved for Template:SfracScript error: No such module "Check for unknown parameters"., gives the expression above.
Examples
Example 1
Consider
This equation is easy to solve for Template:Mvar, giving
where the right side is the explicit form of the function y(x)Script error: No such module "Check for unknown parameters".. Differentiation then gives Template:Sfrac = −1Script error: No such module "Check for unknown parameters"..
Alternatively, one can totally differentiate the original equation:
Solving for Template:SfracScript error: No such module "Check for unknown parameters". gives
the same answer as obtained previously.
Example 2
An example of an implicit function for which implicit differentiation is easier than using explicit differentiation is the function y(x)Script error: No such module "Check for unknown parameters". defined by the equation
To differentiate this explicitly with respect to Template:Mvar, one has first to get
and then differentiate this function. This creates two derivatives: one for y ≥ 0Script error: No such module "Check for unknown parameters". and another for y < 0Script error: No such module "Check for unknown parameters"..
It is substantially easier to implicitly differentiate the original equation:
giving
Example 3
Often, it is difficult or impossible to solve explicitly for Template:Mvar, and implicit differentiation is the only feasible method of differentiation. An example is the equation
It is impossible to algebraically express Template:Mvar explicitly as a function of Template:Mvar, and therefore one cannot find Template:SfracScript error: No such module "Check for unknown parameters". by explicit differentiation. Using the implicit method, Template:SfracScript error: No such module "Check for unknown parameters". can be obtained by differentiating the equation to obtain
where Template:Sfrac = 1Script error: No such module "Check for unknown parameters".. Factoring out Template:SfracScript error: No such module "Check for unknown parameters". shows that
which yields the result
which is defined for
References
<templatestyles src="Reflist/styles.css" />
- ↑ Script error: No such module "citation/CS1".
Script error: No such module "Check for unknown parameters".
Script error: No such module "Portal".