MathFin
Map / Choice · Portfolio choice / MathFin.Choice.Portfolio.TangentPortfolio

Tangent portfolio (two-asset closed form, FOC)

MathFin.Choice.Portfolio.TangentPortfolioMSC 91G10JEL G11 source

With two risky assets having excess returns r₁, r₂, volatilities σ₁, σ₂, and correlation ρ, the tangent portfolio (the Sharpe-ratio-maximizing portfolio under the budget constraint w₁ + w₂ = 1) has closed-form weight

w₁^T = (σ₂² r₁ − ρ σ₁ σ₂ r₂) / D, D = σ₂² r₁ + σ₁² r₂ − ρ σ₁ σ₂ (r₁ + r₂).

The first-order condition for Sharpe maximization is

r₂ · (Σ·w)₁ = r₁ · (Σ·w)₂,

i.e. the marginal variance contributions are proportional to the marginal excess returns. We verify the closed-form w^T satisfies this FOC by direct algebra.

Main definitions

  • tangentWeightTwo: the closed-form two-asset tangent weight (σ₂² r₁ − ρσ₁σ₂ r₂) / (σ₂² r₁ + σ₁² r₂ − ρσ₁σ₂ (r₁ + r₂)) on asset 1.
  • IsTangentPortfolioN: the n-asset cross-product first-order condition, in which the marginal-variance vector Σw is parallel to the excess-return vector.

Main results

  • tangentTwo_satisfies_FOC: the FOC identity at the tangent weight.

References

Tags

tangent portfolio, maximum Sharpe ratio, two-asset portfolio, first-order condition, optimal risky portfolio, MSC 91G10, JEL G11

Import neighbourhood

Above: what it imports. Below: what imports it.

Corpus entries

mf-tangent-portfolio-N-sufficient · portfolio_and_performance.json · full statement
N-Asset Tangent Portfolio Sufficient Condition

If Σw = λ · μ_excess for some scalar λ, then w satisfies the cross-product Sharpe FOC: r_j · (Σw)_i = r_i · (Σw)_j.

Declarations 5

defMathFin.tangentWeightTwosource
ℝ → ℝ → ℝ → ℝ → ℝ → ℝ

Two-asset tangent portfolio weight on asset 1.

w₁^T = (σ₂² r₁ − ρ σ₁ σ₂ r₂) / (σ₂² r₁ + σ₁² r₂ − ρ σ₁ σ₂ (r₁ + r₂)).

theoremMathFin.tangentTwo_satisfies_FOCsource
∀ (r₁ r₂ σ₁ σ₂ ρ : ℝ),
  have w_num := σ₂ ^ 2 * r₁ - ρ * σ₁ * σ₂ * r₂;
  have one_sub_w_num := σ₁ ^ 2 * r₂ - ρ * σ₁ * σ₂ * r₁;
  r₂ * (w_num * σ₁ ^ 2 + one_sub_w_num * ρ * σ₁ * σ₂) = r₁ * (w_num * ρ * σ₁ * σ₂ + one_sub_w_num * σ₂ ^ 2)

Tangent portfolio FOC: at the closed-form weight w = w₁^T, D · [r₂ · (w σ₁² + (1 − w) ρ σ₁ σ₂)] = D · [r₁ · (w ρ σ₁ σ₂ + (1 − w) σ₂²)] i.e. multiplying both sides by D we get a polynomial identity. Stated as the cross-product form r₂ · D · ((Σw)_1) = r₁ · D · ((Σw)_2) to avoid the division.

defMathFin.IsTangentPortfolioNsource
{ι : Type u_1} → Finset ι → (ι → ℝ) → (ι → ι → ℝ) → (ι → ℝ) → Prop

N-asset tangent portfolio cross-product FOC: the marginal-variance vector (Σw)_i = ∑_k Σ_{i,k} w_k is parallel to the excess-return vector μ_excess.

theoremMathFin.isTangent_of_proportionalsource
∀ {ι : Type u_1} (s : Finset ι) (μ_excess : ι → ℝ) (Sg : ι → ι → ℝ) (w : ι → ℝ) (lam : ℝ), (∀ i ∈ s, ∑ k ∈ s, Sg i k * w k = lam * μ_excess i) → IsTangentPortfolioN s μ_excess Sg w

Sufficient condition for tangency: if Σw = λ · μ_excess for some scalar λ, then w is a tangent portfolio. Captures the matrix-inverse characterisation w ∝ Σ⁻¹ · μ_excess without requiring matrix machinery.

theoremMathFin.tangentTwo_isTangentPortfolioNsource
∀ (r₁ r₂ σ₁ σ₂ ρ : ℝ), IsTangentPortfolioN Finset.univ ![r₁, r₂] (fun i j => ![![σ₁ ^ 2, ρ * σ₁ * σ₂], ![ρ * σ₁ * σ₂, σ₂ ^ 2]] i j) ![σ₂ ^ 2 * r₁ - ρ * σ₁ * σ₂ * r₂, σ₁ ^ 2 * r₂ - ρ * σ₁ * σ₂ * r₁]

The two-asset FOC is the N = 2 instance of IsTangentPortfolioN — the coherence the module docstring asserts, now proved rather than narrated. Feeding the excess returns ![r₁, r₂], the covariance kernel !![σ₁², ρσ₁σ₂; ρσ₁σ₂, σ₂²], and the (denominator-scaled, since the predicate is homogeneous in w) tangent weights ![Dw, D(1−w)] into the general cross-product FOC recovers exactly tangentTwo_satisfies_FOC. So the bespoke two-asset result is not a parallel tower: it is IsTangentPortfolioN written out.