Theorem 5.3(c) — the derivative of a quotient
ProvedRudin.ch05_deriv_quotientanalysiscalculus
Let and be real functions of a real variable, differentiable at a point , and suppose . Then the quotient is differentiable at and
This is part (c) of Rudin's Theorem 5.3. The hypothesis is what makes the quotient defined near : since is differentiable at it is continuous there, so is nonzero on a whole neighbourhood of and the difference quotient of makes sense. The rule is the standard tool for differentiating rational expressions and is the form in which the derivative of enters L'Hospital's rule.
Formalization Note Differentiability is asserted explicitly alongside the derivative formula, because the derivative operator used here is a total function that returns at points where the function is not differentiable.
Preamble
import Mathlib open Filter Topology
Formal statement
namespace Rudin
/-- Rudin, Theorem 5.3 (c): if `f` and `g` are differentiable at `x` and `g x ≠ 0`, then `f / g`
is differentiable at `x` and `(f / g)'(x) = (g(x) f'(x) - g'(x) f(x)) / g(x)^2`. -/
theorem ch05_deriv_quotient (f g : ℝ → ℝ) (x : ℝ)
(hf : DifferentiableAt ℝ f x) (hg : DifferentiableAt ℝ g x) (hgx : g x ≠ 0) :
DifferentiableAt ℝ (fun t => f t / g t) x ∧
deriv (fun t => f t / g t) x = (g x * deriv f x - deriv g x * f x) / (g x) ^ 2 := by sorry
end RudinSource
Walter Rudin, Principles of Mathematical Analysis, 3rd edition, McGraw-Hill, 1976, Chapter 5, p. 104, Theorem 5.3