Algebra Nspirations

Algebra Nspirations

Algebra Nspirations

Algebra Nspirations

Algebra Nspirations

Algebra Nspirations

Logarithms and Logarithmic Functions

The 16th and early-17th centuries saw a great

expansion of scientific knowledge in

just about every field.

Geography, physics, and astronomy were finally freed

from religious dogmas and began painting a scientific

picture of the world.

Mercator's world map was ushering in a new era of

navigation.

Galileo was laying the foundation for the new science

of mechanics, and Kepler's laws of planetary motion

forever removed Earth from the center of the universe.

These and other developments involved huge amounts of

numerical data, which required time-consuming calculations.

A computational device was desperately needed to make

long computations easier and more efficient.

This computational device was invented by the

Scotsman John Napier.

In 1614, he published his invention in a book entitled

Description of the Wonderful Canon of Logarithms that

revolutionized computation.

Napier invented the word "logarithm" by combining two

Greek words, "logos," for ratio, and

"arithmos" for number.

On a deeper level, though, logos means logical reasoning,

and gave the word "logic." "Arithmos" means

"calculation," and gave the word "arithmetic." So Napier

applied logical mathematical reasoning to the problem of

calculation.

Today, because calculators have eliminated the need to

teach computation with logarithms, we often ignore

their origins.

In keeping with history, we'll begin this lesson with some

computations and derive the properties of logs.

We'll move on to logarithmic functions and graphs, and

lastly look at a real-world application.

In math textbooks, logs are introduced in

connection with exponents.

But it wasn't until decades after Napier's work that

mathematicians first recognized the possibility of

defining logs as exponents.

Let's see what this means.

Suppose you had a table of powers of two, with exponents

ranging from 0 to 30.

Let's create one with the TI Nspire.

Turn on the TI Nspire.

Press the Home key for a new document.

Save any previous documents if you wish, then create a list

and spreadsheet page.

Scroll up to the top of column A and type n for

the exponent value.

Press the down arrow twice.

To generate integers 0 through 30, type 0 in cell A1 then

press Enter.

Type 1 in cell A2, then arrow up.

Now press and hold the Shift key as you arrow down to

select both cells.

Once they're highlighted, press Menu, and under Data,

select Fill down.

Arrow down to cell A31, press Enter, and there you have it.

Scroll up to the top of column B. Type p for power or two,

then press the down arrow.

Enter 2, the carrot key for the exponent,

and n for the variable.

After pressing Enter, you get a dialog box.

Press the down arrow and select Variable Reference.

Then tab down to click OK.

The powers of two appear.

Now, for an example of a long multiplication of large

numbers, suppose you needed to multiply 65,536 by 2,048.

Scroll down to B12 and notice that our second

factor is 2 to the 11th.

Scroll down five more lines and you'll find our first

factor is 2 to the 16th.

So our product is equivalent to the product 2 the 16th

times 2 to the 11th.

When multiplying powers of a same

base, we add the exponents.

So our answer is 2 to the 27th power.

The answer of our multiplication

problem is in cell B28.

The ellipses indicate missing digits.

Either read the number that appears in small print or

widen the column as follows.

Press Menu, and under Actions, select Resize, and then Resize

Column Width.

Arrow right a few times until it's wide

enough, then press Escape.

There's your answer.

Likewise, if you wanted to divide 32,768 by 512, you'd

scroll up to the dividend, jot down 2 the 15th, then scroll

up further to the divisor, jot down 2 to the ninth.

Applying the law for dividing powers of the same base, we

get 2 to the power 15 minus 9, or 2 to the sixth

power, which is 64.

Verify the quotient in cell B7.

By simply reading numbers from a table, you found the product

of two large numbers by applying the power rules for

multiplication and the quotient of two large numbers

by applying the power rule for division, and all this without

any computational effort.

This gives you an idea of the genius behind Napier's

logarithmic tables, which people used for centuries.

But you're probably thinking, what if we multiply two

numbers that are not in this list of powers of two?

Say, for instance, this product.

6,012 is between 2 to the 3 ~ 4h and 2 to the 13th, and 125,010

is between 2 to the 16th and 2 to the 17th.

So there exist an exponent value x between 12 and 13,

such that 2 to the x equals 6,012.

Likewise, there exists a z value between 16 and 17, such

that 2 to the z power equals 125,010.

If 2 to the x power equals 6,012, that exponent x is

called the logarithm 2 to the base 2 of 6,012, and is

denoted by this expression.

Remember I said earlier that a logarithm can be

defined as an exponent?

This is what I meant.

Similarly, if 2 to the z power equals 125,010, then,

equivalently, z equals log to the base 2 of 125,010.

Let's turn to the Nspire to explore the Log key and

compute logarithms x and z.

Then we'll have what we need to solve our multiplication.

Press Control I to add a new page to our document, then 1

to add a calculator page.

Press Control Log.

The cursor is prompting you to enter the base value.

Enter 2, then press the right arrow.

Type 6,012, then press Enter.

As expected, the logarithm x is between 12 and 13.

Access the log key again, enter 2 for the base, then

press the right arrow.

Now type 125,010.

Then press Enter.

As expected, again, the logarithm z is

between 16 and 17.

You now have the powers of 2 that yield our two factors

shown in parentheses.

Our answer is the product of these two powers, so we add

the exponents.

To compute this new exponent, type 12.5536 plus 16.9317,

then press Enter.

A log table would provide this new power of 2, but here we

must evaluate.

Press the up arrow to select, Control C to copy, then the

down arrow.

Type 2, the carrot key, and Control V to paste the

exponent, and press Enter.

There's our answer.

Let's recap.

You locate the powers of 2 that correspond to each factor

of our problem, then add the exponents

because it's a product.

And, finally, go back to the table and locate the value of

the new power of 2.

Keep in mind that with complete log tables up to

seven-digit accuracy, scientists needed only to

carry out simple operations with exponents for long

multiplication, division, and root extraction problems.

And they got pretty accurate answers.

Logs clearly simplify their lives.

Let's use the Notes application of the Nspire to

write our definition of a logarithm to the base 2.

Press Control I and select a notes page.

Press Menu, and under Templates select Q&A. Use the

keypad just as you would a computer keyboard to type the

question, what is a logarithm?

Press Shift W for capital W. Press Tab twice to move down

to the answer.

Here type, let x be a given number.

The logarithm of x to the base 2 is the exponent y to which 2

must be raised to obtain x.

Use the decimal point for a period, and the Enter key to

begin a new paragraph.

Below the definition, you'll enter this equivalence.

Press Menu, and under Insert, select Math Expression Box.

Inside the box, mathematical formatting is available.

Press Control Log, then 2, the right arrow, x, then the right

arrow again to exit the parens.

The equal sign, y.

For the equivalent sign, press Control, then the Catalog key.

The double-arrow is in the 13th row.

Use the nag pad to select it, then press Enter.

Next, type 2, press the carrot key, the letter y, the right

arrow, the equal sign, and finally the letter x.

Press the right arrow one last time to exit the box.

Finally, scroll up and place the cursor at the end of the

word "logarithm." Press and hold the Shift key while

arrowing left to select the word.

Press Menu, and under Format, select Bold.

The word "logarithm" is now bolded for emphasis.

You now have a definition of a logarithm you can revisit

whenever you need refreshing, a definition that needs some

reflection, I might add.

Since you now know that logs are exponents, the following

useful properties of logs will make sense.

For any base b, the logarithm of a product is the sum of the

logs, because when multiplying powers of a same

base, we add exponents.

The use of the parentheses is optional.

The logarithm of a quotient is the difference of the logs,

because when dividing powers of a same base, we subtract

the exponents.

The logarithm of a power of x is that power times the log of

x, because when raising a power of any base to another

power, we multiply the exponents.

For any integer p, say 3, this is a special

case of property 1.

But p can also be non-integers, such as 1/2,

which is the square root of x.

You can read this three ways

log to the base b, log in base b, or log base b.

I will use log base b of x.

Let's clarify this equivalence you typed in your notes, which

can be generalized for any base b.

Think of it this way.

If log base b of some number x gives y, then b to the y power

gives back x.

Likewise, if b to some power x gives y, then log base b of y

gives back x.

Let's go back to the Nspire to reinforce this

very important fact.

Press Control, left arrow, until you're back on page one

of your document denoted by 1.1 at top left.

Use the nav pad to scroll up to the formula line of column

C, the gray line.

Press Control Log to access logs.

You can't see the log symbol yet, but it's there.

Type 2 for the base, arrow right, type p for the variable

name of column B, then press Enter.

In the dialog box, arrow down to select Variable Reference.

Then tab down to click OK.

Scroll down to line 31 and compare entries in columns A

and C. Is it clear why they're equal?

Column A contains integers and equals 1 through 30.

Column B gives 2 to the n for every n in column A. We called

it p for power of 2.

Column C gives log base 2 for every p in column B. And the

answer is n.

Had we applied 2 to the n and log base 2 in reverse order,

we'd also obtain n.

We can generalize these formulas for any base.

These are equivalent expressions without

parentheses.

This confirms that logarithmic and exponential functions are

inverses of each other, since each cancels the

effects of the other.

A perfect segue to our next investigation.

But first try this.