Friday, August 30, 2024

Engineers III

 

This is Me

When the sharpest words wanna cut me down I'm gonna send a flood, gonna drown 'em out I am brave, I am bruised I am who I'm meant to be, this is me Look out 'cause here I come And I'm marching on to the beat I drum I'm not scared to be seen I make no apologies, this is me

And me (sic) IS an engineer!

An engineer has been defined as  someone who is  good at math and socially awkward.  I admit to being socially awkward and I am a Professional Engineer.  As to the good at math, here goes my feeble attempt.

The logistic distribution, also known as the hyperbolic secant squared distribution, is a normal distribution. Its Probability Density Functions, PDF, is f(x)=

1/(4s)*sech2((x-μ)/(2s))

and its Cumulative Distribution Function, CDF, which is the integral of f(x),  f(x), is

½ tanh((x-μ)/(2s)) +½.

The derivative, f’(x), of the PDF is

-1/(8*s2)*sech2((x-μ)/(2s))*tanh((x-μ)/(2s)) = (-1/s)*PDF*(CDF-½).

Each of these are wave functions in hyperbolic space. They each have the same period of πi.  The hyperbolic tangent, tanh, also has a period of πi.  Each wave function has the same phase, μ/2s. For the Amplitude of each of these three waves to be the same, s must be equal to ½, in which case the phase for each wave would be just μ.

The PDF can be considered to be equivalent to momentum in classical Newtonian systems, a spring in a mechanical systems, a capacitor in electrical systems, etc. The derivative of the PDF can be considered to be distance in Newtonian and mechanical systems,  a resistor in electrical systems, etc. The CDF can be considered to energy in Newtonian systems, a dashpot in mechanical systems,  an inductor in electrical systems, etc. Since energy and mass are convertible according to Einstein’s Equation, E=mc2, this also has implications for mass via relativity.

If s=½ is taken to be one volume divided into two sheets, then it could be on a two-sheeted hyperboloid. If space is then hyperbolic, not flat, then two Minkowski light cones intersecting  at an origin, could instead be considered not to be light travelling on a flat Euclidean surface where the geodesic is a straight line, but light traveling on a hyperbolic surface, where the geodesic is hyperbolic and therefore non-Euclidean. If, as suggested by Mabkhout , the universe is hyperbolic, it may be just one (observable) sheet of that hyperboloid. For a function to span both the observable and unobservable sheets there must be a transition/discontinuity between the two sheets.

Euler’s Formula is  eix=cos(x)+sin(x)*i. This can be viewed as a special case of a transformation of a complex number from cylindrical polar coordinates to Cartesian coordinates, r*eix=r*cos(x)+r*sin(x)*i, where there are three dimensions, the  dimension of space and dimension of time, reality r, where r2=(r*cos(x))2+(r*sin(x))2,  and an imaginary dimension, i , when r=1, and x is the angle of rotation of the imaginary axis. If reality has a coefficient of 0 for the imaginary dimension/axis, then both sin(0)=0 and sin(π)=0, but cos(0)=1 while cos(π)=-1. This means that if reality has a coefficient of the imaginary axis of zero, then there are two sheets forming that surface/plane; one sheet which has the opposite sign of the other.

A transition/discontinuity is observed in many applications. At a discontinuity, a particle can rebound from that discontinuity and still remain in the same space/sheet. However if a particle passes through that discontinuity, then it must be transformed, and unobservable from the original space/sheet. It is suggested that for many applications, such as fluid in a channel or pipe, or traffic on a road, a transition occurs at a discontinuity from laminar, uncongested to turbulent, congested conditions. This is most probably the consequence of remaining in the same space and infers the existence of an unobservable sheet to which a transition will occur.

If the discontinuity is physical, then the path after the discontinuity is a rotation by π/2, 90º.  This means that that a path passing through a discontinuity should then be two rotations by π/2, in other words,  a rotation by π or 180º. If a path appears to behave like it is encountering a discontinuity in the absence of a physical discontinuity, it is proposed that this is an observational discontinuity. What is not being observed could in fact pass through the observational discontinuity, as opposed to a physical discontinuity which will prevent passage.

 

 

Tuesday, August 27, 2024

Leaders II

 

Following the Leader

Following the leader, the leader, the leader
We're following the leader
Wherever he may go

What does it take to be a leader?

A leader is NOT someone who only tells his followers what they want to hear. “I have nothing to offer you but blood, toil, sweat and tears” and  “The only thing we have to fear is fear itself” may not sound like sound like inspiring speeches to all of their followers, but who can doubt that Winston Churchill and FDR were great leaders. Leaders tell the real truth, even if that truth is hard.

Leaders may be great orators, but they say it with few inspiring words rather than lengthy speeches. Abraham Lincoln’s most famous speech, the Gettysburg Address, was less than 3 minutes long.

A great leader is not the most powerful person. He does not have to be a great and powerful wizard, only a good man. https://www.youtube.com/watch?v=-RQxD4Ff7dY.

Choose wisely when you choose a leader. Remember “All that glitters is not gold.” Choose the steak, not the sizzle.

Election 2024 II

 

Here Comes the Judge

Yeah, life! You son-of-a-gun you
Come November, election time
You vote your way, I'll vote mine
'Cause there's a tie, and the money gets spent

So how are you voting this November?

An election is about policy AND trust. A voter may disagree on policy, but pick the candidate who is more trustworthy. This is because while the election is between two political parties. and we are in a two party system because of Duverger’s Law, a contest, such as an election, should have three not just two outcomes. Those outcomes are win, loss and tie, not just win and loss. But if we only have only two candidates, how can we make choices and predictions? The answer is in Games Theory. The outcomes are actually:

1)     Policy 1/Trust;

2)     Policy 1/Don’t Trust;

3)     Policy 2/Trust; AND

4)     Policy 2/Don’t Trust.

Then there are four choices. A tie can then be replaced by 2) Policy 1/Don’t Trust AND 4) Policy 2/Don’t Trust. Then a voter can choose among three outcomes. Let’s say that Policy 1 is Democratic and Policy 2 is Republican. Let’s also say that Democratic policies are favored by 45% and Republican policies are favored by 55%. If only policies are considered in elections then the outcome is clear and the Republican candidate would win.. But let’s also say that the Democratic candidate is trusted by 60% and the Republican candidate is trusted by 40%. On this basis the Democratic candidate would win. But Democratic voters  will probably vote for the Democratic candidate regardless of trust, and Republican voters will probably vote for the Republican candidate regardless of trust. The election will be decided by the swing, independent, unaffiliated voters that should be 1/3 of the electorate. They will pick and choose on policy AND trust. A scientist might say that a win is a true positive, a loss is a true negative and a tie is either a false positive or a false negative.

Let’s say that the Democratic candidate who is trusted is Kamala Harris. Let’s say that a Democratic candidate who is not trusted is Krysten Sinema. Let’s say that a Republican candidate who is trusted is Mike Pence (I am tempted to say Adam Kinzinger, but he endorsed Harris or Nikki Haley, but she endorsed Trump). Let’s the Republican candidate who is Not Trusted is Donald Trump. But only Harris and Trump are on the ballot.

Independents should equally weight trust AND policy. The cross product of trust and policy for Kamala Harris is (45% * 60%= 27%). The cross product for Donald Trump is (55% * 40%=22%). Assuming that Republican voters are 1/3 of the electorate and Democratic Voters are 1/3 of the electorate, the win among the unaffiliated voters will make Harris the preferred candidate. The closest analog in my lifetime is the election of LBJ vs Goldwater. Goldwater did not lose based on swing voters  favoring LBJ’s policies, but because those voters did not trust Goldwater. History may not repeat itself but it sure does rhyme.

Which is why Harris should NOT campaign on policy. As she is doing, she should ignore policy and campaign on trust.  History for $100? Who will win this election? IMHO, Harris if she continues to campaign on trust.

 

Monday, August 26, 2024

Laffer Curve

                                                       

Everybody’s Got A Laughing Place

Everybody's got a laughin' place,
A laughin' place, to go ho-ho!
Take a frown, turn it upside-down
And you'll find yours I know ho-ho!

But nobody needs a Laffer Curve!

The Laffer Curve attempts to explain the revenue from an income tax with the rate of that income tax. It does so by assuming that this curve can be explained by a parabola. IMHO that is why there is a problem. It assumes that the sweet spot, maximum, is where the first derivative of the parabola is zero. IMHO, the curve should NOT be a single parabola but instead should be two intersecting hyperbolas. That is why there is a problem. A parabola requires that for incomes below a zero tax rate, the tax revenue be negative, and the income be imaginary, and at tax rates more than 100% the revenue be negative, and the income be imaginary.  A hyperbola approaches zero revenue, but never becomes zero or negative, and thus the  income never becomes imaginary.

A single parabola can look like two intersecting hyperbolas, but these looks can be deceiving. This behavior is better explained as the lower portion of two intersecting hyperbolas. These hyperbolas are in fact inverses of each other and the point of intersection is also defined. The tax rate should be 16.7% (1/6) of total income. This is the median tax rate, NOT the highest tax rate. If the median is 16.7%, and the lowest effective tax rate is 0%, then the highest tax rate in a normal distribution should be 33.4%. This is the effective rate, not the marginal rate. The effective tax rate is like speed; the marginal tax rate is like acceleration. They are NOT the same and should not be confused with each other. The marginal rate in tax tables depends on the number of equal tax brackets. The marginal tax rate is the percentage of the maximum tax rate which applies.  The effective tax rate is the marginal rate multiplied by that maximum rate. The tax rates should change from the lowest effective rate of 0% to the highest effective tax rate of 33.4% and the lowest income in the highest bracket should be close to the normal  maximum income. If the median household income is $74,580, in 2022 US dollars as reported by the US Census, then the normal maximum income should be twice that, $149,160 in 2023 USD income. According to the U.S. Census Bureau, the mean household income in the United States in 2022 was $105,555. If income was normally distributed, and the median is 50% then the maximum should be twice the median in a normal distribution . To still be normal if skewed, the highest income should not exceed $233,063, 2/ln(2) or ~π Times the Median Income.. The mean income should ideally be half of the highest income. The highest income tax bracket for married filing jointly in the 2023‑24 IRS tax code begins at  $693,750 and there are 7 brackets. The tax brackets using this, as well as the other highest incomes, and the 7 tax brackets are shown in the table below.

The tax brackets are only a linear approximation of what is a non-linear function.  The Census mean income occurs in the 3rd of the 7 brackets in the current IRS tables, but these tables have unequal income brackets. If the income brackets are equalized, but the highest Tax Code income is retained, then the Census mean income occurs in the 2nd of the 7 brackets . If the highest income is π times the Census median income, then the Census mean income occurs as it should in the 4th, middle, of the 7 income brackets.

This sounds counter-intuitive, but it is mathematically consistent. Most of the tax revenue comes from the lowest tax brackets. This is because while the rate per taxpayer is low, there are many more taxpayers in these brackets, so that the total revenue from these brackets is very high. The fixation on the rates paid by the few taxpayers in the highest brackets instead of the revenue from the majority of taxpayers in the lowest brackets has been distorting public policy. By confusing marginal (second derivative) and effective (first derivative) tax rates, by having unequal tax brackets, and by using the Laffer Curve, this is inconsistent with other observations, for example observations of traffic in Florida. Those observations of traffic also suggest that the majority of observations occur before the highest volume. Those observations do NOT support a regular ( such as the one proposed by Greenshields) or irregular (highly sewed such as the one proposed by Van Aerde) parabola, but instead intersecting hyperbolas where the intersection  occurs at 1/6th of the variance, range of congestion ( similar to tax rates in the Laffer Curve.)



Those who don’t learn from history are doomed to repeat it. Those who don’t know math are doomed to be conned.

References

Greenshields, B. (1935). A study of traffic capacity. Highway Research Record, (pp. 448-477). Washington, DC.

Van Aerde, M. (1995). A single regime speed-flow-density relationship for freeways and arterials. Washington D. C.,: Presented at the 74th TRB Annual Meeting,.

 

 





Thursday, August 22, 2024

Kamala Harris II

 

Joshua fit the Battle of Jericho.

Know you've heard about Joshua
He was the son of Nun
He never stopped his work until
Until the work was done

God knows that
Joshua fit the battle of Jericho
Jericho, Jericho
Joshua fit the battle of Jericho
And the walls come tumbling down

Joshua meet Kamala.

Kamala Harris, the modern Joshua to Joe Biden’s Moses, tonight accepts the torch as the Presidential nominee of the Democratic Party.  This November, in addition to a glass ceiling shattering, expect the walls to come tumbling down. MAGA better get the name right.  When she fights, she wins!  Not going back!

Wednesday, August 21, 2024

Limits

 

Camelot

It's true! It's true! The crown has made it clear
The climate must be perfect all the year
A law was made a distant moon ago here:
July and August cannot be too hot
And there's a legal limit to the snow here
In Camelot

Are God’s limits your limits?

The alliance, and the mistake they make, between no-tax conservatives and social conservatives can be explained by mathematics.  No-tax conservatives are opposed to any group. They are what mathematicians would call User Optimalists.  That means they are opposed to “communists” who are by definition believers in a group. Social conservatives are not opposed to a group, a system, after all they believe in God who is a group, as long as that group agrees with them.  They are what mathematicians would call System Optimalists. They are opposed to Communists because Communists are atheists, and they are not. After all the father of modern Communism, Karl Marx, said that religion is the opiate of the people. In fairness, Robespierre and the other French Revolutionaries were anticlerical because, historically, organized religion has supported the ruling class, so Karl Marx was by no means the first to confuse anti-clericalism with atheism.

It is possible to believe in a group and thus support taxes for the group,  and still believe in God.  This all stems from the belief that God is everywhere, therefore where God is not must be zero. And also that God is without, has zero, error. A mathematician would state both of these as 0±0.  This is decidedly NOT the mean, µ, of the group has no error, ε, which a mathematician would state as µ±ε. While 0±0 is true if either µ=0 or ε=0, it is not limited to only these values.  God’s mean, µ, is zero BECAUSE 0=µ-µ.  God’s error is zero because limit n→∞  ε=σ/√n =0, NOT because God’s Standard Deviation, σ, is zero. 

The problem is that  the square of a Standard Deviation, σ2, for example God's of π2/36, can be observed even if God can not.  For example in my field of traffic engineering, σ2 might be the observable Free Flow Speed.  At the same time traffic engineers can observe the capacity of a road, but the arrival volume of the road can exceed the capacity of the road and can NOT be observed. This only requires that the mean is NOT half of the observable capacity, it only acknowledges that the arrival volume can not be observed.  The mean, which is half of the total value of sample, can exceed what can be observed.  But if you can’t observe the mean, that does not mean that the mean must be zero. 

No-tax conservatives observe and concede that σ2≠0 but insist that the mean must be zero.  Social conservatives concede that the mean is not zero, but that σ=0.  No-tax conservatives believe that they are privileged, not lucky,  that there is no value in being unlucky and that there is no value in helping anyone who is unlucky, where luck is defined by both µ and σ.  Social conservatives, will help the unlucky in their own group and believe that the only groups that should be helped are those who believe like them, have a σ=0, the difference between the other group and their group.  The alliance between these positions requires social conservatives to support behavior that is µ=0 even if they believe it is not, and no-tax conservatives to support behavior that is σ=0, even if they know that it is not.

The fact that Republicans have this alliance goes back to its beginnings in the 1850s, when no-tax Whigs who were anti-slavery and anti-immigrant Know-Nothings who were anti-slavery were welcomed into the Republican party.  Dixiecrats, who were pro-slavery and  eventually pro-Jim Crow, were part of the Democratic Party until LBJ, and Nixon’s Southern Strategy. Anti-slavery was eventually replaced by the abortion issue, which no-tax conservatives have no intention of supporting but will support social conservatives who do support it.  And that is why single-issue politics are so dangerous. They lead to dangerous alliances. Democrats observe that there is a group, and act like its mean is God’s mean even if God’s mean is unobservable. But once upon a time the fiscally conservative but social liberals, e.g Mark Twain who was a Mugwump Republican or Nelson Rockefeller who was responsible for the eponymous last name attributed to Everett Dirksen, Howard Baker, Gerald Ford and others as Rockefeller Republicans, believe that there is a group, and act like its mean is God’s mean even if God’s mean is unobservable.  They would be like Adam Kinzinger, George Conway or Rick Wilson and drummed out of the current Republican Party as RINOs .  They act like moderate Democrats in believing that u≠0 and σ≠0 is consistent with 0±0 for God.  Being a communist only means that you don’t believe in a ruling class, not that you don’t believe in God. The Evangelical Protestants have rejoiced in the Supreme Court overturning Roe v. Wade even though they do not agree with most other things with the mostly Roman Catholic Supreme Court justices who actually overturned this case.

To be very nerdy, the best strategy is a Nash Equilibrium which mathematically is to act like your group variance is 5/6 * σ2  AND µ>0.  Moderate Democrats and Moderate Republicans unite! You may not know what the unobservable is, but you know it exists and you know your limits.

Sunday, August 18, 2024

Shapes

 

Aquarius/Let the Sunshine In

Harmony and understanding
Sympathy and trust abounding
No more falsehoods or derisions
Golden living dreams of visions
Mystic crystal revelation
And the mind's true liberation
Aquarius
Aquarius

The “Age of Aquarius” is also the Age of 'The Twilight Zone'

“There is a fifth dimension beyond that which is known to man. It is a dimension as vast as space and as timeless as infinity. It is the middle ground between light and shadow, between science and superstition, and it lies between the pit of man's fears and the summit of his knowledge. This is the dimension of imagination. It is an area which we call ‘The Twilight Zone’”

Viewers of the old TV series, or visitors to Walt Disney World’s “Twilight Zone” Tower of Terror might recognize this intro. Have you ever thought about what this means? The first three dimensions are the dimensions of space: length, width, and height. The fourth dimension is that of time. Minkowski developed a transform to combine the three dimensions of space into a 2-D chart of space‑time, which his student Einstein would later make much more famous. Mathematicians would call the fifth dimension i, the imaginary number which is the square root  of minus 1, √-1,   If you rotate the surface of space-time around the axis of imagination you will develop a three-dimensional volume of the “Twilight Zone”.  So what should the surface be?

A function, as opposed to an equation, is one which has only one solution for each input value. There are four families of functions:

·       Linear, f(x) = y = a *x +b;

·       Power, f(x) = y = a * xn +b;

·       Exponential, f(x) = y = a* eb*x; and

·       Logarithmic, f(x) = y = a + b * ln(x)

The logarithmic function is the inverse, f-1(x), of an exponential function, therefore it is convenient to combine these into one surface, hyperbolic, which means that there are three surfaces. Some other hyperbolic functions are the hyperbolic sine, hyperbolic cosine, hyperbolic tangent, etc., and all of these can be expressed as exponentials. Similarly the regular circular trigonometric functions: sine, cosine, tangent, etc., can all be expressed as series of power functions, and it is conventional to call their surface spherical. Because it is NOT possible to express linear functions as either hyperbolic or circular trigonometric functions, and both spherical and hyperbolic surfaces are also curved, it is convenient to call a linear surface flat. It is also conventional to call flat surfaces Euclidean and both spherical and hyperbolic surfaces non-Euclidean.

 The surfaces, their functions, inverses, domains, and ranges are:


Function

Domain

Range


Inverse

Domain

Range


Flat

a*x+b

-∞ to ∞

-∞ to ∞

(x-b)/a

-∞ to ∞

-∞ to ∞

Spherical

a*xn +b

-∞ to ∞

-∞ to ∞

n√((x-b)/a)

-∞ to ∞

-∞ to ∞

(x-b)/a >0
or else
imaginary solution 
when n is even

Hyperbolic

a*eb*x

-∞ to ∞

a* to ∞

if a
is 
positive

ln(x/a)/b

-∞ to ∞

0 to ∞

ln(x)
is not defined for
negative numbers

-∞ to a*

if a
is
negative

* The starting point of the range varies with the hyperbolic function. For example  cosh(x) has a range of 1 to ∞, but cosh(x)=½(ex+e-x) which requires that for it a is 1.

As shown in the table above, a real number as an input to the inverse function becomes an imaginary number as an output on a spherical surface. A real input added to a zero imaginary number is indistinguishable from a complex number whose coefficient of the imaginary component is zero. It is suggested that the input should allow real or complex numbers without the inverse requiring a change in the case of number for its output solution. Additionally spherical surfaces are finite in reality, which is a consequence of the circular identity, cos2+sin2=1. Circular trigonometric functions are infinite and repeating, but they repeat with a period of 2π. Hyperbolic surfaces have two domains, and those domains can accommodate either real or complex numbers as inputs. This is because of the hyperbolic identity cosh2‑sinh2=1 and the fact the hyperbolic trigonometric functions are infinite and repeating, but only in imaginary surfaces, planes. That is they have a period of 2πi.

The universe appears to be infinite, which rules out its surface being spherical. It must be either flat or hyperbolic. But if the surface is flat then the variance, σ2, of that surface must be zero and if there is any transition  between domains it must be at ½, 50%, of σ. However observations of traffic, fluid, etc. suggest that there is a transition, but it occurs not at 50% of σ, but closer to 85% of σ. This is consistent with design recommendations for a road at the 100th highest volume, the dividing line between Level Of Service, LOS, C and D of traffic, the parametric rail capacity of 85%, a speed limit being set at the 85th percentile of a speed study, etc. The transition point, if the surface is hyperbolic, would be 5/6 σ2 or 83.3% of σ. It is noted that the Nash Equilibrium is also at 5/6 σ2.

If the surface is hyperbolic and the input is complex with a coefficient of zero for the imaginary axis, then σ=1.0579, which is not appreciably different than the solution on a flat surface of σ=1. Since the absolute is by definition twice its mean/median, this means that the absolute on a hyperbolic surface is a random number because that absolute has a mean/median and a variance.

This is not appreciably different than acknowledging that the distances on the surface of the Earth are round by saying ”Distances are locally flat, but globally spherical.” The corresponding statement for space would be “Space is locally flat, but universally hyperbolic.”  This does mean that Pythagoras’ Theorem is c=ln(cosh(a2+b2)), not
c=(a2+b2) and that the relativistic dilation factor is γ=ln(cosh(1-v2/c2), not γ=√(1‑v2/c2). Melkhout( (Mabkhout, 2012) did propose that the universe has a hyperbolic shape and that by assuming this and solving its Einstein Field Tensors in hyperbolic space the need for Dark Matter and Dark Energy vanishes. Mahout also points out that a hyperbolic shape explains the rotation of galaxies, is consistent with both the age and size of the universe at large scales and  Planck Energy and Planck length at small scales, and a hyperbolic shape that is almost flat is consistent with a period of initial but short inflation after the Big Bang. It is proposed that not only is the shape of universe hyperbolic, but the universe is one sheet of a two-sheeted hyperboloid. The Big Bang is the point of intersection between these two sheets.

As to the song lyrics, remember that while the song was from the musical Hair, it was a big recording hit for the singing group the “Fifth Dimension.”

Mabkhout, S. (2012). The infinite distance horizon and the hyperbolic inflation in the hyperbolic universe. Phys. Essays, 25(1), p.112.