document.write( "Question 1204997: The graph shows part of a sine function of the form y = A sin B(x + C) + D. Determine the values of A, B, C, and D.
\n" ); document.write( "https://i.ibb.co/qyG5rc1/p.jpg
\n" ); document.write( "

Algebra.Com's Answer #841583 by math_tutor2020(3817)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "One of the sine templates is
\n" ); document.write( "y = A*sin( B(x + C) ) + D
\n" ); document.write( "which is what your teacher gave you.
\n" ); document.write( "Another template is
\n" ); document.write( "y = A*sin( Bx + C ) + D
\n" ); document.write( "which is slightly different. I'll stick to the first template.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The key parameters are:
\n" ); document.write( "|A| = amplitude
\n" ); document.write( "B = used to determined the period
\n" ); document.write( "C = used to determine horizontal phase shift
\n" ); document.write( "D = used to determine vertical shift\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The highest and lowest points occur when y = 7 and y = -3 respectively.
\n" ); document.write( "The gap between those y values is 10 units.
\n" ); document.write( "Count the spaces, or subtract and use absolute value, to determine this gap.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The curve is 10 units tall. Half of which is 10/2 = 5, and this is the amplitude.
\n" ); document.write( "It's the vertical distance from the horizontal midline to either peak or valley.
\n" ); document.write( "This leads to |A| = 5.
\n" ); document.write( "So either A = 5 or A = -5.
\n" ); document.write( "Either value will work. Let's go with A = 5 for simplicity.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "One of the lowest points on this curve is at (0,-3)
\n" ); document.write( "One max point occurs at (2pi, 7)
\n" ); document.write( "Going from valley to neighboring peak is a horizontal distance of 2pi units.
\n" ); document.write( "This represents 1/2 of the full period, so the full period is 2*2pi = 4pi units.
\n" ); document.write( "The curve repeats itself every 4pi units along the x axis. \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "T = 4pi = period
\n" ); document.write( "T = 2pi/B
\n" ); document.write( "B = 2pi/T
\n" ); document.write( "B = (2pi)/(4pi)
\n" ); document.write( "B = 1/2\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The parent sine function y = sin(x) maxes out when x = pi/2.
\n" ); document.write( "According to this graph, one max is when x = 2pi.
\n" ); document.write( "This is a gap of 2pi - pi/2 = 3pi/2
\n" ); document.write( "So what happened is that the parent sine curve had been shifted 3pi/2 units to the right.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Let's return to the idea that the max and min occur when y = 7 and y = -3 respectively.
\n" ); document.write( "Add those y coordinates up and divide by 2 so we can get the midpoint.
\n" ); document.write( "(7+(-3))/2 = 4/2 = 2
\n" ); document.write( "The midline is y = 2 which leads to D = 2
\n" ); document.write( "This is how much we shift the parent function upward. \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The last thing we need is C.
\n" ); document.write( "Let's plug in those previous values along with the coordinates of the min (0,-3) so we can solve for C.
\n" ); document.write( "y = A*sin( B(x + C) ) + D
\n" ); document.write( "-3 = 5*sin( 0.5(0 + C) ) + 2
\n" ); document.write( "-3 = 5*sin(0.5C) + 2
\n" ); document.write( "-3-2 = 5*sin(0.5C)
\n" ); document.write( "-5 = 5*sin(0.5C)
\n" ); document.write( "sin(0.5C) = -5/5
\n" ); document.write( "sin(0.5C) = -1
\n" ); document.write( "0.5C = arcsin(-1)
\n" ); document.write( "0.5C = -pi/2
\n" ); document.write( "(1/2)C = -pi/2
\n" ); document.write( "C = 2*(-pi/2)
\n" ); document.write( "C = -pi\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Answers:
\n" ); document.write( "A = 5
\n" ); document.write( "B = 1/2
\n" ); document.write( "C = -pi
\n" ); document.write( "D = 2\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Confirmation using Desmos which is a graphing tool.
\n" ); document.write( "https://www.desmos.com/calculator/yuzs46tz03
\n" ); document.write( "GeoGebra is another graphing tool that I recommend.
\n" ); document.write( "
\n" ); document.write( "
\n" );