Skip to content
Badr Alghamdi
ToolsLearnReferenceGlossaryField LibraryMethod sheetsWritingAbout
العربية
←Tools

Blending index: at fifty per cent the two rules disagree

Type two stream values and a limit. A mass fraction rule and a logarithmic index agree everywhere except at 50%, where they read 5 and 4 against a limit of 4.5.

Live result

Across the checked ladder, 1 ratio falls on opposite sides of the typed limit.
  • Ladder step10%
  • First ratio on opposite sides50%
A narrower ladder step can put more ratios on opposite sides.
Across the checked ladder, 1 ratio falls on opposite sides of the typed limit.A narrower ladder step can put more ratios on opposite sides.

Two blend rules and the checked sweep

Live chart
Linear and logarithmic index readings across the ratio ladderThe linear and logarithmic index curves run from 2 to 8. They land on opposite sides of the typed limit at 1 checked ratios, first at 50%.1.283.766.248.720255075100Blend valueSecond stream mass fraction, %Typed limitStraight ruleLog index rule
Live chart
Opposite side count across second stream valuesThe rail checks 5 second stream values and plots the whole count of ratio points where the two rules fall on opposite sides.0122610Opposite side ratio countSecond stream value

Try a scenario

Typed blend case

8

This is the one control tracked across the curve and sweep rail.

%

Declared index bounds

Both streams, the limit, and every swept value stay inside these positive bounds.

Second stream sweep

Tracked answer

Opposite side count
1
First ratio
50 %
All opposite side ratios
50
50%
Straight rule5
Log index rule4
Readings against limitabove / below
Second streamStraight ruleLog index ruleReadings against limit
50%54above / below

Adjacent checked changes

First change below
6
First change above
10

The boundary is two positive endpoint values, one typed arithmetic limit, one declared logarithmic index, and the checked ratio ladder. Both rules stay between the endpoints.

Here is the maths

▾

The formula, in words

The straight rule weights the two endpoint values by mass fraction. The index rule takes each natural logarithm, weights those two indices, then applies exp to return to the value scale.

Pl=(1−r)P1+rP2P_l = (1-r) P_1 + r P_2Pl​=(1−r)P1​+rP2​

where PlP_lPl​ is the straight-rule value, rrr the stream-two ratio, and P1P_1P1​ and P2P_2P2​ the endpoint values.

Pi=exp⁡((1−r)ln⁡P1+rln⁡P2)P_i = \exp((1-r) \ln P_1 + r \ln P_2)Pi​=exp((1−r)lnP1​+rlnP2​)

where PiP_iPi​ is the logarithmic-index value.

A worked example

At 50% with endpoint values 2 and 8, the straight rule gives 5.

The logarithmic index gives exp⁡(0.5×ln⁡2+0.5×ln⁡8)\exp(0.5 \times \ln 2 + 0.5 \times \ln 8)exp(0.5×ln2+0.5×ln8), which equals 4.

Against a limit of 4.5, one reading is above and the other is below. The 40% and 60% points agree on their side, so the count is 1.

What this does not model

No real property is assigned to the logarithmic index. The model does not propagate uncertainty, read a specification, or return a conformity result.

Check it yourself

At 0% and 100% both rules equal the endpoint values. If the typed limit lies outside those endpoints, neither monotone rule can cross it.

Sources

  • Public logarithm, exponential, and convex combination mathematics.
  • Published chemical engineering literature on property specific nonlinear blending indices, described without reproducing a proprietary table.

Model version

1.0.0

The whole record prints. Your browser can save it as a PDF instead of printing it.

This comparison reads no specification, identifies no real property rule, and certifies no blend. Product identity, conformity, and automatic property rule selection remain outside the calculation.

Related

  • Reference state: two property tables, one hidden offsetSubtract two states inside one table and the reference point cancels. Mix two tables and it does not. Check whether your sources differ by a constant before you trust a difference.
  • Spend weighted average: one supplier closes the whole gap, until none canA spend weighted blend sits below the threshold you were handed. Raising one supplier's declared share on its own can close the entire gap, and the smallest move belongs to the supplier with the most spend behind it rather than to the one furthest from the figure. Above one threshold no single declaration reaches at all, and this page names both the supplier and that crossing.

Two rule blend record

Blending index: at fifty per cent the two rules disagree

Accepted inputs

First stream value
2
Second stream value
8
Typed arithmetic limit
4.5
Ratio ladder step
10 %
Declared index bounds
1 to 12
Second stream sweep
2 to 10
Sweep step
2

Computed readings

Opposite side count
1
First ratio
50 %
All opposite side ratios
50
Straight rule
5
Log index rule
4
First change below
6
First change above
10

Record fields

Model version
1.0.0
Boundary
The boundary is two positive endpoint values, one typed arithmetic limit, one declared logarithmic index, and the checked ratio ladder. Both rules stay between the endpoints.
Source basis
Public logarithm, exponential, and convex combination mathematics. Published chemical engineering literature on property specific nonlinear blending indices, described without reproducing a proprietary table.

This comparison reads no specification, identifies no real property rule, and certifies no blend. Product identity, conformity, and automatic property rule selection remain outside the calculation.

Badr Alghamdi · badralghamdi.com/tools/two-rules-for-one-blend

Badr Alghamdi

Request a consultationLinkedInGitHubRSS