The Lawfare Academy

Lawfare Group → Knowledge Institute → Lawfare Academy

← Back to program

← Business Mathematics and Quantitative Foundations

Unit 4

Compounding and logarithms

Learning objectives

  • Explain compounding and logarithms in your own words.
  • Apply the principle to the worked business case.
  • Evaluate the answer and identify an assumption that could change it.

Compounding and logarithms

Compound growth multiplies by the growth factor repeatedly. Future value equals present value times (1+r)^n. Logarithms solve for the number of periods. Match the rate to the period; an annual rate cannot be inserted unchanged into a monthly calculation.

Worked example

$10,000 growing at 5% annually for two years becomes $11,025, not $11,000.

Current on-site study

All required teaching and source summaries are supplied on LawfareGroup.com. External publisher and primary links are optional provenance or further reading. All practice, checks and assessments are optional. Contemporary state-law examples default to Florida; federal and historical material retain their stated scope.

Work through the reasoning

Write the quantities with units, identify the unknown, and show each algebraic operation. For this unit, connect the explanation of compounding and logarithms to the worked example before answering the practice question.

Check the limits

Substitute the result back into the original relationship and test whether its magnitude is plausible. If the source model and the practical example use different assumptions, state the difference rather than applying the formula or rule mechanically.

Apply it independently

At 10% annually, $1,000 becomes what after two years? Write an answer before opening the model response. Show the calculation or explain the causal or logical steps. Change one material assumption and say whether your conclusion changes. This practice is optional; you can read every part of the course without submitting work.

Complete current teaching

# Compounding, logarithms and dated cash flows

This original on-site unit explains growth and dated quantities. All examples are fictional mathematical models, not current financial offers, forecasts or investment advice. Every required explanation and complete optional model is on this page. External references are optional.

Additive change versus proportional change

An additive model adds the same amount each period: A(t)=A₀+dt. A proportional model multiplies the current amount by the same factor each period: Aₙ=A₀(1+r)ⁿ. Their difference matters because the base for the second period's growth has already changed. Starting with 1,000 and adding 100 each year gives 1,200 after two years. Growing by 10 percent annually gives 1,210. The first model is linear in time; the second is exponential. Neither is automatically a better forecast: the mechanism and evidence must support the choice.

Define time zero and the period before calculating. If r is an effective annual rate, n counts years. Substituting a number of months into that exponent applies the annual factor twelve times too often. Growth factors must be positive in the ordinary real exponential model. A factor between zero and one models decay; a factor above one models growth. A negative initial value is algebraically possible in a scaled exponential function, but interpreting it as a savings balance or a strictly positive market quantity needs a different definition.

Nominal rates, effective rates and compounding frequency

If j is a nominal annual rate convertible m times annually, the periodic rate is j/m under that convention. After t years with mt whole compounding intervals, A=P(1+j/m)^(mt). The effective annual rate is (1+j/m)^m−1. A nominal 12 percent rate compounded monthly has a 1 percent monthly rate and effective annual growth (1.01)^12−1, about 12.6825 percent. That is different from a 12 percent effective annual rate, whose equivalent monthly factor is (1.12)^(1/12).

The formula specifies the rate convention rather than discovering it from a label. Fees, payment timing, day-count conventions, changing rates and withdrawals can make a real cash-flow relationship different. A quoted annual percentage measure must be interpreted from its actual definition; this lesson does not assert a legal disclosure rule. For the supplied fictional cases, use the expressly stated periodic or effective rates and cash dates. Distinguish a model's assumed return from a guaranteed return.

As compounding intervals become arbitrarily fine for a fixed nominal rate r, the mathematical limit is A=Pe^(rt). Here e is the positive constant approximately 2.71828 and r is a continuously compounded annual rate when t is in years. A continuous rate of 0.06 corresponds to effective annual growth e^0.06−1, not exactly 6 percent. Continuous compounding is a model and a limiting convention, not a claim that every account actually updates continuously.

Reading and transforming exponential graphs

For y=b^x with b>0 and b≠1, the real domain is all real x and the range is positive. It passes through (0,1), has horizontal asymptote y=0 and never actually reaches that asymptote at finite x. The graph increases when b>1 and decreases when 0<b<1. In y=A b^(x−h)+k, h shifts the graph horizontally and k shifts its asymptote vertically. A negative A reflects it across the horizontal axis before the vertical shift. These are mathematical transformations; labeling k a “minimum feasible demand” requires a substantive justification.

A graph can suggest growth or decay without identifying a causal mechanism. A fitted exponential that eventually exceeds physical capacity is an extrapolation problem, not a reason to ignore capacity. State the observed range and explain when the mechanism could change. An asymptote in a fitted curve is not proof of an actual operational floor or ceiling.

A logarithm answers an exponent question

The equation log_b(x)=y means b^y=x, with b>0, b≠1 and x>0 for real logarithms. Thus log₂(32)=5 because 2⁵=32. The common logarithm uses base 10; the natural logarithm ln uses base e. The inverse relations ln(e^z)=z for real z and e^(ln x)=x for x>0 connect exponential growth to solving for an unknown time or rate. A real logarithm of zero or a negative input is undefined, even if a spreadsheet has displayed a number after an inappropriate transformation.

For positive x and y, log_b(xy)=log_b x+log_b y; log_b(x/y)=log_b x−log_b y; and log_b(x^a)=a log_b x when the expressions are defined. There is no corresponding rule log(x+y)=log x+log y. The change-of-base identity log_b x=ln x/ln b lets a calculator with natural logs evaluate another base. Keep all original domain restrictions when combining or expanding logs.

The logarithmic graph y=log_b x has domain x>0, range all real values, passes through (1,0) and has vertical asymptote x=0. In y=ln(x−h)+k, the domain becomes x>h and the asymptote shifts to x=h. The graph of an exponential and its logarithmic inverse reflect across y=x with the appropriate units and axes understood. A real application must label whether a graph shows a level, a log of a dimensionless ratio, or a transformed numerical measurement.

Solve for time, and check the decision date

If A=P(1+r)^n with A,P>0 and r>−1, r≠0, taking logs gives n=ln(A/P)/ln(1+r). For a growing balance and a target above the initial amount, this gives a positive continuous time measured in compounding periods. If balances are credited only at the end of whole periods, the first qualifying date may require rounding up and checking the adjacent dates. If r=0, the balance is constant; the logarithmic denominator is zero because the relationship cannot identify a growth time.

To find a periodic rate from a positive growth factor, solve r=(A/P)^(1/n)−1 for n>0. For variable periodic rates, multiply their factors: A=P∏(1+rᵢ). The constant equivalent periodic rate is the geometric mean of the factors minus one. The arithmetic mean of the rates generally does not produce the same final balance. A 20 percent gain and a 20 percent loss have average rate zero but cumulative factor 0.96. The logarithmic growth rates add: ln(A/P)=Σln(1+rᵢ), provided all factors are positive.

Future and present values share a valuation date

An amount received at time t has value X/(1+r)^t at time zero under a constant periodic discount rate r>−1. Compounding forward and discounting backward are inverse operations under that same convention. A positive discount rate makes a later amount worth less at the earlier valuation date in this model. It does not erase the payment or describe a probability of receiving it. A risk adjustment, inflation treatment and financing rate are different modeling choices that must be stated rather than blended silently.

For several cash flows Xₜ, present value is ΣXₜ/(1+r)^t. State the sign convention: receipts positive and payments negative is one common choice. Never add amounts valued at different dates without first moving them to a common date. A flow at the beginning of a period compounds for one more period than the same flow at the end. A fee paid before it earns the assumed return has a different future effect from a fee paid at the valuation date.

For equal end-of-period deposits d over n periods, the future value is d[1+(1+r)+…+(1+r)^(n−1)] = d[(1+r)^n−1]/r for r≠0. The first deposit at time 1 grows for n−1 periods; the last grows for none. The corresponding present value is d[1−(1+r)^(-n)]/r. At r=0, both reduce to nd. Beginning-of-period payments multiply these values by 1+r under the same number of payments. A payment formula solves a stipulated cash-flow equality; affordability and real contract terms need separate evidence.

Inflation, model fitting and the meaning of an average

If nominal growth is g and a comparable price index rises by inflation fraction π, the real growth factor is (1+g)/(1+π), provided both factors are positive. Subtracting π from g is an approximation, not the exact relation. A nominal gain of 8 percent with a 5 percent price increase produces exact real growth 1.08/1.05−1≈2.8571 percent. The selected price index must fit the comparison; it does not measure every individual's experience.

An exponential data model y=Ae^(kx) with positive y can be transformed into ln y=ln A+kx. A straight-line fit to log values minimizes errors on that transformed scale, not ordinary squared errors in the original levels. Taking the exponential of a fitted log value does not automatically recover the conditional arithmetic mean of y. Zero or negative observations cannot simply be deleted to make logs work without explaining the resulting selection. Compare the chosen error definition, residual pattern, operating range and out-of-sample behavior. Fitting a growth curve does not establish that its growth rate will persist.

Worked investigation 1: rates and valuation dates

A fictional fund starts with $4,000 at time zero and receives $1,000 at the end of year one. At a stipulated effective annual growth rate of 6 percent, its end-of-year-three value is 4000(1.06)³+1000(1.06)²=$5,887.664. A $100 fee paid at the end of year two reduces the year-three value by 100×1.06=$106, leaving $5,781.664. Counting the later deposit for three years would give it a year of growth before it existed. Subtracting only $100 at year three would ignore the foregone growth on the earlier fee.

Optional practice 1: change the deposit date

Move the $1,000 deposit from the end of year one to the end of year two, keeping the fee and all other assumptions. Calculate the final value and explain the difference.

Model reasoning

The initial $4,000 still grows for three years, but the later deposit grows for one: 4000(1.06)³+1000(1.06)−100(1.06)=$5,718.064. The reduction is $63.60, the difference between 1000(1.06)² and 1000(1.06). Timing changed without changing the nominal deposit amount. This is a conditional model comparison, not a prediction that a real account earns that rate.

Worked investigation 2: a doubling date

At stipulated 8 percent effective annual growth, a positive balance doubles after ln 2/ln 1.08≈9.0065 years under a continuous interpolation of the annual-factor model. With end-of-year crediting and no fractional-period entitlement, nine years is too early: 1.08⁹≈1.9990, below 2. The first whole-year date is year ten. Checking the actual permitted dates prevents an apparently harmless rounding of 9.0065 to 9 from misreporting attainment.

Optional practice 2: a rate with a different label

The fictional 8 percent rate is instead nominal annual, compounded quarterly. Give the target-period expression and explain why the old year calculation cannot be reused unchanged.

Model reasoning

The quarterly rate is 0.08/4=0.02. Doubling requires n=ln 2/ln 1.02≈35.0028 quarters, so the first whole-quarter credit date is quarter 36, or nine years. Quarter 35 remains slightly below doubling. The effective annual factor is (1.02)⁴, not 1.08. Both the rate convention and the allowed credit dates changed, so use their own factors and rounding checks.

Worked investigation 3: evaluate a dated alternative

A fictional project requires $5,000 now and returns $2,800 at the end of each of the next two years. At a stipulated 10 percent annual discount rate, present value of receipts is 2800/1.1+2800/1.1²≈$4,859.504. Net present value is about −$140.496. The undiscounted receipt total $5,600 exceeds the payment, but that does not make its discounted comparison positive. The calculation uses supplied receipts and a chosen rate; uncertainty, alternatives and constraints remain part of the decision.

Optional practice 3: change the evidence, not just the rate

The second receipt becomes a forecast rather than a contracted amount. Can the earlier negative NPV be presented as a measured loss? What additional analysis is appropriate?

Model reasoning

No. Both the original and revised NPVs are model valuations rather than realized losses, and a forecast receipt adds explicit uncertainty. Retain the dated valuation method, state the forecast's basis, test materially different receipt scenarios and consider the consequences of shortfall and funding timing. Do not assign an invented probability or treat the discount factor as the probability of receipt. A break-even second receipt can be calculated, but it is a threshold to compare with evidence, not evidence itself.

Optional integrated funding audit

A fictional plan deposits $2,000 now and $500 at each year end for three years at an assumed 5 percent effective annual rate. It claims $3,800 at year three, calls a 4 percent nominal gain with 6 percent inflation a real gain, and uses ln(x+3)=ln x+ln 3. Correct the valuation, real-growth statement and logarithmic identity. Give the relevant domains and assumptions.

Complete model

Future value is 2000(1.05)³+500[(1.05)²+1.05+1]=$3,891.50. The three year-end deposits have different growth durations; no deposit made at year three earns an extra year. The exact real growth factor for the separate comparison is 1.04/1.06≈0.981132, a real decline of about 1.8868 percent, not a gain. The logarithmic sum identity is false: ln x+ln 3=ln(3x) for x>0, whereas ln(x+3) has domain x>−3. For example x=1 gives ln4 on one side and ln3 on the other. The funding result assumes a constant credited effective rate, the stated dates, no additional fees and the specified deposits; it is not a guarantee of real-world accumulation.

Explicit optional rubric: 20 points

  • Four points for matching rates, periods and valuation dates.
  • Four points for the separate deposit durations and correct final value.
  • Four points for exact real versus nominal growth and its interpretation.
  • Four points for logarithmic identities, domains and a meaningful check.
  • Four points for explaining supplied assumptions, uncertainty and the actual decision-date restrictions.

Optional source summary

OpenStax's logarithmic-functions section explains logarithms as inverses of exponentiation and distinguishes bases and real domains. It provides optional additional examples. All dated cash-flow reasoning, original fictional cases and complete optional models required here are on site.

  • https://openstax.org/books/algebra-and-trigonometry-2e/pages/6-3-logarithmic-functions

Complete course investigation and rubric

Apply the idea

$10,000 growing at 5% annually for two years becomes $11,025, not $11,000.

At 10% annually, $1,000 becomes what after two years? Explain your reasoning, then identify one changed fact that could alter the conclusion.

Read the worked reasoning

$1,210. 1,000×1.1×1.1=1,210; the second year also earns on earlier growth. In an independent response, state the given facts, identify the governing relationship, work through the calculation or comparison, and distinguish the conclusion from assumptions that still need evidence.

Check understanding

At 10% annually, $1,000 becomes what after two years?

  1. $1,210
    Feedback

    1,000×1.1×1.1=1,210; the second year also earns on earlier growth.

  2. $1,200
    Feedback

    This alternative does not follow from the stated facts. 1,000×1.1×1.1=1,210; the second year also earns on earlier growth.

  3. $1,100
    Feedback

    This alternative overlooks the relevant mechanism. 1,000×1.1×1.1=1,210; the second year also earns on earlier growth.

Further reading

All required teaching and source summaries are supplied on LawfareGroup.com. External publisher and primary links are optional provenance or further reading. All practice, checks and assessments are optional. Contemporary state-law examples default to Florida; federal and historical material retain their stated scope.

My learning →