What this lesson covers
This lesson covers three more standard functions. The signum function reports only the sign of a number. The exponential function a x a^x a x and the logarithmic function log a x \log_a x log a x undo each other, and the laws of logarithms you meet here are used throughout higher mathematics.
Signum function
The signum (or signature) function is defined as
sgn ( x ) = { ∣ x ∣ x , x ≠ 0 0 , x = 0 that is, sgn ( x ) = { 1 , x > 0 − 1 , x < 0 0 , x = 0. \displaystyle \operatorname{sgn}(x) = \begin{cases} \dfrac{|x|}{x}, & x \neq 0 \\[2mm] 0, & x = 0 \end{cases} \qquad \text{that is,} \qquad \operatorname{sgn}(x) = \begin{cases} 1, & x > 0 \\ -1, & x < 0 \\ 0, & x = 0. \end{cases} sgn ( x ) = ⎩ ⎨ ⎧ x ∣ x ∣ , 0 , x = 0 x = 0 that is, sgn ( x ) = ⎩ ⎨ ⎧ 1 , − 1 , 0 , x > 0 x < 0 x = 0.
Graph. The ray y = 1 y = 1 y = 1 to the right of the y y y -axis (open dot at ( 0 , 1 ) (0, 1) ( 0 , 1 ) ), the ray y = − 1 y = -1 y = − 1 to the left (open dot at ( 0 , − 1 ) (0, -1) ( 0 , − 1 ) ), and the single point ( 0 , 0 ) (0, 0) ( 0 , 0 ) .
Domain = R = \mathbb{R} = R , range = { − 1 , 0 , 1 } = \{-1, 0, 1\} = { − 1 , 0 , 1 } .
Properties.
sgn ( k x ) = sgn ( x ) \operatorname{sgn}(kx) = \operatorname{sgn}(x) sgn ( k x ) = sgn ( x ) for k ∈ N k \in \mathbb{N} k ∈ N (multiplying by a positive number does not change the sign).
x ⋅ sgn ( x ) = ∣ x ∣ x \cdot \operatorname{sgn}(x) = |x| x ⋅ sgn ( x ) = ∣ x ∣ .
∣ x ∣ ⋅ sgn ( x ) = x |x| \cdot \operatorname{sgn}(x) = x ∣ x ∣ ⋅ sgn ( x ) = x .
x ⋅ sgn ( x ) ⋅ sgn ( x ) = x x \cdot \operatorname{sgn}(x) \cdot \operatorname{sgn}(x) = x x ⋅ sgn ( x ) ⋅ sgn ( x ) = x .
Exponential function
If a > 0 a > 0 a > 0 and x ∈ R x \in \mathbb{R} x ∈ R , then f ( x ) = a x f(x) = a^x f ( x ) = a x is called an exponential function. Its domain is R \mathbb{R} R and its range is R + = ( 0 , ∞ ) \mathbb{R}^+ = (0, \infty) R + = ( 0 , ∞ ) .
Graphs. Every graph y = a x y = a^x y = a x passes through ( 0 , 1 ) (0, 1) ( 0 , 1 ) , because a 0 = 1 a^0 = 1 a 0 = 1 , and stays above the x x x -axis.
For a > 1 a > 1 a > 1 the graph rises from left to right, hugging the negative x x x -axis on the left.
For 0 < a < 1 0 < a < 1 0 < a < 1 the graph falls from left to right, hugging the positive x x x -axis on the right.
Logarithm
If N N N and a a a are positive real numbers with a ≠ 1 a \neq 1 a = 1 , and x x x is a real number such that a x = N a^x = N a x = N , then x x x is called the logarithm of N N N to the base a a a :
a x = N ⟺ x = log a N . a^x = N \iff x = \log_a N. a x = N ⟺ x = log a N .
Laws of logarithms
All bases are positive and not 1 1 1 ; all numbers whose logarithms are taken are positive.
log a a = 1 \log_a a = 1 log a a = 1 , since a = a 1 a = a^1 a = a 1 .
log a 1 = 0 \log_a 1 = 0 log a 1 = 0 , since a 0 = 1 a^0 = 1 a 0 = 1 .
log a ( m n ) = log a m + log a n \log_a (mn) = \log_a m + \log_a n log a ( mn ) = log a m + log a n .
log a ( m n ) = log a m − log a n \displaystyle \log_a \left(\dfrac{m}{n}\right) = \log_a m - \log_a n log a ( n m ) = log a m − log a n .
log x m + log x n − log x p − log x q = log x ( m n p q ) \displaystyle \log_x m + \log_x n - \log_x p - \log_x q = \log_x \left(\dfrac{mn}{pq}\right) log x m + log x n − log x p − log x q = log x ( pq mn ) .
log b n a m = m n log b a \displaystyle \log_{b^n} a^m = \dfrac{m}{n} \log_b a log b n a m = n m log b a .
log b a = 1 log a b \displaystyle \log_b a = \dfrac{1}{\log_a b} log b a = log a b 1 .
log b a ⋅ log a b = 1 \log_b a \cdot \log_a b = 1 log b a ⋅ log a b = 1 .
log b a ⋅ log c b ⋅ log d c = log d a \log_b a \cdot \log_c b \cdot \log_d c = \log_d a log b a ⋅ log c b ⋅ log d c = log d a (a chain).
log b a = log x a log x b \displaystyle \log_b a = \dfrac{\log_x a}{\log_x b} log b a = log x b log x a (change of base).
a log a N = N a^{\log_a N} = N a l o g a N = N .
a log c b = b log c a a^{\log_c b} = b^{\log_c a} a l o g c b = b l o g c a .
Sign and inequality rules
log a x > 0 ⟺ \log_a x > 0 \iff log a x > 0 ⟺ (x > 1 x > 1 x > 1 and a > 1 a > 1 a > 1 ) or (0 < x < 1 0 < x < 1 0 < x < 1 and 0 < a < 1 0 < a < 1 0 < a < 1 ).
log a x < 0 ⟺ \log_a x < 0 \iff log a x < 0 ⟺ (x > 1 x > 1 x > 1 and 0 < a < 1 0 < a < 1 0 < a < 1 ) or (0 < x < 1 0 < x < 1 0 < x < 1 and a > 1 a > 1 a > 1 ).
For a > 1 a > 1 a > 1 : log a N < x ⟺ 0 < N < a x \log_a N < x \iff 0 < N < a^x log a N < x ⟺ 0 < N < a x , and log a N > x ⟺ N > a x \log_a N > x \iff N > a^x log a N > x ⟺ N > a x .
For 0 < a < 1 0 < a < 1 0 < a < 1 the inequality turns round: log a N > x ⟺ 0 < N < a x \log_a N > x \iff 0 < N < a^x log a N > x ⟺ 0 < N < a x , and log a N < x ⟺ N > a x \log_a N < x \iff N > a^x log a N < x ⟺ N > a x .
For a > 1 a > 1 a > 1 and x , y > 0 x, y > 0 x , y > 0 : x < y ⟺ log a x < log a y x < y \iff \log_a x < \log_a y x < y ⟺ log a x < log a y .
The reason for 15 and 16 is that log a \log_a log a is increasing when a > 1 a > 1 a > 1 and decreasing when 0 < a < 1 0 < a < 1 0 < a < 1 .
Logarithmic function
The function f ( x ) = log a x f(x) = \log_a x f ( x ) = log a x , where a a a is a positive constant and a ≠ 1 a \neq 1 a = 1 , is called a logarithmic function. Its domain is ( 0 , ∞ ) (0, \infty) ( 0 , ∞ ) and its range is R \mathbb{R} R .
Graphs. Every graph passes through ( 1 , 0 ) (1, 0) ( 1 , 0 ) and lies to the right of the y y y -axis.
For a > 1 a > 1 a > 1 it rises from left to right, plunging down along the y y y -axis as x → 0 + x \to 0^+ x → 0 + .
For 0 < a < 1 0 < a < 1 0 < a < 1 it falls from left to right, shooting up along the y y y -axis as x → 0 + x \to 0^+ x → 0 + .
Common logarithm. The logarithm to base 10 10 10 is the common (Briggs) logarithm.
Natural logarithm. The logarithm to base e e e is the natural (Napierian) logarithm; log e x \log_e x log e x is written ln x \ln x ln x .
Example 1
Find log 8 32 \log_8 32 log 8 32 .
log 8 32 = log 2 3 2 5 = 5 3 log 2 2 = 5 3 \displaystyle \log_8 32 = \log_{2^3} 2^5 = \frac53 \log_2 2 = \frac53 log 8 32 = log 2 3 2 5 = 3 5 log 2 2 = 3 5 (law 6).
Example 2
Show that log 3 5 ⋅ log 25 27 = 3 2 \displaystyle \log_3 5 \cdot \log_{25} 27 = \frac32 log 3 5 ⋅ log 25 27 = 2 3 .
log 25 27 = log 5 2 3 3 = 3 2 log 5 3 \displaystyle \log_{25} 27 = \log_{5^2} 3^3 = \frac32 \log_5 3 log 25 27 = log 5 2 3 3 = 2 3 log 5 3 , so the product is 3 2 log 3 5 ⋅ log 5 3 = 3 2 \displaystyle \frac32 \log_3 5 \cdot \log_5 3 = \frac32 2 3 log 3 5 ⋅ log 5 3 = 2 3 (law 8).
Practice
Find sgn ( − 7 ) \operatorname{sgn}(-7) sgn ( − 7 ) , sgn ( 0 ) \operatorname{sgn}(0) sgn ( 0 ) and sgn ( π ) \operatorname{sgn}(\pi) sgn ( π ) .
Evaluate log 2 64 \log_2 64 log 2 64 and log 1 / 3 9 \log_{1/3} 9 log 1/3 9 .
Find log 27 9 \log_{27} 9 log 27 9 .
Simplify log 10 4 + log 10 25 \log_{10} 4 + \log_{10} 25 log 10 4 + log 10 25 .
Simplify 5 log 5 7 5^{\log_5 7} 5 l o g 5 7 .
Solve log 2 x < 3 \log_2 x < 3 log 2 x < 3 .
Solve log 1 / 2 x > 2 \log_{1/2} x > 2 log 1/2 x > 2 .
Answers
Show answers
− 1 -1 − 1 , 0 0 0 , 1 1 1 .
log 2 64 = 6 \log_2 64 = 6 log 2 64 = 6 ; log 1 / 3 9 = − 2 \log_{1/3} 9 = -2 log 1/3 9 = − 2 since ( 1 3 ) − 2 = 9 \displaystyle \left(\frac13\right)^{-2} = 9 ( 3 1 ) − 2 = 9 .
log 3 3 3 2 = 2 3 \displaystyle \log_{3^3} 3^2 = \frac23 log 3 3 3 2 = 3 2 .
log 10 100 = 2 \log_{10} 100 = 2 log 10 100 = 2 .
7 7 7 .
Base 2 > 1 2 > 1 2 > 1 , so 0 < x < 2 3 0 < x < 2^3 0 < x < 2 3 , that is x ∈ ( 0 , 8 ) x \in (0, 8) x ∈ ( 0 , 8 ) .
Base 1 2 < 1 \displaystyle \frac12 < 1 2 1 < 1 , so 0 < x < ( 1 2 ) 2 \displaystyle 0 < x < \left(\frac12\right)^2 0 < x < ( 2 1 ) 2 , that is x ∈ ( 0 , 1 4 ) \displaystyle x \in \left(0, \frac14\right) x ∈ ( 0 , 4 1 ) .