| Study Guides
AP · Logarithmic functions · 14 min read · Updated 2026-05-10

Logarithmic functions — AP Precalculus Study Guide

For: AP Precalculus candidates sitting AP Precalculus.

Covers: Definition of logarithmic functions, inverse relationship with exponential functions, core logarithm properties, change of base formula, solving logarithmic equations, and graph transformations of logarithmic functions.

You should already know: Exponential function properties, inverse function definitions, basic exponent algebra.

A note on the practice questions: All worked questions in the "Practice Questions" section below are original problems written by us in the AP Precalculus style for educational use. They are not reproductions of past College Board / Cambridge / IB papers and may differ in wording, numerical values, or context. Use them to practise the technique; cross-check with official mark schemes for grading conventions.


1. What Is Logarithmic functions?

A logarithmic function is the inverse of a one-to-one exponential function, defined formally by the relationship: for , if and only if . Standard notation conventions reserve for the common logarithm (base 10) and for the natural logarithm (base ), the most commonly used form in calculus and continuous growth models. According to the AP Precalculus CED, Unit 2 (Exponential and Logarithmic Functions) accounts for 25-35% of total exam weight, and logarithmic function content makes up roughly half of that unit, appearing in both multiple-choice (MCQ) and free-response (FRQ) sections. Logarithmic functions reverse exponential operations, allowing us to solve for unknown exponents and model phenomena that scale logarithmically, from pH levels in chemistry to decibel ratings for sound to doubling time in population growth. Unlike exponential functions, which have an unrestricted domain and positive range, logarithmic functions have a domain of only positive real numbers () and an unrestricted range of all real numbers, a direct result of their inverse relationship to exponentials.

2. Core Logarithm Properties and Change of Base

Since logarithmic functions are inverses of exponential functions, all logarithm properties are derived directly from corresponding exponent rules. The key inverse identities that connect the two function types are: From exponent rules, we get the three core logarithm properties:

  1. Product Rule: (exponents add when multiplying powers, so logs turn products into sums)
  2. Quotient Rule: (exponents subtract when dividing powers)
  3. Power Rule: (exponents multiply when raising a power to a power) The change of base formula allows us to evaluate any logarithm with a standard calculator, which only computes base 10 or base logarithms: Most often, we use or , so .

Worked Example

Problem: Simplify to a simplified numerical value.

  1. Apply the quotient logarithm rule to the first two terms: .
  2. Apply the power rule to the second term: , since for any valid base .
  3. Rewrite 125 as a power of 5: , so by the inverse identity.
  4. Add the results: . Final result: (or ).

Exam tip: Always check the domain of every argument in a logarithmic expression before simplifying—even if your algebra gives a nice number, if any argument is non-positive, the expression is undefined. AP MCQ distractors often include the simplified numeric answer ignoring domain checks.

3. Solving Logarithmic Equations

A logarithmic equation is any equation where the unknown variable appears inside the argument of a logarithm. The core strategy for solving these equations leverages the inverse relationship between logs and exponentials: first isolate a single logarithmic term on one side of the equation, then convert the equation to exponential form to eliminate the logarithm. If you have multiple logarithms on the same side, use logarithm properties to combine them into a single term before converting. The most critical step that many students miss is checking for extraneous solutions: since logarithms only have positive arguments, any solution that makes any original logarithm's argument zero or negative must be discarded, even if it satisfies the final equation after combining logs. Combining multiple logs can erase individual domain restrictions, so always check against the original equation.

Worked Example

Problem: Solve for all real solutions.

  1. First write domain restrictions from the original equation: and , so the overall valid domain is ; any candidate solution is automatically invalid.
  2. Combine the two logarithms with the product rule: .
  3. Convert to exponential form by the definition of logarithms: .
  4. Factor the quadratic: , giving candidate solutions and .
  5. Check against the domain: is extraneous and discarded, while is valid. Final solution: .

Exam tip: Always check solutions against the domain of the original equation, not just the final equation after combining logs. Extraneous solutions are a common feature of AP logarithmic equation questions, and distractors almost always include the extraneous solution.

4. Graphing and Transformations of Logarithmic Functions

The parent logarithmic function has consistent core features: it has a vertical asymptote at (the y-axis), passes through the point (since for any valid ), has domain and range all real numbers. If , the function is strictly increasing and concave down, approaching as . If , the function is strictly decreasing and concave up, approaching as . Transformations of logarithmic functions follow the same rules as all other function transformations: for , controls vertical stretch/compression/reflection, controls horizontal stretch/compression/reflection, is the horizontal shift, and is the vertical shift. The vertical asymptote shifts with the horizontal shift: to find the new asymptote, set the argument of the logarithm equal to zero and solve for , which is simpler than memorizing shift directions.

Worked Example

Problem: For , identify the domain, equation of the vertical asymptote, and one point on the graph, then describe the transformation from the parent .

  1. Find the domain by requiring the argument to be positive: , so domain is in interval notation.
  2. Find the vertical asymptote by setting the argument equal to zero: , which is the equation of the vertical asymptote.
  3. To find a simple point on the graph, use the parent function's known intercept: when , the argument equals 1. Set , so , so is a point on the graph.
  4. Describe the transformation: the graph of is shifted 3 units right and 2 units up to produce .

Exam tip: When asked for the vertical asymptote of a logarithmic function on an FRQ, always write your answer as an equation (, not just ). AP graders regularly deduct points for missing the "x=" part of the answer.

5. Common Pitfalls (and how to avoid them)

  • Wrong move: . Why: Students confuse the product rule with adding arguments, misremembering that logs turn products into sums, not sums into sums. Correct move: Always recall that only ; there is no general simplification for the logarithm of a sum.
  • Wrong move: After solving , keeping as a valid solution. Why: Students check solutions against the final combined equation, not the original equation, forgetting that individual terms have domain restrictions lost when combining. Correct move: Always list domain restrictions from the original equation before solving, and discard any candidate that violates any restriction.
  • Wrong move: . Why: Students confuse the change of base formula with the quotient rule, mixing up the order of operations. Correct move: Remember the quotient rule is , while by change of base—they are not equal.
  • Wrong move: Stating the domain of is . Why: Students generalize the domain rule for to without checking when the argument is positive. Correct move: Always check for positive arguments directly: for all , so domain is .
  • Wrong move: Writing the vertical asymptote of as . Why: Students mix up horizontal shift direction, assuming shifts right instead of left. Correct move: Always find the vertical asymptote by setting the argument equal to zero and solving: , which gives the correct asymptote regardless of shift direction.

6. Practice Questions (AP Precalculus Style)

Question 1 (Multiple Choice)

Which of the following is equivalent to ? A) B) C) D)

Worked Solution: First apply the power rule of logarithms to rewrite . Next, apply the quotient rule: . Option B comes from incorrectly adding 2 and 3 instead of raising 2 to the 3rd power, option D incorrectly rewrites as , and option C is an unrelated distractor. The correct answer is A.


Question 2 (Free Response)

Let . (a) State the domain of and find the equation of its vertical asymptote. (b) Solve for . (c) Find , the inverse function of .

Worked Solution: (a) The argument of a logarithm must be positive, so . Domain is . The vertical asymptote occurs where the argument equals zero, so is the vertical asymptote. (b) Substitute : . Rewrite in exponential form: . Check that , so is valid. (c) To find the inverse, swap and : . Rewrite in exponential form: . Solve for : . So .


Question 3 (Application / Real-World Style)

The pH of an aqueous solution is defined as , where is the concentration of hydrogen ions in moles per liter (mol/L). A sample of orange juice has a pH of 3.8, and a sample of black coffee has a pH of 5.0. (a) What is the hydrogen ion concentration of the orange juice, rounded to 3 significant figures? (b) How many times greater is the hydrogen ion concentration in orange juice than in black coffee?

Worked Solution: (a) Substitute pH = 3.8 into the formula: . Rewrite in exponential form: mol/L. (b) First find the hydrogen ion concentration of black coffee: mol/L. Calculate the ratio of concentrations: . In context, the hydrogen ion concentration of orange juice is approximately 16 times greater than that of black coffee, which confirms that orange juice is significantly more acidic than black coffee, consistent with its lower pH.

7. Quick Reference Cheatsheet

Category Formula Notes
Definition of Logarithm Requires
Inverse Identity 1 Only valid for , works for any valid base
Inverse Identity 2 Valid for all real , works for any valid base
Logarithm Product Rule Requires ; does not apply to
Logarithm Quotient Rule Requires ; not equivalent to
Logarithm Power Rule Requires , works for any real
Change of Base Formula Used to evaluate any log with a calculator;
Parent Logarithm Graph Features Vertical asymptote at , passes through , domain , range , increasing if , decreasing if

8. What's Next

Mastery of logarithmic functions is required for all remaining topics in Unit 2 of AP Precalculus, starting with exponential and logarithmic modeling, where you will use logarithms to solve for unknown parameters in continuous growth and decay models. Without solid proficiency in simplifying logarithmic expressions and checking for extraneous solutions when solving logarithmic equations, you will not be able to calculate half-life, doubling time, or carry out parameter estimation for exponential data, a frequent free-response question topic on the AP exam. Logarithmic functions also lay critical groundwork for future calculus study, where the natural logarithm is the antiderivative of , and logarithmic differentiation simplifies complex derivative problems. Next you will apply logarithmic properties to model real-world exponential phenomena: Exponential growth and decay modeling Solving exponential equations Logarithmic regression

← Back to topic

Stuck on a specific question?
Snap a photo or paste your problem — Ollie (our AI tutor) walks through it step-by-step with diagrams.
Try Ollie free →