Oboe
No history yet

Basics of Cybersecurity

Welcome! I'm so excited to help you dive into the essentials of safeguarding the digital world.

Before we kick off our learning journey, I'd love to know: what brings you to learning cybersecurity today, and do you have any prior technical background?

tell me about logarithms and exponentials

It's great to have you here! We can absolutely switch gears and dive deep into logarithms and exponentials.

To make sure we start at the perfect spot, what level of math background do you have, and what goal are you hoping to achieve with logarithms and exponentials?

I have some algebra background and need a refresher for school.

It's great to have you here! Since you have some algebra background, we'll build on that to make this refresher feel like a breeze. We're going to dive into the core relationship between exponentials and logarithms, look at common bases, and work through some examples together.

Your path
Key Properties of Logarithmic Functions
Graphing Exponential and Logarithmic Functions
Solving Exponential and Logarithmic Equations

The Core Connection

To master logarithms, we have to start with something you already know well: exponents.

An exponent tells us how many times to multiply a base by itself. For example, we know that two cubed is eight.

But what if we want to go backward? What if we know the base and the final result, and we want to find the exponent? That is exactly what a does. It acts as an "exponent finder."

Let's look at the mathematical bridge that connects these two worlds. If you can write an equation as an exponential, you can translate it directly into a logarithm.

bx=y    logb(y)=xb^x = y \iff \log_b(y) = x

Let's look at a concrete example of this translation in action. If we take our familiar exponential equation, we can rewrite it using our new logarithmic form.

23=8    log2(8)=32^3 = 8 \iff \log_2(8) = 3

Why do we use logs instead of just exponents?

That is easily one of the best questions you can ask when learning this topic. While exponents are great for calculating growth, they become incredibly clunky when we have to deal with massive differences in scale, or when we need to isolate the exponent itself.

Logarithms are essentially mathematical translators. They take processes that grow or shrink multiplicatively (by multiplying over and over) and flatten them into a simple, that grows additively (by adding step-by-step).

A parallel scale visual contrasting exponential expansion with logarithmic linear spacing for powers of ten.

I've started generating a visualization above to help you see this contrast directly. There are three core reasons why we rely on logarithms in the real world:
  1. Taming Wild Numbers: In science, we often deal with values that span from tiny fractions to trillions. For instance, instead of measuring the concentration of hydrogen ions in liquids as 0.0000001 or 0.0000000001, we take the logarithm and use a simple scale from 0 to 14. This is exactly how we get the pH scale.
  2. Isolating the Unknown Exponent: If you are trying to calculate how many years it will take for an investment to double under compound interest, your variable is trapped up in the exponent. Logarithms are the tool that lets us "pull" that exponent down to earth so we can solve for it.
  3. Human Perception: Our senses actually work logarithmically. We perceive changes in sound volume (decibels) and the brightness of stars on a logarithmic scale, not a linear one.
Does this shift from multiplication to addition make sense, or would you like to see how we apply this to some common bases?

logarithmic laws

I hear you! It is tempting to jump straight into those sleek logarithmic laws, but we actually need to meet two of the most famous characters in the math world first: common log (base 10) and natural log (base e).

Knowing these two "default" bases is what makes those logarithmic laws actually useful. Think of them as the standard presets on a soundboard; once you know how these two presets behave, applying the laws to them becomes second nature.

The Two Default Bases

If you look at a scientific calculator, you'll usually see two distinct buttons: log and ln.

These buttons exist because we use base 10 and base so frequently in science and finance that mathematicians decided they deserved their own shorthand. If you see a logarithm written without any base at all, it's a safe bet it is one of these two.

Logarithm NameBase UsedStandard NotationWhat It's Asking
Common LogBase 10log(x)\log(x) (base is invisible)"10 raised to what power gives me xx?"
Natural LogBase eeln(x)\ln(x) (stands for logarithmic natural)"ee raised to what power gives me xx?"

Let's see if we can build some quick intuition with a common log equation before we tackle the laws. If we write down a simple common log expression, we are looking for a power of 10.

log(100)=2\log(100) = 2

Now, what do you think would happen if we tried this with a natural log? Remember that ln\ln is just a shorthand way of writing a log with a base of ee.

How would you rewrite the following expression in its exponential form?

ln(e4)=?\ln(e^4) = ?