🌱 Tony's Memex Tony's Intertwingled Memex
Digital Garden | OER Curriculum
Home / Digital Garden / Inverting Functions and Domain Mapping

Inverting Functions and Domain Mapping

Core Definition

Inverting a function in an applied context consists of algebraically solving an equation s=f(t)s = f(t) for the input variable tt as a function of the output variable ss (t=fβˆ’1(s)t = f^{-1}(s)), while preserving the physical identity of each symbol and transforming the parameter domain boundaries [a,b]β†’[f(a),f(b)][a, b] \to [f(a), f(b)].

Concept Explanation

In introductory algebra, students are typically taught a mechanical recipe for finding inverse functions: "Step 1: Swap xx and yy. Step 2: Solve for yy."

In engineering and multivariable calculus, you must never swap the variables. Each variable carries strict physical units and geometric meaning:

  • tt represents elapsed time (seconds) or trajectory angle (radians).
  • ss represents accumulated spatial distance (meters) along a curve.

Swapping the symbols turns distance into time and destroys the physical model. Instead, we invert the relationship in-place: treating the output variable ss as the new independent input and solving directly for t=t(s)t = t(s).

   TRADITIONAL HIGH SCHOOL ALGEBRA                ENGINEERING CALCULUS INVERSION
  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
  β”‚  y = 5x^2                         β”‚        β”‚  s = 5t^2   (t in seconds, s in m)β”‚
  β”‚  Swap: x = 5y^2                   β”‚   VS   β”‚  NO SWAPPING!                     β”‚
  β”‚  Solve: y = ±√(x/5)               β”‚        β”‚  Solve in-place: t = √(s/5)       β”‚
  β”‚  (Physical meaning lost)          β”‚        β”‚  Branch choice: t β‰₯ 0 -> + root   β”‚
  β”‚                                   β”‚        β”‚  Domain mapped: t∈[0,4] -> s∈[0,80β”‚
  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

The 3 Essential Skills for Applied Inversion

1. The Calculus Guarantee: Monotonicity & Invertibility

A function has a unique, single-valued inverse on an interval if and only if it is strictly monotonic (either strictly increasing or strictly decreasing). In calculus, you do not need to guess whether a function passes the "horizontal line test":

dsdt=fβ€²(t)>0forΒ allΒ t∈(a,b)β€…β€ŠβŸΉβ€…β€Šf(t)Β isΒ strictlyΒ increasingΒ andΒ strictlyΒ invertible.\frac{ds}{dt} = f'(t) > 0 \quad \text{for all } t \in (a, b) \implies f(t) \text{ is strictly increasing and strictly invertible.}
In arc length problems, because traversal speed is strictly positive (dsdt=βˆ₯rβƒ—β€²(t)βˆ₯>0\frac{ds}{dt} = \|\vec{r}'(t)\| > 0), the arc length function s(t)s(t) is always guaranteed to be invertible!

2. Branch Selection & Physical Sign Constraints

When inverting equations involving even powers (such as s=kt2s = k t^2 or s=c(tβˆ’h)2s = c(t - h)^2), algebra yields two mathematical solutions: t=Β±s/kt = \pm\sqrt{s/k}.

  • In applied problems, you must select the branch that matches the physical operating regime.
  • If motion begins at t=0t = 0 and proceeds forward in time (tβ‰₯0t \ge 0), you must explicitly discard the negative branch:
    t(s)=+skt(s) = +\sqrt{\frac{s}{k}}

3. Domain Interval Mapping (Push-Forward of Boundaries)

An inverse function is incomplete without its valid parameter domain. When inverting a relationship over a closed domain t∈[a,b]t \in [a, b], you must calculate the new boundary interval for ss:

smin⁑=s(a),smax⁑=s(b)β€…β€ŠβŸΉβ€…β€Šs∈[s(a),s(b)]s_{\min} = s(a), \quad s_{\max} = s(b) \implies s \in [s(a), s(b)]
This ensures the reparameterized model operates only over the physical span of the original system.


Why We Use It in Calculus III: Arc Length Parametrization

The primary application of this skill in Calculus III is reparameterizing space curves by arc length (r⃗(s)\vec{r}(s)):

  1. Solve for distance: You integrate speed over time to find s(t)=∫0tβˆ₯rβƒ—β€²(u)βˆ₯ dus(t) = \int_0^t \|\vec{r}'(u)\|\,du.
  2. Invert in-place: You solve s=s(t)s = s(t) for t=t(s)t = t(s) to find the "clock time" at which the vehicle reaches odometer distance ss.
  3. Vector Composition: You substitute t(s)t(s) into the 3D position vector:
    rβƒ—(s)=rβƒ—(t(s))=⟨x(t(s)),y(t(s)),z(t(s))⟩\vec{r}(s) = \vec{r}(t(s)) = \langle x(t(s)), y(t(s)), z(t(s)) \rangle
  4. Invariant Check: Differentiating with respect to ss must yield unit speed: βˆ₯drβƒ—dsβˆ₯=1\left\|\frac{d\vec{r}}{ds}\right\| = 1.

Example Problems

Example Problem 1: Inverting a Quadratic Kinematic Distance Function

A robotic welding arm moves along a path where its accumulated arc length distance ss (in cm) as a function of time tt (in seconds) is given by:

s(t)=4t2+12tforΒ 0≀t≀3s(t) = 4t^2 + 12t \quad \text{for } 0 \le t \le 3

  1. Prove that s(t)s(t) is strictly invertible on [0,3][0, 3].
  2. Solve in-place for tt as a function of ss (t=t(s)t = t(s)).
  3. Determine the mapped parameter domain for distance ss.
Solution

Step 1: Check invertibility via derivative

dsdt=8t+12\frac{ds}{dt} = 8t + 12
For all t∈[0,3]t \in [0, 3], 8t+12β‰₯12>08t + 12 \ge 12 > 0. Because the derivative is strictly positive, s(t)s(t) is strictly increasing, guaranteeing a unique continuous inverse function.

Step 2: Solve in-place for tt by completing the square

s=4(t2+3t)s = 4(t^2 + 3t)
Complete the square inside the parentheses: (32)2=94\left(\frac{3}{2}\right)^2 = \frac{9}{4}.
s=4(t2+3t+94βˆ’94)=4(t+32)2βˆ’9s = 4\left(t^2 + 3t + \frac{9}{4} - \frac{9}{4}\right) = 4\left(t + \frac{3}{2}\right)^2 - 9
Isolate the squared binomial:
s+9=4(t+32)2β€…β€ŠβŸΉβ€…β€Šs+94=(t+32)2s + 9 = 4\left(t + \frac{3}{2}\right)^2 \implies \frac{s + 9}{4} = \left(t + \frac{3}{2}\right)^2
Take the square root of both sides:
t+32=Β±s+94=Β±s+92t + \frac{3}{2} = \pm\sqrt{\frac{s+9}{4}} = \pm\frac{\sqrt{s+9}}{2}
Since tβ‰₯0t \ge 0, we must select the positive root to ensure tt is non-negative:
t(s)=βˆ’32+s+92=s+9βˆ’32t(s) = -\frac{3}{2} + \frac{\sqrt{s+9}}{2} = \frac{\sqrt{s+9} - 3}{2}

Step 3: Map the parameter domain

  • Lower bound: s(0)=4(0)2+12(0)=0Β cms(0) = 4(0)^2 + 12(0) = 0\text{ cm}.
  • Upper bound: s(3)=4(3)2+12(3)=36+36=72Β cms(3) = 4(3)^2 + 12(3) = 36 + 36 = 72\text{ cm}.
  • Domain for ss: [0,72][0, 72].

Example Problem 2: Inverting an Exponential Distance Function

A subsea exploration probe decelerates through viscous sediment such that its distance traveled is modeled by:

s(t)=20(1βˆ’eβˆ’0.5t)forΒ tβ‰₯0s(t) = 20(1 - e^{-0.5t}) \quad \text{for } t \ge 0

  1. Solve for t=t(s)t = t(s).
  2. Identify the valid physical domain of ss.
Solution

Step 1: Isolate the exponential term

s20=1βˆ’eβˆ’0.5t\frac{s}{20} = 1 - e^{-0.5t}
eβˆ’0.5t=1βˆ’s20=20βˆ’s20e^{-0.5t} = 1 - \frac{s}{20} = \frac{20 - s}{20}

Step 2: Apply the natural logarithm

βˆ’0.5t=ln⁑(20βˆ’s20)-0.5t = \ln\left(\frac{20 - s}{20}\right)
Multiply by βˆ’2-2:
t(s)=βˆ’2ln⁑(20βˆ’s20)=2ln⁑(2020βˆ’s)t(s) = -2\ln\left(\frac{20 - s}{20}\right) = 2\ln\left(\frac{20}{20 - s}\right)

Step 3: Determine the valid domain for ss

  • At t=0β€…β€ŠβŸΉβ€…β€Šs(0)=20(1βˆ’e0)=0t = 0 \implies s(0) = 20(1 - e^0) = 0.
  • As tβ†’βˆžβ€…β€ŠβŸΉβ€…β€Šsβ†’20(1βˆ’0)=20t \to \infty \implies s \to 20(1 - 0) = 20.
  • The valid distance domain is 0≀s<200 \le s < 20.

Connections & References