OT2.2, OT2.5, OT3.2, OT3.3 - Applying and extending mathematics from an unfamiliar passage
Build a connected solution from a supplied update rule, decide when its target is met and judge how much confidence the calculation deserves. You will use a model with suitable inputs, interpret its outputs and separate numerical accuracy from the limitations of the procedure being modelled.
Reading an update rule
Can a setting move closer to its target at every update, yet never reach it exactly? Suppose a brightness setting starts at , aims for , and closes one quarter of the remaining gap each time. The first update adds ; the next adds only . This is no ordinary arithmetic sequence.
You already know
A geometric sequence multiplies by the same ratio each time. Subscripts count positions or updates: starting at , one update produces . Logarithms turn powers into products, but dividing an inequality by a negative number reverses its direction.
Read this passage as a model with declared assumptions. You do not need prior knowledge of display electronics; every rule needed here is supplied.
> > Here $r_0$ is the initial setting and $0<\lambda<1$ is a fixed adjustment fraction. The model uses real-number settings, without rounding, clipping or response delay. > > **[D2]** In the example, $L=180$, $r_0=120$ and $\lambda=\frac14$. The design target is a setting within $0.5$ of $180$, including the boundary. The designer asks for the least number of updates. > > **[D3]** A practical implementation might round every new setting. That would change the procedure, so its accuracy must be checked separately. The adjustment is a fraction of the **remaining gap**, not a fixed fraction of the target. D2 begins as follows. | Updates $n$ | Setting $r_n$ | Signed gap $180-r_n$ | |---|---|---| | $0$ | $120$ | $60$ | | $1$ | $135$ | $45$ | | $2$ | $146.25$ | $33.75$ | | $3$ | $154.6875$ | $25.3125$ | The settings are not geometric, but the gaps are. Naming the right quantity reveals the familiar structure hidden inside the passage.A gradual display adjustment
[D1] A display has a numerical brightness setting between and . To move gradually towards a fixed target , a designer uses
Signed deviation
Define . It is positive below the target, zero at the target and negative above it. The distance from the target is , not necessarily .
Subtract D1 from to obtain a simpler update rule:
Repeated multiplication, starting at index zero, therefore gives
These are passage-specific results to derive from D1; they are not in the formula sheet. Check the initial condition and the update relation, rather than relying on a few matching numerical terms.
Worked example 1: approaching from below
Question. For D1 with , and , find , and an expression for . Explain whether the sequence overshoots the target.
Plan. Calculate two updates, then use the signed geometric deviation to describe every update.
- Apply D1 twice:
- Use the initial gap and its multiplier:
- Convert the deviation back into a setting:
Why this step? The positive deviation stays positive while shrinking; it cannot change sign and produce an overshoot.
Answer. , and . The settings approach the target from below without overshooting.
Check. At , the formula gives . Multiplying its gap by gives the next required gap, so the formula satisfies D1 at every step.
Worked example 2 changes only the initial setting to one above the target. Keep the sign of the initial deviation; the rule itself is unchanged.
Worked example 2: approaching from above
Question. For D1 with , and , find , and an expression for . Explain whether the sequence overshoots the target.
Plan. Calculate the first updates, then retain the negative signed deviation in the geometric expression.
- Apply D1 with a negative gap:
- Track the signed deviation:
- Recover the setting by subtracting that negative deviation:
Why this step? Replacing the initial deviation by its magnitude would put the setting on the wrong side of the target.
Answer. , and . The settings approach from above without crossing below the target.
Check. At , the formula gives ; at , it gives , agreeing with the update.
There is also a direct range check. D1 can be written as , a weighted average with positive weights summing to one. It lies between the current value and the target. If both are in the device's range, the next value stays in that range too. Starting exactly at the target leaves the setting fixed.
Watch out
Wrong: add on every update. Right: add . The shrinking gap is the reason the increments shrink; a constant increment would describe a different procedure.
The next initial value is still above the target, but has a different signed gap.
A stopping condition
Turn a target into an exact inequality before deciding which integer number of updates answers the question.
D2 uses distance from the target. This works for starts above or below it, whereas a signed gap alone could be negative and appear to satisfy a tolerance immediately.
Tolerance
A tolerance specifies an allowed distance from a target. “Within , including the boundary” means . “Strictly less than away” means .
For D2 the distance is . It decreases at every update, so once a tolerance is met it stays met. Logarithms locate the first possible integer; neighbouring values provide a useful check.
Worked example 3: solving the passage's stopping request
Question. For D2, find the least number of updates needed to be within of the target, including the boundary. Justify minimality. Give neighbouring distances to significant figures.
Plan. Solve the distance inequality with logarithms, take the least allowed integer and check its predecessor.
- Write the inclusive distance condition:
- Take logarithms and divide by a negative number:
- Test the neighbouring integer counts using the unrounded model:
Why this step? , so the inequality reverses. The answer is an update count above the real threshold, not its ordinary rounded value.
Answer. The least count is updates. The distance decreases throughout, fails and succeeds.
Check. , so its distance from is about , consistent with the inequality.
Worked example 4 changes only the tolerance from to . A wider tolerance should require fewer updates; the same outputs and precision are requested.
Worked example 4: a wider permitted gap
Question. For D2's update model, find the least number of updates needed to be within of the target, including the boundary. Justify minimality. Give neighbouring distances to significant figures.
Plan. Replace the tolerance in the same inequality and retain full precision until choosing the integer.
- Form the distance inequality:
- Use the negative logarithm correctly:
- Check the two boundary counts:
Why this step? The real threshold is just above ; rounding it to would select an update count that fails.
Answer. The least count is updates. Decreasing distance, together with failure at and success at , establishes minimality.
Check. The wider tolerance reduces the count from to , as expected. The unrounded setting at is about .
Boundary wording can matter even when a logarithmic threshold is an exact integer. In a separate model with distance , the distance at is exactly . An inclusive tolerance of first works at ; a strict distance less than first works at , when the distance is .
Watch out
Wrong: , after dividing by . Right: , because the divisor is negative. Check a larger count: it must produce a smaller distance.
Continue this lesson.
You’re previewing NovaLearn without an account. Create a free account to read the rest.
Create free account