Thursday, May 5, 2022

Fractional Calculus Continued: Some Basic Operations, Examples

 When last we looked at fractional calculus, e.g.

It was in terms of the most elementary basics, and definitions.  The nature of the fractional derivative - from Part 1 - was that in this special calculus one had to think 'outside the box' i.e. as opposed to simply differentiating a function successive times and getting new, simpler functions, i.e.  d(3x 2)/ dx =  6x,  d/dx (6x) = 6.  In other words  d n/ dxn   - taking the nth derivative of a function - only makes sense if dealing with positive integers n.  But to extend this to other n values, say n= 1/2, n = 3/2 etc. we need to think of it  instead as dealing with an operator, which effects a transformation-  i.e. something that takes in a function f as an input and gives a function f' as an output.  As opposed to repeated differentiation yielding simpler forms of the same initial function.  

 With that in mind we look in this post at more elaborate operations which kind of set the stage for doing actual fractional calculus as well as seeing applications later. So we now look at  d n/ dxn  etc. as operators which transform a function to a new function.   We will see that in expanding our scope to do fractional derivatives (and integrals) we set the stage for later applications that are bey9ond the reach of classical calculus.  

1.  Composition Rule for Mixed Integer Orders:

The identities:

d n/ dxn   [d N f/ [dx] N] =   d n+N f/ [dx] N+n]  

= d N/ dxN   [d N f/ [dx] N]

And:

d  -n f/ [d(x - a) ]-n   [d  -N f/ [d(x - a) ]-N   = d -n-N f/ [d(x - a) ]-n-N

=  d  -N f/ [d(x - a) ]-N  [d  -n f/ [d(x - a) ]-n

Are obeyed when n and N are non-negative integers.  Indeed, these identities are basic to the concept of multiple differentiation and integration.

2. The Chain Rule for Differentiation:

The chain rule:

d g(f(x)  / dx = d(g(u)/ du  [ d/dx (f(x) ] = g  (1)  f  (1)

Is that which enables g(u) to be differentiated with respect to x if the derivation of g(u) with respect to u and of u with respect to x are known, is one of the most useful in differential calculus.   The rule can be extended to higher orders of differentiation as well as fractional orders.  For economy we can use:   

 g (n)   and     f  (n)

To denote:  d n/ dun   g(u)   and:   d n/ dxn  f(x)  respectively.  

 By approximation of the basic chain rule and Leibniz' rule to differentiate a product we have:

d 2/ dx2  g (f(x)) = d/dx [d/ dx g (f(x)) ]  =  

d/dx [d/ du g(u)] [d/dx f(x)]

= [ d/dx d/du g(u)] [d/dx f(x)] +  [d/du g(u)] [d 2/ dx2 f(x)]

= [du/dx  d 2/ du 2  g (u)  ]  [d/ dx f(x)] + [d/du g(u)][d 2/ dx2 f(x)]

=  g  (1)  f  (1)    +    g  (1)  [ f  (1)]2

The expression of a similar procedure yields successively:

d 3/ dx3  g (f(x)) = g  (1)  f  (3)    +   3 g  (2)  f  (1)  f  (2)   +    g  (1)  [ f  (1)]2

d4/ dx4  g (f(x)) = g  (1)  f  (4)    +   4 g  (2)  f  (1)  f  (3)   +    6g  (2)  [ f  (2)]2   +    

6g  (3)  [ f  (1)]2 [ f  (2)]  +  g  (4)  [ f  (1)]4


d5/ dx5  g (f(x)) = g  (1)  f  (5)    +   5 g  (2)  f  (1)  f  (4)   +    

10 g  (3)  [ f  (1)]2   f  (3)   +    

30 g  (3) f  (1) [ f  (2)]2   + 10  g  (4)  [ f  (1)]3  f  (2)  +  g  (3)  [ f  (1)]5


The generalization to large n is accomplished via Faa di Bruno's formula, i.e.

But that is weighted by complexity and hence of little general utility in its applications.    

        3. Doing Fractional Derivatives:         

The key thing here is to grasp we will need the Gamma function (G(x) ) and the Riemann-Liouville fractional integral .(But we cannot use n < 0 because the Gamma function which we will need, is not defined for numbers less than zero).  This means in taking any fractional derivative we will be trying to preserve:

d N f/ dx N =  IN f(t)  =   f(t)

Where I denotes an integral containing the Gamma function, i.e. the Riemann-Liouville fractional integral where we can spot the Gamma function present in the denominator preceding the integral from a to x.  Note the condition Re(u) > 0.


The fractional derivative then will have the form:


Which we can use to do simple-   not too complex! - fractional derivatives.  Then the full form for a fractional differentiation can now be expressed.


Where we have used the Cauchy form for repeated integration and regular positive integer differentiation.  

 We now consider discrete examples of how to take fractional derivatives.  For the unit function (f= 1) we have:

dq (1)/ [d(x - a) ]q    =  lim  N ® oo  {N/ (x – a)} q   G(N - q)/ G(1 - q) G(N) 

 Where the symbol  denotes the Gamma function, see e.g.

Looking Again At The Beta - And Gamma - Functions (brane-space.blogspot.com)

Meanwhile, the fractional derivative of a series is:

d  -1 f/ [d(x - a) ]-1   (Ć„ ¥ j=0   f j)  =  Ć„ ¥ j=0  d  -1 f j / [d(x - a)]-1   

                  a <   x   <  b                         

provided the series converges uniformly in the interval a <  x  <  b        

Much easier examples include:

The zero function (or any constant) for which:

       dq (C)/ [d(x - a) ]q   =   C  dq (1)/ [d(x - a) ]q    

= C [x - a) ]q  / G(1 - q)         

Specifically:  If q = 1/2,    G(1 - q)   =  G(1 - ½) =  1.772

dq (C)/ [d(x - a) ]q   =  dq (0)/1.772   =   0

Other simple examples:   

a)     D a  (x n) = G(n + 1)/ G(n + 1 -  a)  

  b)  D 1/2 (1)  =  1/ Ć– p x                                  

c)  D a  (sin (x)) =   sin  (x +   a p / 2)

See Also:

Suggested Problems for the Math Whiz:

1) Let f(x) =  y =   x 3   - 3 x 2  +   5x  - 4

And: g(u) =  x =   u 2  +  u

Use the chain rule to show:  d y/ du =  dy/dx  (dx/du)

2) Find the fractional derivatives: D 1/2  (x 0)  and D 1/2  (x 2)

3)  Find the fractional derivative: D 1/2  (sin (x))

4) Is D 1/2 (1)   the same as: d q (1)/ [d(x - a) ]q 

For q = 1 in the 2nd?  Explain.

Wednesday, May 4, 2022

Forget The Policy Babble, It's Time For Dems To Play The Fear Card

                                                                    
                      Protesters at Supreme Court yesterday expressing rage.

"This is the false piety hidden in the Republican Party’s zeal to roll back a woman’s right to choose. The sanctity of human life is all-important right up to the point when that flesh-and-bone child enters a world where programs designed to support women, the poor or households teetering toward economic ruin are being scaled back by a party that claims to be about family values." -  Michelle L. Norris, Washington Post, The GOP roars about abortion. Then they abandon the children

The leak Monday evening of a 98-page  draft opinion basically telegraphing the looming overturning of Roe v. Wade changes the complexion of the Mid Term elections. No longer is it merely about policy of one real party, but an existential battle to save this nation from authoritarian oblivion.  Because make no mistake, the Reep cult of Trump will not stop at abortion or voting rights - already maimed by the earlier SC Shelby decision- but every other presumed right.  Forget inflation, whether you go into debt or pay higher prices for gas or groceries means nothing, nada if you have no rights left to exercise, whether whom to marry, whether to use contraception or not, or even have a right to health care.  It's now time to get real, get serious and for the only political party left to play the fear card.  Not only warning too many sleepwalking Americans what an absence of rights looks like - but what a nation hemorrhaging refugees will look like.  

Worst case scenario now?   The Reep cult takes over congress in the fall  - thanks to too many voters in a funk over inflation - and goes all out to  ban abortion nationally.    This would even be in states like Colorado which currently plan to act as a sanctuary state for women seeking abortions if the worse comes to the worst.  But even Colorado can't be a refugee state if the Repukes in  control of both houses pass a national bill outlawing abortion, or a "personhood amendment".  This is what people- especially vulnerable women - need to grasp and why it trumps inflation or any other issue.  Bottom line: Americans' rights now are on the ballot for the mid terms, and they better wake the hell up.

NYU law professor Melissa Murray and Harvard Law Prof. Lawrence Tribe didn't make sport last night on ALL In, laying out the threat to all our rights in the wake of the draft leak. Assuming it stands (99.9% likely) and is finalized in the Court ruling in June, watch for a major assault on other rights - from use of artificial contraception, to marriage equality.  In the last case the Right extremists will target not only gay marriage but interracial as well. Prof. Tribe saw a full scale assault mounted by the Republicans, and executed by their SC henchmen (and woman, Amy Coney Barrett) to repeal those rights arguing - like Alito did in the leaked draft, that:  The Constitution makes no reference to contraception, gay marriage or interracial marriage, and thus no such rights are implicitly protected by any constitutional provision."

This isn't "histrionic", it's being brutally honest. Prof. Tribe is no joker or 'hair on fire' crazy, he's been at Harvard teaching the law for decades, so don't tell me he's hysterical or doesn't know what he's talking about.   What had me taken aback is when he pointedly referred to Alito and his total "contempt for unenumerated rights under the ninth amendment."

Elizabeth Warren, also on the same ALL In, voiced support for "codifying" abortion protections by getting legislation passed to that effect. But as both professors noted, that would merely set the stage for the Right extremists on the Supreme Court to overturn that too.  In the meantime, the only faint hope left is for American voters on the sane side to get energized and stay energized until they cast their ballots against the Repuke authoritarians in the midterms. Put bluntly, the GOP cult cannot and must not be allowed to gain the reins of power, not now and likely not ever, and certainly not until they are cured of their Trump authoritarian fever.  

Anyone who might have considered - before yesterday - voting for a Republican in the House or Senate - say to change the inflation tune, now has to get real. Get his or her head and priorities in order.  NO Republican is going to change or alter the inflation bogey, merely make millions of lives more miserable, say by cutting food stamps to save money and bankroll more tax cuts.  And then, if they grab a majority, the misery will be piled on when they take away the remaining rights that Profs. Tribe and Murray believe are in their sights.

This is what it's come to, folks, and why whatever the voting plan was for the midterms, it's now scotched. The only voting plan left is NO Republican mid term votes!  Miami Herald columnist Leonard Pitts in a recent column,  

https://www.miamiherald.com/opinion/opn-columns-blogs/leonard-pitts-jr/article260139900.html#storylink=cpy

wrote:

"What if the coup already came and nobody noticed? It sounds nonsensical, yes. How does a coup go unnoticed? The conventional wisdom, as we learn more about the election of 2020 and the insurrection of 2021, is that by the machinations of Ginni Thomas, Rudy Giuliani, Donald Trump and others, America came this close to suffering an extralegal seizure of power, but escaped. However, an argument can be made that another kind of coup — call it a stealth coup — has actually been underway for years. What is a stealth coup? That would be a coup that sneaks up on you, that isn’t obvious at first, because it slowly destroys not form but function. This one has overthrown not the government but, rather, one of its core tenets: the idea that that government is answerable to the will of the governed. 

That’s something this one often is not. Consider the ongoing push by Republican lawmakers to restrict abortion, LGBTQ rights and the teaching of African-American history, while making it harder to access the ballot and easier to access guns. And then consider this: None of that represents the will of the American people."

Pitts nailed the situation to a tee. Especially on abortion, where a recent poll - cited again on last night's ALL In, noted 70 percent of Americans support a woman's right to abortion.  A right that now stands to be taken away and which may be one of the first among several.  A stealth coup by any other name. How will American voters respond?  One hopes they will do like the French majority did last Sunday and cut the authoritarians loose, once and for all.   As the historian Anne Applebaum wrote, and of which Americans need to take note, e.g.

There Is No Liberal World Order - The Atlantic

There is no pre-ordained "liberal order" which dictates historical progress over time. And the U.S. of A. is no exception to that. As she later wrote: "There is nothing inevitable about democracy or dictatorship. What happens tomorrow depends on what all of us do today.".

Trumpie stooge J.D. Vance's  OH win yesterday  is a shot over the bows of Democrats and freedom-loving Americans.  What will they- we - do in the face of the GOP authoritarian onslaught?  Sit home in the mid terms because it's all "too much" and besides we're buried with debts?  Or get out and fight for this country by overwhelming the energized Repuke-Trumpie -Authoritarian votes? Will the mass of voters, especially the lot dinging Biden and the Dems in the polls,  take heed or continue sleep walking (and slouching)  toward Gomorrah? 

In his book,' Nervous States: Democracy And The Decline Of Reason', William Davies (p. 199) observes that "the attention economy" i.e. on which Twitter, Facebook, Instagram etc. are based is "fertile territory" to "turn rage and shock into engagement."   This is precisely what's needed for Dems - especially women,  victimized by the coming SC ruling-  to head off any "blood bath" in the mid terms. 

And indeed, to prevail and leave that Trump cult in a house minority situation may well also require a "wartime mindset" (Davies, p.  216) which affords the advantage of "speed of response."  Basically we need our side to be worked up - as they are now from this Supreme Court arrogation of power - and to remain worked up through the fall. Our future as a constitutional Republic may depend on it, so sitting this one 0ut is not an option. Neither is voting Repuke.  

Voters need to ask themselves why hundreds of thousands - even millions of people -  try to escape poor, violent countries every year to flee to the U.S.,  not to China, Russia, or Turkey.  Why do they seek out well-governed democracies as opposed to autocratic bastions?  Most critically, WHY would we in the U.S.  - the nation to which they flee- want to reduce this nation to another wretched, autocratic  hellhole? Why fall into the maw of the 'Make America Insane Again' crowd?

Come November Americans will have to ask these questions. They can decide they can either be part of  the problem  (the autocratic challenge to the few remaining democracies)  or part of the solution.

See Also:

by Joan McCarter | May 4, 2022 - 6:46am | permalink

— from Daily Kos

Excerpt:

The U.S. Supreme Court is poised to strike down a half century of precedent on abortion. We knew that was likely coming, but the leaked draft opinion by Justice Samuel Alito makes it starkly clear that the extremist court majority is laying down a foundation for an even more radical remaking of American society. The decision as Alito has written it takes aim as well at LGBTQ rights and marriage equality, legalized contraception, the right not to be forcibly sterilized, and interracial marriage. All lack “any claim to being deeply rooted in history,” Alito says.

And:

by Joan McCarter | May 5, 2022 - 6:22am | permalink

And:

by Robert Weissman | May 4, 2022 - 5:44am | permalink


Excerpt:

Abortion is health care, and health care is a human right.

The draft Supreme Court decision, if adopted as final, will strip away the constitutional protection of a fundamental human right from all women in the United States. The immediate result will be the imposition of outright abortion bans in 14 states, with many other states likely to follow soon afterwards.

The draft decision does not grapple with the human cost of abortion bans and severe restrictions on access to abortion. Abortion bans would criminalize the seeking and provision of health care, threatening to put people in jail for seeking or providing abortions.


And

The GOP roars about abortion. Then they abandon the children.