Numerical Root-Finding Applications: From Targets to Feasible Solutions

Numerical root-finding applications arise when you need an input that makes a model meet a target. You might choose a voltage that delivers a required power, a time when a temperature reaches a threshold, or a displacement that balances two forces. The central application skill is to translate that requirement into an equation and interpret the computed result. A calculator can return a number without establishing that the number describes an acceptable physical situation.

Turn the target into a zero

A root of a function is an input at which the function equals zero. Many practical questions initially ask for a nonzero target, so first move the target into a difference:


f(x)=model output at x−target output,f(x)=0.f(x)=\text{model output at }x-\text{target output}, \qquad f(x)=0.


The residual at a trial input is the value of this difference. Its units match the output units. If a force model must produce 40 N40\ \text{N}, define f(x)=F(x)−40 Nf(x)=F(x)-40\ \text{N}. A positive residual means the modeled force exceeds the target; a negative residual means it falls short. This sign interpretation depends on the subtraction you chose.


An increasing residual curve crosses the zero line at a marked input.


Writing the residual explicitly also prevents a common modeling mistake: solving for zero output when the application asks for a specified output. Keep the target, units, and definition of the unknown beside the equation.



Restrict the search to meaningful inputs

Before using a numerical solver, identify the inputs for which the model applies. Time may need to be nonnegative, a length may need to fit inside a device, and an empirical relation may be valid only over a measured range. A mathematical root outside that range does not establish a valid physical solution.


Endpoint signs can help you locate a solution. If ff is continuous on [a,b][a,b] and its endpoint values have opposite signs, then at least one root lies between them:


f(a)f(b)<0.f(a)f(b)<0.


The sign-change guarantee requires continuity throughout the interval. A jump across zero is not necessarily a root.


Evidence

What it establishes

What remains unresolved

Opposite endpoint signs with continuity

At least one root lies between the endpoints

Whether additional roots exist

Equal nonzero endpoint signs

The sign-change test gives no guarantee

Roots may still occur inside

A computed zero outside the model range

The equation has that mathematical solution

Whether the application permits it


A sign change does not establish uniqueness. Additional model information can help: a strictly increasing function cannot reach the same target at two different inputs within the same interval.

Validate the returned candidate

Substitute the solver's candidate x^\hat{x} into the original model. Check its units, its physical admissibility, and its residual. If the application permits an output mismatch of at most ε\varepsilon, the relevant test is


∣f(x^)∣≤ε.|f(\hat{x})|\leq\varepsilon.


The tolerance must use the same units as the residual. A force tolerance is measured in newtons, while a temperature tolerance is measured in temperature units.



A small residual measures output agreement. It does not, by itself, specify how close the input is to an exact root. Near a flat portion of a response curve, noticeably different inputs can produce very similar outputs. Also distinguish numerical agreement from model accuracy: solving an equation closely does not verify that the equation represents the real system well.

What to remember

  • Write model output minus target output before solving.
  • Restrict attention to inputs allowed by the application and model.
  • Use continuity with opposite signs to establish that a root exists.
  • Check the returned candidate in the original model and units.
  • Apply the stated physical tolerance, including any required input restrictions.

Example: Setting the Voltage of an Electrical Load

A laboratory electrical load has the current model


I(V)=1.20 A+(0.0800 A/V)V,I(V)=1.20\ \text{A}+(0.0800\ \text{A/V})V,


valid for 1.00 V≤V≤4.00 V1.00\ \text{V}\leq V\leq4.00\ \text{V}. Its electrical power is P(V)=VI(V)P(V)=VI(V). You want the load to consume 3.00 W3.00\ \text{W}. A candidate is acceptable if it lies in the model's voltage range and its power differs from the target by at most 0.00500 W0.00500\ \text{W}.


a) Formulate a root equation for the voltage and state its admissible interval.


The power residual is the modeled electrical power minus the required power. First substitute the current model into P=VIP=VI:


P(V)=(1.20 A)V+(0.0800 A/V)V2.P(V)=(1.20\ \text{A})V+(0.0800\ \text{A/V})V^2.


Both terms have power units because A⋅V=W\text{A}\cdot\text{V}=\text{W}. Subtract the 3.00 W3.00\ \text{W} target:


f(V)=(0.0800 A/V)V2+(1.20 A)V−3.00 W.f(V)=(0.0800\ \text{A/V})V^2+(1.20\ \text{A})V-3.00\ \text{W}.


The required root equation is f(V)=0f(V)=0, restricted to 1.00 V≤V≤4.00 V1.00\ \text{V}\leq V\leq4.00\ \text{V}. This interval is the range over which the supplied model is valid.


b) Show that the interval from 2.00 V2.00\ \text{V} to 3.00 V3.00\ \text{V} contains exactly one solution.


Evaluate power at both endpoints. At the lower endpoint, the current is 1.36 A1.36\ \text{A}, so the power is ________:


P(2.00 V)=(2.00 V)(1.36 A)=2.72 W.P(2.00\ \text{V})=(2.00\ \text{V})(1.36\ \text{A})=2.72\ \text{W}.


At the upper endpoint, the current is 1.44 A1.44\ \text{A}, so the power is ________:


P(3.00 V)=(3.00 V)(1.44 A)=4.32 W.P(3.00\ \text{V})=(3.00\ \text{V})(1.44\ \text{A})=4.32\ \text{W}.


The endpoint residuals are therefore


f(2.00 V)=−0.280 W,f(3.00 V)=+1.32 W.f(2.00\ \text{V})=-0.280\ \text{W}, \qquad f(3.00\ \text{V})=+1.32\ \text{W}.


The residual is a polynomial in voltage and is continuous. Its opposite endpoint signs guarantee at least one root between the endpoints. Moreover, both positive-voltage power terms increase strictly as voltage increases, so the power cannot equal the same target twice in this interval.


There is exactly one solution between 2.00 V2.00\ \text{V} and 3.00 V3.00\ \text{V}.


c) A numerical solver returns V=2.18 VV=2.18\ \text{V}. Decide whether this candidate is acceptable under the stated requirements.


The proposed voltage lies inside the valid model interval. Next evaluate its current, which is ________:


I(2.18 V)=1.20 A+(0.0800 A/V)(2.18 V)=1.3744 A.I(2.18\ \text{V})=1.20\ \text{A}+(0.0800\ \text{A/V})(2.18\ \text{V})=1.3744\ \text{A}.


Using that current, the modeled power is ________:


P(2.18 V)=(2.18 V)(1.3744 A)=2.996192 W.P(2.18\ \text{V})=(2.18\ \text{V})(1.3744\ \text{A})=2.996192\ \text{W}.


Subtract the target and compare the absolute mismatch with the allowed tolerance:


f(2.18 V)=2.996192−3.00=−0.003808 W,∣f(2.18 V)∣=0.003808 W<0.00500 W.\begin{aligned} f(2.18\ \text{V})&=2.996192-3.00=-0.003808\ \text{W},\\ |f(2.18\ \text{V})|&=0.003808\ \text{W}<0.00500\ \text{W}. \end{aligned}


The candidate V=2.18 VV=2.18\ \text{V} is acceptable: it lies in the model range and meets the power tolerance. The acceptance test concerns power mismatch, not a claimed voltage error.

A storage tank drains according to the model


V(t)=8.00−0.200t−0.00500t2,V(t)=8.00-0.200t-0.00500t^2,


where tt is the numerical time in seconds and V(t)V(t) is the numerical volume in cubic metres. The model applies for 0≤t≤15.00\leq t\leq15.0. An operator wants the time when 5.00 m35.00\ \text{m}^3 remains. Which residual equation correctly expresses this target?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

A cooling component has modeled temperature


T(t)=20.0+60.0e−t/(150 s),T(t)=20.0+60.0e^{-t/(150\ \text{s})},


where TT is measured in degrees Celsius and t≥0t\geq0 is elapsed time. The desired temperature is 35.0 ∘C35.0\ ^\circ\text{C}. A proposed solution is t=180 st=180\ \text{s}. Calculate the signed temperature residual, defined as modeled temperature minus target temperature. Answer in degrees Celsius to two decimal places.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

A nonlinear spring has the force model


F(x)=(1000 N/m)x+(200000 N/m3)x3,F(x)=(1000\ \text{N/m})x+(200000\ \text{N/m}^3)x^3,


valid for extensions 0≤x≤0.050 m0\leq x\leq0.050\ \text{m}. A design requires 36.0 N36.0\ \text{N}, with an allowed force mismatch of at most 0.70 N0.70\ \text{N}. Three trial extensions are 0.030 m0.030\ \text{m}, 0.031 m0.031\ \text{m}, and 0.032 m0.032\ \text{m}.


Identify the only trial extension that meets the force requirement and give its signed residual F(x)−36.0 NF(x)-36.0\ \text{N}. Report the extension in metres to three decimal places and the residual in newtons to two decimal places.

Your answers

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Extra Practice