Piece-wise defined functions
A typical introduction of piece-wise defined functions in a calculus textbook looks something like this: there are functions that take on different formulas depending on the intervals (pieces) of their domains, for example: [math]\displaystyle{ f(n) = \begin{cases} x^2, & \mbox{if }x\le 1 \\ 3-2x, & \mbox{if }x \gt 1 \end{cases} }[/math]
(examples may vary).
Below we try to give a bit more motivation to piece-wise functions (which is not just a nuance for students, but rather indispensable tool in mathematics and applications).
Pool table
A pool table has dimensions 10 ft by 5 ft. A ball is hit from a corner towards the longer side at the angle 30 degrees (with respect to the shorter side). Describe the trajectory of the ball before it hits the side second time.
Even numbers
Determine how many positive even numbers are there thad do not exceed a given positive integer.
Bungee jumping
Alice is doing bungee jumping and jumps from a tall bridge. She uses a bungee cord that is 10 meters long (non-stretched). The spring constant of the cord is 500 N/m. Alice weighs 60 kg. Find how Alices velocity changes as a function of distance from the bridge as she descents form the bridge to the lowest point. You can make necessary simplifying assumption (no air resistance, weight of the cord is negligible, Alice jumps directly downwards, etc.).
Choose the x-axis pointing downwards and with the origin coinciding with Alice's initial position on the bridge. For the first part of her journey, i.e. when
Ball trajectory
A person throws a ball forward at 3 m/s. The ball bounces off the ground, reaches some maximal height, then falls and bounces again, and so on. If the initial altitude of the ball is 1.5 m, find the trajectory of the ball if a) no energy is lost b) about 20% of energy is lost on each bounce.