Foundations to FrontierPart II: FoundationsBezhig

Module 03: Composition, inverses, exponentials, and logarithms

8 exercises, each with a complete solution. 1 figure. 1 note from the engine.

On this page
  1. A. Prerequisites and observable goals
  2. B. The central idea: order matters
  3. C. Precise rules and their domains
  4. D. Why the logarithm laws work
  5. E. How to choose the operation
  6. F. Worked examples
  7. G. Independent practice
  8. H. Complete solutions: Module 03
  9. I. Retention and readiness

A. Prerequisites and observable goals#

Before

Module 02; solving equations and exponent arithmetic.

After

Trace nested inputs, determine an inverse with a domain, use logarithms to undo exponentials, and distinguish inverse functions from reciprocals.

B. The central idea: order matters#

Composition sends one function’s output into another function. If f(u)=uf(u)=\sqrt{u} and g(x)=x−5g(x)=x-5, then

(f∘g)(x)=f(g(x))=x−5.(f\circ g)(x)=f(g(x))=\sqrt{x-5}.

Read the rightmost operation first. The domain requires both that g(x)g(x) exists and that its output belongs to the domain of ff. By contrast, (g∘f)(x)=x−5(g\circ f)(x)=\sqrt x-5. The first needs x≥5x\ge5 and the second only x≥0x\ge0. Function composition is not generally commutative.

An inverse function undoes a function on specified domains. An exponential changes an input additively into an output multiplicatively; its inverse, a logarithm, turns multiplicative change back into additive change. These structures will later explain both the chain rule and exponential growth.

Order matters. With f(u)=uf(u)=\sqrt u and g(x)=x−5g(x)=x-5, the composition f(g(x))=x−5f(g(x))=\sqrt{x-5} (blue) exists only for x≥5x\ge5, while g(f(x))=x−5g(f(x))=\sqrt x-5 (orange) exists for x≥0x\ge0. The two orders give different functions with different domains.

C. Precise rules and their domains#

For b>0b>0, b≠1b\ne1, the function bxb^x has domain R\R and range (0,∞)(0,\infty). Its inverse is log⁡bx\log_b x, defined for x>0x>0:

y=log⁡bx⟺by=x.y=\log_b x\quad\Longleftrightarrow\quad b^y=x.

The natural exponential has base ee and inverse ln⁡\ln. Change of base gives log⁡bx=ln⁡x/ln⁡b\log_bx=\ln x/\ln b for x>0x>0, b>0b>0, b≠1b\ne1; taking natural logs of by=xb^y=x yields yln⁡b=ln⁡xy\ln b=\ln x. One characterization of ee is lim⁡n→∞(1+1/n)n\lim_{n\to\infty}(1+1/n)^n; later calculus gives equivalent characterizations. For positive u,vu,v and real rr,

ln⁡(uv)=ln⁡u+ln⁡v,ln⁡(u/v)=ln⁡u−ln⁡v,ln⁡(ur)=rln⁡u.\ln(uv)=\ln u+\ln v,\quad \ln(u/v)=\ln u-\ln v,\quad \ln(u^r)=r\ln u.

There is no analogous rule ln⁡(u+v)=ln⁡u+ln⁡v\ln(u+v)=\ln u+\ln v. Exponents distribute over products, not sums: (uv)r=urvr(uv)^r=u^rv^r for positive u,vu,v, whereas (u+v)2(u+v)^2 has a middle term.

A function has an inverse on its image exactly when it is one-to-one: different inputs have different outputs. The inverse notation f−1f^{-1} does not mean 1/f1/f. The identities are f−1(f(x))=xf^{-1}(f(x))=x for inputs of ff, and f(f−1(y))=yf(f^{-1}(y))=y for outputs in its range. Domain and range exchange roles. These definitions follow the standard function and logarithm treatment [O1F].

D. Why the logarithm laws work#

Write u=bsu=b^s and v=btv=b^t, which is possible because u,v>0u,v>0. Then uv=bs+tuv=b^{s+t}. Applying the inverse log⁡b\log_b gives log⁡b(uv)=s+t=log⁡bu+log⁡bv\log_b(uv)=s+t=\log_b u+\log_b v. The law is not arbitrary symbol manipulation: multiplication of outputs corresponds to addition of exponents. Similarly, eln⁡x=xe^{\ln x}=x needs x>0x>0, while ln⁡(ex)=x\ln(e^x)=x is valid for every real xx.

A parabola x2x^2 on all of R\R has no inverse function because 22 and −2-2 share output 44. Restricting to x≥0x\ge0 makes it one-to-one and gives inverse x\sqrt x. Restricting to x≤0x\le0 instead gives inverse −x-\sqrt x. The original domain determines the branch.

E. How to choose the operation#

For a composition, replace the input of the outer function with the entire inner expression. For an inverse, first check one-to-one behavior or a stated restriction, write y=f(x)y=f(x), solve for xx, then state the inverse’s domain. For exponential equations, isolate the exponential before taking logs. For log equations, record positivity before combining logs; algebraic candidates outside that domain are invalid.

F. Worked examples#

Example 1: inverse with a branch. Let f(x)=(x−2)2+1f(x)=(x-2)^2+1 for x≥2x\ge2. From y−1=(x−2)2y-1=(x-2)^2, the domain gives x−2≥0x-2\ge0, hence x=2+y−1x=2+\sqrt{y-1}. Therefore

f−1(x)=2+x−1,x≥1.f^{-1}(x)=2+\sqrt{x-1},\quad x\ge1.

The reciprocal, 1/[(x−2)2+1]1/[(x-2)^2+1], is entirely different.

Example 2: solve an exponential. The equation 5e2t=175e^{2t}=17 gives e2t=17/5e^{2t}=17/5. Taking ln⁡\ln gives 2t=ln⁡(17/5)2t=\ln(17/5), and t=12ln⁡(17/5)t=\frac12\ln(17/5). This is exact. A decimal is an approximation, so use ≈\approx rather than == for a rounded value.

Finish the restriction. Solving ln⁡(x−1)+ln⁡(x+1)=ln⁡8\ln(x-1)+\ln(x+1)=\ln8 suggests x2−1=8x^2-1=8, so x=±3x=\pm3. Which survives? Both log inputs must be positive, requiring x>1x>1; only 33 survives. This is a domain issue, not a rounding issue.

G. Independent practice#

F foundation C standard course work T transfer S optional stretch L runnable lab or project. Attempt the complete set before opening its solutions.

M03.01FSolution

For f(x)=2x+1f(x)=2x+1 and g(x)=x2−4g(x)=x^2-4, compute f(g(x))f(g(x)) and g(f(x))g(f(x)).

M03.02CSolution

Find the domain of ln⁡(7−x)\ln(\sqrt{7-x}).

M03.03CSolution

Find the inverse of f(x)=3x−7f(x)=3x-7 and verify both compositions.

M03.04CSolution

Find the inverse of q(x)=x2+4q(x)=x^2+4 with domain x≤0x\le0. State the inverse’s domain and range.

M03.05CSolution

Solve 4⋅32x−1=204\cdot3^{2x-1}=20 exactly.

M03.06TSolution

Solve ln⁡(x−2)+ln⁡x=ln⁡15\ln(x-2)+\ln x=\ln15 with all domain checks.

M03.07TSolution

A stored quantity follows Q(t)=80e−0.3tQ(t)=80e^{-0.3t} for t≥0t\ge0, with tt in seconds. Find the time when it first reaches 2020, and interpret the units of 0.30.3.

M03.08SSolution

For x>0x>0, simplify ln⁡(x2)+ln⁡(1/x)\ln(x^2)+\ln(1/x) in two ways. Explain why the domain would change if one started only with ln⁡(x2)\ln(x^2).

Optional small hints

For M03.04, x≤0x\le0 selects the negative square root. For M03.06, positivity is stronger than the domain of the combined polynomial alone.

H. Complete solutions: Module 03#

Compare the first step where your work differs. A corrected answer is not yet an independent success.

M03.01Show solution

Order of composition

For f∘gf\circ g, substitute x2−4x^2-4 into 2x+12x+1: 2(x2−4)+1=2x2−72(x^2-4)+1=\boxed{2x^2-7}. For g∘fg\circ f, substitute 2x+12x+1 into x2−4x^2-4: (2x+1)2−4=4x2+4x−3(2x+1)^2-4=\boxed{4x^2+4x-3}. Both accept every real input, but their formulas differ. At x=0x=0 their outputs are −7-7 and −3-3.

Back to M03.01
M03.02Show solution

The outer function adds a restriction

The square root needs 7−x≥07-x\ge0, but the logarithm needs the square root to be strictly positive. Thus 7−x>07-x>0, giving (−∞,7)\boxed{(-\infty,7)}. At x=7x=7 the inner square root exists but equals zero, which cannot be a real logarithm input.

Back to M03.02
M03.03Show solution

Undo a linear rule

Solve y=3x−7y=3x-7 for xx: x=(y+7)/3x=(y+7)/3. Therefore f−1(x)=(x+7)/3f^{-1}(x)=(x+7)/3, with domain and range R\R. Check f−1(f(x))=(3x−7+7)/3=xf^{-1}(f(x))=(3x-7+7)/3=x, and f(f−1(x))=3(x+7)/3−7=xf(f^{-1}(x))=3(x+7)/3-7=x. Both identities hold on the stated domains.

Back to M03.03
M03.04Show solution

The domain selects the root

From y=x2+4y=x^2+4, obtain x=±y−4x=\pm\sqrt{y-4}. The original x≤0x\le0 selects x=−y−4x=-\sqrt{y-4}. Thus q−1(x)=−x−4\boxed{q^{-1}(x)=-\sqrt{x-4}}, domain [4,∞)[4,\infty), range (−∞,0](-\infty,0]. In q−1(q(x))=−x2=−∣x∣=xq^{-1}(q(x))=-\sqrt{x^2}=-|x|=x, the last equality specifically uses x≤0x\le0.

Back to M03.04
M03.05Show solution

Isolate before taking logarithms

Divide by 44: 32x−1=53^{2x-1}=5. Taking natural logs gives (2x−1)ln⁡3=ln⁡5(2x-1)\ln3=\ln5. Since ln⁡3≠0\ln3\ne0,

x=12(1+ln⁡5ln⁡3).\boxed{x=\frac12\left(1+\frac{\ln5}{\ln3}\right)}.

Substitution returns 3ln⁡5/ln⁡3=53^{\ln5/\ln3}=5, so the original left side is 2020.

Back to M03.05
M03.06Show solution

A logarithmic equation

Require x>2x>2. On that domain, combine logs to get ln⁡[x(x−2)]=ln⁡15\ln[x(x-2)]=\ln15. Since ln⁡\ln is one-to-one, x2−2x=15x^2-2x=15, or (x−5)(x+3)=0(x-5)(x+3)=0. Only x=5x=5 satisfies x>2x>2. Checking gives ln⁡3+ln⁡5=ln⁡15\ln3+\ln5=\ln15, so x=5\boxed{x=5}.

Back to M03.06
M03.07Show solution

A decay threshold

Set 80e−0.3t=2080e^{-0.3t}=20, so e−0.3t=1/4e^{-0.3t}=1/4. Taking logs gives −0.3t=−ln⁡4-0.3t=-\ln4, hence t=ln⁡4/0.3 s\boxed{t=\ln4/0.3\text{ s}}, approximately 4.624.62 seconds. The exponent must be dimensionless, so the rate constant is 0.3 s−10.3\,\mathrm{s}^{-1}. Since the exponential decreases strictly for t≥0t\ge0, this threshold time is unique.

Back to M03.07
M03.08Show solution

Equivalent routes need the same domain

On x>0x>0, the power and reciprocal laws give 2ln⁡x−ln⁡x=ln⁡x2\ln x-\ln x=\ln x. Alternatively, combine products: ln⁡[x2(1/x)]=ln⁡x\ln[x^2(1/x)]=\ln x. The original combined expression needs 1/x>01/x>0, hence x>0x>0. In isolation, ln⁡(x2)\ln(x^2) is defined for every x≠0x\ne0 and equals 2ln⁡∣x∣2\ln|x|. Dropping the absolute value would incorrectly erase negative inputs from that larger domain.

Back to M03.08

I. Retention and readiness#

Mix M02.03 with M03.02, and M01.06 with M03.04. Explain why f−1f^{-1} and 1/f1/f perform different jobs. Advance when you can handle a fresh logarithmic equation and explain which domain restriction rejects an algebraic candidate.