Skip to content
Tactiverge

School/□ Systems Engineer/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

1.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.

  • ◇ Distinguish power laws y = k·xⁿ from exponentials y = A·e^(kx) by how they respond to scaling the input.
  • ◇ Use logarithms to turn each into a straight line and read off its parameters.
  • ◇ Evaluate both kinds of model with units, including the time constant of a decay.

2.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?

Guess first. Being wrong here is how the surprise works.

3.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.

Loading the interactive…

Can't use the interactive? Read a description instead

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.

4.Checkpoint: guided practice

Check what you just discovered before going on. Hints appear after a wrong answer.

Practice 1

Drag F = 0.4·v² newtons (v in m/s). What is the drag at 15 m/s?

N

5.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

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.

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

  • Any curve that rises steeply is exponential.
    ✓ Power laws also rise steeply. Exponentials have a constant ratio per equal step; power laws have a constant ratio per scale factor.
  • The time constant is the time to reach zero.
    ✓ An exponential decay never reaches zero. After one τ it is at 37%, after 5τ about 0.7%.

6.Practice on your own

Practice, not a test. Wrong answers get a hint and another try.

Practice 2

V = 9·e^(−t/1.5) volts. How long until V = 4.5 V, in seconds?

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?

Practice 5 · a fresh version every time

An alternating voltage is v(t) = A·sin(2π·f·t) with A = 12 V and f = 2 Hz. What is v at t = 0.003 s, in volts? (Angles in radians.)

V

Practice 6 · a fresh version every time

A quantity decays as e^(−t/τ) with τ = 10 s. How long until it falls to 25% of its start value, in seconds?

s

7.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.

8.Reflect

9.Go further

Concepts: Functions as engineering models · Fitting lines with least squares