{ localUrl: '../page/log_definition.html', arbitalUrl: 'https://arbital.com/p/log_definition', rawJsonUrl: '../raw/40j.json', likeableId: '2600', likeableType: 'page', myLikeValue: '0', likeCount: '8', dislikeCount: '0', likeScore: '8', individualLikes: [ 'EricBruylant', 'TravisRivera', 'JaimeSevillaMolina', 'NateSoares', 'EricRogstad', 'SzymonWilczyski', 'SzymonSlawinski', 'ThomasRichardson' ], pageId: 'log_definition', edit: '23', editSummary: '', prevEdit: '22', currentEdit: '23', wasPublished: 'true', type: 'wiki', title: 'What is a logarithm?', clickbait: '', textLength: '6404', alias: 'log_definition', externalUrl: '', sortChildrenBy: 'likes', hasVote: 'false', voteType: '', votesAnonymous: 'false', editCreatorId: 'NateSoares', editCreatedAt: '2016-09-15 01:31:20', pageCreatorId: 'NateSoares', pageCreatedAt: '2016-06-03 20:26:07', seeDomainId: '0', editDomainId: 'AlexeiAndreev', submitToDomainId: '0', isAutosave: 'false', isSnapshot: 'false', isLiveEdit: 'true', isMinorEdit: 'false', indirectTeacher: 'false', todoCount: '0', isEditorComment: 'false', isApprovedComment: 'true', isResolved: 'false', snapshotText: '', anchorContext: '', anchorText: '', anchorOffset: '0', mergedInto: '', isDeleted: 'false', viewCount: '1227', text: '[summary: Logarithms are a group of [3jy functions] that take a number as input and produce another number. There is a logarithm function for every positive number $b$ [41m except 1], and the logarithm function for $b$ (called "the logarithm base $b$" or just "log base $b$") takes an input $x$ and counts how many times you have to multiply $1$ by $b$ to get $x$. For example, the log base 10 of 1000 is 3, because you have to multiply 1 by 10 three times to get 1000. The log base $b$ of $x$ is written $\\log_b(x).$]\n\nLogarithms are a group of [3jy functions] that map numbers to numbers. There is a logarithm function for every positive number $b$ [41m except 1], and the logarithm function for $b$ (called "the logarithm base $b$" or just "log base $b$") takes an input $x$ and counts how many times you have to multiply $1$ by $b$ to get $x$.\n\nFor example, the log base 10 of 1000 is 3, because you have to multiply 1 by 10 three times to get 1000, and the log base 2 of 16 is 4, because you have to multiply 1 by 2 four times to get 16. The log base $b$ of $x$ is written $\\log_b(x).$\n\nThe logarithm function grows slowly. For example, $\\log_{10}(x)$ is less than 1 until $x$ reaches 10, and it's less than 2 until $x$ reaches 100, and it's less than 6 until $x$ reaches 1,000,000 and so on. You've got to put a lot of oomph (specifically, a whole factor of 10) into the input in order to make the output go up by 1. Here's a graph of $\\log_{10}(x)$ inching its way towards a measly 2 as $x$ makes it all the way out to 100:\n\n![log10](http://i.imgur.com/UhUBlTt.png)\n\n[fixme: Make this graph interactive.]\n\nLogarithms may grow slowly, but they never stop growing: For every number $n$, no matter how large, there is an input $x$ such that $\\log_{10}(x) > n.$\n\n## Examples\n\n1. $\\log_{10}(10000) = 4,$ because you have to multiply 1 by 10 four times to get ten thousand: $1 \\cdot 10 \\cdot 10 \\cdot 10 \\cdot 10 = 10000.$\n3. $\\log_2(8) = 3,$ because $1 \\cdot 2 \\cdot 2 \\cdot 2 = 8.$\n4. $\\log_3(9) = 2,$ because $1 \\cdot 3 \\cdot 3 = 9.$\n5. $\\log_{b}(1) = 0$ for any $b$, because no matter what $b$ is, you don't need to multiply 1 by $b$ any times to get 1.\n6. $\\log_{b}(b) = 1$ for any $b$, because no matter what $b$ is, if you multiply 1 by $b$ once, you get $b.$\n7. $\\log_{1.5}(3.375) = 3,$ because $1 \\cdot 1.5 \\cdot 1.5 \\cdot 1.5 = 3.375.$\n\nQuestion: What's $\\log_3(27)$?\n\n%%hidden(Answer):\nAnswer: 3, because $1 \\cdot 3 \\cdot 3 \\cdot 3 = 27$.\n%%\n\nQuestion: What's $\\log_4(16)$?\n\n%%hidden(Answer):\nAnswer: 2, because $1 \\cdot 4 \\cdot 4 = 16$.\n%%\n\nQuestion: What's $\\log_{10}(\\text{1,000,000})$?\n\n%%hidden(Answer):\nAnswer: 6, because $1 \\cdot 10 \\cdot 10 \\cdot 10 \\cdot 10 \\cdot 10 \\cdot 10 = 1,000,000$.\n%%\n\nAll of the examples above are cases where the answer is a whole number, because $x$ is a [-power] of $b.$ Logarithms also give answers in cases where the answer is not a whole number. For example, $\\log_{10}(500) \\approx 2.7$.\n\nWhat's _that_ supposed to mean? That if you multiply 1 by 10 about 2.7 times, you get 500?\n\nYes, precisely! If you multiply 1 by ten once, and multiply the result by ten another time, and then multiply that by ten 0.7 times, the result is roughly 500. What does it mean to multiply a number by ten 0.7 times? Well, is there a number $x$ such that if we multiply 1 by $x$ ten times, it's the same as multiplying 1 by 10 seven times? Yes! That number is roughly 5:\n\n$$\\underbrace{5 \\cdot 5 \\cdot \\ldots 5}_\\text{10 times} \\approx \\underbrace{10 \\cdot 10 \\cdot \\ldots 10}_\\text{7 times}$$\n\nMultiplying by 5 (ten times) is about the same as multiplying by 10 (seven times), so multiplying by five (once) is about the same as multiplying by 10 (seven-tenths of a time). Thus, multiplying 1 by ten 2.7 times means multiplying it by 10 twice, then multiplying it by approximately 5, for a result of approximately 500.\n\nThis is why $\\log_{10}(500) \\approx 2.7$: that's how many times you need to multiply 1 by 10 to get 500.\n\nIf that answer isn't satisfactory yet, don't worry: Throughout the tutorial, we'll explore both (a) what this means, and (b) why this is the "right way" to multiply a number by $b$ fractionally-many times.\n\nYou might be saying to yourself, "Ok, I can see how 500 is kinda sorta one times ten 2.7 times, but how do you _figure that out?_ As far as I can tell, you pulled that "$5^{10}$ is approximately $10^7$" thing out of thin air. Where did that come from? How is the logarithm actually calculated?"\n\nThe annoying answer is that I calculated $\\log_{10}(500)$ by typing "log10(500)" into [http://www.wolframalpha.com/input/?i=log10(500) Wolfram Alpha]. In more seriousness, in the coming posts, you'll learn how to find things like $\\log_{10}(500)$ on your own.\n\nThat said, the outputs of logarithms are generally difficult to find, but useful once you've found them. Historically, scientists and engineers would pay money for giant tables of pre-computed logarithm values, because those sped up their practical calculations considerably. Why are the outputs of logarithm functions so convenient to use? That question will be answered later in this tutorial.\n\nYou might also be saying to yourself, "ok, I buy that there's a way to see 500 as '1 times 10, 2.7 times,' but what does that _mean?_ What's the point of looking at 500 that way?"\n\nIt's hard to give a short answer to that question, but only because there are so many good answers. One answer goes something like, "if you think of 500 as 2.7 tens, and you think of 8000 as 3.9 tens, then you can multiply the numbers on the left by adding the representations on the right". For example, $500 \\cdot 8000$ is approximately $2.7 + 3.9 = 6.6$ tens.\n\nBut that's getting ahead of ourselves a bit. The most intuitive interpretation to start with is probably this one: Logarithms are measuring how "long" a number is, in terms of how many digits it takes to write that number down, for a generalized notion of "length."\n\nIt may seem that numbers always take a whole number of digits to write down: 139 and 931 are both written using three digits ('9', '3', and '1'). However, as we will see, there's a sense in which 139 is barely using its third digit, while 931 is using all three of its digits to almost their full extent. Logarithms quantify this intuition, and the precise answer that they give reveals some interesting facts about how many digits it costs to write a given number down.', metaText: '', isTextLoaded: 'true', isSubscribedToDiscussion: 'false', isSubscribedToUser: 'false', isSubscribedAsMaintainer: 'false', discussionSubscriberCount: '2', maintainerCount: '1', userSubscriberCount: '0', lastVisit: '', hasDraft: 'false', votes: [], voteSummary: 'null', muVoteSummary: '0', voteScaling: '0', currentUserVote: '-2', voteCount: '0', lockedVoteType: '', maxEditEver: '0', redLinkCount: '0', lockedBy: '', lockedUntil: '', nextPageId: '', prevPageId: '', usedAsMastery: 'false', proposalEditNum: '28', permissions: { edit: { has: 'false', reason: 'You don't have domain permission to edit this page' }, proposeEdit: { has: 'true', reason: '' }, delete: { has: 'false', reason: 'You don't have domain permission to delete this page' }, comment: { has: 'false', reason: 'You can't comment in this domain because you are not a member' }, proposeComment: { has: 'true', reason: '' } }, summaries: {}, creatorIds: [ 'NateSoares', 'JoeZeng', 'EricRogstad', 'EricBruylant', 'JeremySchlatter', 'AbdikarimAweisAbo', 'ManojNeelapu' ], childIds: [], parentIds: [ 'logarithm' ], commentIds: [ '40p', '40q' ], questionIds: [], tagIds: [ 'b_class_meta_tag' ], relatedIds: [], markIds: [], explanations: [], learnMore: [], requirements: [], subjects: [], lenses: [], lensParentId: '', pathPages: [], learnMoreTaughtMap: {}, learnMoreCoveredMap: {}, learnMoreRequiredMap: {}, editHistory: {}, domainSubmissions: {}, answers: [], answerCount: '0', commentCount: '0', newCommentCount: '0', linkedMarkCount: '0', changeLogs: [ { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '22619', pageId: 'log_definition', userId: 'ManojNeelapu', edit: '28', type: 'newEditProposal', createdAt: '2017-06-07 12:26:30', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20679', pageId: 'log_definition', userId: 'AbdikarimAweisAbo', edit: '26', type: 'newEditProposal', createdAt: '2016-12-10 19:21:04', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '19610', pageId: 'log_definition', userId: 'NateSoares', edit: '23', type: 'newEdit', createdAt: '2016-09-15 01:31:20', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '19608', pageId: 'log_definition', userId: 'NateSoares', edit: '22', type: 'newEdit', createdAt: '2016-09-15 01:25:13', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '19577', pageId: 'log_definition', userId: 'AlexeiAndreev', edit: '0', type: 'newTag', createdAt: '2016-09-14 23:53:33', auxPageId: 'b_class_meta_tag', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '19576', pageId: 'log_definition', userId: 'AlexeiAndreev', edit: '0', type: 'deleteTag', createdAt: '2016-09-14 23:53:23', auxPageId: 'work_in_progress_meta_tag', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '17507', pageId: 'log_definition', userId: 'JeremySchlatter', edit: '21', type: 'newEdit', createdAt: '2016-07-25 20:43:07', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '16708', pageId: 'log_definition', userId: 'EricBruylant', edit: '20', type: 'newEdit', createdAt: '2016-07-14 19:44:05', auxPageId: '', oldSettingsValue: '', newSettingsValue: 'minor changes' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '15571', pageId: 'log_definition', userId: 'JoeZeng', edit: '19', type: 'newEdit', createdAt: '2016-07-06 03:43:05', auxPageId: '', oldSettingsValue: '', newSettingsValue: 'And reformatted the explanations to the same as the examples.' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '15570', pageId: 'log_definition', userId: 'JoeZeng', edit: '18', type: 'newEdit', createdAt: '2016-07-06 03:41:03', auxPageId: '', oldSettingsValue: '', newSettingsValue: 'Added explanations to the exercise answers.' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '15069', pageId: 'log_definition', userId: 'NateSoares', edit: '17', type: 'newEdit', createdAt: '2016-07-01 16:55:29', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '15056', pageId: 'log_definition', userId: 'NateSoares', edit: '0', type: 'newAlias', createdAt: '2016-07-01 15:51:34', auxPageId: '', oldSettingsValue: 'log_tutorial_definition', newSettingsValue: 'log_definition' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '15057', pageId: 'log_definition', userId: 'NateSoares', edit: '16', type: 'newEdit', createdAt: '2016-07-01 15:51:34', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '12037', pageId: 'log_definition', userId: 'EricRogstad', edit: '15', type: 'newEdit', createdAt: '2016-06-08 18:56:05', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '11863', pageId: 'log_definition', userId: 'NateSoares', edit: '13', type: 'newEdit', createdAt: '2016-06-07 00:37:08', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '11801', pageId: 'log_definition', userId: 'NateSoares', edit: '12', type: 'newEdit', createdAt: '2016-06-04 14:59:18', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '11800', pageId: 'log_definition', userId: 'NateSoares', edit: '11', type: 'newEdit', createdAt: '2016-06-04 14:58:32', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '11799', pageId: 'log_definition', userId: 'NateSoares', edit: '10', type: 'newEdit', createdAt: '2016-06-04 14:47:12', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '11792', pageId: 'log_definition', userId: 'NateSoares', edit: '9', type: 'newEdit', createdAt: '2016-06-04 02:02:45', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '11783', pageId: 'log_definition', userId: 'NateSoares', edit: '8', type: 'newEdit', createdAt: '2016-06-03 20:51:59', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '11782', pageId: 'log_definition', userId: 'NateSoares', edit: '7', type: 'newEdit', createdAt: '2016-06-03 20:47:09', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '11781', pageId: 'log_definition', userId: 'NateSoares', edit: '6', type: 'newEdit', createdAt: '2016-06-03 20:31:11', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '11780', pageId: 'log_definition', userId: 'NateSoares', edit: '5', type: 'newEdit', createdAt: '2016-06-03 20:30:34', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '11779', pageId: 'log_definition', userId: 'NateSoares', edit: '4', type: 'newEdit', createdAt: '2016-06-03 20:30:07', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '11777', pageId: 'log_definition', userId: 'NateSoares', edit: '3', type: 'newEdit', createdAt: '2016-06-03 20:27:26', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '11776', pageId: 'log_definition', userId: 'NateSoares', edit: '2', type: 'newEdit', createdAt: '2016-06-03 20:26:52', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '11775', pageId: 'log_definition', userId: 'NateSoares', edit: '1', type: 'newEdit', createdAt: '2016-06-03 20:26:07', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '11772', pageId: 'log_definition', userId: 'NateSoares', edit: '1', type: 'newParent', createdAt: '2016-06-03 20:23:05', auxPageId: 'logarithm', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '11771', pageId: 'log_definition', userId: 'NateSoares', edit: '1', type: 'newTag', createdAt: '2016-06-03 20:22:42', auxPageId: 'work_in_progress_meta_tag', oldSettingsValue: '', newSettingsValue: '' } ], feedSubmissions: [], searchStrings: {}, hasChildren: 'false', hasParents: 'true', redAliases: {}, improvementTagIds: [], nonMetaTagIds: [], todos: [], slowDownMap: 'null', speedUpMap: 'null', arcPageIds: 'null', contentRequests: { lessTechnical: { likeableId: '3677', likeableType: 'contentRequest', myLikeValue: '0', likeCount: '1', dislikeCount: '0', likeScore: '1', individualLikes: [], id: '135', pageId: 'log_definition', requestType: 'lessTechnical', createdAt: '2016-10-31 10:41:38' }, moreTechnical: { likeableId: '3481', likeableType: 'contentRequest', myLikeValue: '0', likeCount: '2', dislikeCount: '0', likeScore: '2', individualLikes: [], id: '72', pageId: 'log_definition', requestType: 'moreTechnical', createdAt: '2016-08-31 01:04:13' }, moreWords: { likeableId: '3480', likeableType: 'contentRequest', myLikeValue: '0', likeCount: '1', dislikeCount: '0', likeScore: '1', individualLikes: [], id: '71', pageId: 'log_definition', requestType: 'moreWords', createdAt: '2016-08-31 01:00:48' }, speedUp: { likeableId: '3598', likeableType: 'contentRequest', myLikeValue: '0', likeCount: '1', dislikeCount: '0', likeScore: '1', individualLikes: [], id: '111', pageId: 'log_definition', requestType: 'speedUp', createdAt: '2016-10-11 18:36:55' } } }