Designing A Roller Coaster
Designing A Roller Coaster
Introduction:
Rollercoasters are the crown jewel of almost all amusement and theme parks around the world, proving society with
the thrilling rush of adrenaline while instilling terror as they tower over the carnival ground. These fast-pace ‘scream
machines’ configured in a rage of shapes and sizes implement a form of elevated railway tracks, designed to twist and
turn through tight-corners, steep slopes, and sometimes even through inversions. Behind the scenes, engineers use
mathematics in order to design these colossal machines that conform to safety regulations, ensuring the transition
from one section to another is as smooth as possible at all times.
Through the practical application of differential calculus, this investigation will attempt to be an engineer modeling
the path of such exhilarating ride by using various mathematical functions to represent the different sections of a
rollercoaster, connecting them seamlessly with a common gradient. This is important as it allows for the delivery a
ride with the same safety standard and the same smooth execution as it would in real life. In order to meet the
requirements of producing a minimum of 10 functions, a graphics calculator, as well as an online graphing software
‘Desmos’ will be utilized to help aid in calculations and displaying of the rollercoaster design.
Research:
There are many factors when considering the safety of a rollercoaster. However, much of these safety restrictions are
“in the opinion of the engineer” stipulating the most appropriate patron restrictions (e.g. minimum height), according
to WorkCover Queensland [ CITATION Saf13 \l 1033 ] responsible for more than six renowned theme and
amusement parks across the state of Queensland, Australia.
The word’s tallest roller coaster is estimated to be a breathtaking 140-meters tall, and the world’s longest spans a
lengthy 2480-meters of track approximately, while the biggest loop rises 50-meters from the center to the tallest
point. [CITATION WorNA \l 1033 ][CITATION Mik14 \l 1033 ] Taking these measurements into consideration, the
rollercoaster design will be confined to these dimensions in order to prevent unnecessary risk to the safety and
wellbeing of passengers. Having said that, the aim will be to erect a rollercoaster that is half the size of these ‘world
records’ allowing it to replace the school with some much needed entertainment, turning the school ground into an
amusement park and bringing endless adventure to the local youth of Adelaide city.
−8.8=−1.8(16)+k 2
k 2=−8.8+1.8 ( 16 )
k 2=20
Resultant Function:
STAGE 2: Mathematics Name: Jay Patel SACE Number: 638623H
Part B:
Track designs to the left of the point of origin must be developed backwards to enable easier track connections with
the same gradient, allowing for corrections if necessary to conform to the feasibility of real life applications.
f 4 ( x )=0.05( x−h)2 +k After experimenting with the effects of changing the ‘a’ value,
I settled on 0.05 as the vertical dilation allowed for a large
Derivative of the function: turn radius at the local minimum, proving smooth change in
direction so passengers won’t experience a sudden jerk as
they rapidly ascend, hence a smoother ride.
f 4 ' ( x )=0.1( x−h)
When L'1 (−10 )=0.7 Then since f 1 ( x ) will pass through this position at the
point of connection, these coordinates can be
' substituted into the equation to find the value of ‘c’.
Then as f 4 (−10 )=L1 ' (−10 ) to have the same gradient
at the connection point, then f 1 ' (−10 )=0.7
f 4 (−10 )=0.05(−10+17)2 +k
f '4 (−10 )=0.1(−10−h) −7=2.45+k
k =−7−2.45
0.7=−1−0.1h
¿−9.45
−0.1 h=0.7+1
h=1.7 ÷(−0.1)
Resultant Function
¿−17
2
f 4 ( x )=0.05( x +17) −9.45
Limitation:
Because this design aims to replace an existing
school in a suburban area, a rollercoaster that
travels underground is difficult to achieve in reality.
Therefore this function must be vertically shifted
upwards at a later date. (See pages 9 to 10)
STAGE 2: Mathematics Name: Jay Patel SACE Number: 638623H
A sine function was chosen because it has all the features (shape) of a
General Sine Function quadratic function. This allows me to do everything that I’ll be able to in a
quadratic but still show variation and complexity.
f 5( x ) = Through experimenting, the value of ‘B’ was set as 0.1 because the
horizontal dilation (period) provided a relatively steep slope in
rise (amplitude)
Setting of a predetermined value: conjunction to the amplitude – gradient= principle
run ( period )
f 5 ( x )=23 sin [ 0.1 ( x−C ) ]+ D Since the gradient at the point of connection is −2.3, an amplitude of 23
was set. This is because after derivation the amplitude becomes 2.3, and
to later find the value of C, the new amplitude (2.3) will be divided by the
Derivative of the function: gradient (−2.3) resulting in −1. Through further calculations, it will
f '5 ( x )=2.3 cos (0.1 x−0.1 C) produce the expression cos−1 (−1) which equals to π , making it easier to
work with since there is only one value in the interested domain
(0 ≤ x ≤ 2 π ). Because the derivative is a ‘cosine’, any other value will
Finding the Translations ‘C’ &’D’ produce 2 answers, requiring more work to decipher which is the more
Also, the smallest possible value for A is 23, because if A=22
To find the gradient at a given
Horizontal translation ‘C’: for example, after derivation it will become 2.2, and then
x−value, the function was
graphed using a graphics
divided by the gradient −2.3 resulting in ≈−1.095.But the
When f '5 (−40 )=−2.3 calculator, then the gradient expression cos−1 (−1.095) is undefined because the x−value
was found accordingly inside cos−1 (x) have a restriction of (−1 ≤ x ≤1). Ultimately,
'
As f 5 (−40 )=f 4 ' (−40 ) to have the to have B=0.1 , then A<23 is a restriction.
same gradient at the connection point,
then f 5 ' (−40 )=−2.3 Vertical translation ‘D’:
When f 4 (−40 )=17
f '5 (−40 )=2.3 cos [0.1(−40)−0.1 C]
−2.3=2.3 cos ( −4−0.1 C) Since f 2 ( x) will pass through this position at the connection point, these
−1=cos (−4−0.1 C) coordinates can be substituted into the function to find the value of ‘D’.
cos−1 (−1)=(−4−0.1 C)
f 5 (−40 )=23 sin [ 0.1 (−40+71.4 ) ] + D
−0.1 C=cos−1 (−1 ) + 4 17=23 sin [ 0.1 ( x +71.4 ) ] + D
D=−23 sin [ 0.1 ( x +71.4 ) ] +17
cos−1 (−1 ) +4 ¿ 17.00000001
C=
−0.1 Resultant Function
¿−71.41592654 f 5 ( x )=23 sin [ 0.1 ( x+71.42 ) ]+17.00
For the brevity
For of this
the report,ofI this
brevity will report,
only display
I onlyupdisplayed
to 4 significant
3
figures, but the figures
significant exact value will exact
but the be used in calculations.
value will be used in
Graphical representation of Function 5: calculations.
Comments:
Although the radius of curvature at the local maximum of the sine
function may seem too small, it is going to be connected to two
functions f 8 ( x ) and f 10 ( x ) creating a steep incline. Therefore, as the
carriages gain height they lose speed, making it safe to crest over this
hill without dethatching from the track.
Function 6: Considering a surge function starting from the origin (0,0) with maximum height of 70-metres
through trial and error.
The original design was to start a surge function from ‘quadrant two’ of the graph, but after several calculations
attempting to achieve this, I realized that surge function always intersect the x−axis at the point of origin (0,0). This is
because surge functions are a graph of ‘something’ over time, and the smallest time possible time is zero.
Furthermore, the rollercoaster is restricted to a maximum height of 70-metres. This is because, as explained in the
introduction, the aim is to design a rollercoaster that is half the size of ‘world record’ dimensions. Since the tallest ride
in the world is approximately 140-metres, my rollercoaster will therefore be approximately 70 metres.
A surge function was chosen because it closely models the first track of a
General Surge Function real life rollercoaster, as it steeply increases in height before plateauing
to create the anticipation.
f 6 ( x )= At e−bt OR f 6 ( x )=xt e−bx
This expression was retrieved through an Internet search. This is because
Setting of a predetermined value: ' −bt
after derivation f 6 ( x )= A e (1−bt ) there are two unknown variables (A
f 6 ( x )=x e 1−0.01 x and b), making it impossible to solve relative to my knowledge. To
efficiently utilize time, this expression was gathered then manipulated
through trial and error to conform to the desires this track.
Resultant Function
In order to keep things simple, it was decided that the coefficient of x in
1−0.0142857 x the exponent would be manipulated. This is also because it looks cleaner
f 6 ( x )=x e
as compared to having decimals at the start of the function.
Comments:
The platform was designed to be 40-metres in length to
enclose a 20-metre long carriage. Such a long carriage
will compensate for the lower maximum height, as a
greater mass will gain more momentum at a given
velocity. According to ṕ=m v́ , momentum ( ṕ ¿ is
directly proportional to mass (m ¿.
A 40-metre long These functions will be
track and platform displayed that the summary of Limitation:
the report as they are not of
In a real life application, the 40-metre track will not
precedence.
connect to the surge function at the origin, but instead it
will curl around to the right and slowing increase in
Parallel track height before connection. Also, it will normally be
to the ground PLATFORM slightly elevated from the ground so as to avoid debris
such as rocks to be wedged between the wheels and the
track that may induce potential danger.
STAGE 2: Mathematics Name: Jay Patel SACE Number: 638623H
At coordinates (70,70) the surge function f 6 ( x ) have a gradient of 0, becae ut is the local maximum. But, logistic
functions are always increasing or decreasing and will never have a slope of zero; only infinitely close to zero.
Therefore, I made the point of connection between the two functions at x=71 where the gradient is −0.014 .
A logistic function was chosen because it slowly decreases before a rapid descend,
General Logistic Function creating the sinking feeling in the stomach as passengers anticipate the drop.
C
f 7 ( x )= +E The general function does not normally have D, but it is included in this case
1+ Ae− B(x− D) because the expression ( x ± k ) horizontally translates all types of functions.
−70
∴ f 7 ( x )= −0.02(x−105.53)
+E
1+ e
STAGE 2: Mathematics Name: Jay Patel SACE Number: 638623H
Setting of a predetermined values: Because after derivation f '8 ( x )=− Asin [0.05 ( x−B ) ]e Acos [ B ( x−C )] −D
there are three unknown variables (A, B, and C), I must make two
f 8 ( x )=e4 cos [ 0.05 ( x−C )] + D of the variables known. After experiment with the effects of
changing A and B, which are vertical and horizontal dilations, A=4
Derivative of the function: and B=0.05 were established producing large U-shape that are
approximately 126-metres apart from one local maximum to
f 8 ' ( x )=−0.2sin [0.5 ( x−C ) ]e−0.2 cos [ 0.05 ( x−C ) ] another. This allows for a loop to be designed in the middle – Next
function f 8 ( x)
'
When f 7 ( 100 )=−2.615 Since f 8 ( x) will pass through this position at the connection
point, these coordinates can be substituted into the function
to find the value of ‘D’.
As f '8 ( 100 )=f 7 ' ( 100 ) to have the same
gradient at the connection point, then When:
f 8 ' ( 100 )=−2.615 f 8 ( 100 )=e 4 cos [ 0.05 (100−85.34) ] + D
52.66=19.54426265+ D
f '8 ( 100 )=−0.2 sin[0.5 ( 100−C ) ]e−0.2cos [ 0.05 (100−C )] D=52.66−19.54426265
−2.616=−0.2 sin[0.5 ( 100−C ) ]e−0.2 cos [ 0.05 (100−C )] ¿ 33.11904086
Resultant Function
Option 1: f 8 ( x )=e4 cos [ 0.05 ( x−85.34 )] +33.12 Option 2: f 8 ( x )=e4 cos [ 0.05 ( x−94.29 )] + 6.215
×
Comments:
Option one was discarded because it is simply too high. Firstly, its decent after connecting to f 7 ( x) is too shallow to create the
thrill required as compared to option two. Secondly, if any function was to join with option 1 before its local maximum, the
resulting function will have a high possibility of ascending too high above 70-metres and therefore causing to carriages to
become stuck, as it cannot be higher than the tallest part of the rollercoaster because there will be insufficient momentum to
crest over the hill. Since option two conforms to the requirements, it was therefore accepted.
A circular function will create the inversion that is common is many rollercoaster designs. At these coordinates
(157.124 , 6232868281) the exponential function f 8 ( x) have a gradient of 0, as it is the local minimum, connecting to the
circular function tangentially and parallel to the ground.
Function 10: Considering a linear function connecting to f 8 ( x) at the coordinates (203.8273297 , 22.1465275)
The linear function will merge f 8 ( x) to the sine function f 5 ( x). I chose these coordinates because f 8 ( x) have a gradient of
2.3, corresponding to the gradient at point of inflection on f 5 ( x). To determine these coordinates, the derivative
function of f 8 ( x) was graphed to find the x−coordinate at which this gradient occurs, before substituting the value of
x into f 8 ( x) to find the y−coordinate.
General Linear Function Because the since function have a relatively small amplitude,
directly connecting the function to the exponential function will be
f 10 ( x )=mx+ c too low, causing the functions: [ f 4 ( x ) , L1 ( x ) , f ( x ) , L2 (x) ]
after the sine to be partially underground. To counteract this
and increase height, a linear function was used.
Setting of a predetermined values:
Since the ‘m’ in any linear function represents the gradient,
f 10 ( x )=2.3 x+ c
therefore m=2.3
A
Graphical representation of Function 10:
Finding the Vertical Translation ‘c’
When f 8 ( 203.8 )=22.15 f 10 ( x )=2.3 x−446.7
Since f 10( x) will pass through this position at Domain {x :203.8273297 ≤ x ≤213.2853593 }
the point of connection, these coordinates can
be substituted into the function to find the
value of ‘c’.
f 10 ( 203.8 )=2.3(203.8)+ c
22.15=468.8028583+c
c=22.15−468.8
c=−446.6563308
Resultant Function
f 10 ( x )=2.3 x−446.7
On f 5 ( x )the gradient 2.3 occurs at x=−71.42 f 5 ( x )=23 sin [ 0.1 ( x+71.41592654 ) ] + 37.00000001
A B C C
But on f 10 ( x ) the gradient 2.3 occurs at x=210.3
Since ‘C’ determines the horizontal translation, 281.7-
To find the required horizontal shift for the sine function so meters must be added to the existing value of ‘C’.
that the two functions with the same gradient meet at the
same x−coordinate , the difference in horizontal distance New ‘ C ’=C+ 281.7
between them must be calculated. ¿−71.42+ 281.7 (When: C=−71.42 )
¿ 210.2853612
H . shift =210.3− (−71.42 )
¿ 281.7012877 New Resultant Translated Since Function
∴ The original sine function must shift 281.7-metres to the
right f 5 ( x )=23 sin [ 0.1 ( x+ 210.3 ) ]+ 37.00000001
Function 11: Considering a cosine function connecting to L1 ( x) at the coordinates (298 , 10.66231786)
x=298 was specifically chosen because it limits the length of the linear function L1 ( x). If the L1 ( x) was allowed to be any
longer, it may cause the local minimum of the cosine function to either (a) touch the ground, or (b) travel underground.
General Cosine Function A cosine function was chosen because its symmetrical shape allows
it to increase and decrease in height. This motion causes one last
thrill as the carriages crest over the final hill, but at the same time
f 11 ( x ) =Acos [ B ( x−C ) ]+ D losing momentum because it is not as high.
16 16 −1 −π
Because sin (−1)= , there will only be one final answer,
2
149 π π as apposed to two if it was any other value. Ultimately, there
¿ sin [ − C] is no extra step to decipher which is the more appropriate
8 16
answer to use, like f 8 ( x ).
149 π π Graphical representation of Function 11:
sin−1(−1)= − C
8 16
π
−π
16
C=sin−1 (−1 )−
149 π
8
f 11 ( x ) =−9.167 cos
16 [ ]
( x −306 ) +10.66
Comments:
Proof of Theory
The point of inflection where the steepest slope occurs on any
trigonometric function can be found when the amplitude is
π
f 11 ( x ) =−9.167 cos [ 16 ]
( x −306 ) +10.66 multiplied by the period. However, further investigation is
required to ascertain this relationship between these two
quantities that affect the POI on the function.
gradient at POI= A × B
π Derivative Graph in Blue:
¿−9.167 ×
16
¿−1.8
π
f 11 ' ( x ) =1.8 sin ( x−60.08295950)
16
STAGE 2: Mathematics Name: Jay Patel SACE Number: 638623H
Function 12: Considering a quartic function connecting to f 11 (x) at the coordinates (330 , 10.66231786) that has
minimum (gradient is zero) at f 11 ( 350 )=0
There are no specific mathematical reasons to choose these coordinates other than it allows the carriage to complete one
full period. Additionally, because the x−coordinate is an integer, there are fewer decimals to deal with and therefore
minimizing potential mistakes when calculating.
Furthermore, x=350 was chosen to be the position of the local minimum because I want the local minimum to be relatively
far from the previous hill, but at the same time be approximately 1-metre off the ground. Through trial and error, if the
x−value is greater, integer wise, the local maximum will occur closer to the ground. Reasons to why I was it to be 1-metre
above the ground will further be explained in the next function as it is more applicable there.
General Quartic Function A quartic function was chosen because y=x 4 creates a U-shape that
somewhat plateaus before reaching a local minimum. If manipulated
f 12 ( x )=ax 4 + bx3 +cx 2 +dx +e correctly, the plateauing quality is perfect for merging this track
with one last track that is going to be parallel to the ground.
f 12 ( x )= A( x−B)4 +C Therefore, as the last track will have a gradient of zero, their
connection point will be at the local minimum of this function.
Derivative of the function:
As I wish to manipulate y=x 4 because it is less problematic, I
4 A ( x−B)3 therefore added (a, b and c) for manipulation.
−1.8 0=(350−B)3
=(330−B)3
4A 0=350−B
B2=350 (lets call this B2 )
√
3 −1.8
4A
=330−B
Since we know ‘b’ in ( x−b) determines the horizontal translation,
naturally b=350 since that is where I want the local minimum to be,
B1=−
√
3 −1.8
4A
+300 (lets call this B1 ) as it is normally at the point of origin.
Equating B1 with B2 to find the value of ‘a’ Find the vertical translation ‘C’
Function 13: Considering a linear function connecting to f 12( x ) at the coordinates (350 , 1.66231786)
This linear function will run parallel to the ground as it approaches the last platform. Therefore, numerically it will
have a gradient m=0 , intersecting the y−axis at 1.66-metres from to the ground. This height was chosen in
consideration to the physics concepts of gravitational potential and kinetic energy. Because gravitational potential
energy is defined by the height of an object relative to the ground, by having the height at 1.66-metres it will have
‘some’ potential energy. Thus, as gravitational potential energy=kinetic energy , not all potential energy gained from
the last hill will be transferred into kinetic energy. By k =m v 2 the kinetic energy is directly proportional to the velocity
squared, hence, less kinetic energy available results in a slower speed; conditions idea for bringing the carriages
slowly into the platform.
General Linear Function A linear function was chosen connect with the local minimum of f 12 ( x )
because it is the only function capable of consistently having a zero gradient
f 13 ( x )=mx+ c as hotizontal distance ( x) increases. Another other function will have a
gradient of some sort before becoming zero. This quality of a linear function
Resultant Function is important in designing a rollercoaster because it allows the carriages to
still travel horizontally without gaining speed, but instead causes the
f 13 ( x )=( 0 ) x +1.66 carriages to lose speed as energy is dispersed over a distance to friction and
air-resistance. More importantly, the carriages won’t roll backwards as it
∴ f 13 ( x ) =1.66 loses speed, as it would compared to a track with a gradient.
Summary:
The functions that were used in this investigation, including the ones used to make the two
platforms are shown below systematically relative to the rollercoaster
PART A
Linear L1 ( x )=0.7 ( x −281.7 ) +20 {x :271.7 ≤ x ≤281.7 }
Quadratic f ( x )=−0.078125 ( x−281.7 )2+ 0.7 ( x−281.7 ) +20 {x :281.7 ≤ x ≤297.7 }
Linear L2 ( x )=−1.8 ( x−281.7 ) +40 {x :297.7 ≤ x ≤301.7 }
Right of PART A
π
Cosine f 11 ( x ) =−9.167 cos [ 16 ]
( x −306 ) +10.66 {x :298 ≤ x ≤330 }
General Limitations
One of the biggest limitations in this mathematical investigation is only being able to design a rollercoaster
that is two dimensional (2D) instead of three dimensional (3D). It can be seen in the graph above that there
are two platforms, one for embarking on the carriages and one at the end for disembarking. In a real world
application however, there will only realistically be one platform, as the carriages must return to its starting
point to deliver and receive new waves of passengers. This cannot be achieved in a 2D design because it is
limited to the axis x and y whereas a 3D plane has a third z−axis. This third axis essentially allows the
rollercoaster to not only move left and right, up and down, but also into and out of the page as it changes
direction such that it returns back to the starting point.
Through utilizing Desmos software to graph functions in this investigation, the limitation that this incurs is
that it approximates values to 3 decimal places. Because using approximated values will cause inaccuracies
in calculations, to offset this limitation a graphics calculator was used to include as many decimal places as
possible. However, even a graphics calculator has its limitation in displaying up to seven decimal places, but
the consequences that this inherits is insignificant. Nonetheless, it is still more accurate that Desmos.
Although this rollercoaster design conforms to the basic physics concepts of gravitational potential energy
and kinetic energy, as well as having a longer carriage to mitigate loss of momentum due to the lower height,
whether this design is feasible in reality is a whole different story. There are more factors that need to be
taken into consideration when designing a rollercoaster, but these factors are beyond the limited knowledge
of a Year 12 student. Therefore, knowledge becomes a limitation to the real world application of this design.
Improvements
There are several improvements that will be made if given the opportunity to repeat this investigation. This
includes having a significant height difference from one local maximum to another so as to better conform to
the real world application. Another improvement is to design the two platforms with the same height from
the ground. With the same vertical displacement from the ground, at least then I can say that the carriages
will return to the starting point as it would in real life, just that it is limited to a 2D design.
Conclusion:
Through the practical application of differential calculus, this investigation have included a variety of mathematical
functions to model different sections of a real world rollercoaster, connecting each section seamlessly with a common
gradient. To achieve this, all decimal places were included in calculations to ensure functions align accurately although
it was significantly time consuming. However, technology such as Desmos and a graphics calculator were used in
STAGE 2: Mathematics Name: Jay Patel SACE Number: 638623H
unison to find accurate solutions to complex problems. Nonetheless, this design was also affected by limitations, but it
did not have a major impact on my ability to draw logical conclusion from mathematical results, allowing me develop
logical and concise arguments.
References:
Energy in a rollercoaster ride. (2015, November 15). Retrieved June 11, 2018, from Explain
Hay, H. (2018).
Kinetic and Potential Energy. (2015, August 15). Retrieved June 11, 2018, from Science Blog:
http://xiomarabgscienceblog.blogspot.com/2015/08/kinetic-and-potential-energy.html
Safety of amusement rides. (2013, October 22). Retrieved June 9, 2018, from WorkCover Queensland:
https://www.worksafe.qld.gov.au/injury-prevention-safety/alerts/whsq/2013/safety-of-amusement-
rides
World's Tallest Roller Coasters. (NA). Retrieved June 9, 2018, from Vacation Idea:
https://vacationidea.com/adventure/the-worlds-tallest-roller-coasters.html
STAGE 2: Mathematics Name: Jay Patel SACE Number: 638623H
Appendix:
23 √ 3
Let A=
2
46 √ 3
f 2 ( x )= sin [ 0.1 ( x−C ) ]+ D
3
23 √ 3
f 2 ' ( x )= cos (0.1 x −0.1C )
15
−√ 3
=cos(−4−0.1 C)
2
−√ 3
( ¿)+ 4
−1 2
C=cos ¿
0.1
5π 7π
+4 +4
C=
6 OR C=
6
0.1 0.1
∴ C ≈ 66.18 OR C ≈ 76.65
There is two values because it is a cosine function, hence there will be two
answers in the domain of 0 ≤ x ≤ 2 π
STAGE 2: Mathematics Name: Jay Patel SACE Number: 638623H









