Sinusoidal functions: crash course
about 12 min to listen9 lessons13 questions to tryUnit 6 of 11
Short view. Each lesson's rule, its steps and its trap. Switch to Full for a worked example and a question to try in every lesson.Full view. Each lesson's rule, its steps, one worked example with Watch it solved, the trap, and one question to try.
Starts here no skill from another unit needed first
1 A sinusoidal function is a repeating wave
The rule
a sine wave is written , and a cosine wave is written .
For a nonconstant wave, ; use after rewriting signs. The inside input is in radians. Read as omega and as phi. A coefficient is a multiplier; is the coefficient of x. A parameter is a fixed setting such as A, or B. T labels the period and h labels the signed horizontal shift. The subscript max means highest output and min means lowest output.
How
- Name the wave as sine or cosine.
- Read the number multiplying the whole wave, A.
- Read the coefficient of x inside, ω, and match the inside to ωx − φ.
- Read the number added after the wave, B.
- Use the next lessons to translate these parameters into distances.
Worked example
Worked example
Follow one unshifted sine cycle
The input is an angle in radians. Find the five turning and crossing heights of y = sin x in one full cycle, then see where they repeat.
Show the steps and the answer
- Read the sine table at : .Sine is the vertical coordinate on the unit circle, whose starting point has height 0.
- At ; at .A quarter turn reaches the top of the circle, and a half turn returns to height 0.
- At ; at .Three quarters of a turn reaches the bottom, and a full turn reaches the start.
- At , the output is 1 again.The extra 2π is one full turn, which returns to the same circle point before the quarter turn.
- One cycle runs from x = 0 to x = 2π.
- The heights at the five key points are shown in the table.
- The pattern then repeats.
The trap
Do not call every periodic function sinusoidal. Repeating stair steps repeat too, but they are not sine or cosine waves.
2 Amplitude measures height, not direction
The rule
amplitude .
It is the distance from the midline to an extreme, not the full height. Negative A reflects the wave vertically.
How
- Read A, the entire outside multiplier, including its sign.
- Use |A| for the amplitude.
- If heights are given instead, subtract minimum from maximum and divide by 2.
- Keep A's sign when drawing which part of the cycle rises or falls.
Worked example
Worked example
Amplitude when the outside multiplier is negative
Find A and the amplitude of y = −9 sin(x) + 2. The midline is y = 2, and one cycle runs from x = 0 to x = 4, with lowest point (1, −7) and highest point (3, 11). Confirm the amplitude from those two heights, then say whether the graph falls or rises first as it leaves (0, 2). The figure shows the midline with the five key points (0, 2), (1, −7), (2, 2), (3, 11) and (4, 2).
Show the steps and the answer
- Read the outside multiplier of : .A is the entire number multiplying the sine, sign included. The inside the sine and the + 2 added at the end are not part of it.
- Take the absolute value: amplitude .Amplitude is a distance from the midline to an extreme, and a distance cannot be negative, so the sign is dropped when measuring the size of the wave.
- Confirm with the heights. The highest point (3, 11) gives and the lowest point gives , so amplitude .Subtracting the minimum from the maximum gives the full height, 18, which is two amplitudes: one below the midline and one above. Dividing by 2 leaves one amplitude, and it matches |A|.
- Measure from the midline : up to the top is , and down to the bottom is .The amplitude runs from the midline to an extreme, not from bottom to top, so each of these distances must be 9. The full height 18 is not the amplitude.
- Bring the sign back for the shape. At , so the graph leaves (0, 2) going down to , comes back to (2, 2), climbs to (3, 11) and returns to (4, 2).With A = 9 the graph would rise first, to (1, 11). The negative A reflects the wave vertically across the midline, so the fall comes first and the rise second. Only the direction changes; the size stays 9.
Work to write
- amplitude = |A| = |−9| = 9
- = = = 9
- 11 − 2 = 9 and 2 − (−7) = 9
- A is negative, so the graph falls first from (0, 2) to (1, −7), then rises to (3, 11)
The trap
Do not report maximum-minus-minimum as the amplitude. It contains two amplitude distances.
3 Period measures the width of a repeat
The rule
for and .
Use adjacent matching stages of the wave to read T from a graph. T is a positive repeat distance, and h will name a signed horizontal shift.
How
- Read ω, the coefficient of x inside.
- Divide 2π by that positive coefficient.
- If T is given instead, divide 2π by T to find ω.
- Plug back into ωT = 2π.
Worked example
Worked example
Four times the input runs four times as fast
Find the period of y = sin(4x). This asks how far x moves before the entire shape repeats.
Show the steps and the answer
- The inside input needs to advance by for one full sine cycle.That is one full turn.
- Set to find the horizontal distance that produces this inside change.Changing x by T changes 4x by 4T.
- Divide by 4: .Division undoes multiplication and finds the needed distance.
- Plug back: .The distance really does send the inside through exactly one turn.
The trap
ω is not the period. It is the multiplier that determines the period.
4 Phase shift: why minus inside moves right
The rule
, with .
Factor . h > 0 moves right; h < 0 moves left; gives no horizontal shift. We name the signed horizontal slide h.
How
- Match the entire inside input to ωx − φ, including the sign of φ.
- Set the inside input equal to 0 to locate the chosen cycle start.
- Undo the subtraction, then divide by the positive coefficient of x.
- Plug the answer back into the inside and confirm 0.
- State the distance and direction separately.
Worked example
Worked example
Subtract 1 inside
Compare sin(x − 1) with sin x. Find where the original inside input 0 now happens. This asks where the original starting point moves.
Show the steps and the answer
- The basic sine has inside input 0 at .Its starting height is sin 0 = 0.
- Set to find where the shifted formula receives that same inside input.Matching the inside input matches the stage of the sine motion.
- Add 1 to both sides: .Adding undoes subtraction and locates the shifted starting point.
- Plug back: .The new input 1 does feed the original sine input 0.
- For any old input u, choose ; then .This shows every point moves right 1, not only the starting point.
The trap
Do not read the phase shift as φ alone. First translate from inside units to x-units by dividing by ω.
Quick check
Try it before you open its steps. It is question 3 of 5 in the full lesson, where they run from easy to exam-hard.
Try it · level 3 of 5
Divide the inside subtraction by its speed
Find the phase shift of sin(2x − π). This asks how much the graph slides relative to sin(2x).
Show the steps and the answer
- Match to : and .The subtracted number is not yet the x-distance.
- Set to locate the selected cycle start.The sine receives inside input 0 at that horizontal position.
- Add : . Divide by 2: .You undo the subtraction and then the input multiplier.
- Plug back: .The proposed x gives the intended inside input.
- Factor: .The form x − h displays the horizontal distance h.
5 One cycle: solve the inside-input inequality
The rule
gives , where and , provided .
How
- Write 0 ≤ the entire inside input ≤ 2π.
- Undo addition or subtraction in all three parts.
- Undo multiplication by dividing all three parts by positive ω.
- Plug both endpoints back into the inside; get 0 and 2π.
- Subtract start from end to get the period.
Worked example
Worked example
The basic cycle
Find one cycle interval of y = sin x using the inside input from 0 to 2π. This asks for the horizontal beginning and end.
Show the steps and the answer
- The inside is x, so .The base sine completes one turn as its inside moves through that interval.
- The selected start is and end is .These inputs send the inside to its required endpoints.
- Plug back: at the inside is 0; at the inside is .Both endpoints match the desired stages.
- Length .A horizontal distance is right endpoint minus left endpoint.
- One cycle: [0, 2π]
- Phase shift = 0
- Period = 2π
The trap
Matching endpoint heights alone does not prove a full cycle. A sine wave also has equal heights half a cycle apart, but it then moves in the opposite direction.
Quick check
Try it before you open its steps. It is question 2 of 4 in the full lesson, where they run from easy to exam-hard.
Try it · level 2 of 4
Speed up the inside
Find one cycle interval of sin(2x). Find the two x-values that make the inside run from 0 to 2π.
Show the steps and the answer
- Write .This restricts the inside input to one full turn.
- Divide all three parts by positive 2: .Positive division preserves their order.
- Plug back: and .The endpoints produce a full inside cycle.
- Length .Subtracting endpoints measures the width.
- One cycle: [0, π]
- Period = π
6 Midline, maximum, minimum and range
The rule
midline , with .
Minimum ; maximum . Range: .
How
- Find the center B from the outside addition or the average of the extremes.
- Find the positive amplitude |A|.
- Subtract the amplitude from B for the minimum.
- Add the amplitude to B for the maximum.
- Write the midline as an equation and the range as an included interval.
Worked example
Worked example
A reflected wave above a new center
Find the midline and range of y = −3 sin x + 1. This asks for the center line and every possible output height.
Show the steps and the answer
- , so the midline is .The outside addition raises every height by 1.
- .The negative multiplier reflects the wave, but the distance is positive.
- Minimum .Move 3 below the center.
- Maximum .Move 3 above the center.
- The range is , including both endpoints.The sine wave passes continuously through every height between its attained extremes.
- Midline: y = 1
- Range: [−2, 4]
The trap
The Domain is the input set; the Range is the output set. A transformed sine or cosine still accepts every real x, while its output heights are bounded.
7 Read all four features, including unusual signs
The rule
rewrite negative inside speed first: ; .
Then amplitude |A|, period , phase shift , and midline .
How
- If the x-coefficient inside is negative, factor out −1 from the whole inside.
- Use the cosine even rule or sine odd rule.
- Match A, ω, φ and B, keeping signed quantities.
- Compute each feature on its own line.
- Plug the shift into the original and rewritten inside and check the range.
Worked example
Worked example
Two minus signs that cancel: y = −10 sin(−x + ) − 5
Find the amplitude, period, phase shift and midline of y = −10 sin(−x + ) − 5. Say which way the graph is shifted and whether it is reflected. Then check the shift in both the original and the rewritten inside, and check the range. The figure shows the midline y = −5 of the finished graph with the five key points of one cycle: (3, −5), (7.5, 5), (12, −5), (16.5, −15) and (21, −5). Your answers should agree with it.
Show the steps and the answer
- Look inside the sine. The x-coefficient is , which is negative. Factor out of the whole inside: .The rule removes a negative speed before any feature is read. The −1 must come out of both terms, so + becomes − inside the brackets. Multiplying back out gives −x + again, so only the form has changed. Writing −(x + ) instead would wrongly send the shift to the left.
- Let , so . Sine is odd, so and . The rewritten function is .The odd rule moves the inner minus sign to the front, where it multiplies the −10. Two negatives make a positive, so the coefficient in front becomes +10. The − 5 outside the sine is not affected.
- Match with . This gives and .All four features are read from the rewritten form, where the speed is positive. φ is the amount subtracted from ωx, so φ = +. The constant outside the sine is − 5, so B = −5 with its sign kept.
- Amplitude . Because is positive, the graph is not reflected.Amplitude is the height from the midline to a peak, so it is the absolute value of A. The −10 in the original only looked like a reflection, because the minus sign from sin(−u) cancelled it.
- Period .One sine cycle is complete when the inside has grown by 2π. The inside grows by for each unit of x, so a cycle takes 18 units of x.
- Phase shift . The shift is positive, so the graph is shifted 3 units to the right.x − = (x − 3), so the cycle that normally starts at x = 0 now starts at x = 3. A positive phase shift means right and a negative one means left.
- Midline: .B lowers the whole graph by 5, so the curve rises and falls by equal amounts about the horizontal line y = −5.
- Put into both insides. Original: . Rewritten: . Then .The phase shift is where a cycle starts, so the inside must equal 0 there. Getting 0 in the original form as well as the rewritten one confirms both the factoring and the direction of the shift. y = −5 shows that the start point lies on the midline.
- Range: , so , which gives . In the original, gives the inside , so . Also gives the inside , so .The value of sin stays between −1 and 1, so y stays within |A| = 10 of the midline. The maximum 5 comes a quarter period after the start (3 + 4.5 = 7.5), and the minimum −15 comes three quarters of the way through (3 + 13.5 = 16.5). The graph rises first, as an unreflected sine should.
- Rewritten, the function is y = 10 sin(x − ) − 5. Amplitude 10
- period 18
- phase shift 3, so the graph is shifted 3 units to the right
- midline y = −5. The graph is not reflected, because the minus in −10 cancels the minus from sin(−u) = −sin u. Its range is −15 ≤ y ≤ 5.
Work to write
- sin(−u) = −sin u, so −10 sin(−u) = 10 sin u
- Amplitude = |10| = 10; not reflected
- Period = 2π ÷ = 18
- Phase shift = ÷ = 3, so 3 units to the right
- Midline: y = −5
- x = 3: − + = 0 and − = 0
- Range: −15 ≤ y ≤ 5
The trap
The chosen cycle start is an upward crossing for positive-A sine and a peak for positive-A cosine. Negative A reverses those starting features.
Quick check
Try it before you open its steps. It is question 3 of 5 in the full lesson, where they run from easy to exam-hard.
Try it · level 3 of 5
Cosine with a negative fractional speed: fractions in both inside positions
Find the amplitude, period, phase shift and midline of y = 5 cos(−x + ) + 2. Say which way the graph is shifted. Then check the shift in both the original and the rewritten inside, and check the range. The figure is drawn from the answer and shows the midline and the five key points of one cycle.
Show the steps and the answer
- The x-coefficient is negative, so factor out of the whole inside: .The period and shift formulas need a positive speed ω. The −1 comes out of both terms, so the constant changes sign too: + becomes − inside the bracket. Expanding −(x − ) gives back −x + , so the function has not changed.
- Use the cosine even rule with : .Cosine is even. On the unit circle the angles u and −u are mirror images across the x-axis, so they share the same x-coordinate, and that x-coordinate is the cosine. The minus in front of the bracket drops and the 5 stays 5. Only a sine would change A, because sin(−u) = −sin u.
- Match with : .The pattern has a minus in front of φ, so the − in the bracket means φ = +. Keeping that sign decides the direction of the shift.
- Amplitude: .The amplitude is the vertical distance from the midline to a maximum, and a distance is never negative.
- Period: .Dividing by the fraction means multiplying by its reciprocal . The π cancels, leaving 2 × 8 = 16. One full cycle covers 16 units of x.
- Phase shift: . It is positive, so the graph is shifted 6 units to the right.Both positions hold fractions, so again multiply by the reciprocal of ω. The π cancels and × 8 = 6. In y = A cos(ωx − φ) + B a positive means a shift to the right. The factored form x − = (x − 6) shows the same thing.
- Midline: .The + 2 is added outside the cosine, so every point of the graph is lifted by 2 and the graph swings evenly about the line y = 2.
- Plug the shift into both insides. Original: . Rewritten: . At that point .A cosine cycle starts where its inside is 0. Both insides are 0 at the same x, which shows the rewrite kept the function the same. The value y = 7 = B + |A| shows the cycle starts at a maximum, as a cosine cycle should.
- Check the range: cosine runs from to 1, so y runs from to , giving .The graph reaches |A| above and |A| below the midline: 2 + 5 = 7 and 2 − 5 = −3. The top value 7 agrees with the maximum found at x = 6.
- Amplitude 5
- period 16
- phase shift 6 units to the right
- midline y = 2. The rewritten form is y = 5 cos(x − ) + 2, and the range is −3 ≤ y ≤ 7.
Work to write
- cos(−u) = cos u, so y = 5 cos(x − ) + 2
- Amplitude = |5| = 5
- Period = 2π ÷ = 2π × = 16
- Phase shift = ÷ = × = 6, so 6 units to the right
- Midline: y = 2
- x = 6: original inside −(6) + = 0; rewritten inside (6) − = 0
- Range: 5(−1) + 2 = −3 to 5(1) + 2 = 7, so −3 ≤ y ≤ 7
8 Build an equation from a graph
The rule
.
Choose h at an upward middle crossing for sine or a peak for cosine.
How
- Read the maximum and minimum, then find positive A and B.
- Read T between adjacent matching stages.
- Compute ω = 2π ÷ T.
- Choose sine at an upward middle crossing or cosine at a peak; read h.
- Compute φ = ωh and substitute h back into the inside.
- Check points one quarter period apart.
Worked example
Worked example
A centered cosine graph
A smooth cosine-shaped graph has maximum 1, minimum −1 and adjacent peaks at x = 0 and x = 2π. Write one equation. You are converting the pictured heights and repeat width into a rule.
Show the steps and the answer
- Amplitude ; .Half-difference gives size, and average gives center.
- , so .Adjacent peaks mark one full cycle.
- Choose positive cosine with , the first peak.Positive cosine reaches its maximum when its inside is 0.
- φ = ωh = 1 × 0 = 0; plug back: .The peak's x-coordinate gives the inside start after converting h to φ.
- Write .All four parameters are now fixed.
The trap
A graph alone does not force a unique phase shift. State which sine or cosine start you chose and check that the equation reproduces the pictured stages.
Quick check
Try it before you open its steps. It is question 2 of 4 in the full lesson, where they run from easy to exam-hard.
Try it · level 2 of 4
Raised cosine graph
A graph has maximum 9, minimum 3, and adjacent peaks at x = 0 and x = 8. Write a positive cosine equation. This asks for the wave's size, center and repeat width, with its peak placed at input 0.
Show the steps and the answer
- and .Choose positive A so a peak is the cosine start.
- , so .The two peaks enclose one full inside turn.
- , so . At , the inside is 0.The first peak is at the standard cosine start.
- Write .Combine size, speed, position and center.
9 Build and check a daylight model
The rule
for a fitted positive-A sine wave, .
Choose h near a rising middle crossing and compare predictions with observations.
How
- Define the time input and the output units.
- Draw the table and plot the observed points.
- Read the observed maximum, minimum and repeating interval.
- Choose a suitable sine crossing or cosine peak.
- Assemble the model and check several months.
- Repeat the observation pattern by T for the requested longer plot.
Worked example
Worked example
Model rung 1: one exact repeating table
A synthetic repeating table is shown. The first zero crossing is upward, and the next matching crossing is at t = 4. Write a sine model. This asks for a rule that follows the recorded rise and fall.
Show the steps and the answer
- Read the high output 1 and low output . ; .Half the span gives height distance; half the sum gives center.
- , so .Adjacent upward crossings give the full repeat width.
- Choose positive sine at h = 0. φ = ωh = 0. Plug back: .This puts the inside start at the recorded rising center crossing.
- Write . Read the columns under 1 and 3: the inside angles are and , giving 1 and .The quarter-turn values reproduce the two recorded extremes.
- Amplitude = 1
- Period = 4
- Midline: y = 0
The trap
Do not confuse an observed height with a model prediction. The instructor's formula approximates the table and does not exactly place every observed extreme in its recorded month.
Quick check
Try it before you open its steps. It is question 2 of 3 in the full lesson, where they run from easy to exam-hard.
Try it · level 2 of 3
Model rung 2: a raised repeating height
The synthetic table shows a peak at t = 0, a low at t = 5, and the next peak at t = 10. Write a positive cosine model. This asks for its center, size and repeating timing.
Show the steps and the answer
- ; .The largest and smallest outputs in the picture set the amplitude and center.
- ; .Peak to next peak measures a complete repeat.
- Choose cosine with ; . At the inside is 0.Positive cosine starts at the chosen peak.
- Write . At , the inside is , so .The independent half-period check reproduces the recorded minimum.
- Amplitude = 5
- Period = 10
- Midline: y = 12
10 Quick checks for the whole unit
Quick check 1 of 8
For y = 2 sin(3x − π) + 5, find amplitude, period, phase shift and midline.
Show the steps and the answer
- Amplitude = 2
- Period =
- Phase shift = right
- Midline: y = 5
- Reason: use |A|, , and y = B.
Quick check 2 of 8
For y = 6 cos(2x + ), find the phase shift.
Show the steps and the answer
- left.
- Reason: φ = −, so h = φ ÷ 2 = −. Substitution gives inside 0.
Quick check 3 of 8
A wave has maximum 10 and minimum 2. Find its amplitude and midline.
Show the steps and the answer
- Amplitude = 4
- Midline: y = 6
- Reason: half the difference gives distance; half the sum gives center.
Quick check 4 of 8
Find the range of y = −3 sin x + 1.
Show the steps and the answer
- Reason: the center is 1 and the positive amplitude is 3, so the endpoints are 1 − 3 and 1 + 3.
Quick check 5 of 8
The period is 8. What is positive ω?
Show the steps and the answer
- Reason: ω = 2π ÷ 8, and 8 × = 2π.
Quick check 6 of 8
Why does sin(x − 1) move right 1?
Show the steps and the answer
Quick check 7 of 8
Rewrite sin(−2x + π) with a positive coefficient of x inside.
Show the steps and the answer
- Reason: −2x + π = −(2x − π), and sine reverses sign when its whole input reverses.
Quick check 8 of 8
Does the instructor's daylight model exactly reproduce April's 13.27 hours?