TactivergeLite

Lite / Engineering Complex Systems / Week 1

Power laws and exponentials

Double a cyclist's speed and the air pushes back four times harder. Halve a capacitor's charge and it takes the same time to halve again. Two very different curves: how do you tell them apart?

About 40 min · 3 goals · Checked by automated tests · Full interactive version

Why should I care?

Drag, stiffness of a beam, heat lost through a wall, the brightness of a light with distance: power laws. Battery self-discharge, a capacitor emptying, a hot drink cooling, bacteria multiplying: exponentials. Confusing the two gives predictions that are wildly wrong outside the data, so engineers have a quick test for each.

Predict

Air drag on a cyclist is about F = c·v². At 10 m/s it is 40 N. What is it at 20 m/s?

  1. 80 N
  2. 160 N
  3. 400 N
  4. 40 N, drag does not depend on speed
Guess first, then reveal

Doubling v multiplies v² by 2² = 4, so 40 N becomes 160 N. That is the signature of a power law: scaling the input by a factor scales the output by that factor to the power n.

Discover

Load the wind-tunnel drag data and try each family. Which gives random-looking residuals, and what exponent n does it find? Now load the capacitor discharge: compare the power and exponential fits. Read the exponential's k and work out the time constant τ = −1/k in seconds.

What the interactive shows (text version)

In the fitter, the drag data are curved upwards. A linear fit leaves patterned residuals; a power-law fit finds an exponent close to 2 with random residuals. For the capacitor discharge an exponential fits with k close to −0.67 per second, so τ is about 1.5 s. The readout states each fitted equation and its RMS residual.

You can also open the interactive on the full site when you have a faster connection.

Understand

Scaling test for a power law

For y = k·xⁿ, multiplying x by any factor s multiplies y by sⁿ, whatever x you start from. Drag (n = 2): double speed, four times the force. Cylinder volume against radius at fixed height (n = 2). A beam's deflection against length under its own weight (n = 4). The exponent n carries the physics.

Constant-ratio test for an exponential

For y = A·e^(kx), adding a fixed amount to x multiplies y by a fixed ratio. A capacitor V = V₀·e^(−t/τ) loses 63% of its remaining voltage every τ seconds and halves every τ·ln 2. The quantity τ (the time constant) has the units of time and sets the speed of the whole process.

e and the natural logarithm

e ≈ 2.718 is the base for which the exponential's slope equals its value: d/dx eˣ = eˣ. That makes e^(kt) the natural language of anything whose rate of change is proportional to its size. Its inverse is ln: ln(eˣ) = x. You will use both constantly from week 3 on.

Explain it another way

Intuitive

A power law is about size: make something twice as big and it behaves a fixed multiple differently. An exponential is about time or steps: every equal step multiplies by the same amount, like a battery that loses 2% of whatever it has each day.

Technical

Power law y = k·xⁿ: straight on log–log axes, slope n. Exponential y = A·e^(kx): straight on semi-log axes, slope k. For decay k = −1/τ; half-life t½ = τ·ln 2 ≈ 0.693τ.

Mathematical

Exponent rules: e^(a+b) = eᵃ·eᵇ, so e^(k(x+Δ)) = e^(kx)·e^(kΔ): a constant ratio per step Δ. For a power law, k(sx)ⁿ = sⁿ·kxⁿ: a constant ratio per scale factor s.

Applied

Engineers plot on log axes as a first diagnostic. A battery-life curve that is straight on a semi-log plot is a sign of exponential self-discharge; a wind-tunnel drag curve that is straight on log–log with slope 2 confirms turbulent drag.

Derivation: Why logarithms straighten both families
  1. Power law: y = k·xⁿ. Take natural logs of both sides: ln y = ln k + n·ln x.

  2. So plotting ln y against ln x gives a straight line with slope n and intercept ln k. A log–log plot that is straight means a power law.

  3. Exponential: y = A·e^(kx). Take logs: ln y = ln A + k·x.

  4. So plotting ln y against x (only the y-axis logged) gives a straight line with slope k. A semi-log plot that is straight means an exponential.

  5. Both tricks need y > 0 (and x > 0 for the power law) because the logarithm of zero or a negative number is not defined. That is why the lab refuses log fits on data that cross zero.

Worked example 1

A capacitor discharges as V = 9·e^(−t/1.5) volts. When has it fallen to 4.5 V?

4.5/9 = 0.5 = e^(−t/1.5). Take logs: −t/1.5 = ln 0.5 = −0.693, so t = 1.5 × 0.693 = 1.04 s. That is the half-life: t½ = τ·ln 2.

Worked example 2

Drag measurements: 10 N at 5 m/s and 40 N at 10 m/s. Power law or exponential, and what parameter?

Doubling speed multiplied the force by 4 = 2², consistent with n = 2. Then c = F/v² = 10/25 = 0.4 kg/m. Check: 0.4 × 100 = 40 N.

Common mix-ups

Practice

Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.

N

s

Practice 3. You plot ln(y) against x and get a straight line with slope −0.4. What model fits?
Practice 4. Light intensity from a lamp falls to one quarter when you double the distance. Which model is consistent?

V

s

Apply it

Find a real datasheet curve plotted on log axes (battery discharge, LED brightness against current, or a resistor's power derating). Say which family it is and estimate its exponent or time constant from two points.

Reflect

Describe in one sentence each how you would tell a power law from an exponential if you could only double the input or add to it.

Write your answer on paper or in your own notes. Lite never stores what you write.

Go further

← Functions as engineering modelsSinusoids: models that repeat →