function variance = log_series_variance ( a )

%*****************************************************************************80
%
%% log_series_variance() returns the variance of the Logarithmic Series PDF.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    20 February 1999
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    real A, the parameter of the PDF.
%    0.0 < A < 1.0.
%
%  Output:
%
%    real VARIANCE, the variance of the PDF.
%
  alpha = - 1.0 / log ( 1.0 - a );

  variance = a * alpha * ( 1.0 - alpha * a ) / ( 1.0 - a )^2;

  return
end
