Piecewise Function: Solving Options Assignment

AI Thread Summary
The discussion revolves around the challenge of rewriting a piecewise function into a single equation for an options assignment. The original formula provided by the user defines behavior based on conditions of the stock price. A suggestion is made to define separate functions for each interval and then express the piecewise function as a union of these functions, which could simplify the representation. The importance of understanding the definition of "equation" in this context is also highlighted. Ultimately, there are methods to reformulate piecewise functions while maintaining their original intent.
vladimir69
Messages
124
Reaction score
0
hi,
i have been working on an Options assignment, and i have this formula as one of my answers:

X_{t}=\left\{\begin{array}{cc}X_{t-1},&\mbox{if } S_{t} < S_{t-1}\\aS_{t},& \mbox{if } S_{t}\geq S_{t-1}\end{array}\right

where a is a constant. the question however asks for a "single equation", would the equation(s)? i have defined above be ok? is there a way to rewrite this not using a piecewise function. hopefully you know what i mean.

thnx
vladimir
 
Mathematics news on Phys.org
Just a thought- find the definition of "equation" you were given. If you weren't given one...
As for another way to write a piecewise function, why not define a function on each of your intervals (the restriction of the piecewise function to each interval) and define the piecewise function as the union of those functions? I.e., given abs: R --> R,
\mbox{abs}(x) = \left\{\begin{array}{cc}x,&\mbox{if } x \geq 0 \\-x,& \mbox{if } x < 0 \end{array}\right
Let f: R+ --> R, f(x) = x and g: R- --> R, g(x) = -x. Then abs = f U g - which is almost certainly a single equation ;) Doesn't save time, but I think it works.
 
Last edited:
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...

Similar threads

Replies
1
Views
2K
Replies
4
Views
2K
Replies
57
Views
3K
Replies
19
Views
2K
Replies
1
Views
2K
Replies
5
Views
3K
Replies
5
Views
2K
Replies
8
Views
2K
Replies
10
Views
2K
Back
Top