Command Palette

Search for a command to run...

Functions and Their Modeling

Logarithmic Function Concept

What is a Logarithmic Function?

Have you ever wondered how long it takes for your investment to double? The answer lies in logarithmic functions! A logarithm is the "inverse" of an exponential. If exponential answers "what is the result?", then logarithm answers "what is the exponent?".

Let's start with a simple example. If we have:

23=82^3 = 8

Question: "What power of 2 gives 8?" The answer is 3. This is what logarithm answers:

log28=3\log_2 8 = 3

In general, the relationship between exponential and logarithm:

y=bxx=logbyy = b^x \quad \Leftrightarrow \quad x = \log_b y

Definition and Types of Logarithms

A logarithmic function with base bb (where b>0b > 0 and b1b \neq 1) is expressed as:

f(x)=logbxfor every x>0f(x) = \log_b x \quad \text{for every } x > 0

Types of logarithms commonly used:

  1. Common Logarithm (base 10): f(x)=logxf(x) = \log x

    Example: log100=2\log 100 = 2 because 102=10010^2 = 100

  2. Natural Logarithm (base e2.7183e \approx 2.7183): f(x)=lnxf(x) = \ln x

    Example: lne=1\ln e = 1 because e1=ee^1 = e

  3. Binary Logarithm (base 2): f(x)=log2xf(x) = \log_2 x

    Example: log28=3\log_2 8 = 3 because 23=82^3 = 8

Logarithmic Function Graph

Comparison of Exponential and Logarithmic Functions
Graph y=log2xy = \log_2 x is the reflection of y=2xy = 2^x across the line y=xy = x.

Graph characteristics f(x)=logbxf(x) = \log_b x with b>1b > 1:

  • Domain: x>0x > 0 (positive numbers only)
  • Range: All real numbers
  • x-intercept: (1,0)(1, 0)
  • Vertical asymptote: y-axis (x=0x = 0)
  • Increasing function for b>1b > 1

Properties of Logarithms

Basic Properties

logb1=0\log_b 1 = 0
logbb=1\log_b b = 1
logbbn=n\log_b b^n = n
blogbx=xb^{\log_b x} = x

Operational Properties

logb(xy)=logbx+logby\log_b (xy) = \log_b x + \log_b y
logb(xy)=logbxlogby\log_b \left(\frac{x}{y}\right) = \log_b x - \log_b y
logbxn=nlogbx\log_b x^n = n \cdot \log_b x
logbx=logaxlogab(change of base)\log_b x = \frac{\log_a x}{\log_a b} \quad \text{(change of base)}

COVID-19 Spread Model

In the early pandemic, COVID-19 spread in Indonesia could be modeled with an exponential function. If on March 2, 2020 there were 2 cases and in 60 days it reached 10,118 cases, then:

P(t)=2e160ln(5059)tP(t) = 2e^{\frac{1}{60}\ln(5059)t}
COVID-19 Spread Model
Exponential growth of COVID-19 cases

Using logarithms, we can calculate when there will be 50,000 cases:

50000=2e160ln(5059)t50000 = 2e^{\frac{1}{60}\ln(5059)t}
t=60ln(25000)ln(5059)81.4 dayst = \frac{60 \cdot \ln(25000)}{\ln(5059)} \approx 81.4 \text{ days}

Exercises

  1. Determine the value of:

    • log327\log_3 27
    • log51125\log_5 \frac{1}{125}
    • lne3\ln e^3
  2. If log2x=4\log_2 x = 4, determine the value of xx.

  3. Simplify: log28+log24log22\log_2 8 + \log_2 4 - \log_2 2

  4. An investment grows according to the formula A=10002tA = 1000 \cdot 2^t (in million rupiah). How many years are needed for the investment to become 8 billion rupiah?

Answer Key

    • log327=3\log_3 27 = 3
    • log51125=3\log_5 \frac{1}{125} = -3
    • lne3=3\ln e^3 = 3
  1. x=24=16x = 2^4 = 16
  2. log28+log24log22=3+21=4\log_2 8 + \log_2 4 - \log_2 2 = 3 + 2 - 1 = 4
  3. 8000=10002t8=2tt=38000 = 1000 \cdot 2^t \Rightarrow 8 = 2^t \Rightarrow t = 3 years