Documentation

Atlas.RealAnalysis.code.Derivatives.Basic

theorem differentiable_at_iff_limit_exists (f : ) (c : ) :
DifferentiableAt f c ∃ (L : ), Filter.Tendsto (fun (x : ) => (f x - f c) / (x - c)) (nhdsWithin c {c}) (nhds L)

A real function f is differentiable at c if and only if the difference quotient (f x - f c) / (x - c) has a limit as x → c with x ≠ c.

theorem chain_rule (f g : ) (c : ) (hg : DifferentiableAt g c) (hf : DifferentiableAt f (g c)) :
DifferentiableAt (f g) c deriv (f g) c = deriv f (g c) * deriv g c

Chain rule: if g is differentiable at c and f is differentiable at g c, then the composition f ∘ g is differentiable at c and (f ∘ g)'(c) = f'(g c) * g'(c).