Question #146140

Lines can be used to approximate a wide variety of functions; often a function can be described using many lines.

If a stock price goes from $10 to $12 from January 1st to January 31, from $12 to $9 from February 1st to February 28th, and from $9 to $15 from March 1st to March 31th is the price change from $10 to $15 a straight line?

It is clear that in each of the three time intervals mentioned there was a complex daily variation of prices as in an electrocardiogram. But what would be a simplified solution for a first naive view of the situation? Would a simple function hold up? What is the simplest function to represent this situation? Does your naïve initial and simplified model allow you to predict the behavior of the stock in the next month?

How can I use three “pieces” of lines to describe the price movements from the beginning of January to the end of March? Show the graph for the price movement.

Expert's answer

From January1to January31,pvaries from10to12.Determining the equation of linedescribing the variation of pricesThe line passes through(1,10),(31,12)p10d1=1210311p10d1=230=11515p150=d115pd=149From February1to February28,pvaries from12to9.The line passes through(1,12),(28,9)p12d1=912281=327=19p12d1=199p108=1d9p+d=109From March1to March31,pvaries from9to15.The line passes through(1,9),(31,15)p9d1=159311=630=15p9d1=155p45=d15pd=44Whenp=105(10)d=4450d=44d=6Whenp=155(15)d=4475d=44d=31The price changes from10to15,is a straight lineWould a simple functionhold up?YesWhat is the simplestfunction to represent this situation?15pd=149Does your naı¨ve initial andsimplified model allow youto predict the behavior of thestock in the next month?Yes\displaystyle \textsf{From January}\, 1\, \textsf{to January}\, 31,\\ p\, \textsf{varies from}\, 10\, \textsf{to}\, 12.\\ \textsf{Determining the equation of line}\\ \textsf{describing the variation of prices}\\ \textsf{The line passes through}\,\, (1, 10), (31, 12)\\ \frac{p - 10}{d - 1} = \frac{12 - 10}{31 - 1}\\ \frac{p - 10}{d - 1} = \frac{2}{30} = \frac{1}{15}\\ 15p - 150 = d - 1\\ 15p - d = 149\\ \textsf{From February}\, 1\, \textsf{to February}\, 28,\\ p\, \textsf{varies from}\, 12 \, \textsf{to}\, 9.\\ \textsf{The line passes through}\,\, (1, 12), (28, 9)\\ \frac{p - 12}{d - 1} = \frac{9 - 12}{28 - 1} = \frac{-3}{27} = \frac{-1}{9}\\ \frac{p - 12}{d - 1} = \frac{-1}{9}\\ 9p - 108 = 1 - d\\ 9p + d = 109\\ \textsf{From March}\, 1\, \textsf{to March}\, 31,\\ p\, \textsf{varies from}\, 9 \, \textsf{to}\, 15.\\ \textsf{The line passes through}\,\, (1, 9), (31, 15)\\ \frac{p - 9}{d - 1} = \frac{15 - 9}{31 - 1} = \frac{6}{30} = \frac{1}{5}\\ \frac{p - 9}{d - 1} = \frac{1}{5}\\ 5p - 45 = d - 1\\ 5p - d = 44\\ \textsf{When}\, p = 10\\ 5(10) - d = 44 \\ 50 - d = 44\\ d = 6\\ \textsf{When}\, p = 15\\ 5(15) - d = 44 \\ 75 - d = 44\\ d = 31\\ \textsf{The price changes from}\, 10\, \textsf{to}\, 15, \\ \textsf{is a straight line}\\ \textsf{Would a simple function}\\ \textsf{hold up?}\\ \textsf{Yes}\\ \textsf{What is the simplest}\\ \textsf{function to represent this situation?}\\ 15p - d = 149\\ \textsf{Does your naïve initial and}\\ \textsf{simplified model allow you}\\ \textsf{to predict the behavior of the}\\ \textsf{stock in the next month?}\\ \textsf{Yes}


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS