How Can Calculus of Variations Optimize Stock Sales in a Bear Market?

  • Thread starter Thread starter Liquidxlax
  • Start date Start date
  • Tags Tags
    Calculus
Click For Summary
SUMMARY

This discussion focuses on applying the calculus of variations to optimize stock sales during a bear market. The integral formulation for profit maximization is given by ∫dt N'(t)P(N,N';t) from t1 to t2, where N(t) represents the number of shares sold over time, and P(N,N';t) is the price per share influenced by the selling rate. The price function is defined as P(N,N';t) = P0 - Bt - CN', indicating that rapid sales decrease the price. The optimality condition is derived from the Euler-Lagrange equation, leading to the conclusion that careful management of the selling rate is crucial for maximizing profits.

PREREQUISITES
  • Understanding of calculus of variations
  • Familiarity with stock market dynamics, particularly bear markets
  • Knowledge of integral calculus and differential equations
  • Experience with optimization problems in mathematical economics
NEXT STEPS
  • Study the Euler-Lagrange equation in the context of optimization problems
  • Explore advanced topics in calculus of variations, focusing on applications in finance
  • Learn about the implications of price elasticity in stock trading
  • Investigate numerical methods for solving variational problems in economics
USEFUL FOR

Mathematicians, financial analysts, and economists interested in optimizing trading strategies during market downturns.

Liquidxlax
Messages
312
Reaction score
0
This is for Classical mechanics 2

I'm not sure how to put partials in and the N with the dot beside it was supposed to be the derivative of N with respect to time

Suppose that you have N0 shares of stock and you want to make as money as you can by selling all of them in a single day. If N0 is large, and you sell your shares in small batches, the money you make can be written approximately as an integral

∫dt N'(t)P(N,N';t) t1 to t2

where t1 and t2 are the opening and closing times for the stock exchange, N(t) is a smooth function that is approximately the number of shares you have sold at time t (which satisfies N(t1) = 0 and N(t2) = N0, N' is the rate at which you sell the stock (in shares per hour, say) and P(N, N';t) is the price per share as a function of time. The interesting thing is that the price depends on how you sell the shares. For example, if you sell them too fast, the price will drop. That is why P depends on N and N'.

a) Suppose that P(N,N';t) = P0 - Bt -CN' for P0, B, C all positive (This is a "bear market" because of the -Bt term as the stock price is going down with time). Find N(t) and N' that allow you to make the most money.

b) Discuss briefly what happens if B is too large.


2. Homework Equations

dP/dN−d/dt(dP/dN')=0



3. The Attempt at a Solution

I've really got nothing for this because I'm unsure of how to start minus checking the relevant equation

dP/dN=0=d/dt(dP/dN).

so

dP/dN.=−C

and i think there has to be an auxillary equation to do with the fact that N(t1) = 0 and N(t2) = N0
 
Last edited:
Physics news on Phys.org
Liquidxlax said:
This is for Classical mechanics 2

I'm not sure how to put partials in and the N with the dot beside it was supposed to be the derivative of N with respect to time

Suppose that you have N0 shares of stock and you want to make as money as you can by selling all of them in a single day. If N0 is large, and you sell your shares in small batches, the money you make can be written approximately as an integral

∫dt N'(t)P(N,N';t) t1 to t2

where t1 and t2 are the opening and closing times for the stock exchange, N(t) is a smooth function that is approximately the number of shares you have sold at time t (which satisfies N(t1) = 0 and N(t2) = N0, N' is the rate at which you sell the stock (in shares per hour, say) and P(N, N';t) is the price per share as a function of time. The interesting thing is that the price depends on how you sell the shares. For example, if you sell them too fast, the price will drop. That is why P depends on N and N'.

a) Suppose that P(N,N';t) = P0 - Bt -CN' for P0, B, C all positive (This is a "bear market" because of the -Bt term as the stock price is going down with time). Find N(t) and N' that allow you to make the most money.

b) Discuss briefly what happens if B is too large.


2. Homework Equations

dP/dN−d/dt(dP/dN')=0



3. The Attempt at a Solution

I've really got nothing for this because I'm unsure of how to start minus checking the relevant equation

dP/dN=0=d/dt(dP/dN).

so

dP/dN.=−C

and i think there has to be an auxillary equation to do with the fact that N(t1) = 0 and N(t2) = N0

The optimality (Euler) equation is dL/dN = (d/dt) (dL/dN'), where L is the integrand. For L = N'*(P0-bt-cN'), what do you get?

RGV
 
Ray Vickson said:
The optimality (Euler) equation is dL/dN = (d/dt) (dL/dN'), where L is the integrand. For L = N'*(P0-bt-cN'), what do you get?

RGV

dL/dN = d/dt(dL/dN') = (d/dt)(P0 - Bt -2CN') = -b
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
11K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 24 ·
Replies
24
Views
33K
Replies
1
Views
3K