9 Function Project

Group Members: Jeffrey • JunXin • Raymond • Jared Kong

exponential function

Exponential Function Modeling for Sunway College Escalator - MHF4U CCT

Exponential Function Modeling for the Sunway College Escalator Edge

Function: Exponential Curve (Escalator Edge)

y = 1.28^(-(1.9x + 5.89)) - 0.59 {-5 ≤ x ≤ 5}

1. Transformations

This is an exponential function, so its parent function is \( y = 1.28^x \), an increasing exponential curve with base \( b = 1.28 > 1 \). The transformed equation applies four key transformations to the parent graph to match the downward-sloping, slightly curved edge of the escalator:

1. Horizontal Compression: The coefficient \( 1.9 \) inside the exponent compresses the graph horizontally by a factor of \( \frac{1}{1.9} \approx 0.53 \). This steepens the curve, matching the rapid downward slope of the escalator in the photo.
2. Reflection over the y-axis: The negative sign in front of \( (1.9x + 5.89) \) reflects the graph across the y-axis. This reverses the parent function’s increasing trend, turning it into a decreasing exponential curve that slopes from high to low as x increases, aligning with the direction of the escalator.
3. Horizontal Shift: The \( +5.89 \) inside the exponent shifts the entire graph left by \( \frac{5.89}{1.9} \approx 3.1 \) units. This moves the curve’s critical decay region to the visible portion of the photo, ensuring the curve starts at the escalator’s top-left edge and tapers smoothly toward the bottom-right.
4. Vertical Shift: The constant \( -0.59 \) shifts the entire graph downward by \( 0.59 \) units. This aligns the curve’s baseline with the escalator’s lower edge in the photo, adjusting the curve’s vertical position to match the real-world structure.

Together, these transformations create a smooth, decreasing exponential curve that perfectly traces the curved metal edge of the escalator, capturing both its slope and subtle curvature.

2. Domain and Range

Domain: {x ∈ R | -5 ≤ x ≤ 5}

Range: {y ∈ R | approximately -0.55 ≤ y ≤ 1.86}

The domain is restricted to \( -5 \leq x \leq 5 \) to match the horizontal boundaries of the escalator in the photo, covering from the top-left edge to the bottom-right edge. The range corresponds to the vertical span of the curve within this domain: the maximum value (~1.86) occurs at the left endpoint (x = -5, the escalator’s top), and the minimum value (~-0.55) occurs at the right endpoint (x = 5, the escalator’s bottom).

3. End Behaviour

As x → -5⁺, f(x) → approximately 1.86 (the highest point of the escalator’s visible edge, aligning with the top-left corner of the photo)

As x → 5⁻, f(x) → approximately -0.55 (the lowest point of the escalator’s visible edge, aligning with the bottom-right corner of the photo)

Since the function is restricted to the domain \( -5 \leq x \leq 5 \), there are no infinite end behaviours. Instead, the curve terminates cleanly at the photo’s boundaries, creating a continuous, smooth line that follows the escalator’s path exactly.

4. Zeros

To find the zero of the function, solve \( 1.28^{-(1.9x + 5.89)} - 0.59 = 0 \):
\( 1.28^{-(1.9x + 5.89)} = 0.59 \)
Taking the natural logarithm of both sides: \( -(1.9x + 5.89) \cdot \ln(1.28) = \ln(0.59) \)
Solving for x gives \( x \approx -2.0 \).

This zero falls within the domain \( -5 \leq x \leq 5 \), corresponding to the point where the escalator’s edge crosses the horizontal midline of the photo (visible at x ≈ -2, y = 0).

5. Challenges

Modeling the escalator’s edge with an exponential function presented several unique challenges:

First, I struggled to match the escalator’s slight curvature with a linear model, so I switched to an exponential function to capture the subtle curve. Adjusting the base \( 1.28 \) was critical: a higher base made the curve decay too quickly, while a lower base made it too flat, failing to match the escalator’s slope.

Next, balancing the horizontal compression coefficient \( 1.9 \) required multiple trials. An initial coefficient of \( 1.5 \) resulted in a curve that was too gradual, while \( 2.1 \) made it overly steep. Tuning to \( 1.9 \) gave the perfect steepness to match the escalator’s rate of descent.

Finally, aligning the curve’s endpoints with the photo’s boundaries required precise vertical and horizontal shifts. Adjusting the vertical shift \( -0.59 \) ensured the curve’s lowest point matched the escalator’s bottom edge, while the horizontal shift \( +5.89 \) positioned the decay curve to start at the top-left corner of the photo. After multiple iterations, the final equation fit the escalator’s edge seamlessly.

Overall Modeling Summary

This exponential function is derived from the parent function \( y = 1.28^x \), with targeted transformations to replicate the curved, downward-sloping edge of the Sunway College escalator. The horizontal compression, reflection, and shifts work together to match the escalator’s slope, curvature, and position in the photo. The domain restriction \( -5 \leq x \leq 5 \) ensures the curve stays within the visible boundaries of the image, with every parameter justified by the real-world structure of the escalator. The final model is continuous, precise, and fully aligned with the requirements for real-world function modeling.

A polynomial of degree higher than 2

Cubic Function Modeling for Sunway University Pipe - MHF4U CCT

Cubic Function Modeling for the Sunway University Pipe Curve

Function: Cubic Curve (Pipe Edge)

y = 2.2(x + 0.1)³ + 0.6 {-1.38 ≤ x ≤ 1.16} (restricted to -4 ≤ y ≤ 5)

1. Transformations

This is a cubic function, so its parent function is \( y = x^3 \), an S-shaped curve with a single inflection point at the origin (0,0). The transformed equation applies three key transformations to match the curved metal pipe in the photo:

1. Horizontal Shift: The term \( (x + 0.1) \) shifts the entire graph 0.1 units to the left. This moves the inflection point from the parent function’s origin (0,0) to (-0.1, 0), aligning the curve’s natural bend with the pipe’s central turn in the photo.
2. Vertical Stretch: The coefficient \( 2.2 \) vertically stretches the graph by a factor of 2.2. This steepens the curve, increasing the slope to match the pipe’s upward angle, which is much steeper than the gentle slope of the parent cubic function.
3. Vertical Shift: The constant \( +0.6 \) shifts the entire graph upward by 0.6 units, moving the inflection point from (-0.1, 0) to (-0.1, 0.6). This aligns the curve’s bend with the pipe’s midline, ensuring the S-shape follows the pipe’s path exactly.

Together, these transformations create a smooth, steep cubic curve that traces the pipe from its bottom-left corner, through its central bend, to its top-right corner in the photo.

2. Domain and Range

Domain: {x ∈ R | -1.38 ≤ x ≤ 1.16}

Range: {y ∈ R | -4 ≤ y ≤ 5}

The range is explicitly restricted to \( -4 ≤ y ≤ 5 \) to match the vertical boundaries of the pipe in the photo, covering from the pipe’s lowest visible point (y=-4) to its highest visible point (y=5). Since the cubic function is strictly increasing, this vertical restriction defines the corresponding horizontal domain \( -1.38 ≤ x ≤ 1.16 \), which aligns with the pipe’s horizontal span in the photo.

This ensures the curve only appears within the visible pipe, avoiding the infinite extension of the parent cubic function and matching the photo’s exact boundaries.

3. End Behaviour

As x → -1.38⁺, f(x) → -4 (the lowest point of the pipe’s visible edge, aligning with the bottom-left corner of the photo)

As x → 1.16⁻, f(x) → 5 (the highest point of the pipe’s visible edge, aligning with the top-right corner of the photo)

Unlike the parent cubic function, which extends infinitely to \( \pm\infty \), this model is restricted to the pipe’s visible range. The curve terminates cleanly at the photo’s boundaries, creating a continuous, smooth line that follows the pipe’s path without extending beyond the image.

4. Zeros

To find the zero of the function, solve \( 2.2(x + 0.1)^3 + 0.6 = 0 \):
\( 2.2(x + 0.1)^3 = -0.6 \)
\( (x + 0.1)^3 = -\frac{0.6}{2.2} \approx -0.27 \)
\( x + 0.1 \approx -0.646 \)
\( x \approx -0.75 \)

This zero falls within the restricted domain, corresponding to the point where the pipe crosses the horizontal midline of the photo (visible at \( x \approx -0.75, y=0 \)).

5. Challenges

Modeling the pipe’s curve with a cubic function presented several key challenges:

First, matching the pipe’s steep slope required tuning the vertical stretch coefficient \( 2.2 \). Initial attempts with lower coefficients (e.g., 1.5) resulted in a curve that was too flat, failing to match the pipe’s upward angle. Testing higher values (e.g., 2.5) created an overly steep curve that diverged from the pipe’s path. The final value of 2.2 provided the perfect steepness to align with the pipe’s slope.

Next, aligning the curve’s inflection point with the pipe’s central bend was critical. Adjusting the horizontal shift \( +0.1 \) and vertical shift \( +0.6 \) moved the curve’s natural bend to the exact position of the pipe’s turn in the photo. Without this adjustment, the curve would have bent too early or too late, breaking the alignment with the pipe.

Finally, restricting the range to \( -4 ≤ y ≤ 5 \) was essential to contain the curve within the photo’s boundaries. Without this restriction, the cubic function would extend infinitely beyond the pipe’s visible ends, making the model inaccurate. This vertical limit ensures the curve only appears where the pipe is visible, creating a realistic and precise model.

Overall Modeling Summary

This cubic function is derived from the parent function \( y = x^3 \), with targeted transformations to replicate the S-shaped curve of the Sunway University pipe. The horizontal shift, vertical stretch, and vertical shift work together to align the curve’s inflection point with the pipe’s central bend and match its steep upward slope. The range restriction \( -4 ≤ y ≤ 5 \) contains the curve within the photo’s boundaries, creating a continuous, accurate model that follows the pipe’s path exactly. Every parameter is justified by the real-world geometry of the pipe, meeting all requirements for real-world function modeling.

Sinusoidal and Cosine function

Sinusoidal and Cosine Function Modeling - Roller Coaster Track

Sinusoidal and Cosine Function Modeling for the Roller Coaster Track

Function 1 (Right Track - Sine Curve)

y = 1.56sin(0.48x - 0.29) - 2.9 {0 ≤ x ≤ 6.24}

1. Transformations

This is a sine function, so its parent function is \(y = \sin(x)\). The transformed equation applies four key transformations to match the curved right track of the roller coaster:

1. Vertical Stretch: The coefficient 1.56 vertically stretches the graph by a factor of 1.56, increasing the amplitude to match the height variation of the track.
2. Horizontal Compression: The coefficient 0.48 compresses the graph horizontally, adjusting the period to fit the length of the track segment.
3. Horizontal Shift: The term \(-0.29\) shifts the graph horizontally to align the wave pattern with the track’s curvature.
4. Vertical Shift: The constant \(-2.9\) shifts the entire graph downward by 2.9 units, positioning the curve to match the vertical position of the track.

These transformations create a smooth sinusoidal curve that perfectly follows the gentle wave shape of the roller coaster’s right track.

2. Domain and Range

Domain: {x ∈ R | 0 ≤ x ≤ 6.24}

Range: {y ∈ R | -4.46 ≤ y ≤ -1.34}

The domain is restricted to 0 to 6.24 to match the horizontal span of the right track in the photo. The range is calculated from the minimum and maximum values of the sinusoidal curve within this domain, corresponding to the lowest and highest points of the track.

3. End Behaviour

As x → 0⁺, f(x) → -3.19

As x → 6.24⁻, f(x) → -2.06

The left endpoint aligns with the starting point of the right track, and the right endpoint marks the end of the visible track segment. The curve terminates cleanly at the boundaries of the image with no infinite behaviours.

4. Zeros

To find the zeros, solve \(1.56\sin(0.48x - 0.29) - 2.9 = 0\). The solutions for x fall far outside the restricted domain {0 ≤ x ≤ 6.24}. Therefore, there are no zeros within this segment.

5. Challenges

The main challenge was adjusting the amplitude and horizontal compression to replicate the subtle wave of the track. I tested multiple coefficients for the period and vertical stretch to ensure the curve did not become too steep or too flat. The horizontal shift required precise tuning to align the peak of the sine wave with the highest point of the track, and the vertical shift ensured the curve stayed centered on the track’s vertical position.

Function 2 (Left Track - Cosine Curve)

y = 5cos(0.09x + 20) - 7 {-7.297 ≤ x ≤ -3}

1. Transformations

This is a cosine function, so its parent function is \(y = \cos(x)\). The transformed equation applies four key transformations to match the sloped left track of the roller coaster:

1. Vertical Stretch: The coefficient 5 vertically stretches the graph by a factor of 5, creating a larger amplitude to match the steep drop of the left track.
2. Horizontal Stretch: The coefficient 0.09 stretches the graph horizontally, slowing the oscillation to fit the long, gradual slope of the track.
3. Horizontal Shift: The term \(+20\) shifts the graph horizontally to align the cosine wave with the track’s curvature and position.
4. Vertical Shift: The constant \(-7\) shifts the entire graph downward by 7 units, matching the lower vertical position of the left track.

These transformations form a smooth cosine curve that accurately traces the descending shape of the roller coaster’s left track.

2. Domain and Range

Domain: {x ∈ R | -7.297 ≤ x ≤ -3}

Range: {y ∈ R | -12 ≤ y ≤ -2}

The domain is restricted to -7.297 to -3 to match the horizontal boundaries of the left track. The range covers the full vertical drop of the track, from the highest starting point to the lowest ending point within the visible segment.

3. End Behaviour

As x → -7.297⁺, f(x) → -6.6

As x → -3⁻, f(x) → -11.2

The left endpoint marks the top of the left track, and the right endpoint marks the bottom of the visible segment. The curve follows the downward slope of the track consistently within the domain.

4. Zeros

To find the zeros, solve \(5\cos(0.09x + 20) - 7 = 0\). All solutions lie outside the restricted domain {-7.297 ≤ x ≤ -3}, so there are no zeros within this segment.

5. Challenges

Modeling the steep, gradual slope of the left track required a large vertical stretch and horizontal stretch for the cosine function. I struggled to align the curve with the track’s exact starting and ending points, which required precise adjustments to the horizontal shift. I also had to ensure the curve did not oscillate too rapidly, which is why the small horizontal compression factor 0.09 was chosen to create a slow, steady descent matching the real track.

Overall Modeling Summary

This piecewise trigonometric function system uses sine and cosine parent functions to model the two curved segments of the roller coaster track. Each function uses targeted vertical stretching, horizontal stretching/compression, and shifts to replicate the unique shape of the left and right tracks. The domain restrictions are precisely matched to the visible boundaries of the image, and all transformations are justified by the real-world geometry of the roller coaster. The model is continuous, accurate, and fully meets the requirements for real-world function modeling.

A trigonometric function with asymptotes

Tangent Function Modeling for Lakeshore Edge - MHF4U CCT

Tangent Function Modeling for the Lakeshore Edge on a Map

Main Function: Tangent Curve (Lakeshore Edge)

y = -0.2 tan(1.5x + 4.3) + 0.8
Domain: {x ∈ R | ((0.5π - 4.3)/1.5) < x < ((1.5π - 4.3)/1.5)}
Range Restriction: -5 ≤ y ≤ 5

1. Transformations

This is a tangent function, so its parent function is y = tan(x). The transformed equation applies several key changes to the parent graph to match the lakeshore's curved shape:

1. Horizontal Compression: The coefficient 1.5 compresses the graph horizontally to 2/3 of its original width, reducing the period from π to π/1.5 ≈ 2.09. This tightens the curve to match the narrow bend of the lakeshore.
2. Horizontal Shift: The (1.5x + 4.3) term shifts the entire graph left by approximately 2.87 units (calculated as 4.3/1.5). This moves the curve's center to align with the natural curve of the lake in the map.
3. Reflection & Vertical Compression: The coefficient -0.2 reflects the tangent graph over the x-axis (reversing its direction) and vertically compresses it. This makes the curve much less steep, matching the gentle slope of the lakeshore instead of the sharp rise/fall of the parent function.
4. Vertical Shift: The constant +0.8 shifts the graph upward by 0.8 units, moving the curve's midline from y=0 to y=0.8 to align with the lakeshore's vertical position on the map.

The final curve follows the exact S-shaped bend of the lakeshore, bounded by two vertical asymptotes that mark the curve's visible limits on the map.

2. Domain and Range

Domain: {x ∈ R | ((0.5π - 4.3)/1.5) < x < ((1.5π - 4.3)/1.5)}
Numerically, this is approximately -1.82 < x < 0.275, matching the horizontal range of the visible lakeshore on the map. The domain is bounded by two vertical asymptotes, which prevent the curve from extending infinitely and keep it within the map’s boundaries.

Range: The full tangent function has a range of all real numbers, but for this model, we restrict it to {y ∈ R | -5 ≤ y ≤ 5} to match the vertical limits of the map. Within the restricted domain, the curve spans from the bottom to the top of the visible lakeshore, aligning perfectly with the map’s vertical scale.

The two vertical asymptotes are defined as:
x = (0.5π - 4.3)/1.5 (left boundary, y ∈ [-5, 5])
x = (1.5π - 4.3)/1.5 (right boundary, y ∈ [-5, 5])

3. End Behaviour

As x approaches the left asymptote from the right (x → ((0.5π - 4.3)/1.5)⁺):
The argument 1.5x + 4.3 approaches 0.5π⁺, so tan(θ) → +∞. The coefficient -0.2 reverses this to -∞, and the curve approaches the lower boundary y = -5, aligning with the lakeshore’s bottom-left corner.

As x approaches the right asymptote from the left (x → ((1.5π - 4.3)/1.5)⁻):
The argument 1.5x + 4.3 approaches 1.5π⁻, so tan(θ) → -∞. The coefficient -0.2 reverses this to +∞, and the curve approaches the upper boundary y = 5, aligning with the lakeshore’s top-right corner.

This creates a smooth, continuous curve that starts at the bottom-left and rises to the top-right, matching the lakeshore's path exactly.

4. Zeros

To find the zero(s) of the function, solve -0.2 tan(1.5x + 4.3) + 0.8 = 0:
tan(1.5x + 4.3) = 4 → 1.5x + 4.3 = arctan(4) + π (to fall within the domain)
The only zero within the restricted domain is approximately at (0.11, 0), where the lakeshore crosses the horizontal midline of the map.

5. Challenges

Modeling the lakeshore with a tangent function was far more complex than using a quadratic, due to the function's infinite asymptotes and sharp slope changes.

First, I struggled to balance the curve's steepness: an initial coefficient of -0.3 made the curve too steep, extending far beyond the lakeshore's boundaries. Adjusting to -0.2 softened the slope just enough to match the map's gentle bend.

Next, aligning the asymptotes with the map's edges required precise tuning of the horizontal shift (4.3) and period (1.5). I tested multiple values to ensure the curve's visible segment matched the lakeshore's exact start and end points without overflowing the map.

Finally, I had to carefully adjust the vertical shift (0.8) to center the curve on the lakeshore's midline, ensuring the curve didn't drift too high or low on the map. After multiple rounds of trial and error, the final equation fits the lakeshore perfectly.

Asymptote Lines (Boundary Constraints)

Two vertical asymptotes define the visible segment of the tangent curve:
1. Left Asymptote: x = (0.5π - 4.3)/1.5, { -5 ≤ y ≤ 5 }
2. Right Asymptote: x = (1.5π - 4.3)/1.5, { -5 ≤ y ≤ 5 }

These lines are critical for the model: they prevent the tangent function from extending infinitely, limiting the curve to the exact range of the lakeshore on the map. They also mark the "edges" of the tangent function’s period, ensuring the curve only displays the single segment that matches the lakeshore’s shape.

Overall Modeling Summary

This tangent function model is derived entirely from the parent function y = tan(x), with targeted transformations to replicate the unique curved shape of the lakeshore. The combination of horizontal compression, reflection, and shifts creates a smooth, sloping curve that matches the map’s natural bend, while the asymptotes and range restrictions keep the model bounded to the visible image.

Every parameter was chosen intentionally to match the real-world context: the compression coefficient controls the curve's steepness, the shifts align the curve to the map’s coordinates, and the asymptotes mark the exact boundaries of the visible lakeshore. The final model is continuous, precise, and fully justified by the map’s geometry, meeting all the requirements for real-world function modeling.

Absolute Value Function

Absolute Value Function Modeling for Sunway University Sign - MHF4U CCT

Absolute Value Function Modeling for the Sunway University Sign Edge

Function: Absolute Value Curve (Sunway University Sign Edge)

y = 0.9|x + 0.1| - 2.3 {-2.89 ≤ x ≤ 2.48}

1. Transformations

This is an absolute value function, so its parent function is y = |x|, which forms a symmetric V-shape with its vertex at the origin (0,0). The transformed equation applies four key changes to match the shape of the Sunway University sign’s edge:

1. Horizontal Shift: The term (x + 0.1) shifts the entire graph 0.1 units to the left. This moves the vertex from the parent function's origin (0,0) to (-0.1, 0), aligning the V-shape with the slight leftward offset of the sign’s bottom point in the photo.
2. Vertical Compression: The coefficient 0.9 vertically compresses the graph, making the slopes of the V-shape gentler (from ±1 to ±0.9). This adjustment matches the slightly less steep angle of the sign’s left and right edges, rather than the sharp 45° slope of the parent function.
3. Vertical Shift: The constant -2.3 shifts the entire graph downward by 2.3 units, moving the vertex from (-0.1, 0) to (-0.1, -2.3). This places the bottom of the V-shape exactly at the lowest point of the sign’s edge, aligning with the base of the pillar in the photo.

Together, these transformations create a slightly compressed, left-shifted, downward V-shape that perfectly traces the two slanted edges of the Sunway University sign, from its bottom point up to its top-left and top-right corners.

2. Domain and Range

Domain: {x ∈ R | -2.89 ≤ x ≤ 2.48}

Range: {y ∈ R | -2.3 ≤ y ≤ 0.21}

The domain is restricted to -2.89 to 2.48 to match the horizontal span of the visible sign in the photo. The left endpoint x = -2.89 aligns with the sign's top-left corner, while the right endpoint x = 2.48 aligns with the top-right corner. The domain is not symmetric around the vertex's x-coordinate (-0.1) because the sign's visible edges are not perfectly equal in length on both sides.

The range starts at the vertex’s y-value of -2.3 (the lowest point of the sign) and extends up to the maximum y-value of approximately 0.21 at the left endpoint. The right endpoint reaches a slightly lower y-value of about 0.02, so the range’s upper bound is determined by the taller left edge of the sign.

3. End Behaviour

As x → -2.89⁺, f(x) → 0.21

As x → 2.48⁻, f(x) → 0.02

The left endpoint at x = -2.89 marks the top-left corner of the Sunway University sign, where the edge meets the sign's frame. The right endpoint at x = 2.48 marks the top-right corner, aligning with the opposite frame edge. Since the function is restricted to this domain, there are no infinite end behaviours; instead, the curve terminates cleanly at these two corners, matching the sign's visible boundaries exactly.

4. Zeros

To find the zeros of the function, solve 0.9|x + 0.1| - 2.3 = 0:
|x + 0.1| = 2.3 / 0.9 ≈ 2.56
x + 0.1 = ±2.56 → x ≈ 2.46 or x ≈ -2.66

Both zeros lie within the restricted domain {-2.89 ≤ x ≤ 2.48}. The left zero at x ≈ -2.66 is where the sign's left edge crosses the horizontal midline of the photo, and the right zero at x ≈ 2.46 is near the top-right corner of the sign, just below the endpoint at x=2.48.

5. Challenges

Modeling the sign's edge with an absolute value function required balancing several adjustments to match the real-world shape:

First, I struggled to find the right slope coefficient. Starting with a coefficient of 1 created edges that were too steep, making the line extend past the sign's corners. Testing 0.9 softened the slope just enough to align with the sign's actual angle.

Next, aligning the vertex with the sign's bottom point was tricky. I adjusted the horizontal shift (+0.1) and vertical shift (-2.3) multiple times to move the V-shape's point to the exact center of the sign's base, avoiding a misaligned "tip" that looked off-center.

Finally, the asymmetric domain was a challenge. Since the sign's visible edges are not perfectly equal in length, I had to adjust the left and right endpoints separately (to -2.89 and 2.48) instead of using a symmetric range. This ensured the curve fit both corners without cutting off or extending beyond the sign's frame.

Overall Modeling Summary

This absolute value function is derived from the parent function y = |x|, with intentional transformations to replicate the V-shaped edge of the Sunway University sign. The vertical compression, horizontal shift, and vertical shift work together to match the sign’s slope, vertex position, and orientation. The asymmetric domain restriction accounts for the sign’s uneven visible edges, ensuring the curve fits perfectly within the photo’s boundaries. Every parameter is justified by the real-world geometry of the sign, creating an accurate and contextually sound model.

Rational Function

Rational Function Modeling for Sunway Lagoon Pirate Ship - MHF4U CCT

Rational Function Modeling for the Sunway Lagoon Pirate Ship Hull Edge

Function: Rational Curve (Pirate Ship Hull Edge)

y = \frac{3.6}{0.88x + 2.5} - 4.2 {-2.13 ≤ x ≤ 0.5}

1. Transformations

This is a rational (reciprocal) function, so its parent function is \( y = \frac{1}{x} \), a hyperbola with two branches separated by a vertical asymptote at \( x=0 \) and a horizontal asymptote at \( y=0 \). The transformed equation applies four key transformations to match the curved hull of the pirate ship:

1. Horizontal Compression & Shift: The denominator \( 0.88x + 2.5 \) can be rewritten as \( 0.88(x + \frac{2.5}{0.88}) \approx 0.88(x + 2.84) \). This compresses the graph horizontally by a factor of \( 0.88 \) and shifts it left by \( 2.84 \) units, moving the vertical asymptote to \( x \approx -2.84 \).
2. Vertical Stretch: The numerator \( 3.6 \) vertically stretches the graph by a factor of \( 3.6 \), amplifying the curve’s steepness to match the sharp downward slope of the pirate ship’s hull.
3. Vertical Shift: The constant \( -4.2 \) shifts the entire graph downward by \( 4.2 \) units, moving the horizontal asymptote to \( y = -4.2 \). This aligns the curve’s baseline with the lower edge of the pirate ship in the photo.

The final curve uses the right branch of the hyperbola (to the right of the vertical asymptote) to trace the pirate ship’s hull, starting high on the left and curving smoothly downward to the right.

2. Domain and Range

Domain: {x ∈ R | -2.13 ≤ x ≤ 0.5}

Range: {y ∈ R | -2.98 ≤ y ≤ 1.55}

The domain is restricted to \( -2.13 \leq x \leq 0.5 \) to avoid the vertical asymptote at \( x \approx -2.84 \) and match the visible portion of the pirate ship in the photo. The left endpoint \( x=-2.13 \) aligns with the top-left corner of the ship’s hull, while the right endpoint \( x=0.5 \) aligns with the bottom-right corner.

The range corresponds to the vertical span of the curve within this domain: the maximum value (~1.55) occurs at the left endpoint, and the minimum value (~-2.98) occurs at the right endpoint. The horizontal asymptote \( y=-4.2 \) lies outside this range, so the curve never approaches it within the photo’s boundaries.

3. End Behaviour

As x → -2.13⁺, f(x) → approximately 1.55 (the highest point of the pirate ship’s visible hull, aligning with the top-left corner of the photo)

As x → 0.5⁻, f(x) → approximately -2.98 (the lowest point of the pirate ship’s visible hull, aligning with the bottom-right corner of the photo)

Since the function is restricted to the domain \( -2.13 \leq x \leq 0.5 \), there are no infinite end behaviours near the asymptote. Instead, the curve terminates cleanly at the photo’s boundaries, creating a continuous, smooth line that follows the ship’s hull exactly.

4. Zeros

To find the zero of the function, solve \( \frac{3.6}{0.88x + 2.5} - 4.2 = 0 \):
\( \frac{3.6}{0.88x + 2.5} = 4.2 \)
\( 0.88x + 2.5 = \frac{3.6}{4.2} \approx 0.857 \)
\( x \approx \frac{0.857 - 2.5}{0.88} \approx -1.87 \)

This zero falls within the domain \( -2.13 \leq x \leq 0.5 \), corresponding to the point where the pirate ship’s hull crosses the horizontal midline of the photo (visible at \( x \approx -1.87, y=0 \)).

5. Challenges

Modeling the pirate ship’s hull with a rational function presented several unique challenges:

First, avoiding the vertical asymptote was critical. The asymptote at \( x \approx -2.84 \) meant the domain had to be carefully chosen to stay on the right branch of the hyperbola, preventing the curve from spiking infinitely near the asymptote. Adjusting the left endpoint to \( -2.13 \) ensured the curve remained smooth and continuous.

Next, balancing the curve’s steepness required tuning the vertical stretch coefficient \( 3.6 \). A lower value made the curve too flat, failing to match the ship’s sharp slope, while a higher value created an overly steep curve that extended beyond the photo’s boundaries. The final value of \( 3.6 \) gave the perfect steepness to trace the hull.

Finally, aligning the curve’s vertical position with the ship’s edge required adjusting the vertical shift \( -4.2 \). This ensured the curve’s lowest point matched the ship’s bottom edge, while the horizontal shift positioned the curve to start at the ship’s top-left corner. After multiple iterations, the final equation fit the hull seamlessly.

Overall Modeling Summary

This rational function is derived from the parent function \( y = \frac{1}{x} \), with targeted transformations to replicate the curved hull of the Sunway Lagoon pirate ship. The horizontal compression/shift, vertical stretch, and vertical shift work together to match the ship’s slope, curvature, and position in the photo. The domain restriction \( -2.13 \leq x \leq 0.5 \) ensures the curve stays on the correct branch of the hyperbola and within the visible boundaries of the image. Every parameter is justified by the real-world geometry of the pirate ship, creating an accurate and contextually sound model that meets all requirements for real-world function modeling.

Quadratic Reciprocal Function

Quadratic Reciprocal Function Modeling for Sunway Lagoon Volcano - MHF4U CCT

Quadratic Reciprocal Function Modeling for the Sunway Lagoon Volcano Edge

Function 1 (Left Volcano Edge)

y = 109 / (1.19x + 1)² - 7.3 {-6 ≤ x ≤ -3.84}

1. Transformations

This is a quadratic reciprocal function, so its parent function is \( y = \frac{1}{x^2} \), a symmetric U-shaped hyperbola with two branches above the x-axis and a vertical asymptote at x=0. The transformed equation applies four key transformations to match the steep, curved left edge of the volcano:

1. Horizontal Compression & Shift: The denominator \( 1.19x + 1 \) can be rewritten as \( 1.19(x + \frac{1}{1.19}) \approx 1.19(x + 0.84) \). This compresses the graph horizontally by a factor of \( 1.19 \) (making the curve steeper) and shifts it left by \( 0.84 \) units, moving the vertical asymptote to \( x \approx -0.84 \).
2. Vertical Stretch: The numerator \( 109 \) vertically stretches the graph by a factor of \( 109 \), amplifying the curve’s steepness to match the sharp upward slope of the volcano’s left edge.
3. Vertical Shift: The constant \( -7.3 \) shifts the entire graph downward by \( 7.3 \) units, aligning the curve’s baseline with the lower part of the volcano in the photo.

Together, these transformations create a steep, upward-curving line that perfectly traces the volcano’s left edge, rising from the bottom-left corner of the visible volcano to its peak.

2. Domain and Range

Domain: {x ∈ R | -6 ≤ x ≤ -3.84}

Range: {y ∈ R | approximately -4.41 ≤ y ≤ 1.26}

The domain is restricted to \( -6 \leq x \leq -3.84 \) to stay on the left side of the volcano and avoid the vertical asymptote at \( x \approx -0.84 \), ensuring the curve remains smooth and continuous. The left endpoint \( x=-6 \) aligns with the bottom-left corner of the volcano’s visible edge, while the right endpoint \( x=-3.84 \) aligns with the volcano’s top-left peak.

The range is calculated from the function’s values at the endpoints: the minimum value (~-4.41) occurs at the left endpoint, and the maximum value (~1.26) occurs at the right endpoint, matching the vertical span of the volcano’s left edge in the photo.

3. End Behaviour

As x → -6⁺, f(x) → approximately -4.41 (the lowest point of the volcano’s left edge, aligning with the bottom-left corner of the photo)

As x → -3.84⁻, f(x) → approximately 1.26 (the highest point of the volcano’s left edge, aligning with the top-left peak of the volcano)

Since the function is restricted to this domain, there are no infinite end behaviours near the asymptote. Instead, the curve terminates cleanly at the volcano’s visible boundaries, creating a continuous line that follows the edge exactly.

4. Zeros

To find the zero of the function, solve \( \frac{109}{(1.19x + 1)^2} - 7.3 = 0 \):
\( (1.19x + 1)^2 = \frac{109}{7.3} \approx 14.93 \)
\( 1.19x + 1 \approx \pm 3.86 \)
Since the domain only includes negative x-values where \( 1.19x + 1 \) is negative, we use the negative root: \( 1.19x + 1 \approx -3.86 \), giving \( x \approx -4.08 \).

This zero falls within the domain, corresponding to the point where the volcano’s left edge crosses the horizontal midline of the photo (at \( x \approx -4.08, y=0 \)).

5. Challenges

Modeling the volcano’s left edge with a quadratic reciprocal function presented several challenges:

First, balancing the curve’s steepness required tuning the vertical stretch coefficient \( 109 \). A lower value made the curve too flat, failing to match the volcano’s sharp slope, while a higher value created an overly steep curve that extended beyond the photo’s boundaries. The final value of \( 109 \) gave the perfect steepness to trace the edge.

Next, ensuring the curve stayed away from the vertical asymptote at \( x \approx -0.84 \) was critical. By setting the right endpoint to \( x=-3.84 \), I kept the domain far enough from the asymptote to avoid any infinite spikes, keeping the curve smooth.

Finally, aligning the curve’s top endpoint with the volcano’s peak required adjusting the horizontal shift and domain range. After multiple trials, the final equation fit the left edge seamlessly, matching both the slope and the vertical position of the volcano.

Function 2 (Right Volcano Edge)

y = 40 / (0.33x + 2.5)² - 9.7 {-1.82 ≤ x ≤ 0}

1. Transformations

This quadratic reciprocal function also uses the parent function \( y = \frac{1}{x^2} \). The key transformations are:

1. **Horizontal Stretch & Shift**: The denominator \( 0.33x + 2.5 \) can be rewritten as \( 0.33(x + \frac{2.5}{0.33}) \approx 0.33(x + 7.58) \). This stretches the graph horizontally by a factor of \( \frac{1}{0.33} \approx 3 \) (making the curve gentler) and shifts it left by \( 7.58 \) units, moving the vertical asymptote to \( x \approx -7.58 \).
2. **Vertical Stretch**: The numerator \( 40 \) vertically stretches the graph by a factor of \( 40 \), adjusting the curve’s steepness to match the volcano’s right edge.
3. **Vertical Shift**: The constant \( -9.7 \) shifts the entire graph downward by \( 9.7 \) units, aligning the curve’s baseline with the lower part of the volcano on the right side.

These transformations create a smooth, upward-curving line that follows the volcano’s right edge, rising from the bottom-right corner of the visible volcano to its peak.

2. Domain and Range

Domain: {x ∈ R | -1.82 ≤ x ≤ 0}

Range: {y ∈ R | approximately -3.3 ≤ y ≤ 1.38}

The domain is restricted to \( -1.82 \leq x \leq 0 \) to match the right side of the volcano and avoid the vertical asymptote at \( x \approx -7.58 \). The left endpoint \( x=-1.82 \) aligns with the volcano’s top-right peak (matching the left function’s top endpoint for a continuous peak), while the right endpoint \( x=0 \) aligns with the bottom-right corner of the volcano’s visible edge.

The range is calculated from the function’s values at the endpoints: the minimum value (~-3.3) occurs at the right endpoint, and the maximum value (~1.38) occurs at the left endpoint, matching the vertical span of the volcano’s right edge in the photo.

3. End Behaviour

As x → -1.82⁺, f(x) → approximately 1.38 (the highest point of the volcano’s right edge, aligning with the volcano’s top-right peak)

As x → 0⁻, f(x) → approximately -3.3 (the lowest point of the volcano’s right edge, aligning with the bottom-right corner of the photo)

The curve terminates cleanly at the volcano’s visible boundaries, ensuring a continuous, smooth line that follows the right edge exactly, with no infinite behaviours near the asymptote.

4. Zeros

To find the zero of the function, solve \( \frac{40}{(0.33x + 2.5)^2} - 9.7 = 0 \):
\( (0.33x + 2.5)^2 = \frac{40}{9.7} \approx 4.12 \)
\( 0.33x + 2.5 \approx \pm 2.03 \)
Since the domain only includes x-values where \( 0.33x + 2.5 \) is positive, we use the positive root: \( 0.33x + 2.5 \approx 2.03 \), giving \( x \approx -1.42 \).

This zero falls within the domain, corresponding to the point where the volcano’s right edge crosses the horizontal midline of the photo (at \( x \approx -1.42, y=0 \)).

5. Challenges

Modeling the volcano’s right edge came with its own set of challenges:

First, matching the curve’s steepness to the left edge while accounting for the volcano’s slight asymmetry required adjusting the vertical stretch coefficient \( 40 \). A higher value made the curve too steep, while a lower value made it too flat, failing to mirror the volcano’s shape.

Next, aligning the top endpoint with the left function’s peak was critical to creating a continuous volcano shape. Tuning the left endpoint \( x=-1.82 \) ensured the curve met the left function’s peak at the same height, creating a seamless top edge.

Finally, avoiding the vertical asymptote at \( x \approx -7.58 \) required setting the domain far enough to the right, keeping the curve smooth and free of any sharp spikes. After multiple iterations, the final equation fit the right edge perfectly.

Overall Modeling Summary

This piecewise quadratic reciprocal function system uses two instances of the parent function \( y = \frac{1}{x^2} \) to model the full curved edge of the Sunway Lagoon volcano. Each function applies unique transformations (compression/stretch, shift, vertical scaling) to match the volcano’s asymmetric left and right slopes, while the restricted domains avoid the vertical asymptotes of the parent function and align with the volcano’s visible boundaries. The two curves meet at the volcano’s peak, creating a continuous, accurate outline that perfectly traces the volcano’s shape in the photo. Every parameter is justified by the real-world geometry of the volcano, meeting all requirements for precise function modeling.

Logarithmic Function

Logarithmic Function Modeling for Sunway University Chair - MHF4U CCT

Logarithmic Function Modeling for the Sunway University Chair Edge

Function 1 (Upper Chair Edge)

y = -1.5·log(-x + 2.3) + 0.4 {1 ≤ x ≤ 2.297}

1. Transformations

This is a logarithmic function, so its parent function is \( y = \log(x) \), an increasing curve with a vertical asymptote at \( x=0 \). The transformed equation applies four key transformations to match the curved upper edge of the chair:

1. Horizontal Reflection & Shift: The term \( -x + 2.3 = -(x - 2.3) \) reflects the parent function over the y-axis (reversing its increasing trend to decreasing) and shifts the graph right by 2.3 units, moving the vertical asymptote to \( x=2.3 \).
2. Vertical Stretch & Reflection: The coefficient \( -1.5 \) vertically stretches the graph by a factor of 1.5 and reflects it over the x-axis. This steepens the curve and reverses its direction, turning the decreasing log curve into an increasing one that rises as x approaches the asymptote.
3. Vertical Shift: The constant \( +0.4 \) shifts the entire graph upward by 0.4 units, aligning the curve’s baseline with the chair’s midline in the photo.

Together, these transformations create a smooth, upward-curving line that follows the chair’s upper edge, rising from the connecting point (1, 0.22908) to the chair’s top-right corner.

2. Domain and Range

Domain: {x ∈ R | 1 ≤ x ≤ 2.297}

Range: {y ∈ R | 0.229 ≤ y ≤ 4.18}

The domain is restricted to \( 1 ≤ x ≤ 2.297 \) to avoid the vertical asymptote at \( x=2.3 \) (where the function would approach infinity) and match the visible portion of the chair’s upper edge. The left endpoint \( x=1 \) aligns with the connecting point to the lower curve, while the right endpoint \( x=2.297 \) aligns with the chair’s top-right corner.

The range is determined by the function’s values at the endpoints: the minimum value (~0.229) occurs at \( x=1 \), and the maximum value (~4.18) occurs at \( x=2.297 \), matching the vertical span of the chair’s upper edge in the photo.

3. End Behaviour

As x → 1⁺, f(x) → 0.22908 (the connecting point with the lower chair edge, ensuring a smooth continuous curve)

As x → 2.297⁻, f(x) → approximately 4.18 (the highest point of the chair’s visible upper edge, aligning with the top-right corner of the photo)

Since the domain is restricted, the curve does not approach the vertical asymptote at \( x=2.3 \). Instead, it terminates cleanly at the chair’s visible boundaries, creating a continuous line that follows the upper edge exactly.

4. Zeros

To find the zero of the function, solve \( -1.5\log(-x + 2.3) + 0.4 = 0 \):
\( \log(-x + 2.3) = \frac{0.4}{1.5} \approx 0.267 \)
\( -x + 2.3 = 10^{0.267} \approx 1.85 \)
\( x \approx 0.45 \)

This solution falls outside the domain \( 1 ≤ x ≤ 2.297 \), so there are no zeros within the visible segment of the curve. All y-values in this range are positive, matching the chair’s upper edge which does not cross the horizontal midline of the photo.

5. Challenges

Modeling the chair’s upper edge with a logarithmic function required careful tuning to avoid the asymptote and match the chair’s shape:

First, balancing the curve’s steepness required adjusting the vertical stretch coefficient \( 1.5 \). A lower value made the curve too flat, failing to match the chair’s upward slope, while a higher value created an overly steep curve that diverged from the edge.

Next, aligning the left endpoint with the lower curve’s connecting point (1, 0.22908) was critical to creating a continuous chair outline. Tuning the vertical shift \( +0.4 \) ensured the curve’s value at \( x=1 \) matched the lower curve exactly.

Finally, restricting the domain to \( 2.297 \) instead of the asymptote at \( 2.3 \) prevented the curve from spiking infinitely, keeping it smooth and contained within the photo’s boundaries. After multiple iterations, the final equation fit the upper edge seamlessly.

Function 2 (Lower Chair Edge)

y = 0.775·log(4x + 5) - 0.5 {-1.1 ≤ x ≤ 1}

1. Transformations

This logarithmic function also uses the parent function \( y = \log(x) \). The key transformations are:

1. **Horizontal Compression & Shift**: The term \( 4x + 5 = 4(x + 1.25) \) compresses the graph horizontally by a factor of 4 (making the curve steeper) and shifts it left by 1.25 units, moving the vertical asymptote to \( x = -1.25 \).
2. **Vertical Stretch**: The coefficient \( 0.775 \) vertically stretches the graph by a factor of 0.775, adjusting the curve’s steepness to match the chair’s lower edge.
3. **Vertical Shift**: The constant \( -0.5 \) shifts the entire graph downward by 0.5 units, aligning the curve’s baseline with the lower part of the chair in the photo.

These transformations create a smooth, increasing logarithmic curve that follows the chair’s lower edge, rising from the bottom-left corner of the chair to the connecting point (1, 0.22908).

2. Domain and Range

Domain: {x ∈ R | -1.1 ≤ x ≤ 1}

Range: {y ∈ R | -0.67 ≤ y ≤ 0.229}

The domain is restricted to \( -1.1 ≤ x ≤ 1 \) to avoid the vertical asymptote at \( x=-1.25 \) and match the visible portion of the chair’s lower edge. The left endpoint \( x=-1.1 \) aligns with the chair’s bottom-left corner, while the right endpoint \( x=1 \) aligns with the connecting point to the upper curve.

The range is determined by the function’s values at the endpoints: the minimum value (~-0.67) occurs at \( x=-1.1 \), and the maximum value (~0.229) occurs at \( x=1 \), matching the vertical span of the chair’s lower edge in the photo.

3. End Behaviour

As x → -1.1⁺, f(x) → approximately -0.67 (the lowest point of the chair’s visible lower edge, aligning with the bottom-left corner of the photo)

As x → 1⁻, f(x) → 0.22908 (the connecting point with the upper chair edge, ensuring a smooth continuous curve)

The curve terminates cleanly at the chair’s visible boundaries, avoiding the vertical asymptote at \( x=-1.25 \) and creating a continuous line that follows the lower edge exactly.

4. Zeros

To find the zero of the function, solve \( 0.775\log(4x + 5) - 0.5 = 0 \):
\( \log(4x + 5) = \frac{0.5}{0.775} \approx 0.645 \)
\( 4x + 5 = 10^{0.645} \approx 4.41 \)
\( x \approx -0.15 \)

This zero falls within the domain \( -1.1 ≤ x ≤ 1 \), corresponding to the point where the chair’s lower edge crosses the horizontal midline of the photo (visible at \( x \approx -0.15, y=0 \)).

5. Challenges

Modeling the chair’s lower edge came with its own set of challenges:

First, aligning the curve’s steepness with the chair’s gentle slope required adjusting the vertical stretch coefficient \( 0.775 \). A higher value made the curve too steep, while a lower value made it too flat, failing to match the chair’s natural curve.

Next, ensuring the right endpoint matched the upper curve’s connecting point (1, 0.22908) was critical to creating a continuous chair outline. Tuning the vertical shift \( -0.5 \) ensured the curve’s value at \( x=1 \) matched the upper curve exactly.

Finally, restricting the domain to \( -1.1 \) instead of the asymptote at \( -1.25 \) prevented the curve from spiking infinitely, keeping it smooth and contained within the photo’s boundaries. After multiple iterations, the final equation fit the lower edge perfectly.

Overall Modeling Summary

This piecewise logarithmic function system uses two instances of the parent function \( y = \log(x) \) to model the full curved edge of the Sunway University chair. Each function applies unique transformations (reflection, compression, shift, vertical scaling) to match the chair’s asymmetric upper and lower slopes, while the restricted domains avoid the vertical asymptotes of the parent function and align with the chair’s visible boundaries. The two curves meet at the connecting point (1, 0.22908), creating a continuous, accurate outline that perfectly traces the chair’s shape in the photo. Every parameter is justified by the real-world geometry of the chair, meeting all requirements for precise function modeling.

Quadratic Function

Functions in the Real World - MHF4U CCT

Quadratic Function Modeling for Real-World Curved Shape

Function 1 (Left Segment)

y = -0.012(x + 0.17)² + 0.57 {-3.12 ≤ x ≤ 0}

1. Transformations

This is a quadratic function, so its parent function is y = x². The transformed equation applies several key changes to the parent graph:

1. The coefficient -0.012 reflects the parabola over the x-axis (opening it downward) and vertically compresses the curve significantly, creating the gentle, flat arc of the building’s left edge.
2. The (x + 0.17) term shifts the entire parabola 0.17 units to the left, adjusting the vertex position to align with the curve's natural peak in the photo.
3. The constant +0.57 shifts the graph upward by 0.57 units, moving the vertex from the origin (0,0) to (-0.17, 0.57).

This combination creates a slow, downward-opening curve that follows the left half of the building's curved roofline.

2. Domain and Range

Domain: {x ∈ R | -3.12 ≤ x ≤ 0}

Range: {y ∈ R | 0.466 ≤ y ≤ 0.57}

The domain is restricted to -3.12 to 0 to match the left half of the building's visible edge. The range starts at the minimum y-value (≈0.466 at x=-3.12) and peaks at the vertex value 0.57 at x=0, which connects to the middle segment.

3. End Behaviour

As x → -3.12⁺, f(x) → 0.466

As x → 0⁻, f(x) → 0.57

The left endpoint at x=-3.12 aligns with the building's far-left edge, while the right endpoint at x=0 connects smoothly to the middle function at the shared point (0, 0.57).

4. Zeros

The full parabola has zeros at approximately x ≈ -7.06 and x ≈ 6.72, but these lie far outside the restricted domain of this segment. There are no zeros within {-3.12 ≤ x ≤ 0}.

5. Challenges

The biggest challenge was balancing the curve's flatness with the need to connect perfectly to the middle segment at (0, 0.57). I tested multiple vertical compression coefficients (from -0.008 to -0.015) to avoid making the arc too steep, and adjusted the horizontal shift (+0.17) repeatedly to match the slight asymmetry of the building's curve.

Function 2 (Middle Segment)

y = -0.06x² + 0.57 {0 ≤ x ≤ 0.5}

1. Transformations

This quadratic function is also derived from the parent function y = x². The key transformations are:

1. The coefficient -0.06 reflects the parabola over the x-axis (opening downward) and applies a moderate vertical compression. This coefficient is larger than the first segment’s, creating a steeper, more noticeable curve that matches the building’s central arch.
2. The constant +0.57 shifts the graph upward by 0.57 units, placing the vertex at (0, 0.57) to connect with the left segment.

This creates a short, smooth downward arc that bridges the left and right segments of the building's edge.

2. Domain and Range

Domain: {x ∈ R | 0 ≤ x ≤ 0.5}

Range: {y ∈ R | 0.555 ≤ y ≤ 0.57}

The domain is restricted to 0 to 0.5 to model the central, more curved part of the building. The range runs from the vertex height 0.57 at x=0 down to 0.555 at x=0.5, which connects to the right segment.

3. End Behaviour

As x → 0⁺, f(x) → 0.57

As x → 0.5⁻, f(x) → 0.555

The left endpoint at x=0 matches the right endpoint of the first segment, and the right endpoint at x=0.5 aligns with the start of the third segment, ensuring a continuous curve.

4. Zeros

The full parabola has zeros at approximately x ≈ ±3.08, but these are far outside the domain {0 ≤ x ≤ 0.5}. There are no zeros within this segment’s range.

5. Challenges

The main challenge was ensuring this segment connected perfectly to both adjacent functions. I adjusted the coefficient from -0.04 to -0.08 until x=0.5 gave exactly y=0.555, matching the third segment’s starting point. I also needed to balance the curve’s steepness to match the building’s central arch without creating a sharp "kink" with the left segment.

Function 3 (Right Segment)

y = -0.025(x + 0.17)² + 0.5662 {0.5 ≤ x ≤ 3.42}

1. Transformations

This quadratic function uses the parent function y = x², with the following transformations:

1. The coefficient -0.025 reflects the parabola over the x-axis (opening downward) and vertically compresses the curve. This coefficient is between the first and second segments, creating a moderate arc that matches the right half of the building's edge.
2. The (x + 0.17) term shifts the parabola 0.17 units left, aligning its vertex with the building's subtle right-side curve.
3. The constant +0.5662 shifts the graph upward, adjusting the vertex height to ensure the curve connects to the middle segment at (0.5, 0.555).

This creates a smooth, downward-opening arc that follows the building's right edge from the central point to the far-right boundary.

2. Domain and Range

Domain: {x ∈ R | 0.5 ≤ x ≤ 3.42}

Range: {y ∈ R | 0.244 ≤ y ≤ 0.555}

The domain is restricted to 0.5 to 3.42 to match the right half of the building's visible edge. The range starts at the connecting point y=0.555 and decreases to ≈0.244 at the far-right edge of the photo.

3. End Behaviour

As x → 0.5⁺, f(x) → 0.555

As x → 3.42⁻, f(x) → 0.244

The left endpoint at x=0.5 connects perfectly to the middle segment, while the right endpoint at x=3.42 aligns with the building's far-right visible edge.

4. Zeros

The full parabola has zeros at approximately x ≈ 4.59 and x ≈ -4.93, but these lie far outside the domain {0.5 ≤ x ≤ 3.42}. There are no zeros within this segment's range.

5. Challenges

I struggled to match the right segment's arc to both the building's shape and the middle segment's endpoint. I adjusted the vertical shift (+0.5662) multiple times to ensure x=0.5 gave exactly y=0.555, and tested different compression coefficients to balance the curve's steepness with the building's subtle right-side arch. The final coefficient (-0.025) gave the most natural-looking match.

Overall Modeling Summary

This piecewise quadratic function system is built entirely from the parent function y = x², with targeted reflections, vertical compressions, horizontal/vertical shifts to model a continuous real-world curved shape. All three segments are seamlessly connected at the key points (0, 0.57) and (0.5, 0.555), with domain restrictions precisely matched to the visible boundaries of the real image (-3.12 ≤ x ≤ 3.42).

Each transformation was intentionally chosen to replicate the curve's natural asymmetry and varying steepness, rather than using trial and error alone. The domain and range are fully justified by the real-world context, with no gaps or overlaps between segments. This piecewise model accurately and realistically represents the curved structure in the original image, meeting all the requirements for precise function modeling in the real world.