ln_series: THEORY %---------------------------------------------------------------------------- % % Series Expansion for Natural Logarithm Function % % Author: Ricky W. Butler NASA Langley Research Center % % Note. See ln_exp_series_alt for an alternate formulation %---------------------------------------------------------------------------- BEGIN IMPORTING ln_exp % series@taylor_series, % convergence_special
IMPORTING reals@sigma_nat
x: VAR real
px: VAR posreal
n,m: VAR nat
a: VAR sequence[real]
l,t: VAR real
% --- Series for log(1+x) follows from term-by-term integration % --- of 1/(1+x) = 1 - x + x^2 - x^3. Using term-by-term % --- in power_series_integ, we can use proof in Rosenlicht % --- page 155 or Salas-Hille pg 466 to get log(1+x) series for abs(x) < 1 % --- Also use corollary 3 on pg 128 of Rosenlicht to establish that % --- ln(1+x) = integral(1,1+x,1/t) = integral(0,x,1/(1+t)) %