Reciprocal rule

From HandWiki
Revision as of 23:07, 6 March 2023 by StanislovAI (talk | contribs) (update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

In calculus, the reciprocal rule gives the derivative of the reciprocal of a function f in terms of the derivative of f. The reciprocal rule can be used to show that the power rule holds for negative exponents if it has already been established for positive exponents. Also, one can readily deduce the quotient rule from the reciprocal rule and the product rule.

The reciprocal rule states that if f is differentiable at a point x and f(x) ≠ 0 then g(x) = 1/f(x) is also differentiable at x and

[math]\displaystyle{ g'(x) = -\frac{f'(x)}{f(x)^2}. }[/math]

Proof

This proof relies on the premise that [math]\displaystyle{ f }[/math] is differentiable at [math]\displaystyle{ x, }[/math] and on the theorem that [math]\displaystyle{ f }[/math] is then also necessarily continuous there. Applying the definition of the derivative of [math]\displaystyle{ g }[/math] at [math]\displaystyle{ x }[/math] with [math]\displaystyle{ f(x) \ne 0 }[/math] gives [math]\displaystyle{ \begin{align} g'(x) = \frac d {dx} \left(\frac {1} {f(x)}\right) & = \lim_{h\to0} \left (\frac{\frac {1}{f(x+h)} - \frac {1}{f(x)}} {h} \right )\\ & = \lim_{h\to0} \left( \frac{f(x)-f(x+h)}{h \cdot f(x)f(x+h)} \right)\\ & = \lim_{h\to0} \left( - \frac{f(x+h)-f(x)}{h} \cdot \frac 1 {f(x)f(x+h)} \right).\end{align} }[/math] The limit of this product exists and is equal to the product of the existing limits of its factors: [math]\displaystyle{ \left( \lim_{h\to0} -\frac{f(x+h)-f(x)}{h} \right)\cdot\left( \lim_{h\to0} \frac {1}{f(x)\cdot f(x+h)}\right). }[/math] Because of the differentiability of [math]\displaystyle{ f }[/math] at [math]\displaystyle{ x }[/math] the first limit equals [math]\displaystyle{ -f'(x), }[/math] and because of [math]\displaystyle{ f(x)\ne 0 }[/math] and the continuity of [math]\displaystyle{ f }[/math] at [math]\displaystyle{ x }[/math] the second limit equals [math]\displaystyle{ 1/f(x)^2, }[/math] thus yielding [math]\displaystyle{ g'(x) = -f'(x) \cdot \frac {1}{f(x)^2} = -\frac{f'(x)}{f(x)^2}. }[/math]

A weak reciprocal rule that follows algebraically from the product rule

It may be argued that since

[math]\displaystyle{ f(x)\cdot \frac 1 {f(x)} = 1, }[/math]

an application of the product rule says that

[math]\displaystyle{ f'(x) \left( \frac 1 f\right)(x) + f(x) \left( \frac 1 f\right)'(x) = 0, }[/math]

and this may be algebraically rearranged to say

[math]\displaystyle{ \left( \frac 1 f\right)'(x) = \frac{-f'(x)}{f(x)^2}. }[/math]

However, this fails to prove that 1/f is differentiable at x; it is valid only when differentiability of 1/f at x is already established. In that way, it is a weaker result than the reciprocal rule proved above. However, in the context of differential algebra, in which there is nothing that is not differentiable and in which derivatives are not defined by limits, it is in this way that the reciprocal rule and the more general quotient rule are established.

Application to generalization of the power rule

Often the power rule, stating that [math]\displaystyle{ \tfrac{d}{dx}(x^n) = nx^{n-1} }[/math], is proved by methods that are valid only when n is a nonnegative integer. This can be extended to negative integers n by letting [math]\displaystyle{ n = -m }[/math], where m is a positive integer.

[math]\displaystyle{ \begin{align} \frac d {dx} x^n & = \frac d {dx}\,\left(\frac 1 {x^{m}}\right) \\ & = -\frac{\frac {d} {dx} x^{m}}{(x^{m})^2}, \text{ by the reciprocal rule} \\ & = -\frac{mx^{m-1}}{x^{2m}}, \text{ by the power rule applied to the positive integer } m, \\ & = -mx^{-m-1} = nx^{n-1}, \text{ by substituting back }n = -m. \end{align} }[/math]

Application to a proof of the quotient rule

The reciprocal rule is a special case of the quotient rule, which states that if f and g are differentiable at x and g(x) ≠ 0 then

[math]\displaystyle{ \frac d {dx}\, \left[\frac{f(x)}{g(x)}\right] = \frac{g(x)f\,'(x) - f(x)g'(x)}{[g(x)]^2}. }[/math]

The quotient rule can be proved by writing

[math]\displaystyle{ \frac{f(x)}{g(x)} = f(x) \cdot \frac 1 {g(x)} }[/math]

and then first applying the product rule, and then applying the reciprocal rule to the second factor.

[math]\displaystyle{ \begin{align} \frac d{dx} \left[\frac{f(x)}{g(x)}\right] &= \frac d{dx} \left[f(x) \cdot \frac 1 {g(x)}\right]\\ &= f'(x) \cdot \frac{1}{g(x)} + f(x) \cdot \frac d{dx} \left[\frac{1}{g(x)}\right]\\ &= f'(x) \cdot \frac{1}{g(x)} + f(x) \cdot \left[\frac{-g'(x)}{g(x)^2}\right]\\ &= \frac{f'(x)}{g(x)} - \frac{f(x)g'(x)}{[g(x)]^2}\\ &= \frac{f'(x)g(x)-f(x)g'(x)}{[g(x)]^2}. \end{align} }[/math]

Application to differentiation of trigonometric functions

By using the reciprocal rule one can find the derivative of the secant and cosecant functions.

For the secant function:

[math]\displaystyle{ \begin{align} \frac d {dx} \sec x & = \frac d {dx} \, \left(\frac 1 {\cos x}\right) = \frac{-\frac d {dx} \cos x}{\cos^2 x} = \frac{\sin x}{\cos^2 x} = \frac 1 {\cos x}\cdot\frac{\sin x}{\cos x} = \sec x\tan x. \end{align} }[/math]

The cosecant is treated similarly:

[math]\displaystyle{ \begin{align} \frac d {dx} \csc x & = \frac d {dx} \, \left(\frac 1 {\sin x}\right) = \frac{-\frac d {dx} \sin x}{\sin^2 x} = -\frac{\cos x}{\sin^2 x} = -\frac 1 {\sin x}\cdot\frac{\cos x}{\sin x} = -\csc x\cot x. \end{align} }[/math]

See also

References