FACTOID # 48: Many Americans live alone - the United States leads the world in one person households.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

FACTS & STATISTICS    Simple view

  1. Select countries to view: (hold down Control key and click to select several)

     

     

    Compare:

     

     

  1. Select fact or statistic: (* = graphable)

     

     

     

  2. (OPTIONAL) Compare to statistic: (both need to be graphable)

     

     

     

  3. View result as:

     

       
(OR) SEARCH ALL encyclopedia, stats & forums:   

Encyclopedia > Binary logarithm
Plot of log2 x
Plot of log2 x

In mathematics, the binary logarithm (log2 n) is the logarithm for base 2. It is the inverse function of 2n. Image File history File links Binary_logarithm_plot. ... Image File history File links Binary_logarithm_plot. ... Wikibooks Wikiversity has more about this subject: School of Mathematics Wikiquote has a collection of quotations related to: Mathematics Look up Mathematics in Wiktionary, the free dictionary Wikimedia Commons has media related to: Mathematics Interactive Mathematics Miscellany and Puzzles — A collection of articles on various math topics, with interactive Java... Logarithms to various bases: red is to base e, green is to base 10, and purple is to base 1. ... The binary or base-two numeral system is a system for representing numbers in which a radix of two is used; that is, each digit in a binary numeral may have either of two different values. ... In mathematics, an inverse function is in simple terms a function which does the reverse of a given function. ...


The binary logarithm is often used in computer science and information theory (where it is frequently written lg n), because it is closely connected to the binary numeral system. The number of digits (bits) in the binary representation of a positive integer n is the integral part of lg n + 1, i.e. Computer science - Wikipedia, the free encyclopedia /**/ @import /skins-1. ... Information theory is the mathematical theory of data communication and storage generally considered to have been founded in 1948 by Claude E. Shannon. ... The binary numeral system represents numeric values using two symbols, typically 0 and 1. ... This article is about the unit of information. ... In mathematics, the floor function is the function defined as follows: for a real number x, floor(x) is the largest integer less than or equal to x. ...

lfloor lg nrfloor + 1.

In information theory, the definition of the amount of self-information and information entropy involves the binary logarithm; this is needed because the unit of information, the bit, refers to information resulting from an occurrence of one of two equally probable alternatives. Within the context of information theory, self-information is defined as the amount of information that knowledge about (the outcome of) a certain event, adds to someones overall knowledge. ... Entropy of a Bernoulli trial as a function of success probability. ... The word unit means any of several things: Unit of measurement or physical unit, a fundamental quantity of measurement in science or engineering. ...


The binary logarithm also frequently appears in the analysis of algorithms. If a number n greater than 1 is divided by 2 repeatedly, the number of iterations needed to get a value at most 1 is again the integral part of lg n. This idea is used in the analysis of several algorithms and data structures. For example, in binary search, the size of the problem to be solved is halved with each iteration, and therefore roughly lg n iterations are needed to obtain a problem of size 1, which is solved easily in constant time. Similarly, a perfectly balanced binary search tree containing n elements has height lg n+1. To analyze an algorithm is to determine the amount of resources (such as time and storage) necessary to execute it. ... Flowcharts are often used to represent algorithms. ... A binary tree, a simple type of branching linked data structure. ... In computer science, binary search or binary chop is a search algorithm for finding a particular value in a linear array, by ruling out half of the data at each step. ... A binary search tree of size 9 and depth 3, with root 7 and leaves 4, 7 and 13. ...


However, the running time of an algorithm is usually expressed in big O notation, ignoring constant factors. Since log2 n = (1/logk 2)logk n, where k can be any number greater than 1, algorithms that run in O(log2 n) time also run in, say, O(log13 n) time. The base of the logarithm in expressions such as O(log n) or O(n log n) is therefore not important. In other contexts, though, the base of the logarithm needs to be specified. For example O(2lg n) is not the same as O(2ln n) because the former is equal to O(n) and the latter to O(n0.6931...). Big O notation is a mathematical notation used to describe the asymptotic behavior of functions. ...


Algorithms with running time n lg n are sometimes called linearithmic. Some examples of algorithms with running time O(lg n) or O(n lg n) are: In computer science, a function is called linearithmic if it is of the form n · log n  (i. ...

A easy way to calculate the log2(n) on calculators that do not have a log2-function is to use the natural logarithm ln (which is found on most calulators).
The formula for this is: log2(n) = ln(n)/ln(2). Quicksort in action on a list of random numbers. ... A binary search tree of size 9 and depth 3, with root 7 and leaves 4, 7 and 13. ... In computer science, merge sort or mergesort is a sort algorithm for rearranging lists (or any other data structure that can only be accessed sequentially, e. ... In computer science, an m-by-n array of real numbers is a Monge array if for all i, j, k, l such that: and one obtains: So whenever we pick two rows and two columns of a Monge array and consider the four elements at the intersection points, the...


See also


  Results from FactBites:
 
Binary logarithm - definition of Binary logarithm in Encyclopedia (360 words)
Binary logarithm is often used in computer science and information theory, because it is closely connected to the binary numeral system.
In information theory, the definition of the amount of self-information and information entropy involves binary logarithm; this is needed because the unit of information, the bit, refers to information resulting from an occurrence of one of two equally probable alternatives.
For example in binary search, the size of the problem to be solved is halved in each iterations, therefore roughly lg n iterations are needed to obtain a problem of size 1, which is solved easily in constant time.
Logarithm - Wikipedia, the free encyclopedia (2054 words)
Logarithms to various bases: red is to base e, green is to base 10, and purple is to base 1.7.
One simply found the logarithms of both numbers (multiply and divide) or the first number (power or root, where one number is already an exponent) in a table of common logarithms, performed a simpler operation on those, and found the result on a table.
This he followed, in 1624, by his Arithmetica Logarithmica, containing the logarithms of all integers from 1 to 20,000 and from 90,000 to 100,000 to fourteen places of decimals, together with a learned introduction, in which the theory and use of logarithms are fully developed.
  More results at FactBites »


 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments
Please enter the 5-letter protection code

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms.