Cardano Tangent

This is the eigth part of a twelve-part series for comparing real estate to other investments like stocks. This part improves the accuracy of the optimum point calculation by revisiting assumptions 3-5 of the last article.

  1. For ln(G+1), we assume it can be approximated by a first order Taylor Series about a performance of zero (G0). Thus the optimization function becomes:
n dG dn = (G+1)G

3. The performance G=g+1 was defined such that it is cumulative over time, not a geometric average. Thus the further the optimum point from when transaction fees are made up, the further G will deviate from 0 and the less accurate substituting lngG becomes. We improve the accuracy by using a second order Taylor series about g=1, thus the optimization function becomes:

n dG dn = (G+1) ( G-12G2 )
  1. The power functions that make up G can be approximated by first order Maclaurin series, and assumption (2) for the resulting logarithm can be reapplied:
xn 1+ nlnx 1+Xn

4. We replace first-order Maclaurin series with a first-order Taylor series about the quadratic optimum point (τ) for all power functions, but retain assumption (2) to replace instances of lnx with X=x-1 for inflation, nominal and real opportunity cost (π, ω and ρ).

xn xτ+ xτlnx (n-τ) xτ ( Xn+1-Xτ )
  1. We assume real interest rates of zero, thus
Σnp =n

5. Instead of assuming the real interest rate (R=i-π) is zero, we assume the nominal interest rate (i) is not one but close to one such that geometric series edge case can be ignored but interest rate power series can be approximated like inflation and opportunity costs above. Thus the rate of equity buildup becomes:

Σnp =n+ iRI [ i1-NI (in-1) -n ] where I=i-1

The performance of a mortgage over n months was found previously.

Gn = LRN ( cω ( ωn-1 ω-1 ) - ρ ( ρn-1 ρ-1 ) + np -T ) for ω>π>1

First we substitute the rate of equity buildup.

Gn = LRN ( cω ( ωn-1 ω-1 ) - ρ ( ρn-1 ρ-1 ) +n ( 1- iRI ) + Ri2-N I ( in-1 I ) -T )
dGn dn LRN ( cωn+1 - ρn+1 +1 - iRI ( 1- in+1 iN ) )

Next we make the first-order Taylor series approximations for each power series. To help keep things managable, for ω, ρ and i in place of x, we define alternate time-shifts, τx= xτ-1 x-1 .

Gn = LRN [ cω ( ωτn+ τω- ωττ ) - ρ ( ρτn+ τρ- ρττ ) +n ( 1- iRI ) + R i2-N I ( iτn +τi- iττ ) -T ]
dGn dn LRN [ cωτ+1 ( Ωn+1-Ωτ ) - ρτ+1 ( Ρn+1-Ρτ ) +1 - iRI ( 1- iτ+1 iN ( In+1-Iτ ) ) ]

We now have linear equations Gn=A (an-b) and dGn dn =A ( a+dn-dτ ) , where

A= LRN
a= cωτ+1 - ρτ+1 +1- iRI ( 1- i τ+1-N )
b= T- [ cω ( τω- ωττ ) -ρ ( τρ- ρττ ) + Ri2-N I ( τi- iττ ) ]
d= cωτ+1 Ω - ρτ+1 Ρ + R i τ+2-N

and

τx= xτ-1 x-1

for x = ω, ρ and i.

Next is substituting Gn=A (an-b) and dGn dn =A ( a+dn-dτ ) into the cubic optimization equation.

0=G3 -G2 -2G +2 dGdn
0= A3a3 n3- 3A3a2 bn2+ 3A3a b2n -A3b3
- ( A2a2 n2 - 2A2abn + A2b2 )
- ( 2Aan -2Ab ) + 2Aan +2Adn2 -2Adτn

Removing the common term, collecting equal power terms and dividing through by (Aa)3 leaves a normalized cubic equation with three new coefficients.

0=n3 +Bn2 +Cn+D

where

B= -3A3 a2b -A2a2 +2Ad A3a3
C= 3A3ab2 +2A2ab -2Adτ A3a3
D= -A3b3 -A2b2 +2Ab A3a3

The Cardano method is based on two observed factorizations of a cubic root.

(x-y)3 =x3 -3yx2 +3y2x -y3
(x-y)3 =x3 -3xy (x-y) -y3

From the first observed factorization, the quadratic term is depressed by shifting the cubic equation right by n=m- b3 .

0 =m3 - 3B3m2 +3B29m -B327 +B ( m2 -2B3m +B29 ) +C ( m-B3 ) +D

and this depressed cubic is rewritten into a standard form, x3 +3px+2q =0 , where:

p= 13 ( C-B23 ) = C3- (B3) 2
q= 12 ( 2B327 -BC3 +D ) = (B3) 3 - C2 (B3) + D2

The next step of the Cardano method utilizes the second observed factorization to separate the depressed cubic equation into two simultaneous equations with two new variables, by first letting x=u-v.

u3-3uv (u-v) -v3 +3p (u-v) +2q =0

Since we have introduced an independent variable (either u or v), we can assert uv=p as a second independent equation.

u3+2q =v3
u3v3 =p3

This is not a linear system of equations, but is quadratic and can be solved by substitution and completing the square.

u3 ( u3+2q ) =p3
u6 +2u3q +q2 =p3 +q2
( u3+q ) 2 =p3 +q2
u3 =-q ± p3 +q2
v3 =+q ± p3 +q2

If p3 +q2 0 then the result is real and because both solutions shift from the same absolute values about zero, it can be traced through both cases that either choice of square root plus or minus lead to the same value x.

x= -q - p3 +q2 3 - q- p3 +q2 3

Finally we undo the shift that depressed the equation.

n= - ( B3+ q+ p3 +q2 3 + q- p3 +q2 3 )