Study guide
3.3 Exponential and Logarithmic Functions & Applications
NBPTS Adolescence & Young Adulthood / Mathematics Exam
Track your progress as you read
Finished sections get a check mark.
1 Chapter 1: Number Systems & Number Theory
1.1 Real and Complex Number Systems & Field Axioms 1.2 Number Theory, Divisibility, Primes & Modular Arithmetic 1.3 Sequences, Series & Summation Notation
2 Chapter 2: Polynomials & Algebraic Structures
2.1 Polynomial Operations, Factoring & Factor/Remainder Theorems 2.2 The Fundamental Theorem of Algebra & Polynomial Roots 2.3 Rational Expressions, Radical Equations & Inequalities 2.4 Matrices, Systems of Equations & Linear Algebra
3 Chapter 3: Functions & Functional Analysis
3.1 Foundations of Functions: Domain, Range & Notation 3.2 Function Transformations, Operations, Composition & Inverses 3.3 Exponential and Logarithmic Functions & Applications 3.4 Rational Functions, Asymptotes & Discontinuities
4 Chapter 4: Trigonometry & Periodic Phenomena
4.1 Angle Measure, Radians & The Unit Circle 4.2 Trigonometric Graphs, Amplitude, Period & Phase Shifts 4.3 Trigonometric Identities & Solving Trigonometric Equations 4.4 Laws of Sines and Cosines, Vectors & Polar Coordinates
5 Chapter 5: Geometry & Measurement
5.1 Axiomatic Geometry, Congruence, Similarity & Proof 5.2 Circle Theorems: Tangents, Chords, Secants & Angles 5.3 2D & 3D Measurement: Area, Surface Area & Volume 5.4 Coordinate Geometry & Geometric Transformations
6 Chapter 6: Single-Variable Calculus
6.1 Limits, Continuity & Average vs. Instantaneous Rate of Change 6.2 Differentiation Rules, Chain Rule & Implicit Differentiation 6.3 Applications of Derivatives: Curve Sketching, Extrema & Optimization 6.4 Definite & Indefinite Integrals, Riemann Sums & FTC 6.5 Volumes of Solids of Revolution: Disk, Washer & Shell Methods
7 Chapter 7: Statistics & Data Analysis
7.1 Descriptive Statistics, Data Distributions & Visual Displays 7.2 Bivariate Data, Scatterplots, Correlation & Linear Regression 7.3 Study Design, Sampling Methods & Sources of Bias 7.4 Inferential Statistics: Confidence Intervals & Hypothesis Testing
8 Chapter 8: Probability & Discrete Mathematics
8.1 Principles of Probability, Conditional Probability & Independence 8.2 Probability Distributions: Binomial & Normal Models 8.3 Combinatorics: Permutations, Combinations & Binomial Theorem 8.4 Graph Theory, Networks, Trees & Algorithms
9 Chapter 9: Mathematical Reasoning, Proof & Modeling
9.1 Propositional Logic, Truth Tables & Quantifiers 9.2 Proof Techniques & Mathematical Induction 9.3 The Mathematical Modeling Cycle & Secondary Applications 9.4 Historical Development of Mathematical Ideas & Cultural Contributions 9.5 Precise Communication of Mathematical Ideas, Definitions & Justification
10 Chapter 10: Secondary Mathematics Pedagogy & NBPTS Standards
10.1 The NBPTS Five Core Propositions & EAYA Mathematics Standards 10.2 Standards for Mathematical Practice & Productive Classroom Discourse 10.3 Formative Assessment, Student Error Analysis & Misconceptions 10.4 Component 1 Assessment Structure & Constructed-Response Strategy
3.3 Exponential and Logarithmic Functions & Applications
Key Takeaways Explain This Topic AI
Exponential functions f(x) = a b^x (b > 0, b != 1) model constant relative percentage growth (b > 1) or decay (0 < b < 1), featuring horizontal asymptote y = 0 and base e = lim_{n -> inf} (1 + 1/n)^n.
Logarithms are the formal algebraic inverses of exponential functions (y = log_b(x) <=> b^y = x), having domain (0, inf), range (-inf, inf), and vertical asymptote x = 0.
Core logarithmic properties (product, quotient, power, and change-of-base log_b x = ln x / ln b) linearize multiplicative and exponential relationships across mathematical modeling.
Solving logarithmic equations requires mandatory verification against the original argument domain constraints (argument > 0) to eliminate extraneous roots created by algebraic exponentiation.
Accomplished secondary mathematics instruction models discrete compounding A = P(1+r/n)^(nt), continuous growth A = P e^(rt), radioactive half-life, and Newton's Law of Cooling while directly confronting the student trap of distributing logarithms across addition: log(u + v) != log u + log v.
Last updated: September 2026
3.3 Exponential and Logarithmic Functions & Applications
NBPTS Exam Focus: Component 1 requires candidates to demonstrate mastery of exponential growth and decay models, the logarithmic inverse relationship, rigorous algebraic techniques for solving transcendental equations with extraneous solution analysis, and pedagogical interventions targeting pervasive student errors in logarithmic laws.
Mathematical Structure of Exponential Functions and Base e e e
An exponential function has the general form: f ( x ) = a b x ( a ≠ 0 , b > 0 , b ≠ 1 ) f(x) = a \, b^x \quad (a \ne 0, \; b > 0, \; b \ne 1) f ( x ) = a b x ( a = 0 , b > 0 , b = 1 )
Base Restrictions: We require b > 0 b > 0 b > 0 to ensure real outputs for all x ∈ R x \in \mathbb{R} x ∈ R (e.g., ( − 4 ) 1 / 2 = − 4 ∉ R (-4)^{1/2} = \sqrt{-4} \notin \mathbb{R} ( − 4 ) 1/2 = − 4 ∈ / R ). We exclude b = 1 b = 1 b = 1 because 1 x = 1 1^x = 1 1 x = 1 degenerates to a constant linear function.
Growth vs. Decay: If b > 1 b > 1 b > 1 , the function models exponential growth (increasing monotonically); if 0 < b < 1 0 < b < 1 0 < b < 1 , it models exponential decay (decreasing monotonically).
Asymptotic Behavior & Range: For a > 0 a > 0 a > 0 , the domain is ( − ∞ , ∞ ) (-\infty, \infty) ( − ∞ , ∞ ) , the range is ( 0 , ∞ ) (0, \infty) ( 0 , ∞ ) , the y y y -intercept is ( 0 , a ) (0, a) ( 0 , a ) , and the horizontal asymptote is the line y = 0 y = 0 y = 0 (approached as x → − ∞ x \to -\infty x → − ∞ for growth, or as x → ∞ x \to \infty x → ∞ for decay).
The Natural Base e e e
The irrational number e ≈ 2.718281828459... e \approx 2.718281828459... e ≈ 2.718281828459... is mathematically defined as the limiting value of continuous compounding growth: ≠ = lim n → ∞ ( 1 + 1 n ) n = lim h → 0 ( 1 + h ) 1 / h \ne = \lim_{n \to \infty} \left(1 + \frac{1}{n}\right)^n = \lim_{h \to 0} (1 + h)^{1/h} = = n → ∞ lim ( 1 + n 1 ) n = h → 0 lim ( 1 + h ) 1/ h
In calculus and advanced functional analysis, the natural exponential function f ( x ) = e x f(x) = e^x f ( x ) = e x is unique because its instantaneous rate of change equals its value: d d x [ e x ] = e x \frac{d}{dx}[e^x] = e^x d x d [ e x ] = e x .
Logarithmic Functions as Inverses & Fundamental Algebraic Laws
Because the exponential function f ( x ) = b x f(x) = b^x f ( x ) = b x ( b > 0 , b ≠ 1 b > 0, b \ne 1 b > 0 , b = 1 ) is strictly monotonic, it passes the Horizontal Line Test and is bijective from R \mathbb{R} R to ( 0 , ∞ ) (0, \infty) ( 0 , ∞ ) . Its inverse is the logarithmic function with base b b b : y = log b ( x ) ⟺ b y = x ( x > 0 , b > 0 , b ≠ 1 ) y = \log_b(x) \iff b^y = x \quad (x > 0, \; b > 0, \; b \ne 1) y = lo g b ( x ) ⟺ b y = x ( x > 0 , b > 0 , b = 1 )
Duality of Properties
Attribute Exponential Function y = b x y = b^x y = b x Logarithmic Function y = log b ( x ) y = \log_b(x) y = lo g b ( x )
- Domain ( − ∞ , ∞ ) (-\infty, \infty) ( − ∞ , ∞ ) ( 0 , ∞ ) (0, \infty) ( 0 , ∞ )
- Range ( 0 , ∞ ) (0, \infty) ( 0 , ∞ ) ( − ∞ , ∞ ) (-\infty, \infty) ( − ∞ , ∞ )
- Asymptote Horizontal: y = 0 y = 0 y = 0 ( x x x -axis) Vertical: x = 0 x = 0 x = 0 ( y y y -axis)
Key Points ( 0 , 1 ) (0, 1) ( 0 , 1 ) and ( 1 , b ) (1, b) ( 1 , b ) ( 1 , 0 ) (1, 0) ( 1 , 0 ) and ( b , 1 ) (b, 1) ( b , 1 )
Inversion Identity log b ( b x ) = x ( ∀ x ∈ R ) \log_b(b^x) = x \; (\forall x \in \mathbb{R}) lo g b ( b x ) = x ( ∀ x ∈ R ) b log b ( x ) = x ( ∀ x > 0 ) b^{\log_b(x)} = x \; (\forall x > 0) b l o g b ( x ) = x ( ∀ x > 0 )
Derivation of the Four Foundational Logarithmic Laws
Let u = b m u = b^m u = b m and v = b n v = b^n v = b n , so that log b ( u ) = m \log_b(u) = m lo g b ( u ) = m and log b ( v ) = n \log_b(v) = n lo g b ( v ) = n :
Product Rule: u v = b m b n = b m + n ⟹ log b ( u v ) = m + n = log b ( u ) + log b ( v ) uv = b^m b^n = b^{m+n} \implies \log_b(uv) = m + n = \log_b(u) + \log_b(v) uv = b m b n = b m + n ⟹ lo g b ( uv ) = m + n = lo g b ( u ) + lo g b ( v ) .
Quotient Rule: u v = b m b n = b m − n ⟹ log b ( u v ) = m − n = log b ( u ) − log b ( v ) \frac{u}{v} = \frac{b^m}{b^n} = b^{m-n} \implies \log_b\left(\frac{u}{v}\right) = m - n = \log_b(u) - \log_b(v) v u = b n b m = b m − n ⟹ lo g b ( v u ) = m − n = lo g b ( u ) − lo g b ( v ) .
Power Rule: u k = ( b m ) k = b m k ⟹ log b ( u k ) = k m = k log b ( u ) u^k = (b^m)^k = b^{mk} \implies \log_b(u^k) = k m = k \log_b(u) u k = ( b m ) k = b mk ⟹ lo g b ( u k ) = km = k lo g b ( u ) .
Change of Base Formula: Let y = log b ( x ) ⟺ b y = x y = \log_b(x) \iff b^y = x y = lo g b ( x ) ⟺ b y = x . Take the logarithm with base c c c of both sides: log c ( b y ) = log c ( x ) ⟹ y log c ( b ) = log c ( x ) ⟹ y = log c ( x ) log c ( b ) \log_c(b^y) = \log_c(x) \implies y \log_c(b) = \log_c(x) \implies y = \frac{\log_c(x)}{\log_c(b)} lo g c ( b y ) = lo g c ( x ) ⟹ y lo g c ( b ) = lo g c ( x ) ⟹ y = l o g c ( b ) l o g c ( x ) . Hence: log b ( x ) = ln ( x ) ln ( b ) = log 10 ( x ) log 10 ( b ) \log_b(x) = \frac{\ln(x)}{\ln(b)} = \frac{\log_{10}(x)}{\log_{10}(b)} lo g b ( x ) = ln ( b ) ln ( x ) = lo g 10 ( b ) lo g 10 ( x )
- Solving Exponential and Logarithmic Equations: Extraneous Roots
- 1. Solving Exponential Equations
Like Bases: If b f ( x ) = b g ( x ) b^{f(x)} = b^{g(x)} b f ( x ) = b g ( x ) , then f ( x ) = g ( x ) f(x) = g(x) f ( x ) = g ( x ) by injectivity.
Unlike Bases: If bases cannot be matched, take the natural logarithm of both sides: 3 2 x − 1 = 5 x + 2 ⟹ ( 2 x − 1 ) ln ( 3 ) = ( x + 2 ) ln ( 5 ) 3^{2x - 1} = 5^{x + 2} \implies (2x - 1)\ln(3) = (x + 2)\ln(5) 3 2 x − 1 = 5 x + 2 ⟹ ( 2 x − 1 ) ln ( 3 ) = ( x + 2 ) ln ( 5 ) Expanding and grouping linear terms in x x x : 2 x ln ( 3 ) − x ln ( 5 ) = 2 ln ( 5 ) + ln ( 3 ) ⟹ x ( 2 ln 3 − ln 5 ) = ln ( 5 2 ⋅ 3 ) ⟹ x = ln ( 75 ) ln ( 9 / 5 ) 2x\ln(3) - x\ln(5) = 2\ln(5) + \ln(3) \implies x(2\ln 3 - \ln 5) = \ln(5^2 \cdot 3) \implies x = \frac{\ln(75)}{\ln(9/5)} 2 x ln ( 3 ) − x ln ( 5 ) = 2 ln ( 5 ) + ln ( 3 ) ⟹ x ( 2 ln 3 − ln 5 ) = ln ( 5 2 ⋅ 3 ) ⟹ x = ln ( 9/5 ) ln ( 75 )
2. Solving Logarithmic Equations and the Extraneous Root Mechanism
When solving equations containing multiple logarithmic terms, candidates must condense terms using logarithmic properties and then exponentiate. However, condensing logarithms expands the domain of the algebraic expression, potentially introducing extraneous solutions.
Comprehensive Worked Example: log 2 ( x + 3 ) + log 2 ( x − 1 ) = 5 \log_2(x + 3) + \log_2(x - 1) = 5 lo g 2 ( x + 3 ) + lo g 2 ( x − 1 ) = 5
Step 1: Determine Original Domain Restrictions.
- x + 3 > 0 ⟹ x > − 3 x + 3 > 0 \implies x > -3 x + 3 > 0 ⟹ x > − 3
- x − 1 > 0 ⟹ x > 1 x - 1 > 0 \implies x > 1 x − 1 > 0 ⟹ x > 1
Intersecting conditions: The domain of validity is x ∈ ( 1 , ∞ ) x \in (1, \infty) x ∈ ( 1 , ∞ ) .
Step 2: Condense Using the Product Rule. log 2 ( ( x + 3 ) ( x − 1 ) ) = 5 \log_2((x + 3)(x - 1)) = 5 lo g 2 (( x + 3 ) ( x − 1 )) = 5
Critical Note: The expression log 2 ( ( x + 3 ) ( x − 1 ) ) \log_2((x+3)(x-1)) lo g 2 (( x + 3 ) ( x − 1 )) is defined whenever ( x + 3 ) ( x − 1 ) > 0 (x+3)(x-1) > 0 ( x + 3 ) ( x − 1 ) > 0 , which includes x < − 3 x < -3 x < − 3 ! This algebraic domain expansion is precisely what creates extraneous roots.
Step 3: Exponentiate Both Sides. ( x + 3 ) ( x − 1 ) = 2 5 = 32 (x + 3)(x - 1) = 2^5 = 32 ( x + 3 ) ( x − 1 ) = 2 5 = 32 x 2 + 2 x − 3 = 32 ⟹ x 2 + 2 x − 35 = 0 x^2 + 2x - 3 = 32 \implies x^2 + 2x - 35 = 0 x 2 + 2 x − 3 = 32 ⟹ x 2 + 2 x − 35 = 0 ( x + 7 ) ( x − 5 ) = 0 ⟹ x = − 7 or x = 5 (x + 7)(x - 5) = 0 \implies x = -7 \quad \text{or} \quad x = 5 ( x + 7 ) ( x − 5 ) = 0 ⟹ x = − 7 or x = 5
Step 4: Check Candidates Against Original Restrictions.
For x = − 7 x = -7 x = − 7 : log 2 ( − 7 + 3 ) = log 2 ( − 4 ) \log_2(-7 + 3) = \log_2(-4) lo g 2 ( − 7 + 3 ) = lo g 2 ( − 4 ) , which is undefined in R \mathbb{R} R . Hence x = − 7 x = -7 x = − 7 is extraneous .
For x = 5 x = 5 x = 5 : 5 ∈ ( 1 , ∞ ) 5 \in (1, \infty) 5 ∈ ( 1 , ∞ ) . Checking in original equation: log 2 ( 8 ) + log 2 ( 4 ) = 3 + 2 = 5 \log_2(8) + \log_2(4) = 3 + 2 = 5 lo g 2 ( 8 ) + lo g 2 ( 4 ) = 3 + 2 = 5 . Valid!
Final Solution Set: { 5 } \{5\} { 5 } .
- Real-World Mathematical Modeling Applications
- 1. Discrete vs. Continuous Compounding
Discrete Compounding ( n n n times per year): A ( t ) = P ( 1 + r n ) n t A(t) = P \left(1 + \frac{r}{n}\right)^{nt} A ( t ) = P ( 1 + n r ) n t
Continuous Compounding: Taking the limit as n → ∞ n \to \infty n → ∞ : A ( t ) = lim n → ∞ P ( 1 + r n ) n t = P [ lim n → ∞ ( 1 + r n ) n r ] r t = P e r t A(t) = \lim_{n \to \infty} P \left(1 + \frac{r}{n}\right)^{nt} = P \left[\lim_{n \to \infty} \left(1 + \frac{r}{n}\right)^{\frac{n}{r}}\right]^{rt} = P e^{rt} A ( t ) = n → ∞ lim P ( 1 + n r ) n t = P [ n → ∞ lim ( 1 + n r ) r n ] r t = P e r t
2. Radioactive Half-Life Decay
Radioactive substance decay satisfies the differential rate equation d N d t = − k N \frac{dN}{dt} = -kN d t d N = − k N , yielding the exponential model: N ( t ) = N 0 e − k t = N 0 ( 1 2 ) t / t 1 / 2 N(t) = N_0 e^{-kt} = N_0 \left(\frac{1}{2}\right)^{t / t_{1/2}} N ( t ) = N 0 e − k t = N 0 ( 2 1 ) t / t 1/2
Setting N ( t 1 / 2 ) = 1 2 N 0 N(t_{1/2}) = \frac{1}{2}N_0 N ( t 1/2 ) = 2 1 N 0 gives 1 2 = e − k t 1 / 2 ⟹ − ln ( 2 ) = − k t 1 / 2 ⟹ k = ln 2 t 1 / 2 \frac{1}{2} = e^{-k t_{1/2}} \implies -\ln(2) = -k t_{1/2} \implies k = \frac{\ln 2}{t_{1/2}} 2 1 = e − k t 1/2 ⟹ − ln ( 2 ) = − k t 1/2 ⟹ k = t 1/2 l n 2 .
3. Newton's Law of Cooling
The rate of change of the temperature of an object is proportional to the difference between its temperature T ( t ) T(t) T ( t ) and the ambient environmental temperature T env T_{\text{env}} T env : T ( t ) = T env + ( T 0 − T env ) e − k t ( k > 0 ) T(t) = T_{\text{env}} + (T_0 - T_{\text{env}}) e^{-kt} \quad (k > 0) T ( t ) = T env + ( T 0 − T env ) e − k t ( k > 0 )
Worked Modeling Problem: A beverage cools in a room at T env = 20 ∘ C T_{\text{env}} = 20^\circ\text{C} T env = 2 0 ∘ C . Initial temperature T 0 = 80 ∘ C T_0 = 80^\circ\text{C} T 0 = 8 0 ∘ C . After t = 15 t = 15 t = 15 minutes, the temperature drops to 50 ∘ C 50^\circ\text{C} 5 0 ∘ C . When will it reach 30 ∘ C 30^\circ\text{C} 3 0 ∘ C ?
Find Decay Constant k k k : 50 = 20 + ( 80 − 20 ) e − 15 k ⟹ 30 = 60 e − 15 k ⟹ e − 15 k = 1 2 50 = 20 + (80 - 20)e^{-15k} \implies 30 = 60e^{-15k} \implies e^{-15k} = \frac{1}{2} 50 = 20 + ( 80 − 20 ) e − 15 k ⟹ 30 = 60 e − 15 k ⟹ e − 15 k = 2 1 − 15 k = ln ( 1 / 2 ) = − ln ( 2 ) ⟹ k = ln 2 15 -15k = \ln(1/2) = -\ln(2) \implies k = \frac{\ln 2}{15} − 15 k = ln ( 1/2 ) = − ln ( 2 ) ⟹ k = 15 ln 2
Solve for t t t when T ( t ) = 30 T(t) = 30 T ( t ) = 30 : 30 = 20 + 60 e − k t ⟹ 10 = 60 e − k t ⟹ e − k t = 1 6 30 = 20 + 60 e^{-kt} \implies 10 = 60 e^{-kt} \implies e^{-kt} = \frac{1}{6} 30 = 20 + 60 e − k t ⟹ 10 = 60 e − k t ⟹ e − k t = 6 1 − k t = − ln ( 6 ) ⟹ t = ln 6 k = ln 6 ln 2 15 = 15 ⋅ ln 6 ln 2 -kt = -\ln(6) \implies t = \frac{\ln 6}{k} = \frac{\ln 6}{\frac{\ln 2}{15}} = 15 \cdot \frac{\ln 6}{\ln 2} − k t = − ln ( 6 ) ⟹ t = k ln 6 = 15 l n 2 ln 6 = 15 ⋅ ln 2 ln 6
- Pedagogical Misconceptions & Secondary Student Traps (NBPTS Focus)
- 1. The Pseudo-Distributive Property of Logarithms
Student Manifestation: Students routinely write log ( u + v ) = log u + log v \log(u + v) = \log u + \log v lo g ( u + v ) = lo g u + lo g v or ln ( x 2 − 4 ) = ln ( x 2 ) − ln ( 4 ) \ln(x^2 - 4) = \ln(x^2) - \ln(4) ln ( x 2 − 4 ) = ln ( x 2 ) − ln ( 4 ) .
Root Cause: Deeply ingrained distribution habits from elementary algebra ( a ( b + c ) = a b + a c a(b + c) = ab + ac a ( b + c ) = ab + a c ). Students treat " log \log lo g " as a multiplying scalar rather than a non-linear transcendental operator.
Instructional Remedy: Present numerical counterexamples immediately: have students compute log 10 ( 10 + 10 ) = log 10 ( 20 ) ≈ 1.301 \log_{10}(10 + 10) = \log_{10}(20) \approx 1.301 lo g 10 ( 10 + 10 ) = lo g 10 ( 20 ) ≈ 1.301 , and compare it to log 10 ( 10 ) + log 10 ( 10 ) = 1 + 1 = 2 \log_{10}(10) + \log_{10}(10) = 1 + 1 = 2 lo g 10 ( 10 ) + lo g 10 ( 10 ) = 1 + 1 = 2 . Emphasize that logarithms turn multiplication into addition ( log ( u v ) = log u + log v \,\log(uv) = \log u + \log v\, lo g ( uv ) = lo g u + lo g v ), not addition into addition.
2. Treating "log" as a Factor to be Canceled
Student Manifestation: When simplifying log ( 20 ) log ( 5 ) \frac{\log(20)}{\log(5)} l o g ( 5 ) l o g ( 20 ) , students cancel the word " log \log lo g " to write 20 5 = 4 \frac{20}{5} = 4 5 20 = 4 , or write log ( 20 ) log ( 5 ) = log ( 4 ) \frac{\log(20)}{\log(5)} = \log(4) l o g ( 5 ) l o g ( 20 ) = lo g ( 4 ) .
Instructional Remedy: Reinforce that log 20 log 5 \frac{\log 20}{\log 5} l o g 5 l o g 20 is the change-of-base expression for log 5 ( 20 ) \log_5(20) lo g 5 ( 20 ) . Since 5 1 = 5 5^1 = 5 5 1 = 5 and 5 2 = 25 5^2 = 25 5 2 = 25 , log 5 ( 20 ) ≈ 1.86 \log_5(20) \approx 1.86 lo g 5 ( 20 ) ≈ 1.86 , which is completely distinct from 4 4 4 or log ( 4 ) ≈ 0.602 \log(4) \approx 0.602 lo g ( 4 ) ≈ 0.602 .
3. The Even Power Domain Trap: log ( x 2 ) \log(x^2) lo g ( x 2 ) vs. 2 log ( x ) 2\log(x) 2 lo g ( x )
Student Manifestation: Students treat log ( x 2 ) \log(x^2) lo g ( x 2 ) and 2 log ( x ) 2\log(x) 2 lo g ( x ) as identical functions across all domains.
Instructional Remedy: Highlight the subtle domain alteration: for f ( x ) = log ( x 2 ) f(x) = \log(x^2) f ( x ) = lo g ( x 2 ) , the domain is { x ∈ R ∣ x ≠ 0 } \{x \in \mathbb{R} \mid x \ne 0\} { x ∈ R ∣ x = 0 } , which allows negative inputs (e.g., f ( − 3 ) = log ( 9 ) f(-3) = \log(9) f ( − 3 ) = lo g ( 9 ) ). For g ( x ) = 2 log ( x ) g(x) = 2\log(x) g ( x ) = 2 lo g ( x ) , the domain is ( 0 , ∞ ) (0, \infty) ( 0 , ∞ ) . The precise algebraic identity is log ( x 2 ) = 2 log ∣ x ∣ \log(x^2) = 2\log|x| lo g ( x 2 ) = 2 lo g ∣ x ∣ .