Quarry School

Trigonometry / Sinusoidal functions

Sinusoidal functions

Subject: Mathematics

All 9 lessons, in order.

The unit at a glance

  1. A sinusoidal function is a repeating wave

    Picture a mark on the rim of a Ferris wheel.

  2. Amplitude measures height, not direction

    Imagine a swing moving the same distance to either side of its resting place.

  3. Period measures the width of a repeat

    Think of a repeating alarm that sounds once every eight minutes.

  4. Phase shift: why minus inside moves right

    Picture a music player whose song starts when its counter reads 0.

  5. One cycle: solve the inside-input inequality

    Think of a recipe that runs from its first instruction to its last.

  6. Midline, maximum, minimum and range

    Imagine a Ferris wheel standing on a platform.

  7. Read all four features, including unusual signs

    Think of packing four labels on a moving wheel: size, repeat time, starting position and center height.

  8. Build an equation from a graph

    Think of rebuilding a Ferris wheel from a picture and a timing record.

  9. Build and check a daylight model

    Think of drawing a smooth line through a year's calendar of daylight measurements.

Rules (9)
  • A sinusoidal function is a repeating wave

    a sine wave is written y = A sin(ωx − φ) + B, and a cosine wave is written y = A cos(ωx − φ) + B. For a nonconstant wave, A ≠ 0; use ω > 0 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.

  • Amplitude measures height, not direction

    amplitude = |A| = ymax−ymin2. It is the distance from the midline to an extreme, not the full height. Negative A reflects the wave vertically.

  • Period measures the width of a repeat

    for ω > 0, T = 2πω and ω = 2πT. 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.

  • Phase shift: why minus inside moves right

    h = φω, with ω > 0. Factor ωx − φ = ω(x − h). h > 0 moves right; h < 0 moves left; h = 0 gives no horizontal shift. We name the signed horizontal slide h.

  • One cycle: solve the inside-input inequality

    0 ≤ ωx − φ ≤ 2π gives h ≤ x ≤ h + T, where h = φω and T = 2πω, provided ω > 0.

  • Midline, maximum, minimum and range

    midline y = B, with B = ymax+ymin2. Minimum = B − |A|; maximum = B + |A|. Range: [B − |A|, B + |A|].

  • Read all four features, including unusual signs

    rewrite negative inside speed first: cos(−u) = cos u; sin(−u) = −sin u. Then amplitude |A|, period 2πω, phase shift φω, and midline y = B.

  • Build an equation from a graph

    A = ymax−ymin2 > 0, B = ymax+ymin2, ω = 2πT, φ = ωh. Choose h at an upward middle crossing for sine or a peak for cosine.

  • Build and check a daylight model

    for a fitted positive-A sine wave, A = Dmax−Dmin2, B = Dmax+Dmin2, ω = 2πT, φ = ωh. Choose h near a rising middle crossing and compare predictions with observations.

Recipes (9)
  • A sinusoidal function is a repeating wave
    1. Name the wave as sine or cosine.
    2. Read the number multiplying the whole wave, A.
    3. Read the coefficient of x inside, ω, and match the inside to ωx − φ.
    4. Read the number added after the wave, B.
    5. Use the next lessons to translate these parameters into distances.
  • Amplitude measures height, not direction
    1. Read A, the entire outside multiplier, including its sign.
    2. Use |A| for the amplitude.
    3. If heights are given instead, subtract minimum from maximum and divide by 2.
    4. Keep A's sign when drawing which part of the cycle rises or falls.
  • Period measures the width of a repeat
    1. Read ω, the coefficient of x inside.
    2. Divide 2π by that positive coefficient.
    3. If T is given instead, divide 2π by T to find ω.
    4. Plug back into ωT = 2π.
  • Phase shift: why minus inside moves right
    1. Match the entire inside input to ωx − φ, including the sign of φ.
    2. Set the inside input equal to 0 to locate the chosen cycle start.
    3. Undo the subtraction, then divide by the positive coefficient of x.
    4. Plug the answer back into the inside and confirm 0.
    5. State the distance and direction separately.
  • One cycle: solve the inside-input inequality
    1. Write 0 ≤ the entire inside input ≤ 2π.
    2. Undo addition or subtraction in all three parts.
    3. Undo multiplication by dividing all three parts by positive ω.
    4. Plug both endpoints back into the inside; get 0 and 2π.
    5. Subtract start from end to get the period.
  • Midline, maximum, minimum and range
    1. Find the center B from the outside addition or the average of the extremes.
    2. Find the positive amplitude |A|.
    3. Subtract the amplitude from B for the minimum.
    4. Add the amplitude to B for the maximum.
    5. Write the midline as an equation and the range as an included interval.
  • Read all four features, including unusual signs
    1. If the x-coefficient inside is negative, factor out −1 from the whole inside.
    2. Use the cosine even rule or sine odd rule.
    3. Match A, ω, φ and B, keeping signed quantities.
    4. Compute each feature on its own line.
    5. Plug the shift into the original and rewritten inside and check the range.
  • Build an equation from a graph
    1. Read the maximum and minimum, then find positive A and B.
    2. Read T between adjacent matching stages.
    3. Compute ω = 2π ÷ T.
    4. Choose sine at an upward middle crossing or cosine at a peak; read h.
    5. Compute φ = ωh and substitute h back into the inside.
    6. Check points one quarter period apart.
  • Build and check a daylight model
    1. Define the time input and the output units.
    2. Draw the table and plot the observed points.
    3. Read the observed maximum, minimum and repeating interval.
    4. Choose a suitable sine crossing or cosine peak.
    5. Assemble the model and check several months.
    6. Repeat the observation pattern by T for the requested longer plot.
Traps (9)

Lesson 1 of 9

A sinusoidal function is a repeating wave

Subject: MathematicsLeans on: Function substitutionLeans on: RadiansLeans on: Basic valuesOpen this lesson
Leans on 0Comes back in 0

1 In plain words

Picture a mark on the rim of a Ferris wheel. As the wheel turns, the mark rises, reaches the top, falls, reaches the bottom, and rises again. If you draw its height against time, you get a smooth wave.

One complete trip through that motion is a cycle. Repeating the same motion makes a Periodic function. A sinusoidal function uses sine or cosine to make this particular smooth wave.

You can change the wheel's size, how quickly it turns, when you start watching, and how high its center sits. The four numbers in a sinusoidal formula control those four features. We will learn each control separately before combining them. The three study lists appear after you have practiced these features in Lesson 7.

Explain it like I am five

Picture one seat on a Ferris wheel: up to the top, down to the bottom, up again. Its height over time draws a smooth wave. A function that repeats like this is periodic, and one full repeat is a cycle. A wave built from sine or cosine is sinusoidal (sigh-nuh-SOY-dul).

Numbers: hub (center) 20 meters up, radius 15 meters, one turn every 40 minutes, clock started as the seat passes hub height going up. Height: y = 15 sin(π20t) + 20, t in minutes, where π20 = 2π ÷ 40 spreads one full turn, 2π, over 40 minutes. At t = 10, a quarter turn, the input in the parentheses is π20 × 10 = π2 and sin π2 = 1, so y = 35 meters, the top. At t = 30, sine is −1 and y = 5 meters, the bottom.

The general form y = A sin(ωx − φ) + B has four dials: A the size (15), ω (omega) the speed (π20), φ (phi) the start (0 here) and B the hub height (20).

2 Picture it

amplitude 2one periodπ/23π/2−224cycle startsmidline y = 1amplitude 2one periodπ/2π3π/22π−2−11234
y = 2 sin(2x − π/2) + 1.

Reminder

Reminder: Function substitution, Radians, Basic values
  • Function substitution. Replace every x with the chosen input: f(x) = 2x + 1 gives f(3) = 2(3) + 1 = 7.
  • Radians. A full turn is 2π radians; a quarter turn is π2.
  • Basic values. sin 0 = 0, cos 0 = 1, and sin(−π2) = −1.

3 Why

On the unit circle, Sine reads vertical position and Cosine reads horizontal position. After a full turn of 2π radians, you return to the same point, so both coordinates repeat. A sinusoidal formula changes the scale and location of that repeating motion. Multiplying its output changes its height; changing its inside input changes how quickly or when it runs; adding outside changes its center. These moves preserve the smooth repeating shape.

4 The rule

a sine wave is written y=Asin(ωx−φ)+B, and a cosine wave is written y=Acos(ωx−φ)+B.

For a nonconstant wave, A≠0; use ω>0 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.

The same idea, five ways

Say it

A sine or cosine wave whose height and timing can change.

Write it

A sinusoidal function is a transformed sine or cosine function.

In math
  • y=Asin(ωx−φ)+B
  • y=Acos(ωx−φ)+B
  • A ≠ 0, ω > 0
  • Graph words: smooth repeated peaks and troughs.
Like

A Ferris wheel gives the same up and down trip every revolution.

See it
amplitude 2one periodπ/23π/2−224
The same picture again: y = 2 sin(2x − π/2) + 1.

The same idea, other ways

As a moving object

Imagine the height of a dot on a turning wheel. The same wheel position returns once per revolution.

x = cos θy = sin θtop of one turn
A full turn brings the dot back to the same position.
As two familiar beginnings

Sine starts in the middle and rises. Positive cosine starts at a peak and falls. Both trace the same kind of motion.

π/23π/2−2−112
y = sin x, for x from −1 to 7.
As a repeated instruction

Adding 2π to a basic sine or cosine input is like restarting the same music loop. It puts you at the same stage of the loop.

ReadFeatureFormula
AAmplitude: distance from middle to top|A| = ymax−ymin2; ymax is the highest output; ymin is the lowest
ωPeriod: width of one complete repeatT=2πω
φ and ωPhase shift: sideways slideh = φω; h names this horizontal distance
BMidline: horizontal center liney = B; B = ymax+ymin2

Part 1: Sine starts in the middle

A basic sine wave begins with height 0 and rises. Its Domain, the allowed inputs, is all real numbers. Its Range, the possible outputs, is [−1, 1].

  • Rule: sin 0 = 0.
  • Rule: −1 ≤ sin x ≤ 1.
  • Rule: sin(x + 2π) = sin x.
π/23π/2−2−112
y = sin x, for x from −1 to 7.2832.
The same idea, five ways
Say it

Sine takes every real input and gives a height between negative one and one.

Write it

The domain is all real inputs and the range includes all outputs from −1 to 1.

In math
  • −∞<x<∞
  • (−∞,∞)
  • {x | x is a real number}
  • −1≤sinx≤1
  • [−1,1]
Like

A wheel marker starts at center height and moves upward.

See it
π/23π/2−2−112
The same picture again: y = sin x, for x from −1 to 7.2832.

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
π/23π/2−2−112
The same picture a third time: y = sin x, for x from −1 to 7.2832.
input xoutput sin x00π/21π03π/2−12π0↓ evaluate: input given, read the output below it
x:0,π2,π,3π2,2π;sinx:0,1,0,−1,0.
  1. Read the sine table at x=0: sin0=0.Sine is the vertical coordinate on the unit circle, whose starting point has height 0.
  2. At x=π2,sinx=1; at x=π,sinx=0.A quarter turn reaches the top of the circle, and a half turn returns to height 0.
  3. At x=3π2,sinx=−1; at x=2π,sinx=0.Three quarters of a turn reaches the bottom, and a full turn reaches the start.
  4. At x=2π+π2=5π2, the output is 1 again.The extra 2π is one full turn, which returns to the same circle point before the quarter turn.
Answer
  • 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.
Double-check The start and end both have height 0 and are followed by increasing heights. You have returned to the same stage of the motion.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: every input where sine is 0 begins a new upward cycle.
Sine is also 0 at π, where it is falling.
✓ Instead: Use x = 0 and x = 2π for consecutive upward starts of the basic sine.
Tips and tricks
  • Say what the formula changes before calculating.

Part 2: Cosine starts at an extreme

A basic cosine wave starts with height 1, its maximum, and falls. It accepts every real input and stays between −1 and 1.

  • Rule: cos 0 = 1.
  • Rule: −1 ≤ cos x ≤ 1.
  • Rule: cos(x + 2π) = cos x.
π/23π/2−2−112
y = cos x.
The same idea, five ways
Say it

Cosine takes every real input and gives a horizontal coordinate between negative one and one.

Write it

The domain is all real inputs and the range includes all outputs from −1 to 1.

In math
  • −∞<x<∞
  • (−∞,∞)
  • {x | x is a real number}
  • −1≤cosx≤1
  • [−1,1]
Like

Watch the same wheel beginning at its top instead of its side.

See it
π/23π/2−2−112
The same picture again: y = cos x.

Worked example

Follow one unshifted cosine cycle

Find the heights of y = cos x at the same five stages of a full turn. This asks where cosine begins and how it repeats.

Show the steps and the answer
π/23π/2−2−112
The same picture a third time: y = cos x.
input xoutput cos x01π/20π−13π/202π1
Cosine begins and ends at 1, while sine begins and ends in the middle.
  1. cos0=1.Cosine reads the horizontal coordinate of the starting circle point (1, 0).
  2. cos(π2)=0 and cosπ=−1.The top of the circle has horizontal coordinate 0; the leftmost point has horizontal coordinate −1.
  3. cos(3π2)=0 and cos(2π)=1.The bottom has horizontal coordinate 0, and a full turn returns to horizontal coordinate 1.
Answer
  • Cosine starts at its top height 1.
  • Its cycle also has length 2π.
Double-check Compare the first and last columns. Both give 1, and the next part of the wave falls from that height.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: cosine starts at height 0 because sine does.
Cosine reads the starting horizontal coordinate 1, while sine reads vertical coordinate 0.
✓ Instead: cos 0 = 1 and sin 0 = 0.
Tips and tricks
  • Say what the formula changes before calculating.

Part 3: Four parameters and their jobs

Use the table as a map. A and B change heights. ω and φ change the inside input, so they change timing. Do not try to memorize four disconnected facts; connect each letter to where it sits. Each fixed setting is a Parameter. A Coefficient is a multiplier, such as ω multiplying x.

  • Rule: A multiplies the sine or cosine output.
  • Rule: ω multiplies x inside.
  • Rule: φ is the signed number subtracted inside.
  • Rule: B is added outside.

A: height

ω: timing speed

φ with ω: horizontal slide

B: center height

The same idea, five ways
Say it

Four fixed numbers control the wave's size, timing, sideways slide and center height.

Write it

Use the table as a map. A and B change heights. ω and φ change the inside input, so they change timing. Do not try to memorize four disconnected facts; connect each letter to where it sits.

In math
  • y=Asin(ωx−φ)+B
  • y=Acos(ωx−φ)+B
  • Inside input: ωx − φ
  • Outside: multiply by A, then add B
Like

Set four controls on a wheel: size, turning speed, start time and center height.

See it

A: height

ω: timing speed

φ with ω: horizontal slide

B: center height

Worked example

Identify the controls before finding distances

For y = 2 sin(2x − π2) + 1, identify A, ω, φ and B. This asks for the four signed numbers in their formula positions.

Show the steps and the answer
amplitude 2one periodπ/23π/2−224
The same picture a third time: y = 2 sin(2x − π/2) + 1.
  1. A=2 and B=1.The multiplier is 2 and the outside addition is 1.
  2. ω=2 and φ=π2.Inside, 2 multiplies x and π2 is subtracted.
Answer
  • A = 2
  • ω = 2
  • φ=π2
  • B = 1
Double-check At x = 0 the inside is −π2, so y = 2(−1) + 1 = −1. Reading the 1 as an inside shift would give a different expression.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: read +1 inside and +1 outside as the same parameter.
An inside addition changes what sine receives; an outside addition changes the resulting height.
✓ Instead: In 2 sin(2x − π2) + 1, B = 1 is outside and φ = π2 is subtracted inside.
Tips and tricks
  • Mark the parentheses before identifying the four signed numbers.

5 How

  1. Name the wave as sine or cosine.
  2. Read the number multiplying the whole wave, A.
  3. Read the coefficient of x inside, ω, and match the inside to ωx − φ.
  4. Read the number added after the wave, B.
  5. Use the next lessons to translate these parameters into distances.

Recognize a wave formula

1
Is the function built from sine or cosine?
YesContinue by reading its four parameters.
NoDo not apply this section's four-feature rules, for example to tangent.
↓
2
Are A and ω both nonzero?
YesThere is a nonconstant wave.
NoThe formula is constant, so it has no least positive wave period.
  1. Find the sin or cos.
  2. Separate the outside multiplier and outside addition from the entire inside input.
  3. Keep the letters attached to their positions; their jobs depend on those positions.

6 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
π/23π/2−2−112
The same picture, shown 4 times now: y = sin x, for x from −1 to 7.2832.
input xoutput sin x00π/21π03π/2−12π0↓ evaluate: input given, read the output below it
The same picture again: x: 0, π2, π, 3π2, 2π; sin x: 0, 1, 0, −1, 0.
  1. Read the sine table at x=0: sin0=0.Sine is the vertical coordinate on the unit circle, whose starting point has height 0.
  2. At x=π2,sinx=1; at x=π,sinx=0.A quarter turn reaches the top of the circle, and a half turn returns to height 0.
  3. At x=3π2,sinx=−1; at x=2π,sinx=0.Three quarters of a turn reaches the bottom, and a full turn reaches the start.
  4. At x=2π+π2=5π2, the output is 1 again.The extra 2π is one full turn, which returns to the same circle point before the quarter turn.
Answer
  • 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.
Double-check The start and end both have height 0 and are followed by increasing heights. You have returned to the same stage of the motion.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: y = tan x is sinusoidal because it is a trig function.
Tangent has breaks and no finite highest and lowest heights. Its shape is not a smooth sine or cosine wave.
✓ Instead: Apply sinusoidal amplitude rules to sine and cosine waves.
✗ Not this: Counterexample: the four numbers can be read without noticing parentheses.
Adding 1 inside changes the input. Adding 1 outside changes every height.
✓ Instead: Separate the whole inside input from the outside addition.

Tips and tricks

  • Circle the entire inside input before identifying the four parameters.
  • Memorize the two starting heights; rebuild the intermediate heights from a turn.

7 The trap

Do not call every periodic function sinusoidal. Repeating stair steps repeat too, but they are not sine or cosine waves.

Keep in mind

  • Periodic is not the same as sinusoidal: a staircase pattern that repeats every 2 units is periodic, but it has sharp corners instead of a smooth wave.
  • The input of sine or cosine is in radians: sin π2 = 1, while sin 90 read as radians is about 0.894.
  • An unwritten number is 1 or 0: in y = sin x, A = 1, ω = 1, φ = 0 and B = 0.
  • A positive sine wave starts at its center going up, and a positive cosine wave starts at its top: sin 0 = 0 but cos 0 = 1.

Memory hook

A, ω, φ, B: size, speed, start, center. On the wheel: its radius, how fast it spins, when you start watching, and how high the hub sits.

Flash cards

Say the answer out loud, then flip.

What is a periodic function?
A function whose outputs repeat after a fixed horizontal distance.
What is a sinusoidal function?
A repeating wave whose equation is a sine or a cosine that has been stretched, shifted and lifted: y = A sin(ωx − φ) + B, or the same equation with cos in place of sin.
How do you say ω and φ?
  • ω is omega (oh-MAY-guh).
  • φ is phi (fie, rhymes with pie).
In y = 6 sin(2x − 1) + 9, read A, ω, φ and B.
  • A = 6
  • ω = 2
  • φ = 1
  • B = 9
A Ferris wheel's hub is 12 meters up and its radius is 10 meters. What are the highest and lowest seat heights?
  • Highest: 12 + 10 = 22 meters
  • Lowest: 12 − 10 = 2 meters
A traffic light repeats its colors every 60 seconds. Is it sinusoidal?
No. It is periodic, but it jumps between colors instead of rising and falling smoothly like a sine wave.

Lesson 2 of 9

Amplitude measures height, not direction

Subject: MathematicsLeans on: Absolute valueLeans on: Signed multiplicationLeans on: Subtracting negativesOpen this lesson
Leans on 0Comes back in 0

1 In plain words

Imagine a swing moving the same distance to either side of its resting place. The distance from the resting place to one farthest position tells you how large the motion is. For a wave, that distance is the Amplitude. You measure from the middle to the top, or from the middle to the bottom. You do not measure all the way from bottom to top. The number A stretches or shrinks every height before anything is added outside. A negative A also turns the wave upside down. That flip changes which part comes first, but a distance cannot become negative.

Explain it like I am five

Picture a child on a swing that travels 2 meters forward and 2 meters back from its resting spot. That 2 meters is the swing's amplitude: the distance from the middle to one far end. The full 4 meters from end to end is twice the amplitude.

Take y = −6 sin x. The number multiplying the whole wave, A, is −6. Plain sine runs from −1 to 1, so multiply: when sin x = 1, y = −6 × 1 = −6, and when sin x = −1, y = −6 × (−1) = 6. The wave reaches 6 and −6, so the amplitude is |−6| = 6. The bars mean absolute value: a number's size without its sign.

Check with the heights: amplitude = highest−lowest2 = 6−(−6)2 = 122 = 6. The minus sign in A shrank nothing. It flipped the wave upside down, so it heads down first instead of up. A distance cannot be negative, which is why amplitude uses |A|.

2 Picture it

amplitude 3rangeπ/23π/2−4−224amplitude 3rangeπ/2π3π/22π−4−224
y = −3 sin x, with its amplitude and range marked.

Reminder

Reminder: Absolute value, Signed multiplication, Subtracting negatives
  • Absolute value. |−3| = 3 because −3 is 3 units from 0.
  • Signed multiplication. −3×(−1)=3;−3×1=−3.
  • Subtracting negatives. 3−(−3)=3+3=6.

3 Why

The basic sine and cosine outputs reach 1 and −1. Multiplying by A puts the two extreme outputs at A and −A before a vertical addition. Those positions are each |A| from 0. Their separation is 2|A|, so half the maximum-minus-minimum is |A|. Adding the same B to both heights leaves their difference unchanged. A negative multiplier swaps the extremes, which is why we keep the sign of A separate from the amplitude.

4 The rule

amplitude =|A|=ymax−ymin2.

It is the distance from the midline to an extreme, not the full height. Negative A reflects the wave vertically.

The same idea, five ways

Say it

Amplitude is the distance from the middle of the wave to a peak.

Write it

The amplitude equals the absolute value of the outside multiplier.

In math
  • Amplitude = |A|
  • |A| = ymax−ymin2
  • Graph words: half the height from trough to peak.
Like

Measure from a swing's rest position to one farthest reach.

See it
amplitude 3π/23π/2−4−224
y = −3 sin x, with its amplitude marked.

The same idea, other ways

As a height marker

The amplitude marker covers only half the full bottom to top span.

amplitude 3π/23π/2−4−224
The same picture again: y = −3 sin x, with its amplitude marked.
With a copier

Doubling a picture doubles its heights. Flipping the enlarged page does not change its size. Positive 3 and negative 3 both give amplitude 3.

Part 1: Positive A

Positive A changes the distance without reversing the heights.

  • Rule: A = 2 gives amplitude 2.
π/23π/2−22
y = 2 sin x.
The same idea, five ways
Say it

Positive A

Write it

Positive A changes the distance without reversing the heights.

In math
  • Rule: A = 2 gives amplitude 2.
Like

Enlarge a photo to double the distance from its center to its edges.

See it
π/23π/2−22
The same picture again: y = 2 sin x.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: 2 sin x reaches amplitude 4 because its total height is 4.
The full span measures two equal distances from the center.
✓ Instead: The amplitude is 2, half the span.
Tips and tricks
  • Say what the formula changes before calculating.

Part 2: Negative A

A negative multiplier changes distance and reverses which original heights point upward. This flip is a Reflection.

  • Rule: A = −3 gives amplitude 3, with a vertical reflection.
π/23π/2−4−224
y = −3 sin x, with its key points marked.
The same idea, five ways
Say it

Negative A

Write it

A negative multiplier changes distance and reverses which original heights point upward.

In math
  • Rule: A = −3 gives amplitude 3, with a vertical reflection.
Like

Turn the enlarged photo upside down; its size stays the same.

See it
π/23π/2−4−224
The same picture again: y = −3 sin x, with its key points marked.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: y = −3 sin x has amplitude −3.
A distance from the middle cannot be negative. The minus reflects the graph.
✓ Instead: A = −3, amplitude = |−3| = 3.
Tips and tricks
  • Say what the formula changes before calculating.

Part 3: Amplitude from maximum and minimum

Measure the total span, then take half because the center splits it into equal distances.

  • Rule: amplitude = maximum−minimum2.
amplitude 4π/23π/224681012
y = 4 cos x + 6, with its amplitude marked.
The same idea, five ways
Say it

Amplitude from maximum and minimum

Write it

Measure the total span, then take half because the center splits it into equal distances.

In math
  • Rule: amplitude = maximum−minimum2.
Like

Measure the distance from the bottom of a wheel to its top, then halve it.

See it
amplitude 4π/23π/224681012
The same picture again: y = 4 cos x + 6, with its amplitude marked.

Worked example

Recover amplitude from two heights

A wave has maximum 10 and minimum 2. Find its amplitude. You want the distance from the middle to either end.

Show the steps and the answer
amplitude 4π/23π/224681012
y = 4 cos x + 6, with its amplitude and midline marked.
  1. Total height =10−2=8.Subtract the lower height from the upper height to measure the entire span.
  2. Amplitude =82=4.The wave has equal height on both sides of its middle.
  3. The middle is 10+22=6; 10−6=4 and 6−2=4.A midpoint check independently confirms the distance.
Answer
Amplitude = 4
Double-check The two distances from 6 both equal 4, rather than the full span 8.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: maximum 10 and minimum 2 give amplitude 6.
6 is the average height, not half the separation.
✓ Instead: Amplitude = (10 − 2) ÷ 2 = 4.
Tips and tricks
  • Say what the formula changes before calculating.

5 How

  1. Read A, the entire outside multiplier, including its sign.
  2. Use |A| for the amplitude.
  3. If heights are given instead, subtract minimum from maximum and divide by 2.
  4. Keep A's sign when drawing which part of the cycle rises or falls.

Find amplitude

1
Do you have the equation?
YesRead the outside multiplier A and take |A|.
NoRead the maximum and minimum, subtract, and divide by 2.
  1. From an equation, use the absolute value of A.
  2. From a graph or data, measure the whole height and halve it.
  3. Check that your answer is nonnegative.

6 Worked example

Worked example

Amplitude when the outside multiplier is negative

Find A and the amplitude of y = −9 sin(π2x) + 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).

(0, 2)(1, −7)(2, 2)(3, 11)(4, 2)−2246−8−44812
The horizontal line is the midline y = 2.
Show the steps and the answer
  1. Read the outside multiplier of y=−9sin(π2x)+2: A=−9.A is the entire number multiplying the sine, sign included. The π2 inside the sine and the + 2 added at the end are not part of it.
  2. Take the absolute value: amplitude =|A|=|−9|=9.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.
  3. Confirm with the heights. The highest point (3, 11) gives ymax=11 and the lowest point (1,−7) gives ymin=−7, so amplitude =ymax−ymin2=11−(−7)2=182=9.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|.
  4. Measure from the midline y=2: up to the top is 11−2=9, and down to the bottom is 2−(−7)=9.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.
  5. Bring the sign back for the shape. At x=1,y=−9sin(π2)+2=−9×1+2=−7, so the graph leaves (0, 2) going down to (1,−7), 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.
Answer
A = −9, and the amplitude is |−9| = 9 (not −9, and not 18). The heights agree: 11−(−7)2 = 182 = 9, so the full height 18 is twice the amplitude. Because A is negative, the graph falls first, from (0, 2) to its lowest point (1, −7), and rises to its highest point (3, 11) afterwards.
Double-check Since sin(π2x) stays between −1 and 1, −9 sin(π2x) stays between −9 and 9, so y stays between 2 − 9 = −7 and 2 + 9 = 11. Substituting confirms both ends are reached: at x = 1, sin(π2) = 1 gives y = −9 × 1 + 2 = −7, and at x = 3, sin(3π2) = −1 gives y = −9 × (−1) + 2 = 11. The formula gives the same lowest and highest heights as the problem, and 11 − (−7) = 18 = 2 × 9, so the amplitude is 9.

Work to write

  1. A=−9
  2. amplitude = |A| = |−9| = 9
  3. ymax−ymin2 = 11−(−7)2 = 182 = 9
  4. 11 − 2 = 9 and 2 − (−7) = 9
  5. A is negative, so the graph falls first from (0, 2) to (1, −7), then rises to (3, 11)

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: y = −3 sin x has amplitude −3.
A distance from the middle cannot be negative. The minus reflects the graph.
✓ Instead: A = −3, amplitude = |−3| = 3.

Tips and tricks

  • Memory device: distance drops the sign.
  • If the total height is 8, the amplitude is 4.

7 The trap

Do not report maximum-minus-minimum as the amplitude. It contains two amplitude distances.

Keep in mind

  • Amplitude is half the top-to-bottom distance: a wave from 2 to 8 has amplitude 8−22 = 3, not 6.
  • Amplitude is never negative: y = −6 sin x has amplitude 6, and its minus sign only flips the wave.
  • Adding a number outside moves the wave up or down but keeps its amplitude: y = 2 sin x + 7 still has amplitude 2, swinging from 5 to 9.
  • Only the number multiplying the whole wave sets the amplitude: y = sin(8x) has amplitude 1, since the 8 sits inside.

Memory hook

Amplitude is a swing's reach: middle to one end, never end to end. Take half of top minus bottom, and let the absolute value bars drop the minus sign.

Flash cards

Say the answer out loud, then flip.

What is the amplitude of a wave?
The distance from the midline to a peak, which equals the distance from the midline to a trough.
What does |A| mean?
The absolute value of A, its size without the sign: |−6| = 6.
What is the amplitude of y = −58 cos x?
58
A wave's highest value is 13 and its lowest is 5. What is its amplitude?
13−52=4
For y = −7 sin x, what is y at x = π2?
−7 × sin π2 = −7 × 1 = −7, a low point, because A is negative.
A wave runs from −4 up to 4. Is its amplitude 8?
No. 8 is top to bottom. The amplitude is half of that, 4.

Lesson 3 of 9

Period measures the width of a repeat

Subject: MathematicsLeans on: Division by a fractionLeans on: Cancel common factorsLeans on: Solving an equationOpen this lesson
Leans on 0Comes back in 0

1 In plain words

Think of a repeating alarm that sounds once every eight minutes. Eight minutes is the waiting distance from one alarm to the next. A wave's Period is the horizontal distance from one complete motion to the next. You can measure from one peak to the next peak, or from one upward middle crossing to the next upward middle crossing. Use matching stages. The number ω, called ω (omega), controls how quickly the inside input advances as x increases. A larger positive ω makes the wave finish sooner. A smaller positive ω makes it take longer. The height does not tell you this width.

Explain it like I am five

Picture a carousel horse that passes you every 30 seconds. Those 30 seconds are the period: how long one full repeat takes. On a graph the period is the horizontal width of one cycle: from a peak to the next peak, or from any point to the next point at the same height heading the same way.

Take y = sin(5x). Sine finishes a cycle when its inside, the input in the parentheses, travels one full turn, 2π. Here the inside is 5x, so set 5x = 2π and divide both sides by 5: x = 2π5 ≈ 1.26 (≈ means about). The period is T = 2π5. The 5 is ω (omega), the speed: five times the speed makes one fifth the width, since plain sin x takes 2π ≈ 6.28.

Check: at x = 2π5 the inside is 5 × 2π5 = 2π, exactly one turn, so the wave is back where it began. Heights leave the width alone: y = 9 sin(5x) + 1 also has period 2π5. That is why T = 2πω.

2 Picture it

one periodπ/2π−2−112one periodπ/2π−2−112
y = sin 4x.

Reminder

Reminder: Division by a fraction, Cancel common factors, Solving an equation
  • Division by a fraction. 2π÷13=2π×3=6π.
  • Cancel common factors. 2π8 = π4 because both top and bottom contain 2.
  • Solving an equation. 4T = 2π becomes T = π2; plugging back gives 4T = 2π.

3 Why

A sine or cosine cycle requires its inside input to advance 2π. If x advances T, then ωx advances ωT. Therefore ωT = 2π, and dividing by positive ω gives T = 2πω. The subtraction of φ cancels when you compare the two inside inputs, so sliding the graph does not change its period. Neither multiplying the heights by A nor adding B changes the horizontal distance needed for one turn. A repeat must return sine's unique top point, or cosine's unique rightmost point, to itself. The next such point is one full lap later, so no shorter positive distance repeats every output.

4 The rule

for ω>0,T=2πω and ω=2πT.

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.

The same idea, five ways

Say it

The period is the width of one complete repeat.

Write it

The period is the least positive horizontal distance that repeats the whole nonconstant wave.

In math
  • T=2πω,ω>0
  • ω=2πT
  • f(x + T) = f(x) for every x
  • Graph words: distance between adjacent peaks.
Like

An alarm returns to the same stage every fixed number of minutes.

See it
one periodπ/2π−2−112
The same picture again: y = sin 4x.

The same idea, other ways

As repeated landmarks

The arrow from one peak to the next peak measures a repeat. A peak-to-trough distance measures only half a cycle.

one periodπ2π3π4π−2−112
y = cos x.
With a fast clock

If the inside clock advances four times as quickly, it finishes one revolution in a quarter of the usual distance.

Part 1: ω bigger than 1

The inside advances faster than x, so the horizontal cycle is shorter.

  • Rule: ω = 4 gives T = π2.
one periodπ/2π−2−112
The same picture a third time: y = sin 4x.
The same idea, five ways
Say it

ω bigger than 1

Write it

The inside advances faster than x, so the horizontal cycle is shorter.

In math
  • Rule: ω = 4 gives T = π2.
Like

A fast clock completes its revolution sooner.

See it
one periodπ/2π−2−112
The same picture, shown 4 times now: y = sin 4x.

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
one periodπ/2π−2−112
The same picture, shown 5 times now: y = sin 4x.
  1. The inside input needs to advance by 2π for one full sine cycle.That is one full turn.
  2. Set 4T=2π to find the horizontal distance that produces this inside change.Changing x by T changes 4x by 4T.
  3. Divide by 4: T=2π4=π2.Division undoes multiplication and finds the needed distance.
  4. Plug back: 4×π2=2π.The distance really does send the inside through exactly one turn.
Answer
Period T = π2
Double-check At x + π2, the inside becomes 4x + 2π; sine then gives the same output as at x.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: sin(4x) has period 8π.
Multiplication by 4 makes the inside run faster; it does not give x four times as long.
✓ Instead: 4T = 2π, so T = π2.
Tips and tricks
  • Say what the formula changes before calculating.

Part 2: ω between 0 and 1

The inside advances more slowly than x, so the horizontal cycle is longer.

  • Rule: ω = 13 gives T = 6π.
one periodπ3π5π−2−112
y = sin 0.3333x.
The same idea, five ways
Say it

ω between 0 and 1

Write it

The inside advances more slowly than x, so the horizontal cycle is longer.

In math
  • Rule: ω = 13 gives T = 6π.
Like

A slow clock needs more time to finish the same revolution.

See it
one periodπ3π5π−2−112
The same picture again: y = sin 0.3333x.

Worked example

A fractional inside coefficient widens a cycle

Find the period of y = sin(x3). This asks how much x must grow to make the slower inside input finish a full turn.

Show the steps and the answer
one periodπ3π5π−2−112
The same picture a third time: y = sin 0.3333x.
  1. ω=13.x divided by 3 means one third times x.
  2. T=2π÷13=2π×3=6π.Dividing by one third means multiplying by its reciprocal 3.
  3. Plug back: 6π3=2π.An x-change of 6π sends the inside through one full turn.
Answer
Period = 6π
Double-check The inside only advances one third as far as x, so x must travel three times the usual 2π.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: sin(x3) repeats after 2π3.
At that input the inside is only 2π9, far short of a full turn.
✓ Instead: It needs x = 6π to make the inside 2π.
Tips and tricks
  • Say what the formula changes before calculating.

Part 3: Recovering ω from T

Choose the multiplier that makes the inside advance 2π during the given width.

  • Rule: ω = 2πT.
one periodπ2π3π4π5π−2−112
y = sin (π/4)x.
The same idea, five ways
Say it

Recovering ω from T

Write it

Choose the multiplier that makes the inside advance 2π during the given width.

In math
  • Rule: ω = 2πT.
Like

Choose the clock's speed so one revolution takes exactly eight minutes.

See it
one periodπ2π3π4π5π−2−112
The same picture again: y = sin (π/4)x.

Worked example

Start with the period

A wave repeats every 8 input units. Find ω. You know the width and want the inside multiplier.

Show the steps and the answer
one periodπ2π3π4π5π−2−112
The same picture a third time: y = sin (π/4)x.
  1. Use ω=2πT with T=8.The inside must make one full turn of 2π during those 8 units.
  2. ω=2π8=π4.Divide top and bottom by 2 to keep the same fraction.
  3. Plug back: π4×8=2π.This coefficient gives exactly the required inside change in 8 input units.
Answer
ω=π4
Double-check T=2π÷(π4)=2π×4π=8.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: T = 8 means ω = 8.
ω describes inside speed, and 8 × 8 does not equal the required full-turn angle 2π.
✓ Instead: ω=2π8=π4.
Tips and tricks
  • Say what the formula changes before calculating.

5 How

  1. Read ω, the coefficient of x inside.
  2. Divide 2π by that positive coefficient.
  3. If T is given instead, divide 2π by T to find ω.
  4. Plug back into ωT = 2π.

Find period or inside coefficient

1
Is the inside coefficient negative?
YesUse Lesson 7 to rewrite it positive before these formulas.
NoContinue with positive ω.
↓
2
Is T already given?
YesCompute ω = 2π ÷ T.
NoCompute T = 2π ÷ ω.
  1. Decide whether you are given ω or T.
  2. Use the reciprocal formula for the unknown.
  3. Require a positive distance and check ωT = 2π.

6 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
one periodπ/2π−2−112
The same picture, shown 6 times now: y = sin 4x.
  1. The inside input needs to advance by 2π for one full sine cycle.That is one full turn.
  2. Set 4T=2π to find the horizontal distance that produces this inside change.Changing x by T changes 4x by 4T.
  3. Divide by 4: T=2π4=π2.Division undoes multiplication and finds the needed distance.
  4. Plug back: 4×π2=2π.The distance really does send the inside through exactly one turn.
Answer
Period T = π2
Double-check At x + π2, the inside becomes 4x + 2π; sine then gives the same output as at x.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: sin(4x) has period 8π.
Multiplication by 4 makes the inside run faster; it does not give x four times as long.
✓ Instead: 4T = 2π, so T = π2.
✗ Not this: Counterexample: returning to the same height halfway around the circle proves the period is only half a turn.
A half turn reverses high and low stages, so it does not repeat the entire wave. A period must repeat the output at every input, including the unique top point for sine and rightmost point for cosine.
✓ Instead: The least positive inside repeat is 2π; in standard form the horizontal repeat is 2πω.

Tips and tricks

  • Memory device: inside runs faster, cycle gets shorter.
  • Always compare a peak with a peak, not a peak with a trough.

7 The trap

ω is not the period. It is the multiplier that determines the period.

Keep in mind

  • A bigger ω means a shorter period: sin(5x) repeats every 2π5 ≈ 1.26, while sin x repeats every 2π ≈ 6.28.
  • A fraction for ω stretches the wave: y = cos(x5) has ω = 15 and period 2π ÷ 15 = 2π × 5 = 10π.
  • Measure between matching stages: neighboring peaks at x = 2 and x = 9 mean a period of 7, while peak to trough is only half a period.
  • Height and slide leave the period alone: y = 9 sin(5x − 2) + 8 still has period 2π5.

Memory hook

Period = 2πω: one full turn divided by the speed. Faster spin, shorter repeat.

Flash cards

Say the answer out loud, then flip.

What is the period of a wave?
The horizontal width of one complete cycle, for example from one peak to the next.
What is the period formula for y = A sin(ωx − φ) + B with ω > 0?
T=2πω
What is the period of y = cos(8x)?
2π8=π4
What is the period of y = sin(27x)?
2π÷27=2π×72=7π
A wave's period is 6. What is ω?
ω=2π6=π3
In y = sin(5x), is the period 5?
No. 5 is ω, the speed. The period is 2π5.

Lesson 4 of 9

Phase shift: why minus inside moves right

Subject: MathematicsLeans on: Solving a linear equationLeans on: Subtracting a negativeLeans on: FactoringLeans on: Fraction divisionOpen this lesson
Leans on 0Comes back in 0

1 In plain words

Picture a music player whose song starts when its counter reads 0. The outside number x is your clock, but sine or cosine listens to the counter inside the parentheses. In sin(x − 1), the counter is one behind your clock. When your clock reads 0, the counter reads −1, so the song has not reached its original start. Your clock must reach 1 before x − 1 becomes 0. That puts the original start one unit to the right. The inside offset is φ (phi). A Phase shift is this horizontal slide of the whole pattern. A plus inside makes the counter run ahead, so the start happens earlier, on the left.

Explain it like I am five

Picture your watch, x, and a movie's own counter, the inside of the parentheses. In sin(x − 2) the counter runs 2 behind your watch. The movie starts when the counter reads 0, which happens when your watch reads 2. So the whole wave starts 2 later, 2 units to the right on a graph. That sideways slide is the phase shift.

With a number in front of x, solve for the start. Take y = sin(2x − π4), where ω (omega) = 2 and φ (phi) = π4. Set the inside to 0: 2x − π4 = 0. Add π4: 2x = π4. Divide by 2, which doubles the bottom: x = π8. The wave starts π8 to the right, and the phase shift formula h = φω = π4 ÷ 2 = π8 agrees.

Check: 2 × π8 − π4 = π4 − π4 = 0. A plus sign inside, as in sin(x + 2), makes the counter run 2 ahead, so the start comes earlier: 2 units to the left.

2 Picture it

cycle startsπ/23π/25π/2−2−112cycle startsπ/2π3π/22π5π/2−2−112
y = sin(x − 1), solid, beside y = sin x, dashed.

Reminder

Reminder: Solving a linear equation, Subtracting a negative, Factoring, Fraction division
  • Solving a linear equation. 2x − π = 0 becomes 2x = π and x = π2; substituting gives π − π = 0.
  • Subtracting a negative. x + 1 = x − (−1), so φ = −1.
  • Factoring. 2(x − 1) = 2x − 2; the coefficient multiplies both terms.
  • Fraction division. π4÷13=3π4.

3 Why

Match the old inside input u with the new one: ωx − φ = u. Adding φ and dividing by positive ω gives x = uω + φω. The unshifted wave sin(ωx) receives u at x = uω. Every matching point therefore moves by the same distance φω. Positive distance adds to every x-coordinate and moves right; negative distance subtracts and moves left. This applies to the entire curve, not only its start.

4 The rule

h=φω, with ω>0.

Factor ωx−φ=ω(x−h). h > 0 moves right; h < 0 moves left; h=0 gives no horizontal shift. We name the signed horizontal slide h.

The same idea, five ways

Say it

Phase shift is how far the repeating picture slides left or right.

Write it

For positive ω, the horizontal shift equals the signed inside offset divided by the inside coefficient.

In math
  • h=φω
  • ωx−φ=ω(x−h)
  • h > 0: right; h < 0: left
  • Graph words: matching stages move by h horizontally.
Like

A delayed music counter reaches the same part of the song later.

See it
cycle startsπ/23π/25π/2−2−112
The same picture again: y = sin(x − 1), solid, beside y = sin x, dashed.

The same idea, other ways

As a delayed counter

A counter x − 1 is one behind. To show 0 it needs x = 1. A counter x + 1 is one ahead and shows 0 at x = −1.

x = 1x − 1inputoutputinside input 0
The input 1 produces the old starting input 0.
As matching points

The old point (u, sin u) becomes (u + 1, sin u) for sin(x − 1). Its height stays the same, and its horizontal coordinate grows by 1.

cycle startsπ/23π/25π/2−2−112
The same picture a third time: y = sin(x − 1), solid, beside y = sin x, dashed.
As factoring

2x − π = 2(x − π2). The factor 2 is input speed; the subtraction π2 from x is the horizontal slide.

With a peak

The basic sine peak receives π2. For sin(x − 1), x = π2 + 1 gives that same inside input, so even the peak moves right 1.

Part 1: Minus inside

Subtracting a positive number makes the inside counter lag behind. The graph reaches every original stage later.

  • Rule: sin(x − 1) is sin x moved right 1.
cycle startsπ/23π/25π/2−2−112
The same picture, shown 4 times now: y = sin(x − 1), solid, beside y = sin x, dashed.
The same idea, five ways
Say it

Minus inside

Write it

Subtracting a positive number makes the inside counter lag behind. The graph reaches every original stage later.

In math
  • Rule: sin(x − 1) is sin x moved right 1.
Like

A clock running one minute behind reaches the start one minute later.

See it
cycle startsπ/23π/25π/2−2−112
The same picture, shown 5 times now: y = sin(x − 1), solid, beside y = sin x, dashed.

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
cycle startsπ/23π/25π/2−2−112
The same picture, shown 6 times now: y = sin(x − 1), solid, beside y = sin x, dashed.
  1. The basic sine has inside input 0 at x=0.Its starting height is sin 0 = 0.
  2. Set x−1=0 to find where the shifted formula receives that same inside input.Matching the inside input matches the stage of the sine motion.
  3. Add 1 to both sides: x=1.Adding undoes subtraction and locates the shifted starting point.
  4. Plug back: 1−1=0.The new input 1 does feed the original sine input 0.
  5. For any old input u, choose x=u+1; then x−1=u.This shows every point moves right 1, not only the starting point.
Answer
Phase shift = 1 unit right
Double-check The old peak at x = π2 now occurs at x = 1 + π2, because (1 + π2) − 1 = π2.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: Minus means move left.
The inside value is smaller, so x must be larger to compensate.
✓ Instead: Make x − 1 equal to 0: x = 1, which is right.
Tips and tricks
  • Make x − 1 equal to 0: x = 1, which is right.

Part 2: Plus inside

Adding a positive number makes the inside counter run ahead. It reaches the original start when x is negative.

  • Rule: sin(x + 1) is sin x moved left 1.
cycle startsπ2π−2−112
y = sin(x + 1).
The same idea, five ways
Say it

Plus inside

Write it

Adding a positive number makes the inside counter run ahead. It reaches the original start when x is negative.

In math
  • Rule: sin(x + 1) is sin x moved left 1.
Like

A clock running one minute ahead reaches the start one minute earlier.

See it
cycle startsπ2π−2−112
The same picture again: y = sin(x + 1).

Worked example

Add 1 inside

For sin(x + 1), locate the same original inside input 0. This asks whether its starting point moves left or right.

Show the steps and the answer
cycle startsπ2π−2−112
The same picture a third time: y = sin(x + 1).
  1. Set x+1=0.You are finding the x that makes sine receive its original start input.
  2. Subtract 1: x=−1.The x must be negative to cancel the added 1.
  3. Plug back: −1+1=0.The shifted formula is at the original sine start there.
  4. Rewrite x+1=x−(−1).This identifies φ = −1 and h = −1.
Answer
Phase shift = 1 unit left
Double-check At the old peak input u = π2, use x = π2 − 1, and x + 1 = π2. Every point is 1 unit left.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: The plus in sin(x + 1) means right 1.
At x = 1, its inside is 2, not the original start 0.
✓ Instead: Set x + 1 = 0; x = −1, and −1 + 1 = 0.
Tips and tricks
  • Set x + 1 = 0; x = −1, and −1 + 1 = 0.

Part 3: φ versus horizontal distance

φ measures the offset in the inside input. Dividing by ω translates that offset into units along the x-axis.

  • Rule: cos(πx + 2) has φ = −2 and h = −2π.
cycle starts−π/2π/2π−2−112
y = cos(πx + 2).
The same idea, five ways
Say it

φ versus horizontal distance

Write it

φ measures the offset in the inside input. Dividing by ω translates that offset into units along the x-axis.

In math
  • Rule: cos(πx + 2) has φ = −2 and h = −2π.
Like

Convert an offset on a fast clock into elapsed minutes on your own clock.

See it
cycle starts−π/2π/2π−2−112
The same picture again: y = cos(πx + 2).

Worked example

Keep φ and h separate

Find the signed offset and shift in cos(πx + 2). You are reading an inside number and converting it to a horizontal distance.

Show the steps and the answer
cycle starts−π/2π/2π−2−112
The same picture a third time: y = cos(πx + 2).
  1. πx+2=πx−(−2), so φ=−2 and ω=π.This matches subtraction of a signed constant.
  2. Set πx+2=0, giving πx=−2 and x=−2π.Solving locates the original cosine start.
  3. Plug back: π×(−2π)+2=−2+2=0.The proposed horizontal shift feeds cosine 0.
Answer
  • φ=−2
  • Shift = 2π left
Double-check Factoring gives π(x + 2π), confirming the leftward distance.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: The shift is −2 because the offset is −2.
π multiplies x, so 2 inside units correspond to 2π horizontal units.
✓ Instead: Divide φ by ω to get h = −2π.
Tips and tricks
  • Divide φ by ω to get h = −2π.

5 How

  1. Match the entire inside input to ωx − φ, including the sign of φ.
  2. Set the inside input equal to 0 to locate the chosen cycle start.
  3. Undo the subtraction, then divide by the positive coefficient of x.
  4. Plug the answer back into the inside and confirm 0.
  5. State the distance and direction separately.

Find a phase shift without guessing its direction

1
Is ω negative?
YesRewrite with the even or odd rule in Lesson 7 first.
NoContinue.
↓
2
Is there a plus constant inside?
YesRecord φ as the negative of that constant.
NoRecord the signed subtracted constant as φ.
↓
3
Is h positive?
YesSay h units to the right.
NoIf h is negative, say |h| units to the left; if 0, no shift.
  1. Rewrite a plus inside as subtraction of a negative.
  2. Find the x that makes the entire inside input 0.
  3. Substitute that x back.
  4. Read positive x-distance as right and negative as left.

6 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
cycle startsπ/23π/25π/2−2−112
The same picture, shown 7 times now: y = sin(x − 1), solid, beside y = sin x, dashed.
  1. The basic sine has inside input 0 at x=0.Its starting height is sin 0 = 0.
  2. Set x−1=0 to find where the shifted formula receives that same inside input.Matching the inside input matches the stage of the sine motion.
  3. Add 1 to both sides: x=1.Adding undoes subtraction and locates the shifted starting point.
  4. Plug back: 1−1=0.The new input 1 does feed the original sine input 0.
  5. For any old input u, choose x=u+1; then x−1=u.This shows every point moves right 1, not only the starting point.
Answer
Phase shift = 1 unit right
Double-check The old peak at x = π2 now occurs at x = 1 + π2, because (1 + π2) − 1 = π2.

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 5

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
cycle startsπ/23π/25π/2−2−112
The same picture, shown 8 times now: y = sin(x − 1), solid, beside y = sin x, dashed.
  1. The basic sine has inside input 0 at x=0.Its starting height is sin 0 = 0.
  2. Set x−1=0 to find where the shifted formula receives that same inside input.Matching the inside input matches the stage of the sine motion.
  3. Add 1 to both sides: x=1.Adding undoes subtraction and locates the shifted starting point.
  4. Plug back: 1−1=0.The new input 1 does feed the original sine input 0.
  5. For any old input u, choose x=u+1; then x−1=u.This shows every point moves right 1, not only the starting point.
Answer
Phase shift = 1 unit right
Double-check The old peak at x = π2 now occurs at x = 1 + π2, because (1 + π2) − 1 = π2.

Rung 2 of 5

Add 1 inside

For sin(x + 1), locate the same original inside input 0. This asks whether its starting point moves left or right.

Show the steps and the answer
cycle startsπ2π−2−112
The same picture, shown 4 times now: y = sin(x + 1).
  1. Set x+1=0.You are finding the x that makes sine receive its original start input.
  2. Subtract 1: x=−1.The x must be negative to cancel the added 1.
  3. Plug back: −1+1=0.The shifted formula is at the original sine start there.
  4. Rewrite x+1=x−(−1).This identifies φ = −1 and h = −1.
Answer
Phase shift = 1 unit left
Double-check At the old peak input u = π2, use x = π2 − 1, and x + 1 = π2. Every point is 1 unit left.

Rung 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).

cycle startsπ/23π/2−2−112
y=sin(2x−π).
Show the steps and the answer
  1. Match 2x−π to ωx−φ: ω=2 and φ=π.The subtracted number is not yet the x-distance.
  2. Set 2x−π=0 to locate the selected cycle start.The sine receives inside input 0 at that horizontal position.
  3. Add π: 2x=π. Divide by 2: x=π2.You undo the subtraction and then the input multiplier.
  4. Plug back: 2×π2−π=0.The proposed x gives the intended inside input.
  5. Factor: 2x−π=2(x−π2).The form x − h displays the horizontal distance h.
Answer
Phase shift = π2 right
Double-check The unshifted peak needs inside input π2. Solve 2x = π2 to find its horizontal position: x = π4. Plug back: 2 × π4 = π2. Moving it right by h = π2 gives π4 + 2π4 = 3π4. Plug into the shifted inside: 2 × 3π4 − π = 3π2 − π = π2, so sine is 1 at the shifted peak.

Rung 4 of 5

Cosine with a plus inside

Find the phase shift of 6 cos(2x + π2). This asks where the cosine's inside input 0 now occurs, regardless of its height 6.

Show the steps and the answer
cycle startsone period−π/2π/2π3π/2−44
y = 6 cos(2x + π/2).
  1. 2x+π2=2x−(−π2), so φ=−π2.Standard form subtracts the signed number φ.
  2. h=(−π2)÷2=−π4.The horizontal distance is φ divided by ω = 2.
  3. Plug back: 2×(−π4)+π2=−π2+π2=0.The proposed start is where cosine receives 0 and gives its peak.
  4. Factor the input as 2(x+π4)=2(x−(−π4)).The factored expression confirms the negative horizontal shift.
Answer
Phase shift = π4 left
Double-check At x = −π4, cosine gives 1, so the wave reaches 6 there. Moving right by period π reaches the next peak.

Rung 5 of 5

Fractional input speed

Find the phase shift of sin(x3 − π4). You want the x-distance needed to make the inside input 0.

Show the steps and the answer
cycle startsone periodπ3π5π7π−2−112
y = sin(0.3333x − π/4).
  1. ω=13 and φ=π4.The term x3 is one third times x.
  2. Set x3−π4=0, so x3=π4.This finds the selected cycle start by undoing the inside subtraction.
  3. Multiply by 3: x=3π4.The inside travels only a third as far as x, so x must travel three times the inside offset.
  4. Plug back: 3π4÷3−π4=π4−π4=0.The start really does make the inside input 0.
  5. Factor 13(x−3π4).Distributing one third gives x3 − π4, so the x-distance is visible.
Answer
Phase shift = 3π4 right
Double-check Using h = φ ÷ ω gives (π4) ÷ (13) = 3π4, the same answer by a second route.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: sin(x − 1) moves left because of the minus.
At x = −1 the inside is −2, not 0. At x = 1 the inside is 0.
✓ Instead: It moves right 1.
✗ Not this: Counterexample: sin(2x − π) shifts right π.
The inside travels 2 units for each x-unit. Moving x by π makes the inside advance 2π, twice the offset.
✓ Instead: The shift is π2 right.

Tips and tricks

  • Memory device: inside works backward. Explain it by making the inside 0.
  • Draw a small arrow from 0 to h on the x-axis after solving.
  • A cycle start is a chosen reference stage of a repeating wave. The graph also exists to its left. In sin(x − 1), h = 1 starts the chosen cycle; x = 0 still gives the valid output sin(−1).

7 The trap

Do not read the phase shift as φ alone. First translate from inside units to x-units by dividing by ω.

Keep in mind

  • Minus inside moves right and plus inside moves left: sin(x − 2) starts at x = 2, and sin(x + 2) starts at x = −2.
  • Divide by ω before you read the shift: in sin(2x − π4) the shift is π8, not π4.
  • Plug the start back into the inside to check that it gives 0: 2 × π8 − π4 = 0.
  • A phase shift slides the whole wave, so the period and the amplitude stay put: sin(2x − π4) still has period π and amplitude 1.

Memory hook

Inside is opposite: minus moves right, plus moves left. Set the inside equal to 0 and solve: that x is where the wave starts.

Flash cards

Say the answer out loud, then flip.

What is a phase shift?
The horizontal slide of the whole wave, h = φω.
Which way and how far is y = cos(x − 6) shifted?
6 units to the right
What is the phase shift of y = cos(6x − 3)?
6x − 3 = 0 gives x = 36 = 12, so 12 unit to the right.
What is the phase shift of y = sin(2x + π)?
2x + π = 0 gives x = −π2, so π2 to the left.
Why is the shift φω and not φ?
The start is where ωx − φ = 0, and solving that gives x = φω.
Is y = sin(x + 4) shifted 4 to the right?
No. Plus inside moves left: x + 4 = 0 at x = −4, so 4 to the left.

Lesson 5 of 9

One cycle: solve the inside-input inequality

Subject: MathematicsLeans on: Three-part inequalityLeans on: Common denominatorsLeans on: Interval notationLeans on: Horizontal distanceOpen this lesson
Leans on 0Comes back in 0

1 In plain words

Think of a recipe that runs from its first instruction to its last. Your clock and the recipe's progress need not use the same numbers. You must find when your clock makes the progress counter read the beginning, and when it makes the counter read the end. A sine or cosine cycle runs through inside inputs from 0 to 2π. A three-part inequality keeps that whole inside trip between its two endpoints. Undoing the operations finds the corresponding x-interval. Its left endpoint is the selected cycle start. Its length is the period. This method finds both without relying on a memorized sign trick.

Explain it like I am five

Picture a recipe with its own step counter, the inside of the parentheses, running from 0 to 2π while your kitchen clock reads x. One cycle is the stretch of clock time that walks the counter from 0 all the way to 2π. The three-part inequality 0 ≤ inside ≤ 2π, read "the inside is at least 0 and at most 2π", holds that whole trip in one line.

Take y = sin(2x − π4). Write 0 ≤ 2x − π4 ≤ 2π. Add π4 to all three parts: π4 ≤ 2x ≤ 2π + π4. Match bottoms to add: 2π = 8π4, so the right end is 9π4. Divide all three parts by 2, a positive number, so the ≤ signs stay: π8 ≤ x ≤ 9π8.

The left end, π8, is the phase shift. The width, 9π8 − π8 = 8π8 = π, is the period, matching 2πω = 2π2 = π. Check both ends in the inside: 2 × π8 − π4 = 0, and 2 × 9π8 − π4 = 9π4 − π4 = 2π.

2 Picture it

cycle startsone periodπ/2π3π/22π−8−6−4−2cycle startsone periodπ/2π3π/22π−8−6−4−2
y=3sin(2x−π)−4.

Reminder

Reminder: Three-part inequality, Common denominators, Interval notation, Horizontal distance
  • Three-part inequality. 0 ≤ 2x − π ≤ 2π becomes π ≤ 2x ≤ 3π after adding π everywhere.
  • Common denominators. 2π+π4=8π4+π4=9π4.
  • Interval notation. [0, π] means 0 ≤ x ≤ π; square brackets include both endpoints.
  • Horizontal distance. From 2 to 5 the distance is 5 − 2 = 3.

3 Why

The inequality 0 ≤ ωx − φ ≤ 2π covers one full inside turn. Adding φ everywhere gives φ ≤ ωx ≤ φ + 2π. Dividing by positive ω gives h ≤ x ≤ h + T. Subtracting the endpoints cancels h, leaving T = 2πω. Sine and cosine both repeat after that full turn. Dividing T into four equal steps gives the Quarter period T4; each step advances the inside by π2 and connects the five familiar cycle stages.

4 The rule

0≤ωx−φ≤2π gives h≤x≤h+T, where h=φω and T=2πω, provided ω>0.

The same idea, five ways

Say it

Find the horizontal interval that makes the inside do one full turn.

Write it

A selected cycle begins at h and ends at h + T.

In math
  • 0≤ωx−φ≤2π
  • h ≤ x ≤ h + T
  • [h, h + T]
  • T=(h+T)−h
Like

Find when the recipe's counter reaches its first and last instruction.

See it
cycle startsone periodπ/2π3π/22π−8−6−4−2
The same picture again: y = 3 sin(2x − π) − 4.

The same idea, other ways

As one complete lap

The inside travels one lap from 0 to 2π. The interval asks which horizontal inputs make that happen.

cycle startsone periodπ/2π3π/22π−8−6−4−2
The same picture a third time: y = 3 sin(2x − π) − 4.
As a window

The inequality is a window containing one cycle. Sliding the window changes its position; stretching its width changes the period.

5 How

  1. Write 0 ≤ the entire inside input ≤ 2π.
  2. Undo addition or subtraction in all three parts.
  3. Undo multiplication by dividing all three parts by positive ω.
  4. Plug both endpoints back into the inside; get 0 and 2π.
  5. Subtract start from end to get the period.

Find cycle endpoints

1
Is the inside coefficient positive?
YesDivide all three parts by it.
NoRewrite the negative coefficient with Lesson 7 first, then return.
  1. Choose inside endpoints 0 and 2π.
  2. Treat the three-part inequality as two inequalities joined together.
  3. Perform the same undoing step on all three parts.
  4. Check both boundaries by substitution and subtract them.

6 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
π/23π/2−2−112
y = sin x.
  1. The inside is x, so 0≤x≤2π.The base sine completes one turn as its inside moves through that interval.
  2. The selected start is x=0 and end is x=2π.These inputs send the inside to its required endpoints.
  3. Plug back: at x=0 the inside is 0; at x=2π the inside is 2π.Both endpoints match the desired stages.
  4. Length =2π−0=2π.A horizontal distance is right endpoint minus left endpoint.
Answer
  • One cycle: [0, 2π]
  • Phase shift = 0
  • Period = 2π
Double-check The graph begins at height 0 going up and returns to that same stage at 2π.

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 4

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
π/23π/2−2−112
The same picture again: y = sin x.
  1. The inside is x, so 0≤x≤2π.The base sine completes one turn as its inside moves through that interval.
  2. The selected start is x=0 and end is x=2π.These inputs send the inside to its required endpoints.
  3. Plug back: at x=0 the inside is 0; at x=2π the inside is 2π.Both endpoints match the desired stages.
  4. Length =2π−0=2π.A horizontal distance is right endpoint minus left endpoint.
Answer
  • One cycle: [0, 2π]
  • Phase shift = 0
  • Period = 2π
Double-check The graph begins at height 0 going up and returns to that same stage at 2π.

Rung 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
one periodπ/2π3π/22π−2−112
y = sin 2x.
  1. Write 0≤2x≤2π.This restricts the inside input to one full turn.
  2. Divide all three parts by positive 2: 0≤x≤π.Positive division preserves their order.
  3. Plug back: 2×0=0 and 2×π=2π.The endpoints produce a full inside cycle.
  4. Length =π−0=π.Subtracting endpoints measures the width.
Answer
  • One cycle: [0, π]
  • Period = π
Double-check T = 2π2 = π independently.

Rung 3 of 4

Speed and shift together: one cycle of y = sin(2x − 2π3)

Solve the inside-input inequality to find the x-interval that holds exactly one cycle of y = sin(2x − 2π3). Check both endpoints in the inside input, then find the period. The figure graphs the inside input u = 2x − 2π3 against x. It is a line with slope 2 that crosses the vertical axis at u = −2π3.

start (u = 0)end (u = 2π)24−448
The inside input u = 2x − 2π3 plotted against x; the vertical axis shows u, not y.
Show the steps and the answer
  1. Write the entire inside input between 0 and 2π: 0≤2x−2π3≤2π.A basic sine cycle runs while its input climbs from 0 to 2π. Here the input of sine is the whole expression 2x − 2π3, so that whole expression, not just x, must run from 0 to 2π.
  2. Add 2π3 to all three parts: 2π3≤2x≤2π+2π3. Since 2π=6π3, the right side is 8π3. So 2π3≤2x≤8π3.Subtracting 2π3 was the last thing done to x, so it is undone first by adding 2π3. Adding the same number to every part keeps the double inequality true.
  3. Divide all three parts by 2. 2π3 divided by 2 is 2π6=π3, and 8π3 divided by 2 is 8π6=4π3. So π3≤x≤4π3.x is multiplied by ω = 2, and dividing by a positive number keeps both inequality signs pointing the same way. The speed also divides the shift, so the cycle starts at π3, not at 2π3.
  4. Plug both endpoints back into the inside: 2·π3−2π3=2π3−2π3=0, and 2·4π3−2π3=8π3−2π3=6π3=2π.The start of the cycle must make the inside input 0 and the end must make it 2π. Getting exactly 0 and 2π confirms that the interval is one full cycle.
  5. Subtract start from end: 4π3−π3=3π3=π. The period is π.The period is the horizontal length of one cycle, and this cycle runs from x = π3 to x = 4π3.
Answer
  • One cycle: π3 ≤ x ≤ 4π3
  • period π.
Double-check Use the rule with ω = 2 and φ = 2π3. h = φω = 2π3·2 = π3 and T = 2πω = 2π2 = π. Then h ≤ x ≤ h + T gives π3 ≤ x ≤ π3 + π = 4π3, which matches. Also, the midpoint x = 5π6 gives 2·5π6 − 2π3 = 5π3 − 2π3 = π. That is exactly halfway between 0 and 2π, as the middle of a cycle should be.

Work to write

  1. 0≤2x−2π3≤2π
  2. 2π3≤2x≤8π3
  3. π3≤x≤4π3
  4. 2·π3 − 2π3 = 0 and 2·4π3 − 2π3 = 2π
  5. Period = 4π3 − π3 = π

Rung 4 of 4

One cycle with a fractional coefficient: y = cos(23x − π6)

For y = cos(23x − π6), solve the inside-input inequality to find the x-interval that holds exactly one cycle. Plug both endpoints back into the inside input, then find the period. The figure graphs the inside input u = 23x − π6 against x.

u = 0 (start)u = 2π (end)2610−22468
The inside input u = 23x − π6 graphed against x, a line of slope 23.
Show the steps and the answer
  1. Write 0≤23x−π6≤2π.Cosine completes one cycle as its input runs from 0 to 2π. The input here is the entire expression 23x − π6, not x alone.
  2. Add π6 to all three parts: π6≤23x≤2π+π6. Since 2π=12π6, the right side is 13π6, so π6≤23x≤13π6.Subtracting π6 was the last thing done to x, so it is undone first. Adding the same amount to all three parts keeps the inequality true.
  3. Divide all three parts by 23 by multiplying by its reciprocal 32: π6·32=3π12=π4 and 13π6·32=39π12=13π4. So π4≤x≤13π4.Dividing by a fraction is the same as multiplying by its reciprocal. Because ω = 23 is positive, the inequality signs keep their direction. The usual slip is to multiply by 23 instead, and the endpoint check in the next step would catch it.
  4. Plug both endpoints into the inside. At x=π4: 23·π4−π6=2π12−π6=π6−π6=0. At x=13π4: 23·13π4−π6=26π12−π6=13π6−π6=12π6=2π.The start of the cycle must make the inside 0 and the end must make it 2π. Getting exactly those two values confirms the solving.
  5. Subtract start from end: 13π4−π4=12π4=3π.The width of the interval that holds exactly one cycle is the period. It agrees with T = 2πω = 2π · 32 = 3π.
Answer
One cycle lies on π4 ≤ x ≤ 13π4, and the period is 3π.
Double-check By the rule, h = φω = π6 ÷ 23 = π6 · 32 = π4 and T = 2πω = 2π · 32 = 3π. So h + T = π4 + 12π4 = 13π4, which gives the same interval. The cosine values also show one full cycle. At x = π4 the inside is 0, so y = cos 0 = 1. At the midpoint x = 7π4 the inside is 23 · 7π4 − π6 = 7π6 − π6 = π, so y = cos π = −1. At x = 13π4 the inside is 2π, so y = cos 2π = 1. The values go max, min, max, which is exactly one cycle.

Work to write

  1. 0≤23x−π6≤2π
  2. π6≤23x≤13π6
  3. Multiply all three parts by 32: π4 ≤ x ≤ 13π4
  4. 23 · π4 − π6 = 0 and 23 · 13π4 − π6 = 2π
  5. Period = 13π4 − π4 = 3π

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: in 0 ≤ 2x − π ≤ 2π, add π only to the middle.
Changing only the middle changes which x-values satisfy the inequality. At x = 0 the original middle is −π, outside the required interval.
✓ Instead: Add π everywhere: π ≤ 2x ≤ 3π.

Tips and tricks

  • Write three copies of each addition or division mentally, one for each part.
  • A and B never enter the horizontal cycle inequality.
  • We select this one cycle to organize the calculation. The wave keeps repeating on both sides of the interval.

7 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.

Keep in mind

  • Do the same move to all three parts: adding π4 to 0, to the middle and to 2π keeps the inequality true.
  • Match bottoms before adding fractions with π: 2π + π4 = 8π4 + π4 = 9π4.
  • Dividing every part by a positive number keeps the ≤ signs, but dividing by a negative flips them: −2x ≤ 6 becomes x ≥ −3.
  • Equal heights do not prove a full cycle: sin x is 0 at both x = 0 and x = π, yet π is only halfway, where the wave heads down instead of up.

Memory hook

Sandwich the inside: 0 ≤ inside ≤ 2π. Undo the minus, then the multiply, in all three parts. Left end = phase shift, width = period.

Flash cards

Say the answer out loud, then flip.

What does 1 ≤ x ≤ 4 mean?
x is at least 1 and at most 4, endpoints included.
What must the inside do during one cycle of sine or cosine?
Run from 0 to 2π.
Find one cycle of y = sin(x − π6).
  • 0≤x−π6≤2π
  • π6≤x≤13π6
Find one cycle of y = cos(2x + π), then its period and phase shift.
  • 0 ≤ 2x + π ≤ 2π
  • −π≤2x≤π
  • −π2≤x≤π2
  • Period: π
  • Phase shift: π2 to the left
When do the ≤ signs flip?
Only when you multiply or divide every part by a negative number.
One cycle of y = sin(2x − π4) runs from π8 to 9π8. Is the period 9π8?
No. The period is the width, 9π8 − π8 = π. 9π8 is only the end point.

Lesson 6 of 9

Midline, maximum, minimum and range

Subject: MathematicsLeans on: AverageLeans on: Absolute valueLeans on: Interval notationLeans on: SubstitutionOpen this lesson
Leans on 0Comes back in 0

1 In plain words

Imagine a Ferris wheel standing on a platform. Raising the platform raises its top, bottom and center by the same amount. It does not make the wheel bigger. The outside addition B does that to a wave. Its center becomes the Midline, a Horizontal line written y = B. The Maximum is the highest output; the Minimum is the lowest. A Peak is a highest point and a Trough is a lowest point. The Range lists every output height the wave reaches. Start at the center and move one amplitude up or down to find its limits. Square brackets mean the limiting heights are included.

Explain it like I am five

Picture a Ferris wheel on a platform. Raise the platform 7 meters and the top, the bottom and the hub all rise 7 meters, but the wheel is no bigger. The number B added outside does that to a wave: its center line becomes the midline, the flat line y = B, every point of it at height B.

Take y = 4 sin x + 7. B = 7, so the midline is y = 7. The amplitude is |4| = 4. Go 4 up from the center for the maximum, the highest output: 7 + 4 = 11. Go 4 down for the minimum, the lowest output: 7 − 4 = 3. The range, every height the wave reaches, is [3, 11], where square brackets mean 3 and 11 are included.

Check both formulas: the average, 11+32 = 7, gives the midline, and half the gap, 11−32 = 4, gives the amplitude. The domain, the inputs you may feed in, is still every real number x. Only the outputs are fenced in.

2 Picture it

rangeπ/23π/2−224midline y = 1rangeπ/2π3π/22π−224
y = −3 sin x + 1, with its midline and range marked.

Reminder

Reminder: Average, Absolute value, Interval notation, Substitution
  • Average. The average of 10 and 2 is (10 + 2) ÷ 2 = 6.
  • Absolute value. |−3| = 3; use 3 for both vertical distances.
  • Interval notation. [−2, 4] means −2 ≤ y ≤ 4, with both endpoints included.
  • Substitution. sin(π2) = 1, so −3 sin(π2) + 1 = −2.

3 Why

The original sine or cosine stays between −1 and 1. After multiplying, the heights lie between −|A| and |A|, regardless of reflection. Adding B makes the extremes B − |A| and B + |A|. Their average is B because the equal positive and negative distances cancel. Their half-difference is |A| because B cancels. This proves both the midline and amplitude formulas and explains why they measure different features. Sine's coordinate is positive for half a circle turn and negative for the other half; cosine has equal positive and negative halves too. Constant inside speed makes these equal horizontal lengths above and below B.

4 The rule

midline y=B, with B=ymax+ymin2.

Minimum =B−|A|; maximum =B+|A|. Range: [B−|A|,B+|A|].

The same idea, five ways

Say it

The midline is the horizontal line through the wave's center; the range is every height it reaches.

Write it

The wave is centered at height B and reaches one amplitude above and below.

In math
  • Midline: y = B
  • B = ymax+ymin2
  • B−|A|≤y≤B+|A|
  • [B−|A|,B+|A|]
  • {y|B−|A|≤y≤B+|A|}
  • Graph words: center line and vertical shadow.
Like

Raising a Ferris wheel's platform raises its center and both extremes together.

See it
rangeπ/23π/2−224
The same picture again: y = −3 sin x + 1, with its midline and range marked.

The same idea, other ways

As a center and radius

A wheel's center height and size are separate. The midline sets the center, and amplitude sets how far the top and bottom sit from it.

amplitude 3π/23π/2−224
y = −3 sin x + 1, with its midline and amplitude marked.
With cancellation

Add the extremes: (B + |A|) + (B − |A|) = 2B. Divide by 2 and the equal distances disappear.

With numbers

A top at 10 and bottom at 2 center on 6. They are both 4 away, so midline y = 6 and amplitude 4.

Part 1: Vertical shift and midline

A Vertical shift changes every output by the same added amount. A horizontal line y = B has the same height for every input. Here y(x) means the wave's height at input x; it does not mean y times x.

  • Rule: adding B outside moves every height by B.
  • Rule: the midline equation is y = B.
  • Rule: in a nonconstant sinusoidal wave, half the horizontal length of each complete cycle is above the midline and half is below it, apart from the crossing points.
midline y = 2π/23π/21234
y = sin x + 2, with its midline marked.
The same idea, five ways
Say it

Vertical shift and midline

Write it

A Vertical shift changes every output by the same added amount. A horizontal line y = B has the same height for every input. Here y(x) names the wave's output height at input x; y(x + T2) names its output half a period later.

In math
  • Rule: adding B outside moves every height by B.
  • Rule: the midline equation is y = B.
  • y(x+T2)−B=−(y(x)−B)
Like

Lift the whole Ferris wheel on a platform without making it larger.

See it
midline y = 2π/23π/21234
The same picture again: y = sin x + 2, with its midline marked.

Worked example

Add outside to lift every height

Compare y = sin x with y = sin x + 2. Find the new middle and two extreme heights.

Show the steps and the answer
amplitude 1π/23π/21234
y = sin x + 2, with its midline and amplitude marked.
  1. Add 2 to the original middle 0: new middle =2.An outside addition changes every output by the same amount.
  2. Add 2 to the original minimum −1 and maximum 1: new extremes are 1 and 3.The whole graph slides upward without changing distances.
  3. The midline is y=2 and amplitude remains 1.Each extreme is still 1 away from the center.
Answer
  • Midline: y = 2
  • Minimum = 1
  • Maximum = 3
Double-check 3−12 = 1, so the outside addition did not change amplitude. Here ω = 1, so T = 2π and half the period is π. At x = π2, y = sin(π2) + 2 = 1 + 2 = 3. Half a period later, x + T2 = π2 + π = 3π2, and y = −1 + 2 = 1. Relative to center 2, 3 − 2 = 1 and 1 − 2 = −1. The displacements have opposite signs, as the half-period identity predicts.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: Adding 2 outside doubles amplitude.
Addition raises outputs, while multiplication changes distances.
✓ Instead: sin x + 2 has midline y = 2 and amplitude 1.
Tips and tricks
  • sin x + 2 has midline y = 2 and amplitude 1.

Part 2: Upper and lower endpoints

The Range is the vertical shadow of the wave. Interval notation [a, b] includes every height from a through b. Set notation {y | a ≤ y ≤ b} says the same thing: all y satisfying the condition after the bar.

  • Rule: range [B − |A|, B + |A|].
amplitude 3rangeπ/23π/2−224
y = −3 sin x + 1, with its midline, range and amplitude marked.
The same idea, five ways
Say it

Upper and lower endpoints

Write it

The range is the vertical shadow of the wave. Interval [a, b] includes every height from a through b. Set notation {y | a ≤ y ≤ b} says the same thing: all y satisfying the condition after the bar.

In math
  • Rule: range [B − |A|, B + |A|].
Like

The wheel reaches every height between its lowest and highest rim points.

See it
amplitude 3rangeπ/23π/2−224
The same picture again: y = −3 sin x + 1, with its midline, range and amplitude marked.

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
amplitude 3rangeπ/23π/2−224
The same picture a third time: y = −3 sin x + 1, with its midline, range and amplitude marked.
  1. B=1, so the midline is y=1.The outside addition raises every height by 1.
  2. |A|=|−3|=3.The negative multiplier reflects the wave, but the distance is positive.
  3. Minimum =B−|A|=1−3=−2.Move 3 below the center.
  4. Maximum =B+|A|=1+3=4.Move 3 above the center.
  5. The range is [−2,4], including both endpoints.The sine wave passes continuously through every height between its attained extremes.
Answer
  • Midline: y = 1
  • Range: [−2, 4]
Double-check At x = π2, y = −3(1) + 1 = −2. At x = 3π2, y = −3(−1) + 1 = 4, so both claimed endpoints really occur.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: Use [B − A, B + A] when A is negative.
That reverses the endpoints because A carries reflection direction.
✓ Instead: Use |A| so the lower height comes first.
Tips and tricks
  • Use |A| so the lower height comes first.

Part 3: Read height and center together

Subtract the extremes to find size. Add the extremes to find center. The two computations answer different questions.

  • Rule: amplitude = maximum−minimum2.
  • Rule: B = maximum+minimum2.
amplitude 4π/23π/224681012
y = 4 cos x + 6.
The same idea, five ways
Say it

Read height and center together

Write it

Subtract the extremes to find size. Add the extremes to find center. The two computations answer different questions.

In math
  • Rule: amplitude = maximum−minimum2.
  • Rule: B = maximum+minimum2.
Like

Find the center and radius of a wheel from its top and bottom heights.

See it
amplitude 4π/23π/224681012
The same picture again: y = 4 cos x + 6.

Worked example

Find the center between two extremes

A wave has maximum 10 and minimum 2. Find its midline and amplitude. You want the middle height and the equal distance on each side.

Show the steps and the answer
amplitude 4π/23π/224681012
The same picture a third time: y = 4 cos x + 6.
  1. B=10+22=122=6.The average of the two extremes locates the middle height.
  2. Amplitude =10−22=82=4.Half their separation is the distance on one side.
  3. Write the midline as y=6.A line equation says every point on that horizontal line has height 6.
  4. Check 6−4=2 and 6+4=10.Adding and subtracting the distance rebuilds the original extremes.
Answer
  • Midline: y = 6
  • Amplitude = 4
Double-check The distances are 10 − 6 = 4 and 6 − 2 = 4, confirming the center.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: The midline is y = 4 for maximum 10 and minimum 2.
4 is half the span, not the midpoint height.
✓ Instead: The midpoint is 6, and the amplitude is 4.
Tips and tricks
  • The midpoint is 6, and the amplitude is 4.

5 How

  1. Find the center B from the outside addition or the average of the extremes.
  2. Find the positive amplitude |A|.
  3. Subtract the amplitude from B for the minimum.
  4. Add the amplitude to B for the maximum.
  5. Write the midline as an equation and the range as an included interval.

Recover heights and center

1
Are maximum and minimum given?
YesCompute their average and half-difference.
NoRead A and B from the equation.
  1. From an equation, read B and |A|.
  2. From two extremes, average them for B and halve their difference for |A|.
  3. Use B ± |A| to rebuild the extremes.
  4. Keep the horizontal period separate from these vertical measurements.

6 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
amplitude 3rangeπ/23π/2−224
The same picture, shown 4 times now: y = −3 sin x + 1, with its midline, range and amplitude marked.
  1. B=1, so the midline is y=1.The outside addition raises every height by 1.
  2. |A|=|−3|=3.The negative multiplier reflects the wave, but the distance is positive.
  3. Minimum =B−|A|=1−3=−2.Move 3 below the center.
  4. Maximum =B+|A|=1+3=4.Move 3 above the center.
  5. The range is [−2,4], including both endpoints.The sine wave passes continuously through every height between its attained extremes.
Answer
  • Midline: y = 1
  • Range: [−2, 4]
Double-check At x = π2, y = −3(1) + 1 = −2. At x = 3π2, y = −3(−1) + 1 = 4, so both claimed endpoints really occur.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: the midline of −3 sin x + 1 is 1.
1 is the height, but a midline is an entire horizontal line.
✓ Instead: Write y = 1.
✗ Not this: Counterexample: its range is [4, −2].
Intervals put the lower endpoint first. A negative multiplier does not make an amplitude negative.
✓ Instead: Use [1 − 3, 1 + 3] = [−2, 4].

Tips and tricks

  • Memory device: center uses the sum, size uses the difference.
  • Check that the midpoint of your range equals B.

7 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.

Keep in mind

  • The midline is a line, so write it as an equation: y = 7, not 7.
  • The midline is the average of the maximum and the minimum: a wave from −1 to 9 has midline y = 9+(−1)2 = 4.
  • A negative A flips the wave, but the range still uses |A|: y = −4 sin x + 7 also has range [3, 11].
  • The range is the outputs and the domain is the inputs: y = 4 sin x + 7 accepts every real x, yet its outputs stay in [3, 11].

Memory hook

Center plus or minus reach: range = [B − |A|, B + |A|]. The average of top and bottom gives the midline, and half their gap gives the amplitude.

Flash cards

Say the answer out loud, then flip.

What is the midline?
The horizontal center line y = B, halfway between the maximum and the minimum.
What is the range of a function?
The set of all its output values.
Find the midline and range of y = 9 cos x + 1.
  • Midline: y = 1
  • Range: [−8, 10]
A wave peaks at 10 and bottoms out at −2. Find its midline and amplitude.
  • Midline: y = 10+(−2)2 = 4
  • Amplitude: 10−(−2)2 = 6
What is the range of y = −8 sin x + 6?
[6−8,6+8]=[−2,14]
Is the range of y = 4 sin x + 7 all real numbers?
No. All real numbers is the domain, the inputs. The range is [3, 11].

Lesson 7 of 9

Read all four features, including unusual signs

Subject: MathematicsLeans on: Factoring a negativeLeans on: Even and oddLeans on: Fraction divisionLeans on: Inside plus signLeans on: Range from centerLeans on: Quarter periodOpen this lesson
Leans on 0Comes back in 0

1 In plain words

Think of packing four labels on a moving wheel: size, repeat time, starting position and center height. A formula can hide those labels with a plus sign, a fraction, or a negative inside multiplier. You can unpack it in the same order every time. First make the inside multiplier positive. Then match the standard form without guessing from a single sign. A negative outside number makes the picture flip; it does not change the size distance. A plus inside means the subtracted offset is negative. Fractions need the same division rule you already practiced. Each label has its own calculation, so keep four separate answer lines.

Explain it like I am five

Think of a shipping label with four boxes: size, repeat width, start and center height. Some formulas hide the boxes behind a minus sign or a plus sign inside. Tidy the formula first, then fill each box on its own line.

Take y = 4 sin(−2x + π2) − 1. The inside speed is −2, a negative, so pull out a −1: −2x + π2 = −(2x − π2), which multiplies back to the original. Sine is an odd function: sin(−u) = −sin u for any inside u, so the minus comes out front: y = −4 sin(2x − π2) − 1. Now read: amplitude |−4| = 4, period 2π2 = π, phase shift π2 ÷ 2 = π4 to the right, midline y = −1.

Why the rule: on the unit circle, running an angle backward mirrors its point across the x-axis. Cosine reads left-right position, which the mirror keeps, so cosine is an even function: cos(−u) = cos u, and an inside minus disappears. Sine reads up-down position, which the mirror flips, so its minus comes out front.

2 Picture it

amplitude 5one periodπ/2π−8−6−4−22cycle startsmidline y = −3amplitude 5one periodπ/2π−8−6−4−22
y=5cos(4x−π)−3.

Reminder

Reminder: Factoring a negative, Even and odd, Fraction division, Inside plus sign, Range from center, Quarter period
  • Factoring a negative. −4x + π = −(4x − π), since −1 multiplies both terms.
  • Even and odd. cos(−π2)=cos(π2)=0;sin(−π2)=−sin(π2)=−1.
  • Fraction division. 2π÷13=6π.
  • Inside plus sign. πx + 2 = πx − (−2), so φ = −2.
  • Range from center. B = −3 and |A| = 5 give [−8, 2].
  • Quarter period. One quarter of a full cycle has width T4. It advances the inside by π2. For T = 6π, the quarter period is 3π2.

3 Why

Changing −u to u affects sine and cosine differently. Cosine reads horizontal circle position, which stays the same when an angle reverses. Thus cos(−u) = cos u. Sine reads vertical position, which reverses, so sin(−u) = −sin u. Rewriting a negative inside coefficient therefore leaves A unchanged for cosine but changes its sign for sine. After this rewrite ω is positive, and the previously derived period, shift and cycle formulas apply directly.

4 The rule

rewrite negative inside speed first: cos(−u)=cosu; sin(−u)=−sinu.

Then amplitude |A|, period 2πω, phase shift φω, and midline y=B.

The same idea, five ways

Say it

Read size, repeat width, sideways slide and center from a sine or cosine formula.

Write it

Normalize the inside sign before using the four-feature formulas.

In math
  • cos(−u)=cosu
  • sin(−u)=−sinu
  • |A|,T=2πω,h=φω,y=B
Like

Unpack four labels in the same order each time.

See it
amplitude 5one periodπ/2π−8−6−4−22
The same picture again: y = 5 cos(4x − π) − 3.

The same idea, other ways

As two mirror readings

Opposite circle rotations keep the same horizontal position but reverse vertical position. That is why cosine keeps its value and sine changes sign.

x = cos θy = sin θreversed angle
Reversing the turn preserves x and reverses y.
As a reading checklist

Do not improvise the order. Positive inside speed first, then signed parameters, then distances, then substitution.

Part 1: Standard sine

Read the four parameters directly, then turn them into distances.

  • Rule: 3 sin(2x − π) − 4 has A = 3, ω = 2, φ = π, B = −4.
amplitude 3one periodπ/2π3π/22π−8−6−4−2
y=3sin(2x−π)−4.
The same idea, five ways
Say it

Standard sine

Write it

Read the four parameters directly, then turn them into distances.

In math
  • Rule: 3 sin(2x − π) − 4 has A = 3, ω = 2, φ = π, B = −4.
Like

Unpack four labeled controls before switching the ride on.

See it
amplitude 3one periodπ/2π3π/22π−8−6−4−2
The same picture again: y = 3 sin(2x − π) − 4.

Worked example

Standard sine: all four features when the inside has a + sign

Find the amplitude, period, phase shift and midline of y = 7 sin(π12x + 5π12) + 1. Say which way the graph is shifted, then check the shift and the range. The figure shows the midline of the finished graph with the five key points of one cycle marked, for checking your answer.

(−5, 1)(1, 8)(7, 1)(13, −6)(19, 1)−661218−8−448
The midline y = 1 is drawn as a horizontal line.
Show the steps and the answer
  1. Check the sign of the x-coefficient inside the sine. It is π12, which is positive, so there is no −1 to factor out. The inside stays π12x+5π12.The rewrite is only needed when the x-coefficient is negative. Checking first means every feature can be read straight from this inside.
  2. No even or odd rule is used, so the rewritten form is the same as the original: y=7sin(π12x+5π12)+1, and the 7 stays positive.sin(−u) = −sin u and cos(−u) = cos u only apply after a −1 has been pulled out of the inside. Nothing was pulled out here, so A does not change sign.
  3. Write the inside in the form ωx−φ: π12x+5π12=π12x−(−5π12). Matching y=Asin(ωx−φ)+B gives A=7,ω=π12,φ=−5π12,B=1.φ is the number subtracted inside, so a + sign makes φ negative. Keeping that sign is what makes φω point the right way.
  4. Amplitude =|A|=|7|=7.Amplitude is the distance from the midline to a peak, and a distance is never negative.
  5. Period =2πω=2π÷π12=2π·12π=24.A sine wave repeats when its inside grows by 2π. The inside grows by π12 for each 1 unit of x, so a full cycle takes 24 units.
  6. Phase shift =φω=−5π12÷π12=−5π12·12π=−5. The value is negative, so the graph is shifted 5 units to the left.Factoring out ω gives π12x + 5π12 = π12(x + 5), so the cycle that normally starts at x = 0 now starts at x = −5. A + sign inside means a shift left, not right.
  7. Midline: y=B=1.B is added outside the sine, so it lifts the whole graph 1 unit. The wave swings equally above and below y = 1.
  8. Put the shift x=−5 into the inside: π12(−5)+5π12=−5π12+5π12=0, so y=7sin0+1=1. The original and rewritten insides are the same expression, so this one substitution checks both.The phase shift is the x-value where the inside equals 0. That is where a sine cycle starts, on its midline.
  9. Range: sin takes every value from −1 to 1, so y runs from 1−7=−6 up to 1+7=8. The range is −6≤y≤8.The graph reaches one amplitude above and one amplitude below the midline: the maximum is B + |A| and the minimum is B − |A|.
Answer
Amplitude 7, period 24, phase shift −5 (the graph is shifted 5 units to the left), midline y = 1. The range is −6 ≤ y ≤ 8.
Double-check At x = −5 the inside is 0 and y = 1, on the midline, so the cycle starts 5 units left of the y-axis. Because A = 7 is positive, the graph rises first. A quarter-period (6 units) later, at x = 1, the inside is π12 + 5π12 = π2 and y = 7(1) + 1 = 8, the top of the range. At x = 7 the inside is 7π12 + 5π12 = π and y = 1. At x = 13 the inside is 13π12 + 5π12 = 3π2 and y = 7(−1) + 1 = −6, the bottom of the range. At x = 19 the inside is 19π12 + 5π12 = 2π and y = 1. That ends the cycle 24 units after x = −5, which matches the period. These are the points (−5, 1), (1, 8), (7, 1), (13, −6) and (19, 1) marked in the figure.

Work to write

  1. Inside x-coefficient π12 is positive: no −1 to factor, no even or odd rule
  2. π12x+5π12=π12x−(−5π12)
  3. A=7,ω=π12,φ=−5π12,B=1
  4. Amplitude = |7| = 7
  5. Period = 2π ÷ π12 = 2π · 12π = 24
  6. Phase shift = −5π12 ÷ π12 = −5, so 5 units to the left
  7. Midline: y = 1
  8. Check: π12(−5) + 5π12 = 0, so y = 7 sin 0 + 1 = 1
  9. Range: 1 − 7 = −6 to 1 + 7 = 8, so −6 ≤ y ≤ 8
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: The midline is y = 4 because the outside number has size 4.
The addition is signed: subtracting 4 moves the center down.
✓ Instead: Keep B = −4.
Tips and tricks
  • Keep B = −4.

Part 2: Plus inside and negative A

The minus outside reflects heights. The plus inside chooses a negative signed φ. They are separate jobs.

  • Rule: πx + 2 = πx − (−2).
amplitude 4one period−π/2π/2π−22468
y=−4cos(πx+2)+3.
The same idea, five ways
Say it

Plus inside and negative A

Write it

The minus outside reflects heights. The plus inside chooses a negative signed φ. They are separate jobs.

In math
  • Rule: πx + 2 = πx − (−2).
Like

A height flip and a timetable slide are two separate wheel adjustments.

See it
amplitude 4one period−π/2π/2π−22468
The same picture again: y = −4 cos(πx + 2) + 3.

Worked example

Plus inside, negative speed: a sine that flips and shifts right

Find the amplitude, period, phase shift and midline of y = 6 sin(−π10x + 4π5) − 3. 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 shows the midline of the finished graph and the five key points of one cycle. The solution works out the coordinates of each point.

(8, −3)(13, −9)(18, −3)(23, 3)(28, −3)39152127−12−8−44
The horizontal line is the midline y = −3 of the finished graph of y = 6 sin(−π10x + 4π5) − 3.
Show the steps and the answer
  1. The x-coefficient inside is −π10, which is negative. Factor −1 out of the whole inside: −π10x+4π5=−(π10x−4π5).The four features are read from a positive speed ω. Taking −1 out of both terms keeps the inside equal to what it was, and the + 4π5 becomes − 4π5 inside the brackets. Writing −(π10x + 4π5) would change the function.
  2. Use the sine odd rule sin(−u)=−sinu with u=π10x−4π5: y=6sin(−u)−3=−6sin(π10x−4π5)−3.Sine is odd, so the minus sign comes out of the sine and multiplies the 6. It does not reach the − 3, which is added after the sine is taken. A cosine would absorb the minus with no change of sign, but a sine does not.
  3. Match y=−6sin(π10x−4π5)−3 to y=Asin(ωx−φ)+B: A=−6,ω=π10,φ=4π5,B=−3.The signs carry meaning. A = −6 says the graph is flipped over its midline. φ is the amount subtracted from ωx, so a positive φω means a shift to the right.
  4. Amplitude =|A|=|−6|=6.Amplitude is the distance from the midline to a peak, so it is never negative. The minus sign in A only flips the graph.
  5. Period =2πω=2π÷π10=2π·10π=20.One full cycle is done when the inside has grown by 2π, and the inside grows by π10 for each unit of x.
  6. Phase shift =φω=4π5÷π10=4π5·10π=8. It is positive, so the graph is shifted 8 units to the right: y=−6sin(π10(x−8))−3.The cycle starts where the rewritten inside is 0, and π10(x − 8) = 0 at x = 8. The plus sign in the original inside does not mean a shift left. Once the negative speed is factored out, 4π5 is subtracted.
  7. Midline: y=B=−3.The − 3 is outside the sine, so neither factoring the inside nor the odd rule changes it.
  8. Plug the shift x=8 into both insides. Original: −π10(8)+4π5=−4π5+4π5=0. Rewritten: π10(8)−4π5=4π5−4π5=0.Both forms must start the cycle at the same x. Both insides are 0, so y = 6 sin 0 − 3 = −3 and y = −6 sin 0 − 3 = −3. The cycle starts on the midline at (8, −3).
  9. Range: from B−|A|=−3−6=−9 up to B+|A|=−3+6=3, so −9≤y≤3.The graph swings one amplitude below the midline and one amplitude above it.
  10. Mark the key points a quarter period apart, starting at x=8. A quarter period is 20÷4=5. The points are (8,−3),(13,−9),(18,−3), (23, 3), (28,−3).Because A = −6, the graph leaves the midline going down. The minimum −9 comes first and the maximum 3 comes third. These are the points in the figure.
Answer
  • Amplitude 6
  • period 20
  • phase shift 8, so the graph is shifted 8 units to the right
  • midline y = −3. The rewritten form is y = −6 sin(π10(x − 8)) − 3, so the graph is also flipped over its midline. The range is −9 ≤ y ≤ 3.
Double-check Test x = 13, a quarter period after the start, in both forms. Original inside: −13π10 + 8π10 = −π2, so y = 6 sin(−π2) − 3 = 6(−1) − 3 = −9. Rewritten inside: 13π10 − 8π10 = π2, so y = −6 sin(π2) − 3 = −6 − 3 = −9. Test x = 23. Original inside: −23π10 + 8π10 = −3π2, so y = 6 sin(−3π2) − 3 = 6(1) − 3 = 3. Rewritten inside: 23π10 − 8π10 = 3π2, so y = −6 sin(3π2) − 3 = −6(−1) − 3 = 3. The two forms agree. The range also checks: both the lowest value −9 and the highest value 3 are reached. Their midpoint, −9+32 = −3, is the midline, and half their gap, 3−(−9)2 = 6, is the amplitude. If the minus from the odd rule had been dropped, x = 13 would give 6 sin(π2) − 3 = 3 instead of −9, so this check catches that slip.

Work to write

  1. −π10x+4π5=−(π10x−4π5)
  2. y=−6sin(π10x−4π5)−3
  3. A=−6,ω=π10,φ=4π5,B=−3
  4. Amplitude = |−6| = 6
  5. Period = 2π ÷ π10 = 20
  6. Phase shift = 4π5 ÷ π10 = 8, so the graph is shifted 8 units right
  7. Midline: y = −3
  8. x = 8: −π10(8) + 4π5 = 0 and π10(8) − 4π5 = 0
  9. Range: −3 − 6 ≤ y ≤ −3 + 6, so −9 ≤ y ≤ 3
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: A negative A moves the graph left.
A multiplies outputs and reverses heights, not horizontal positions.
✓ Instead: Use φω to find the horizontal shift.
Tips and tricks
  • Use φω to find the horizontal shift.

Part 3: Fractions inside

The expression x3 is one third times x, so the coefficient of x is 13. Divide both the full-turn angle and the inside offset by one third.

  • Rule: dividing by 13 multiplies by 3.
amplitude 0.5one periodπ3π5π7π12
y = −0.5 sin(0.3333x − π/4) + 1.
The same idea, five ways
Say it

Fractions inside

Write it

The expression x3 is one third times x, so the coefficient of x is 13. Divide both the full-turn angle and the inside offset by one third.

In math
  • Rule: dividing by 13 multiplies by 3.
Like

The wheel's internal clock runs at one third of your clock's speed.

See it
amplitude 0.5one periodπ3π5π7π12
The same picture again: y = −0.5 sin(0.3333x − π/4) + 1.

Worked example

Two minus signs that cancel: a sine with fractions inside

Find the amplitude, period, phase shift and midline of y = −8 sin(−π3x − 5π6) + 5. 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 shows the midline y = 5 of the finished graph with the five key points of one cycle: (−52, 5), (−1, 13), (12, 5), (2, −3) and (72, 5).

(−2.5, 5)(−1, 13)(0.5, 5)(2, −3)(3.5, 5)−4−224−44812
The midline y = 5 of the finished graph of y = −8 sin(−π3x − 5π6) + 5, with the five key points of one cycle.
Show the steps and the answer
  1. The x-coefficient inside is −π3, which is negative, so factor −1 out of the whole inside: −π3x−5π6=−(π3x+5π6).The rules cos(−u) = cos u and sin(−u) = −sin u only apply once the inside is written as −u. Factoring −1 out of both terms flips both signs, so −5π6 becomes +5π6. Leaving it as −5π6 is the usual slip, and it would send the shift the wrong way.
  2. Use the sine odd rule with u=π3x+5π6: y=−8sin(−u)+5=−8·(−sinu)+5=8sin(π3x+5π6)+5.This is a sine, so the odd rule applies, not the cosine even rule: sin(−u) = −sin u. The new minus sign multiplies the −8 already in front, and (−8)·(−1) = 8. The two minus signs cancel, so the graph is not reflected.
  3. Match y=8sin(π3x+5π6)+5 with y=Asin(ωx−φ)+B: A=8,ω=π3,φ=−5π6,B=5.The form subtracts φ, and π3x + 5π6 = π3x − (−5π6), so φ is negative. Keeping that sign is what gives the direction of the shift.
  4. Amplitude =|A|=|8|=8.Amplitude is the distance from the midline to a peak, so it is never negative. The original −8 has the same size, |−8| = 8. The rewrite changes only the sign, not the amplitude.
  5. Period =2πω=2π÷π3=2π·3π=6.Dividing by the fraction π3 means multiplying by its reciprocal 3π. The π cancels, leaving 2 · 3 = 6.
  6. Phase shift =φω=−5π6÷π3=−5π6·3π=−156=−52. The graph is shifted 52 units to the left.Multiply by the reciprocal of ω, cancel π, and reduce 156 by dividing top and bottom by 3. A negative phase shift means a shift to the left.
  7. Midline: y=B=5.The constant added outside the sine raises the whole graph 5 units, so the graph is centered on the horizontal line y = 5.
  8. Check the shift by putting x=−52 into both insides. Original: −π3·(−52)−5π6=5π6−5π6=0. Rewritten: π3·(−52)+5π6=−5π6+5π6=0.A cycle of the rewritten sine starts where its inside is 0. The original inside is the negative of the rewritten one, so it must be 0 at the same x. Both are 0 at x = −52, which confirms the shift of 52 units to the left.
  9. Check the range: B−|A|≤y≤B+|A|, so 5−8≤y≤5+8, that is −3≤y≤13. These values match the minimum (2,−3) and the maximum (−1,13) in the figure.The sine of anything lies between −1 and 1. So 8 sin(...) lies between −8 and 8, and adding 5 moves those bounds to −3 and 13.
Answer
Amplitude 8, period 6, phase shift −52 (the graph is shifted 52 units to the left), midline y = 5. The rewritten form is y = 8 sin(π3x + 5π6) + 5, and the range is −3 ≤ y ≤ 13.
Double-check Factor the rewritten inside: π3x + 5π6 = π3(x + 52), since π3 · 52 = 5π6. Because x + 52 = x − (−52), this is a shift of 52 to the left. A quarter period (64 = 32) later, at x = −1, the original gives −8 sin(π3 − 5π6) + 5 = −8 sin(−π2) + 5 = −8·(−1) + 5 = 13. That is the maximum, so the graph rises from the midline, as 8 sin(...) should. At x = 2 the original gives −8 sin(−2π3 − 5π6) + 5 = −8 sin(−3π2) + 5 = −8·1 + 5 = −3, which is the minimum. At x = −52 + 6 = 72 the original inside is −7π6 − 5π6 = −2π, so y = 5 and one full period of 6 is complete.

Work to write

  1. −π3x−5π6=−(π3x+5π6)
  2. sin(−u) = −sin u, so y = −8·(−sin(π3x + 5π6)) + 5 = 8 sin(π3x + 5π6) + 5
  3. A=8,ω=π3,φ=−5π6,B=5
  4. Amplitude = |8| = 8
  5. Period = 2π ÷ π3 = 2π · 3π = 6
  6. Phase shift = −5π6 ÷ π3 = −5π6 · 3π = −52, so 52 units to the left
  7. Midline: y = 5
  8. x = −52: original inside −π3·(−52) − 5π6 = 0; rewritten inside π3·(−52) + 5π6 = 0
  9. Range: 5 − 8 ≤ y ≤ 5 + 8, so −3 ≤ y ≤ 13
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: T = 2π3 when the inside is x3.
The inside advances more slowly, so x must travel farther.
✓ Instead: T = 6π.
Tips and tricks
  • T = 6π.

Part 4: Negative ω in cosine

Cosine's Even function property lets you reverse the entire inside without changing the output.

  • Rule: 5 cos(−4x + π) − 3 = 5 cos(4x − π) − 3.
amplitude 5one periodπ/2π−8−6−4−22
The same picture a third time: y = 5 cos(4x − π) − 3.
The same idea, five ways
Say it

Negative ω in cosine

Write it

Cosine's Even function property lets you reverse the entire inside without changing the output.

In math
  • Rule: 5 cos(−4x + π) − 3 = 5 cos(4x − π) − 3.
Like

Reversing wheel direction keeps sideways position mirrored equally.

See it
amplitude 5one periodπ/2π−8−6−4−22
The same picture, shown 4 times now: y = 5 cos(4x − π) − 3.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: for cos(−4x + 2), change only −4x to 4x and keep +2.
Changing the entire input's sign gives 4x − 2, not 4x + 2. At x = 12, the original input is 0 and cosine is 1, while the proposed input is 4 radians and cosine is not 1. A π offset can hide this error because shifting by a full period repeats the same wave.
✓ Instead: Factor −1 from both terms: cos(−4x + 2) = cos(−(4x − 2)) = cos(4x − 2).
Tips and tricks
  • Change both inside signs: −(4x − π).

Part 5: Negative ω in sine

Sine's Odd function property changes the outside multiplier's sign when you reverse the inside.

  • Rule: 7 sin(−2x + π) − 1 = −7 sin(2x − π) − 1.
amplitude 7one periodπ/2π3π/22π−8−44
y=−7sin(2x−π)−1.
The same idea, five ways
Say it

Negative ω in sine

Write it

Sine's Odd function property changes the outside multiplier's sign when you reverse the inside.

In math
  • Rule: 7 sin(−2x + π) − 1 = −7 sin(2x − π) − 1.
Like

Reversing wheel direction reverses upward position across the center.

See it
amplitude 7one periodπ/2π3π/22π−8−44
The same picture again: y = −7 sin(2x − π) − 1.

Worked example

Negative sine coefficient changes A too

For y = 7 sin(−2x + π) − 1, rewrite with positive ω and find the four features. This asks you to keep the reflection that cosine would not need.

Show the steps and the answer
amplitude 7one periodπ/2π3π/22π−8−44
The same picture a third time: y = −7 sin(2x − π) − 1.
  1. −2x+π=−(2x−π).Factoring −1 changes the signs of both terms inside.
  2. sin(−(2x−π))=−sin(2x−π), so y=−7sin(2x−π)−1.Sine is an Odd function: reversing the angle reverses its vertical coordinate.
  3. A=−7,ω=2,φ=π,B=−1.Read the positive-speed form.
  4. Amplitude =7; T=2π2=π; h=π2 right.Distance ignores A's negative sign, while period and shift use positive ω.
  5. Plug back: 2×π2−π=0; the original inside −2×π2+π=0 also.Both forms reach their selected start at the same x.
  6. Midline: y=−1; range: [−8,6].The center is −1 and each extreme is 7 away.
Answer
  • Amplitude = 7
  • Period = π
  • Phase shift = π2 right
  • Midline: y = −1
Double-check At x = 3π4 the original inside is −π2, so y = −8. The rewritten form gives −7 sin(π2) − 1 = −8 too.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: Reverse sine's inside without changing A.
Sine changes sign when its input changes sign, so that would change the function.
✓ Instead: Bring the extra minus outside.
Tips and tricks
  • Bring the extra minus outside.

Part 6: Know cold

Learn these short facts until you can say them without opening the notes. The memory devices name what to look at. Return to this list after the worked lessons; the example below shows how its facts connect.

  • At the selected inside-input 0 with ω > 0, sine starts at the midline and positive-A cosine starts at a peak. Memory device: sine starts level, positive cosine starts high.
  • Amplitude is a distance and is never negative. Memory device: distance drops the sign.
  • After rewriting to ω > 0, subtracting a positive inside offset moves right; adding a positive inside offset moves left. Memory device: inside works backward. Check by making the entire inside input 0.
  • The midline is an equation y = B. Memory device: center height gets its own line.

Distance drops the sign

Inside works backward when ω > 0

At inside 0: sine middle; positive cosine peak

Midline: y = B

The same idea, five ways
Say it

Know cold

Write it

Learn these short facts until you can say them without opening the notes. The memory devices name what to look at.

In math
  • At the selected inside-input 0 with ω > 0, sine starts at the midline and positive-A cosine starts at a peak. Memory device: sine starts level, positive cosine starts high.
  • Amplitude is a distance and is never negative. Memory device: distance drops the sign.
  • After rewriting to ω > 0, subtracting a positive inside offset moves right; adding a positive inside offset moves left. Memory device: inside works backward. Check by making the entire inside input 0.
  • The midline is an equation y = B. Memory device: center height gets its own line.
Like

Keep a few direction cues beside your study calendar.

See it

Distance drops the sign

Inside works backward when ω > 0

At inside 0: sine middle; positive cosine peak

Midline: y = B

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: a negative ω gives a negative period.
A period is a positive horizontal distance. The negative coefficient describes input direction.
✓ Instead: Rewrite with positive ω, then use T = 2πω.
✗ Not this: Counterexample: sin(−u) = sin u because cosine has that property.
Sine reads y, which changes sign when the turn reverses. Cosine reads x, which does not.
✓ Instead: sin(−u)=−sinu;cos(−u)=cosu.
Tips and tricks
  • Write the parameter line before any feature line.
  • For a negative coefficient, test a quarter-turn input to see whether a missing minus changed the output.

Part 7: Understand, then rebuild it when needed

You do not need to memorize a long table of shifted points. Rebuild it from the five basic points and one cycle. Return to this list after the worked lessons; the example below shows how its facts connect.

  • Rebuild T and the phase shift by solving 0 ≤ ωx − φ ≤ 2π.
  • Rebuild amplitude and midline from the maximum and minimum.
  • Rebuild a graph using steps of T ÷ 4 from its chosen cycle start.
  • Recognize that shifting by an entire period gives an equivalent equation.
one periodπ/23π/2−2−112
y = sin x.
The same idea, five ways
Say it

Understand, then rebuild it when needed

Write it

You do not need to memorize a long table of shifted points. Rebuild it from the five basic points and one cycle.

In math
  • Rebuild T and the phase shift by solving 0 ≤ ωx − φ ≤ 2π.
  • Rebuild amplitude and midline from the maximum and minimum.
  • Rebuild a graph using steps of T ÷ 4 from its chosen cycle start.
  • Recognize that shifting by an entire period gives an equivalent equation.
Like

Rebuild a route from its start and distance rather than memorizing every stop.

See it
one periodπ/23π/2−2−112
The same picture again: y = sin x.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: in 0 ≤ 2x − π ≤ 2π, add π only to the middle.
Changing only the middle changes which x-values satisfy the inequality. At x = 0 the original middle is −π, outside the required interval.
✓ Instead: Add π everywhere: π ≤ 2x ≤ 3π.
Tips and tricks
  • Write three copies of each addition or division mentally, one for each part.
  • A and B never enter the horizontal cycle inequality.

Part 8: Put on the cheat sheet

Keep this compact list together for study or for a permitted reference sheet. Memorize the meanings first; look up a long worked example when practicing. Return to this list after the worked lessons; the example below shows how its facts connect.

  • |A| = ymax−ymin2; B = ymax+ymin2.
  • T=2πω;ω=2πT.
  • h=φω;φ=ωh;ωx−φ=ω(x−h).
  • One cycle: h ≤ x ≤ h + T. Range: [B − |A|, B + |A|].
  • Negative inside coefficient: cos(−u) = cos u; sin(−u) = −sin u.

T=2πω;h=φω

ymax = B + |A|

ymin = B − |A|

cos(−u)=cosu;sin(−u)=−sinu

The same idea, five ways
Say it

Put on the cheat sheet

Write it

Keep this compact list together for study or for a permitted reference sheet. Memorize the meanings first; look up a long worked example when practicing.

In math
  • |A| = ymax−ymin2; B = ymax+ymin2.
  • T=2πω;ω=2πT.
  • h=φω;φ=ωh;ωx−φ=ω(x−h).
  • One cycle: h ≤ x ≤ h + T. Range: [B − |A|, B + |A|].
  • Negative inside coefficient: cos(−u) = cos u; sin(−u) = −sin u.
Like

Keep the wheel's four measurement labels on one reference card.

See it

T=2πω;h=φω

ymax = B + |A|

ymin = B − |A|

cos(−u)=cosu;sin(−u)=−sinu

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
amplitude 3rangeπ/23π/2−224
The wave reaches 3 above and below y = 1, so its extreme heights are −2 and 4.
  1. B=1, so the midline is y=1.The outside addition raises every height by 1.
  2. |A|=|−3|=3.The negative multiplier reflects the wave, but the distance is positive.
  3. Minimum =B−|A|=1−3=−2.Move 3 below the center.
  4. Maximum =B+|A|=1+3=4.Move 3 above the center.
  5. The range is [−2,4], including both endpoints.The sine wave passes continuously through every height between its attained extremes.
Answer
  • Midline: y = 1
  • Range: [−2, 4]
Double-check At x = π2, y = −3(1) + 1 = −2. At x = 3π2, y = −3(−1) + 1 = 4, so both claimed endpoints really occur.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: the midline of −3 sin x + 1 is 1.
1 is the height, but a midline is an entire horizontal line.
✓ Instead: Write y = 1.
✗ Not this: Counterexample: its range is [4, −2].
Intervals put the lower endpoint first. A negative multiplier does not make an amplitude negative.
✓ Instead: Use [1 − 3, 1 + 3] = [−2, 4].
Tips and tricks
  • Memory device: center uses the sum, size uses the difference.
  • Check that the midpoint of your range equals B.

5 How

  1. If the x-coefficient inside is negative, factor out −1 from the whole inside.
  2. Use the cosine even rule or sine odd rule.
  3. Match A, ω, φ and B, keeping signed quantities.
  4. Compute each feature on its own line.
  5. Plug the shift into the original and rewritten inside and check the range.

Read the four features

1
Is the inside coefficient negative?
YesFactor −1 from both inside terms.
NoRead the parameters directly.
↓
2
After factoring, is the function sine?
YesBring a minus sign outside and change A.
NoFor cosine, remove the inside minus without changing A.
↓
3
Does the inside use a plus?
YesUse a negative φ.
NoUse the signed subtracted φ.
  1. Normalize a negative ω with the correct sine or cosine sign rule.
  2. Rewrite an inside plus as subtraction of a negative.
  3. Read the four signed parameters.
  4. Compute distances and center, then verify the start and an extreme.

6 Worked example

Worked example

Two minus signs that cancel: y = −10 sin(−π9x + π3) − 5

Find the amplitude, period, phase shift and midline of y = −10 sin(−π9x + π3) − 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.

(3, −5)(7.5, 5)(12, −5)(16.5, −15)(21, −5)391521−18−12−66
The midline y = −5 of the finished graph y = 10 sin(π9x − π3) − 5, with the five key points of one cycle.
Show the steps and the answer
  1. Look inside the sine. The x-coefficient is −π9, which is negative. Factor −1 out of the whole inside: −π9x+π3=−(π9x−π3).The rule removes a negative speed before any feature is read. The −1 must come out of both terms, so +π3 becomes −π3 inside the brackets. Multiplying back out gives −π9x + π3 again, so only the form has changed. Writing −(π9x + π3) instead would wrongly send the shift to the left.
  2. Let u=π9x−π3, so y=−10sin(−u)−5. Sine is odd, so sin(−u)=−sinu and −10sin(−u)=−10(−sinu)=10sinu. The rewritten function is y=10sin(π9x−π3)−5.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.
  3. Match y=10sin(π9x−π3)−5 with y=Asin(ωx−φ)+B. This gives A=10,ω=π9,φ=π3 and B=−5.All four features are read from the rewritten form, where the speed is positive. φ is the amount subtracted from ωx, so φ = +π3. The constant outside the sine is − 5, so B = −5 with its sign kept.
  4. Amplitude =|A|=|10|=10. Because A=10 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.
  5. Period =2πω=2π÷π9=2π·9π=18.One sine cycle is complete when the inside has grown by 2π. The inside grows by π9 for each unit of x, so a cycle takes 18 units of x.
  6. Phase shift =φω=π3÷π9=π3·9π=3. The shift is positive, so the graph is shifted 3 units to the right.π9x − π3 = π9(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.
  7. Midline: y=B=−5.B lowers the whole graph by 5, so the curve rises and falls by equal amounts about the horizontal line y = −5.
  8. Put x=3 into both insides. Original: −π9(3)+π3=−π3+π3=0. Rewritten: π9(3)−π3=π3−π3=0. Then y=−10sin0−5=−5.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.
  9. Range: B−|A|≤y≤B+|A|, so −5−10≤y≤−5+10, which gives −15≤y≤5. In the original, x=7.5 gives the inside −π9(7.5)+π3=−5π6+2π6=−π2, so y=−10(−1)−5=5. Also x=16.5 gives the inside −11π6+2π6=−3π2, so y=−10(1)−5=−15.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.
Answer
  • Rewritten, the function is y = 10 sin(π9x − π3) − 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.
Double-check At the shift x = 3, the original inside −π9(3) + π3 and the rewritten inside π9(3) − π3 are both 0, so y = −5 lies on the midline. At x = 7.5 the original gives y = −10 sin(−π2) − 5 = 5 = B + |A|. At x = 16.5 it gives y = −10 sin(−3π2) − 5 = −15 = B − |A|. So the range is −15 ≤ y ≤ 5. At x = 12 the inside is −12π9 + 3π9 = −π, and at x = 21 it is −21π9 + 3π9 = −2π, so y = −5 at both. The cycle from 3 to 21 therefore has length 18, which matches the period. All five key points agree with the figure.

Work to write

  1. −π9x+π3=−(π9x−π3)
  2. sin(−u) = −sin u, so −10 sin(−u) = 10 sin u
  3. y=10sin(π9x−π3)−5
  4. A=10,ω=π9,φ=π3,B=−5
  5. Amplitude = |10| = 10; not reflected
  6. Period = 2π ÷ π9 = 18
  7. Phase shift = π3 ÷ π9 = 3, so 3 units to the right
  8. Midline: y = −5
  9. x = 3: −π3 + π3 = 0 and π3 − π3 = 0
  10. Range: −15 ≤ y ≤ 5

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 5

Standard sine: four features with a plus inside and a negative midline

Find the amplitude, period, phase shift and midline of y = 4 sin(π4x + π2) − 2. Say which way the graph is shifted, then check the shift and the range.

(−2, −2)(0, 2)(2, −2)(4, −6)(6, −2)−4−22468−8−6−4−224
The horizontal line is the midline y = −2.
Show the steps and the answer
  1. Look at the x-coefficient inside the sine. In π4x+π2 it is +π4, which is positive, so there is no −1 to factor out. The inside stays π4x+π2.A −1 is factored out only when the number multiplying x is negative. A positive coefficient already gives ω > 0, which the period and phase-shift formulas need.
  2. Use neither rule. The function stays y=4sin(π4x+π2)−2, and the 4 in front keeps its sign.The sine odd rule sin(−u) = −sin u is used only after a −1 has been pulled out of the inside. Nothing was pulled out, so A is not flipped to −4.
  3. Write the inside in the form ωx−φ: π4x+π2=π4x−(−π2). Match y=Asin(ωx−φ)+B to get A=4,ω=π4,φ=−π2 and B=−2.The form subtracts φ, so adding π2 means φ = −π2. The − 2 outside means B = −2, not 2. Keeping these signs makes the shift and the midline come out right.
  4. Amplitude =|A|=|4|=4.Amplitude is the distance from the midline to a peak. It is the size of A and is never negative.
  5. Period =2πω=2π÷π4=2π×4π=8.Sine repeats each time its inside grows by 2π, and the inside grows by π4 for every 1 unit of x.
  6. Phase shift =φω=−π2÷π4=−π2×4π=−2. The graph is shifted 2 units to the left.A sine cycle starts where its inside is 0, which happens at x = φω. A negative shift puts that start to the left of x = 0.
  7. Midline: y=B=−2.Adding B moves the whole curve up or down, so the curve is centred on the line y = B.
  8. Plug the shift x=−2 into the inside. Steps 1 and 2 left it unchanged, so the original inside and the rewritten inside are the same: π4(−2)+π2=−π2+π2=0. The range runs from B−|A|=−2−4=−6 to B+|A|=−2+4=2, so it is [−6,2].The inside must be 0 at the phase shift, because that is where the cycle starts on the midline. The curve reaches exactly |A| above and below the midline, so the range is [B − |A|, B + |A|].
Answer
Amplitude 4, period 8, phase shift −2 (2 units to the left), midline y = −2. Range [−6, 2].
Double-check Step through one cycle in quarter-periods of 8 ÷ 4 = 2, starting at x = −2. At x = −2 the inside is 0, so y = 4 sin 0 − 2 = −2, which is on the midline. At x = 0 the inside is π2, so y = 4(1) − 2 = 2, the maximum. At x = 2 the inside is π, so y = 4(0) − 2 = −2, on the midline. At x = 4 the inside is 3π2, so y = 4(−1) − 2 = −6, the minimum. At x = 6 the inside is 2π, so y = −2, back on the midline. The key points (−2, −2), (0, 2), (2, −2), (4, −6) and (6, −2) sit 4 above and 4 below y = −2 and run from −6 to 2. The cycle ends 8 units after it starts at x = −2. So the amplitude, period, shift, midline and range all agree.

Work to write

  1. x-coefficient +π4 > 0: no −1 to factor out, no odd rule
  2. π4x+π2=π4x−(−π2)
  3. A=4,ω=π4,φ=−π2,B=−2
  4. Amplitude = |4| = 4
  5. Period = 2πω = 2π ÷ π4 = 8
  6. Phase shift = φω = −π2 ÷ π4 = −2 (2 units left)
  7. Midline: y = −2
  8. Check: π4(−2) + π2 = 0; range [−6, 2]

Rung 2 of 5

Cosine with a negative x-coefficient inside

Find the amplitude, period, phase shift and midline of y = 3 cos(−π6x + 2π3) − 1. 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 the finished check sketch. It shows the midline and the five key points of one cycle.

Show the steps and the answer
(4, 2)(7, −1)(10, −4)(13, −1)(16, 2)481216−6−4−224
Check sketch for y = 3 cos(−π6x + 2π3) − 1.
  1. The x-coefficient inside is −π6, which is negative. Factor −1 out of the whole inside: −π6x+2π3=−(π6x−2π3).The −1 has to come out of both terms, so +2π3 turns into −2π3 inside the bracket. Multiplying back out gives −π6x + 2π3 again, so only the look has changed.
  2. Use the cosine even rule cos(−u)=cosu with u=π6x−2π3: y=3cos(−(π6x−2π3))−1=3cos(π6x−2π3)−1.Cosine is even, so the −1 in front of u drops away and the 3 out front stays 3. Only the sine odd rule would move a minus sign onto A.
  3. Match y=3cos(π6x−2π3)−1 to y=Acos(ωx−φ)+B: A=3,ω=π6,φ=2π3,B=−1.The form has a minus in front of φ, so − 2π3 means φ = +2π3. The − 1 at the end means B = −1. Each sign is kept exactly as the form reads it.
  4. Amplitude =|A|=|3|=3.The amplitude is the height of the peaks above the midline. It is the size of A, so it is never negative.
  5. Period =2πω=2π÷π6=2π·6π=12.One cycle of cosine uses 2π of inside. With the speed now positive, the x-length of a cycle is 2π divided by ω. Dividing by the original −π6 would have given −12, a negative length, which is why the −1 was factored out first.
  6. Phase shift =φω=2π3÷π6=2π3·6π=4, so the graph is shifted 4 units to the right.A positive φω means a shift to the right. The plus sign in the original inside does not mean left. Once −1 is factored out it becomes the minus in ωx − φ, and that sign sets the direction.
  7. Midline: y=B=−1.B is the vertical shift, so the graph swings 3 units above and 3 units below the line y = −1.
  8. Plug the shift x=4 into both insides. Original: −π6(4)+2π3=−2π3+2π3=0. Rewritten: π6(4)−2π3=2π3−2π3=0.The phase shift is the x where the inside is 0, which is where a cosine cycle starts. Both forms describe the same function, so both insides must be 0 there.
  9. Check the range. At x=4,y=3cos0−1=3−1=2. Since cos runs from −1 to 1, y runs from 3(−1)−1=−4 to 3(1)−1=2, so the range is [−4,2].The range must be [B − |A|, B + |A|] = [−1 − 3, −1 + 3], centered on the midline. The cycle that starts at x = 4 must start at the top value 2, because cos 0 = 1.
Answer
Amplitude 3, period 12, phase shift 4 units to the right, midline y = −1. The range is [−4, 2].
Double-check Test more x-values in the original form. At x = 10 the inside is −π6(10) + 2π3 = −5π3 + 2π3 = −π, so y = 3 cos(−π) − 1 = −3 − 1 = −4. This is the minimum, half a period (6 units) after the maximum at x = 4. At x = 16 the inside is −8π3 + 2π3 = −2π, so y = 3 cos(−2π) − 1 = 2. This is the next maximum, 16 − 4 = 12 units later, which matches the period. At x = 7 and x = 13 the inside is −π2 and −3π2, where cos is 0, so y = −1 on the midline. Also, 2+(−4)2 = −1 matches the midline and 2−(−4)2 = 3 matches the amplitude. The key points of one cycle are (4, 2), (7, −1), (10, −4), (13, −1) and (16, 2).

Work to write

  1. −π6x+2π3=−(π6x−2π3)
  2. y = 3 cos(π6x − 2π3) − 1, because cos(−u) = cos u
  3. A=3,ω=π6,φ=2π3,B=−1
  4. Amplitude = |3| = 3
  5. Period = 2π ÷ π6 = 12
  6. Phase shift = 2π3 ÷ π6 = 4, so 4 units to the right
  7. Midline: y = −1
  8. At x = 4: original inside = 0 and rewritten inside = 0
  9. Range: [−4, 2]

Rung 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(−π8x + 3π4) + 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.

(6, 7)(10, 2)(14, −3)(18, 2)(22, 7)391521−448
For y = 5 cos(−π8x + 3π4) + 2, the horizontal line is the midline y = 2.
Show the steps and the answer
  1. The x-coefficient −π8 is negative, so factor −1 out of the whole inside: −π8x+3π4=−(π8x−3π4).The period and shift formulas need a positive speed ω. The −1 comes out of both terms, so the constant changes sign too: +3π4 becomes −3π4 inside the bracket. Expanding −(π8x − 3π4) gives back −π8x + 3π4, so the function has not changed.
  2. Use the cosine even rule cos(−u)=cosu with u=π8x−3π4: y=5cos(π8x−3π4)+2.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.
  3. Match y=5cos(π8x−3π4)+2 with y=Acos(ωx−φ)+B: A=5,ω=π8,φ=3π4,B=2.The pattern has a minus in front of φ, so the −3π4 in the bracket means φ = +3π4. Keeping that sign decides the direction of the shift.
  4. Amplitude: |A|=|5|=5.The amplitude is the vertical distance from the midline to a maximum, and a distance is never negative.
  5. Period: 2πω=2π÷π8=2π×8π=16.Dividing by the fraction π8 means multiplying by its reciprocal 8π. The π cancels, leaving 2 × 8 = 16. One full cycle covers 16 units of x.
  6. Phase shift: φω=3π4÷π8=3π4×8π=244=6. 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 34 × 8 = 6. In y = A cos(ωx − φ) + B a positive φω means a shift to the right. The factored form π8x − 3π4 = π8(x − 6) shows the same thing.
  7. Midline: y=B=2.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.
  8. Plug the shift x=6 into both insides. Original: −π8(6)+3π4=−3π4+3π4=0. Rewritten: π8(6)−3π4=3π4−3π4=0. At that point y=5cos0+2=7.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.
  9. Check the range: cosine runs from −1 to 1, so y runs from 5(−1)+2=−3 to 5(1)+2=7, giving −3≤y≤7.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.
Answer
  • Amplitude 5
  • period 16
  • phase shift 6 units to the right
  • midline y = 2. The rewritten form is y = 5 cos(π8x − 3π4) + 2, and the range is −3 ≤ y ≤ 7.
Double-check One period after the start is x = 6 + 16 = 22. There the original inside is −π8(22) + 3π4 = −22π8 + 6π8 = −2π, and cos(−2π) = 1, so y = 7 again: this is the next maximum. From the range, the midline is 7+(−3)2 = 2 and the amplitude is 7−(−3)2 = 5, which match B and |A|. The key points of one cycle are a quarter period (4 units) apart: (6, 7), (10, 2), (14, −3), (18, 2) and (22, 7). Sign trap: dropping the minus from the x-term only gives cos(π8x + 3π4), which suggests a shift of 6 to the left. But at x = −6 the original inside is −π8(−6) + 3π4 = 3π2, not 0, so that rewrite fails the check.

Work to write

  1. −π8x+3π4=−(π8x−3π4)
  2. cos(−u) = cos u, so y = 5 cos(π8x − 3π4) + 2
  3. A=5,ω=π8,φ=3π4,B=2
  4. Amplitude = |5| = 5
  5. Period = 2π ÷ π8 = 2π × 8π = 16
  6. Phase shift = 3π4 ÷ π8 = 3π4 × 8π = 6, so 6 units to the right
  7. Midline: y = 2
  8. x = 6: original inside −π8(6) + 3π4 = 0; rewritten inside π8(6) − 3π4 = 0
  9. Range: 5(−1) + 2 = −3 to 5(1) + 2 = 7, so −3 ≤ y ≤ 7

Rung 4 of 5

Every sign negative: a reflected cosine with a negative speed and a minus inside

Find the amplitude, period, phase shift and midline of y = −2 cos(−π5x − 3π5) − 4. 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 shows the finished result: the midline drawn as a horizontal line, with the lowest, highest and next lowest points of one cycle marked.

(−3, −6)(2, −2)(7, −6)−448−8−6−4−22
The midline y = −4 of y = −2 cos(−π5x − 3π5) − 4, drawn as a horizontal line, with three points of the graph.
Show the steps and the answer
  1. The x-coefficient inside is −π5, which is negative, so factor −1 out of the whole inside: −π5x−3π5=−(π5x+3π5).The period and shift formulas need a positive speed. The −1 has to come out of both terms, so the minus in front of 3π5 becomes a plus inside the bracket.
  2. Use the cosine even rule cos(−u)=cosu with u=π5x+3π5: y=−2cos(π5x+3π5)−4.Cosine is even, so removing the −1 inside changes nothing outside. The −2 in front and the −4 at the end stay as they were. With sine, the odd rule would also flip the sign of A.
  3. Match with y=Acos(ωx−φ)+B. The inside π5x+3π5 means ω=π5 and −φ=3π5. So A=−2,ω=π5,φ=−3π5,B=−4.The form has a minus before φ, so a plus inside makes φ negative. Keeping every sign records three things: the graph is flipped (A < 0), it moves left (φ < 0), and the midline is below the x-axis (B < 0).
  4. Amplitude =|A|=|−2|=2.Amplitude is the distance from the midline to a peak, so it is never negative. The minus on A only turns the graph upside down.
  5. Period =2πω=2π÷π5=2π·5π=10.After the rewrite ω = π5 is positive, so the period is positive. One full cycle takes 10 units of x.
  6. Phase shift =φω=−3π5÷π5=−3π5·5π=−3, so the graph is shifted 3 units to the left.A negative phase shift means a move to the left. The minus in front of 3π5 in the original became a plus when −1 was factored out, and that plus is what sends the graph left.
  7. Midline: y=B=−4.B is the vertical shift and keeps its sign, so the graph oscillates about the line y = −4, below the x-axis.
  8. Put x=−3 into both insides. Original: −π5(−3)−3π5=3π5−3π5=0. Rewritten: π5(−3)+3π5=−3π5+3π5=0. Then y=−2cos0−4=−6. The range runs from −4−2=−6 to −4+2=−2.At the phase shift the rewritten inside is 0. The original inside is its negative, so it is 0 as well. Because A < 0, a cycle starts at its lowest point, and that lowest value has to be B − |A|.
Answer
  • Amplitude 2
  • period 10
  • phase shift −3, so the graph is shifted 3 units to the left
  • midline y = −4. The range is −6 ≤ y ≤ −2. Because A = −2 is negative, each cycle starts at a lowest point.
Double-check At x = −3 the original inside is −π5(−3) − 3π5 = 0 and the rewritten inside is π5(−3) + 3π5 = 0, so −3 is where the shifted cycle starts. Taking the speed out gives the same result: π5x + 3π5 = π5(x + 3) = π5(x − (−3)), a shift of −3. At x = −3, y = −2 cos 0 − 4 = −6 = B − |A|, the lowest value. Half a period later, at x = 2, the original inside is −2π5 − 3π5 = −π and the rewritten inside is π. Both cosines equal −1, so y = −2(−1) − 4 = −2 = B + |A|, the highest value. One period after −3, at x = 7, the original inside is −7π5 − 3π5 = −2π and y = −6 again. The cosine takes every value from −1 to 1, so y takes every value from −6 to −2 and the range is −6 ≤ y ≤ −2. That is 2 either side of the midline y = −4, matching the amplitude. These are the points (−3, −6), (2, −2) and (7, −6) in the figure.

Work to write

  1. −π5x−3π5=−(π5x+3π5)
  2. y=−2cos(π5x+3π5)−4
  3. A=−2,ω=π5,φ=−3π5,B=−4
  4. Amplitude = |−2| = 2
  5. Period = 2π ÷ π5 = 10
  6. Phase shift = −3π5 ÷ π5 = −3, so 3 units to the left
  7. Midline: y = −4
  8. x = −3: original inside 3π5 − 3π5 = 0, rewritten inside −3π5 + 3π5 = 0
  9. Range: −6 ≤ y ≤ −2

Rung 5 of 5

Negative sine coefficient changes A too

For y = 7 sin(−2x + π) − 1, rewrite with positive ω and find the four features. This asks you to keep the reflection that cosine would not need.

Show the steps and the answer
amplitude 7one periodπ/2π3π/22π−8−44
The same picture, shown 4 times now: y = −7 sin(2x − π) − 1.
  1. −2x+π=−(2x−π).Factoring −1 changes the signs of both terms inside.
  2. sin(−(2x−π))=−sin(2x−π), so y=−7sin(2x−π)−1.Sine is an Odd function: reversing the angle reverses its vertical coordinate.
  3. A=−7,ω=2,φ=π,B=−1.Read the positive-speed form.
  4. Amplitude =7; T=2π2=π; h=π2 right.Distance ignores A's negative sign, while period and shift use positive ω.
  5. Plug back: 2×π2−π=0; the original inside −2×π2+π=0 also.Both forms reach their selected start at the same x.
  6. Midline: y=−1; range: [−8,6].The center is −1 and each extreme is 7 away.
Answer
  • Amplitude = 7
  • Period = π
  • Phase shift = π2 right
  • Midline: y = −1
Double-check At x = 3π4 the original inside is −π2, so y = −8. The rewritten form gives −7 sin(π2) − 1 = −8 too.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: a negative ω gives a negative period.
A period is a positive horizontal distance. The negative coefficient describes input direction.
✓ Instead: Rewrite with positive ω, then use T = 2πω.
✗ Not this: Counterexample: sin(−u) = sin u because cosine has that property.
Sine reads y, which changes sign when the turn reverses. Cosine reads x, which does not.
✓ Instead: sin(−u)=−sinu;cos(−u)=cosu.

Tips and tricks

  • Write the parameter line before any feature line.
  • For a negative coefficient, test a quarter-turn input to see whether a missing minus changed the output.

7 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.

Keep in mind

  • Make the inside coefficient positive first: cos(−5x) = cos(5x), but sin(−5x) = −sin(5x).
  • A plus inside means φ is negative: in sin(2x + π), φ = −π, so the shift is π2 to the left.
  • Give each feature its own answer line so one slip does not spread: for y = 2 sin x the amplitude is 2, the period 2π, the phase shift 0 and the midline y = 0.
  • Check the shift in the original formula: for y = 4 sin(−2x + π2) − 1, x = π4 makes the inside −π2 + π2 = 0.

Memory hook

Cosine is even: it swallows the inside minus. Sine is odd: it spits the minus out front.

Flash cards

Say the answer out loud, then flip.

What does it mean that cosine is even?
cos(−u) = cos u: a minus sign inside disappears.
What does it mean that sine is odd?
sin(−u) = −sin u: a minus sign inside comes out front.
Rewrite y = cos(−7x) with a positive inside coefficient.
y = cos(7x)
Rewrite y = 2 sin(−x) with a positive inside coefficient.
y=−2sinx
Find all four features of y = −7 sin(2x + π) + 2.
  • Amplitude: 7
  • Period: π
  • Phase shift: π2 to the left
  • Midline: y = 2
In y = −4 cos x + 2, is the amplitude −4?
No. The amplitude is |−4| = 4. The minus sign flips the wave.

Lesson 8 of 9

Build an equation from a graph

Subject: MathematicsLeans on: Average and half-differenceLeans on: Horizontal distanceLeans on: Recover input speedLeans on: Solving for φLeans on: Quarter-turn valuesOpen this lesson
Leans on 0Comes back in 0

1 In plain words

Think of rebuilding a Ferris wheel from a picture and a timing record. The highest and lowest positions tell you the center and size. Two neighboring peaks tell you how long one trip takes. Then you choose where to call the start. A positive Cosine model begins at a peak. A positive Sine model begins where the wave crosses its center going up. Either can describe the same picture. You must match the direction at that point, not only its height. Once you have those measurements, writing the equation is filling four labeled slots. You can then predict points and compare them with the graph.

Explain it like I am five

Think of rebuilding a Ferris wheel from a photo and a stopwatch: top and bottom seats give its size and hub height, the time from top to top gives one turn, and you pick a start.

A graph peaks at y = 10, bottoms at y = 2, and has neighboring peaks at x = 1 and x = 7. Size: A = 10−22 = 4. Center: B = 10+22 = 6. Period: T = 7 − 1 = 6, so ω = 2π6 = π3. A positive cosine starts at a peak, so the start is h = 1 and φ = ω × h = π3. Equation: y = 4 cos(π3x − π3) + 6.

Check x = 4, halfway between the peaks: the inside is π3 × 4 − π3 = 4π3 − π3 = π, cos π = −1, and y = −4 + 6 = 2, the bottom. Why φ = ω × h: at the start x = h the inside ω × h − φ must be 0.

2 Picture it

peaktroughnext peakamplitude 3one periodπ2π3π4π5π246810cycle startspeaktroughnext peakmidline y = 6amplitude 3one periodπ2π3π4π5π246810
y = 3 cos((π/4)x − π/4) + 6, with the points (1, 9), (5, 3) and (9, 9).

Reminder

Reminder: Average and half-difference, Horizontal distance, Recover input speed, Solving for φ, Quarter-turn values
  • Average and half-difference. Maximum 9 and minimum 3 give B = 6 and A = 3.
  • Horizontal distance. From x = 1 to x = 9 the distance is 8.
  • Recover input speed. T = 8 gives ω = π4; multiplying by 8 gives 2π.
  • Solving for φ. At h = 1, ωh − φ = 0 gives φ = ωh; substituting gives ωh − ωh = 0.
  • Quarter-turn values. cos0=1,cos(π2)=0,cosπ=−1.

3 Why

The extreme-height formulas determine |A| and B. Adjacent matching graph features determine T, which determines ω = 2πT. Choosing positive A fixes the meaning of the start: an upward midline crossing for sine or a maximum for cosine. At x = h, the inside ωx − φ must equal 0, so φ = ωh. One quarter period changes the inside by π2, giving the intermediate graph stages and a direct check of the equation.

4 The rule

A=ymax−ymin2>0,B=ymax+ymin2,ω=2πT,φ=ωh.

Choose h at an upward middle crossing for sine or a peak for cosine.

The same idea, five ways

Say it

Build a sine or cosine rule that matches the pictured wave.

Write it

A graph determines height, center, repeat width and a suitable cycle start.

In math
  • y=Asin(ω(x−h))+B
  • y=Acos(ω(x−h))+B
  • φ = ωh
  • Quarter period = T4
  • Graph words: use a peak or an upward midline crossing.
Like

Rebuild a wheel's size and timing from a picture of its motion.

See it
peaktroughnext peakamplitude 3one periodπ2π3π4π5π246810
The same picture again: y = 3 cos((π/4)x − π/4) + 6, with the points (1, 9), (5, 3) and (9, 9).

The same idea, other ways

As four measurements

Height span, center height, repeat width and chosen starting position fill four formula slots.

peaktroughnext peakamplitude 3one periodπ2π3π4π5π246810
The same picture a third time: y = 3 cos((π/4)x − π/4) + 6, with the points (1, 9), (5, 3) and (9, 9).
As reverse engineering

Reading a formula predicts a graph. Reading the graph recovers the same numbers by undoing those predictions.

Part 1: Positive sine at an upward middle crossing

A Midline crossing is where the wave passes through its center height. An upward crossing passes from below the center to above it. Positive sine has exactly that direction at inside input 0.

  • Rule: choose h at an upward crossing when A > 0.
amplitude 5one periodπ3π5π7π−22468
y=5sin(0.6283x−1.2566)+3.
The same idea, five ways
Say it

Positive sine at an upward middle crossing

Write it

An upward crossing means the graph passes from below the center to above it. Positive sine has exactly that direction at inside input 0.

In math
  • Rule: choose h at an upward crossing when A > 0.
Like

Start timing the wheel when the seat passes its center while rising.

See it
amplitude 5one periodπ3π5π7π−22468
The same picture again: y = 5 sin(0.6283x − 1.2566) + 3.

Worked example

An upward middle crossing

A graph has maximum 8, minimum −2, period 10 and an upward midline crossing at x = 2. Write a positive sine equation. Upward means the height passes through the middle from below to above.

amplitude 5one periodπ3π5π7π−22468
The same picture a third time: y = 5 sin(0.6283x − 1.2566) + 3.
Show the steps and the answer
  1. A=8−(−2)2=5 and B=8+(−2)2=3.Half the span gives the amplitude; average gives the center.
  2. ω=2π10=π5.The inside must advance one full turn during 10 horizontal units.
  3. Choose positive sine with h=2, the upward middle crossing.Sine begins at 0 and rises, so after adding 3 it starts at the center and rises.
  4. φ=ωh=π5×2=2π5.Convert horizontal position into inside offset.
  5. Plug back: π5×2−2π5=0.The crossing is at the intended inside start.
  6. Write y=5sin(π5x−2π5)+3.The positive A preserves the upward direction.
Answer
y=5sin(π5x−2π5)+3
Double-check A quarter period later, x = 2 + 104 = 92, the inside is π2 and y = 8. Three quarters later, x = 192, the inside is 3π2 and y = −2.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: Any middle crossing can be used with positive sine.
Every cycle also has a downward crossing, whose direction is opposite.
✓ Instead: Check that the graph rises through the selected crossing.
Tips and tricks
  • Check that the graph rises through the selected crossing.

Part 2: Positive cosine at a peak

Positive cosine gives its top height at inside 0, so a peak supplies h directly.

  • Rule: choose h at a maximum when A > 0.
peaktroughnext peakamplitude 3one periodπ2π3π4π5π246810
The same picture, shown 4 times now: y = 3 cos((π/4)x − π/4) + 6, with the points (1, 9), (5, 3) and (9, 9).
The same idea, five ways
Say it

Positive cosine at a peak

Write it

Positive cosine gives its top height at inside 0, so a peak supplies h directly.

In math
  • Rule: choose h at a maximum when A > 0.
Like

Start timing the wheel when the seat reaches its top.

See it
peaktroughnext peakamplitude 3one periodπ2π3π4π5π246810
The same picture, shown 5 times now: y = 3 cos((π/4)x − π/4) + 6, with the points (1, 9), (5, 3) and (9, 9).

Worked example

A shifted cosine graph

A smooth sinusoidal graph has maximum 9, minimum 3 and consecutive peaks at x = 1 and x = 9. Write a positive cosine equation. This asks you to turn its heights, width and peak position into a formula.

peaktroughnext peakamplitude 3one periodπ2π3π4π5π246810
The same picture, shown 6 times now: y = 3 cos((π/4)x − π/4) + 6, with the points (1, 9), (5, 3) and (9, 9).
Show the steps and the answer
  1. A=9−32=3 and B=9+32=6.The two extreme heights determine size and center.
  2. T=9−1=8; ω=2π8=π4.Adjacent peaks are the same stage one cycle apart.
  3. Choose cosine with positive A and h=1.At the chosen start, positive cosine sits at a peak.
  4. φ=ωh=π4×1=π4.φ is an inside offset, so multiply the x-distance by the inside coefficient.
  5. Plug h back: π4×1−π4=0.The chosen peak position feeds cosine its starting input.
  6. Write y=3cos(π4x−π4)+6, or y=3cos(π4(x−1))+6.Factoring displays the horizontal distance without changing the function.
Answer
y=3cos(π4x−π4)+6
Double-check At x = 1 and 9, the inside is 0 and 2π, giving 9. At x = 5, halfway between, the inside is π, giving 3.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: Use a trough as h and keep A positive.
At inside 0, positive cosine is at its maximum, not its minimum.
✓ Instead: Use a peak, or choose negative A for a trough.
Tips and tricks
  • Use a peak, or choose negative A for a trough.

Part 3: Different equivalent equations

A selected phase shift belongs to the chosen sine or cosine representation. The same wave can have a different start in another representation. Moving h by a whole T also keeps the same repeating graph. On the unit circle, a clockwise quarter turn sends a point's vertical coordinate to its horizontal coordinate. Therefore sin u = cos(u − π2) for every angle u, which explains the quarter-period difference between matching positive sine and cosine starts.

  • Rule: replacing h with h + T advances the inside by −2π, a full turn.
  • Rule: sine and cosine starts are a quarter period apart for the same positive-A wave.
  • Rule: sin u = cos(u − π2) and cos u = sin(u + π2). The quarter turn exchanges the coordinate read without changing its value.
amplitude 3one periodπ2π3π4π5π246810
y = 3 sin((π/4)x + π/4) + 6.
The same idea, five ways
Say it

The same wave can be described from a middle crossing or from a peak.

Write it

A selected phase shift belongs to the chosen sine or cosine representation. The same wave can have a different start in another representation. Moving h by a whole T also keeps the same repeating graph.

In math
  • 3cos(π4(x−1))+6=3sin(π4(x+1))+6
  • ω(x−(h+T))=ω(x−h)−2π
  • hcos = hsin + T4 for matching positive-A starts
  • sinu=cos(u−π2)
  • cosu=sin(u+π2)
Like

Start describing the same wheel ride at a different moment.

See it
amplitude 3one periodπ2π3π4π5π246810
The same picture again: y = 3 sin((π/4)x + π/4) + 6.

Worked example

A sine equation for the same cosine picture

Use the same graph with peaks at x = 1 and 9, maximum 9 and minimum 3. Write a positive sine equation instead of cosine. This asks for a sine start that produces the same highs and lows as the cosine picture.

amplitude 3one periodπ2π3π4π5π246810
The same picture a third time: y = 3 sin((π/4)x + π/4) + 6.
Show the steps and the answer
  1. A=3,B=6,T=8,ω=π4.Changing the wave name does not change the graph's size, center or period.
  2. An upward middle crossing occurs one quarter period before the peak at 1: h=1−2=−1.Positive sine rises from its middle to its peak during the first quarter cycle.
  3. φ=ωh=−π4.The selected sine start lies one unit left of 0.
  4. Plug back: π4(−1)+π4=0.That crossing is the inside sine start.
  5. Write y=3sin(π4x+π4)+6.A negative φ produces a plus in the standard sine input.
Answer
y=3sin(π4x+π4)+6
Double-check At x = 1 the inside is π2 and y = 9; at x = 5 the inside is 3π2 and y = 3. The quarter-period points follow the same rise and fall as the cosine picture.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: Different h means the two formulas cannot describe the same wave.
The name sine or cosine chooses a different stage as its start, and complete-cycle shifts repeat.
✓ Instead: Compare the predicted graph stages and their directions.
Tips and tricks
  • Compare the predicted graph stages and their directions.

Part 4: Quarter-period key points

Key points mark the four quarter-turn stages and the return to the start. Add T4 repeatedly from h, then read the sine or cosine heights.

  • Rule: inputs h, h + T4, h + T2, h + 3T4, h + T.
amplitude 3one periodπ2π3π4π5π246810
y = 3 cos((π/4)x − π/4) + 6.
The same idea, five ways
Say it

Quarter-period key points

Write it

Key points mark the four quarter-turn stages and the return to the start. Add T4 repeatedly from h, then read the sine or cosine heights.

In math
  • Rule: inputs h, h + T4, h + T2, h + 3T4, h + T.
Like

Place four equal time marks along a one-revolution timetable.

See it
amplitude 3one periodπ2π3π4π5π246810
The same picture again: y = 3 cos((π/4)x − π/4) + 6.

Worked example

Use quarter periods to draw a cycle

For y = 3 cos(π4(x − 1)) + 6, locate the five Key points of one cycle. This asks for the peak, middle, trough, middle and next peak.

Show the steps and the answer
amplitude 3one periodπ2π3π4π5π246810
The same picture a third time: y = 3 cos((π/4)x − π/4) + 6.
input xoutput y1936537699↓ evaluate: input given, read the output below it
Equal horizontal steps of 2 move through the five cosine stages.
  1. The start is h=1 and T=8, so Quarter period =T÷4=2.A full turn has four quarter-turn steps.
  2. Use x=h+k(T4) with k=0, 1, 2, 3, 4; the table shows these inputs.Each step advances the inside by (π4) × 2 = π2.
  3. In the table, the column under 1 has inside 0, so y=3(1)+6=9.Positive cosine starts at a peak.
  4. The columns under 3 and 7 have inside π2 and 3π2, so y=6.Cosine gives 0 at the two middle stages.
  5. The column under 5 has inside π, so y=3(−1)+6=3; the column under 9 returns to inside 2π and output 9.The half-turn gives the trough and the full turn gives the next peak.
Answer
  • Five points:
  • (1, 9)
  • (3, 6)
  • (5, 3)
  • (7, 6)
  • (9, 9)
Double-check The endpoints are 8 apart, the center is 6, and the two extremes are 3 above and below it.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: Plot five points equally spaced in height.
Quarter periods are equal horizontal steps. Heights follow the sine or cosine values.
✓ Instead: Add T4 along the input axis, then compute each output.
Tips and tricks
  • Add T4 along the input axis, then compute each output.

5 How

  1. Read the maximum and minimum, then find positive A and B.
  2. Read T between adjacent matching stages.
  3. Compute ω = 2π ÷ T.
  4. Choose sine at an upward middle crossing or cosine at a peak; read h.
  5. Compute φ = ωh and substitute h back into the inside.
  6. Check points one quarter period apart.

Turn a graph into an equation

1
Is a peak's x-coordinate clearly labeled?
YesUse positive cosine starting at that peak.
NoLook for a labeled upward middle crossing and use positive sine.
↓
2
Is the middle crossing downward?
YesChoose another upward crossing, or use negative A and account for reflection.
NoPositive sine can use the upward crossing.
↓
3
Do the proposed extrema and repeated stage match?
YesThe model passes these graph checks.
NoRecheck the half-span, center, T and start direction.
  1. Recover height and center from the extrema.
  2. Recover timing from two adjacent matching points.
  3. Pick a convenient positive-A start.
  4. Convert h to φ and check the five cycle stages.

6 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.

amplitude 1one periodπ/23π/25π/2−2−112
y = cos x.
Show the steps and the answer
  1. Amplitude =1−(−1)2=1; B=1+(−1)2=0.Half-difference gives size, and average gives center.
  2. T=2π−0=2π, so ω=2π÷2π=1.Adjacent peaks mark one full cycle.
  3. Choose positive cosine with h=0, the first peak.Positive cosine reaches its maximum when its inside is 0.
  4. φ = ωh = 1 × 0 = 0; plug back: 1×0−0=0.The peak's x-coordinate gives the inside start after converting h to φ.
  5. Write y=cosx.All four parameters are now fixed.
Answer
y = cos x
Double-check At x = π, halfway between the peaks, cos π = −1, the pictured minimum.

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 4

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.

amplitude 1one periodπ/23π/25π/2−2−112
The same picture again: y = cos x.
Show the steps and the answer
  1. Amplitude =1−(−1)2=1; B=1+(−1)2=0.Half-difference gives size, and average gives center.
  2. T=2π−0=2π, so ω=2π÷2π=1.Adjacent peaks mark one full cycle.
  3. Choose positive cosine with h=0, the first peak.Positive cosine reaches its maximum when its inside is 0.
  4. φ = ωh = 1 × 0 = 0; plug back: 1×0−0=0.The peak's x-coordinate gives the inside start after converting h to φ.
  5. Write y=cosx.All four parameters are now fixed.
Answer
y = cos x
Double-check At x = π, halfway between the peaks, cos π = −1, the pictured minimum.

Rung 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.

amplitude 3one periodπ2π3π4π5π246810
y = 3 cos (π/4)x + 6.
Show the steps and the answer
  1. A=9−32=3 and B=9+32=6.Choose positive A so a peak is the cosine start.
  2. T=8−0=8, so ω=2π8=π4.The two peaks enclose one full inside turn.
  3. h=0, so φ=ωh=0. At x=0, the inside is 0.The first peak is at the standard cosine start.
  4. Write y=3cos(π4x)+6.Combine size, speed, position and center.
Answer
y=3cos(π4x)+6
Double-check At x = 4 the inside is π, giving 3(−1) + 6 = 3. At x = 8 the inside is 2π, giving 9 again.

Rung 3 of 4

A shifted cosine graph

A smooth sinusoidal graph has maximum 9, minimum 3 and consecutive peaks at x = 1 and x = 9. Write a positive cosine equation. This asks you to turn its heights, width and peak position into a formula.

peaktroughnext peakamplitude 3one periodπ2π3π4π5π246810
The same picture, shown 7 times now: y = 3 cos((π/4)x − π/4) + 6, with the points (1, 9), (5, 3) and (9, 9).
Show the steps and the answer
  1. A=9−32=3 and B=9+32=6.The two extreme heights determine size and center.
  2. T=9−1=8; ω=2π8=π4.Adjacent peaks are the same stage one cycle apart.
  3. Choose cosine with positive A and h=1.At the chosen start, positive cosine sits at a peak.
  4. φ=ωh=π4×1=π4.φ is an inside offset, so multiply the x-distance by the inside coefficient.
  5. Plug h back: π4×1−π4=0.The chosen peak position feeds cosine its starting input.
  6. Write y=3cos(π4x−π4)+6, or y=3cos(π4(x−1))+6.Factoring displays the horizontal distance without changing the function.
Answer
y=3cos(π4x−π4)+6
Double-check At x = 1 and 9, the inside is 0 and 2π, giving 9. At x = 5, halfway between, the inside is π, giving 3.

Rung 4 of 4

An upward middle crossing

A graph has maximum 8, minimum −2, period 10 and an upward midline crossing at x = 2. Write a positive sine equation. Upward means the height passes through the middle from below to above.

amplitude 5one periodπ3π5π7π−22468
The same picture, shown 4 times now: y = 5 sin(0.6283x − 1.2566) + 3.
Show the steps and the answer
  1. A=8−(−2)2=5 and B=8+(−2)2=3.Half the span gives the amplitude; average gives the center.
  2. ω=2π10=π5.The inside must advance one full turn during 10 horizontal units.
  3. Choose positive sine with h=2, the upward middle crossing.Sine begins at 0 and rises, so after adding 3 it starts at the center and rises.
  4. φ=ωh=π5×2=2π5.Convert horizontal position into inside offset.
  5. Plug back: π5×2−2π5=0.The crossing is at the intended inside start.
  6. Write y=5sin(π5x−2π5)+3.The positive A preserves the upward direction.
Answer
y=5sin(π5x−2π5)+3
Double-check A quarter period later, x = 2 + 104 = 92, the inside is π2 and y = 8. Three quarters later, x = 192, the inside is 3π2 and y = −2.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: use φ = 1 because the peak is at x = 1.
1 is h, a horizontal position. φ is an inside offset and must be multiplied by ω.
✓ Instead: Here φ = π4 × 1 = π4.
✗ Not this: Counterexample: peaks at 1 and 9 give period 9.
A period is the distance between matching points, not the coordinate of the second point.
✓ Instead: T=9−1=8.

Tips and tricks

  • Choose the starting point with the clearest graph label.
  • If asked for one equation, equivalent sine and cosine answers may both fit.

7 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.

Keep in mind

  • A positive cosine starts at a peak and a positive sine starts where the wave crosses its midline going up, so read h at the feature that matches your choice.
  • The period runs peak to next peak: peaks at x = 1 and x = 7 give T = 6, not 3, since peak to trough is half a cycle.
  • Multiply to get φ: φ = ω × h, so ω = π3 and h = 1 give φ = π3, not 1.
  • More than one equation is correct: starting at the next peak, h = 7, gives y = 4 cos(π3x − 7π3) + 6, the same graph.

Memory hook

Top and bottom give A and B, peak to peak gives T, then ω = 2πT. Cosine starts at a peak, sine at a rising middle crossing.

Flash cards

Say the answer out loud, then flip.

From a graph, how do you get A and B?
  • A = max−min2
  • B = max+min2
Where does a positive cosine model start? Where does a positive sine model start?
  • Cosine: at a peak
  • Sine: where the wave crosses its midline going up
Neighboring peaks sit at x = 2 and x = 14. Find T and ω.
  • T = 12
  • ω=2π12=π6
Max 13, min 1, a peak at x = 2, period 12. Write a cosine equation.
y=6cos(π6x−π3)+7
Why is φ = ω × h?
At the chosen start x = h the inside ω × h − φ must be 0, so φ = ω × h.
Peaks at x = 0 and x = 10, with a trough at x = 5. Is the period 5?
No. Peak to trough is half a cycle. The period is 10 − 0 = 10.

Lesson 9 of 9

Build and check a daylight model

Subject: MathematicsLeans on: Decimal arithmeticLeans on: Month inputLeans on: Positive sine startLeans on: Fraction additionLeans on: Special sine valueOpen this lesson
Leans on 0Comes back in 0

1 In plain words

Think of drawing a smooth line through a year's calendar of daylight measurements. Winter days are short, summer days are long, and the pattern returns the next year. The measurements are Data: recorded values. A Sinusoidal model is a sine or cosine rule chosen to approximate their repeating rise and fall. The month number is the input, and the number of daylight hours is the output. Here Latitude describes how far north or south a location is; the notes give observations at 60°. You use the observed top and bottom to set the wave's size and center, then choose a practical start. A smooth approximation can miss individual dots.

Explain it like I am five

Picture a year of daylight on a fridge calendar: short winter days, long summer days, repeating. A model is a formula following that rise and fall. Here t counts months (t = 1 is January) and D(t), read "D of t", counts daylight hours.

The notes' table (60° latitude, far north) peaks at 18.72 hours and bottoms at 5.88. A = 18.72−5.882 = 6.42 and B = 18.72+5.882 = 12.3. It repeats every 12 months: ω = 2π12 = π6. A positive sine starts where the wave crosses its midline going up: April, t = 4, the rising month nearest 12.3 hours. So the start is h = 4 and φ = ω × h = 4π6 = 2π3, giving D(t) = 6.42 sin(π6t − 2π3) + 12.3.

Check July, t = 7: the inside is 7π6 − 4π6 = π2, so sine is 1 and D = 6.42 + 12.3 = 18.72, a match. December, t = 12, gives about 6.74 against the table's 5.88: a model follows the pattern and can miss single months.

2 Picture it

JanuaryAprilJulyOctoberJanuaryAprilJulyOctoberamplitude 6.42one periodπ3π5π7π48121620cycle startsJanuaryAprilJulyOctoberJanuaryAprilJulyOctobermidline y = 12.3amplitude 6.42one periodπ2π3π4π5π6π7π48121620
y = 6.42 sin((π/6)x − 2π/3) + 12.3.

Reminder

Reminder: Decimal arithmetic, Month input, Positive sine start, Fraction addition, Special sine value
  • Decimal arithmetic. 18.72 − 5.88 = 12.84; half is 6.42. Their sum is 24.60; half is 12.30.
  • Month input. D(7) means the model output for July because t = 7 labels July.
  • Positive sine start. At t = 4 the model's inside is 0, so its output is B = 12.3 and it rises.
  • Fraction addition. 7π6−2π3=7π6−4π6=π2.
  • Special sine value. sin(π3) = 32 comes from the 30°, 60°, 90° triangle.

3 Why

The observed extremes give a reasonable height span and center. Annual repetition gives T = 12, fixing the inside speed. A rising middle crossing can anchor positive sine, but sampled months do not usually land exactly on that crossing. The notes choose April as an approximate rising anchor, so the resulting formula is a model, not exact interpolation. Checking another month exposes the difference between a predicted output and an observed value and keeps the approximation honest.

4 The rule

for a fitted positive-A sine wave, A=Dmax−Dmin2,B=Dmax+Dmin2,ω=2πT,φ=ωh.

Choose h near a rising middle crossing and compare predictions with observations.

The same idea, five ways

Say it

A sinusoidal model is a repeating sine or cosine estimate of measurements.

Write it

Choose a smooth periodic wave to approximate the observed daylight data.

In math
  • D(t)=Asin(ωt−φ)+B
  • D(t)=Acos(ωt−φ)+B
  • D(t + 12) = D(t) for this model
  • Graph words: observed dots compared with a smooth wave.
Like

Trace a smooth seasonal guide through a calendar's recorded daylight heights.

See it
JanuaryAprilJulyOctoberJanuaryAprilJulyOctoberamplitude 6.42one periodπ3π5π7π48121620
The same picture again: y = 6.42 sin((π/6)x − 2π/3) + 12.3.

The same idea, other ways

As a smooth guide through dots

The dots are measurements. The curve is an approximation chosen from a fixed family, so it may pass above or below a dot.

JanuaryAprilJulyOctoberJanuaryAprilJulyOctoberamplitude 6.42one periodπ3π5π7π48121620
The same picture a third time: y = 6.42 sin((π/6)x − 2π/3) + 12.3.
As the graph method with units

A = 6.42 is in hours; T = 12 and h = 4 are in months. The inside π6t − 2π3 is an angle in radians.

Part 1: Read the table and repeat it for two years

The same observed month returns twelve input units later in this plotted repeating pattern. Second-year observations are assumed repeats for this exercise, not new measurements.

  • Rule: January is t = 1 and the next January is t = 13.
  • Rule: repeat the plotted observations by adding 12 to the input.
JanuaryAprilJulyOctoberJanuaryAprilJulyOctoberamplitude 6.42one periodπ3π5π7π48121620
The same picture, shown 4 times now: y = 6.42 sin((π/6)x − 2π/3) + 12.3.
The same idea, five ways
Say it

Read the table and repeat it for two years

Write it

The same observed month returns twelve input units later in this plotted repeating pattern. Second-year observations are assumed repeats for this exercise, not new measurements.

In math
  • Rule: January is t = 1 and the next January is t = 13.
  • Rule: repeat the plotted observations by adding 12 to the input.
Like

Copy one year's calendar onto the next year's dates.

See it
JanuaryAprilJulyOctoberJanuaryAprilJulyOctoberamplitude 6.42one periodπ3π5π7π48121620
The same picture, shown 5 times now: y = 6.42 sin((π/6)x − 2π/3) + 12.3.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: January in the second year is t = 12.
t = 12 already means first-year December.
✓ Instead: The next January is t = 13.
Tips and tricks
  • The next January is t = 13.

Part 2: Choose height, center and timing

Half-span and average set the heights. The annual cycle sets speed. Positive sine needs a rising middle crossing; positive cosine needs a peak.

  • Rule: A = 6.42, B = 12.3, T = 12.
  • Rule: positive cosine can use h = 7 at the July peak.
amplitude 6.42one periodπ3π5π7π48121620
y = 6.42 cos((π/6)x − 7π/6) + 12.3.
The same idea, five ways
Say it

Choose height, center and timing

Write it

Half-span and average set the heights. The annual cycle sets speed. Positive sine needs a rising middle crossing; positive cosine needs a peak.

In math
  • Rule: A = 6.42, B = 12.3, T = 12.
  • Rule: positive cosine can use h = 7 at the July peak.
Like

Read the wheel's size and center first, then choose a point on its timetable.

See it
amplitude 6.42one periodπ3π5π7π48121620
The same picture again: y = 6.42 cos((π/6)x − 7π/6) + 12.3.

Worked example

Use the July peak as a cosine start

Write the equivalent positive cosine daylight approximation from the same extrema and the July peak at t = 7. This asks for another start description of the same chosen smooth wave.

Show the steps and the answer
amplitude 6.42one periodπ3π5π7π48121620
The same picture a third time: y = 6.42 cos((π/6)x − 7π/6) + 12.3.
  1. Keep A=6.42,B=12.3,T=12 and ω=π6.The size, center and repeat width stay the same.
  2. Choose h=7 for positive cosine because July is the observed peak.Positive cosine reaches its maximum at inside input 0.
  3. φ=ωh=7π6. Plug back: π6×7−7π6=0.Convert the chosen peak time into an inside offset.
  4. Write D(t)=6.42cos(π6t−7π6)+12.3.The new start is one quarter period after the sine start 4.
Answer
D(t)=6.42cos(π6t−7π6)+12.3
Double-check Both representations peak at t = 7, trough at t = 1 and 13, and cross the middle rising at t = 4. Their five cycle stages agree because the starts differ by T4 = 3 months.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: October is closer to the center, so use it as a positive-sine start.
October occurs while daylight is falling. Positive sine starts by rising.
✓ Instead: Use the rising April anchor approximately, or use cosine at July.
Tips and tricks
  • Use the rising April anchor approximately, or use cosine at July.

Part 3: Check prediction against observation

Predicting means evaluate the fitted rule. Checking the fit means compare that prediction with the recorded value in the table. Substitution means replacing t with the chosen month number.

  • Rule: a model prediction need not equal the observed output.
JanuaryAprilJulyOctoberJanuaryAprilJulyOctoberamplitude 6.42one periodπ3π5π7π48121620
The same picture, shown 6 times now: y = 6.42 sin((π/6)x − 2π/3) + 12.3.
The same idea, five ways
Say it

Put the month into the model, then compare the predicted hours with the recorded hours.

Write it

Predicting means evaluate the fitted rule. Checking the fit means compare that prediction with the recorded value in the table.

In math
  • D(6)=12.3+3.213≈17.8599
  • Observed June daylight = 18.28
  • 18.28 − D(6) ≈ 0.4201 hour
Like

Compare a predicted timetable with the arrival times you actually recorded.

See it
JanuaryAprilJulyOctoberJanuaryAprilJulyOctoberamplitude 6.42one periodπ3π5π7π48121620
The same picture, shown 7 times now: y = 6.42 sin((π/6)x − 2π/3) + 12.3.

Worked example

Predict June and compare with the observation

Use the instructor's sine model to estimate daylight at t = 6. This asks for the model output for June, then how it differs from the source table.

JanuaryAprilJulyOctoberJanuaryAprilJulyOctoberamplitude 6.42one periodπ3π5π7π48121620
The same picture, shown 8 times now: y = 6.42 sin((π/6)x − 2π/3) + 12.3.
Show the steps and the answer
  1. Substitute t=6: inside =π6×6−2π3=π−2π3=π3.Evaluation means put the known time into every t-slot.
  2. sin(π3)=32.A radian angle π3 is 60°, whose sine comes from the special triangle.
  3. D(6)=6.42×32+12.3=12.3+3.213.Multiply the numerical coefficient by one half.
  4. D(6)≈17.8599 hours, rounded to four decimal places.The radical is exact, while its decimal approximation is rounded.
  5. The June column gives 18.28. Using the exact prediction, observed minus modeled =18.28−(12.3+3.213)≈0.4201 hour, rounded to four decimal places.Compare predicted output with observed output, keeping rounding at the end.
Answer
  • Exact model output: 12.3 + 3.213 hours
  • Rounded model output: 17.8599 hours
  • Observed June daylight: 18.28 hours
Double-check The prediction is below the model's July maximum 18.72 and above its center 12.3, consistent with the rising part of the wave.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: The predicted June output must be exactly 18.28 because that is the table entry.
The table is measured data, and the simple sine model was chosen from approximate features.
✓ Instead: Report both the model output and the observed output.
Tips and tricks
  • Report both the model output and the observed output.

5 How

  1. Define the time input and the output units.
  2. Draw the table and plot the observed points.
  3. Read the observed maximum, minimum and repeating interval.
  4. Choose a suitable sine crossing or cosine peak.
  5. Assemble the model and check several months.
  6. Repeat the observation pattern by T for the requested longer plot.

Fit and check a repeating data model

1
Are the values rising at the chosen middle-height sample?
YesIt can approximate a positive-sine start.
NoUse a rising sample instead, or choose a cosine peak.
↓
2
Does the model miss a measured point?
YesReport the difference; a fitted model can be approximate.
NoCheck another point before claiming an exact match.
  1. Define t and the measured output.
  2. Use extrema for A and B and repetition for T.
  3. Pick a reference stage with the correct direction.
  4. Compute φ from h, then compare the formula with several observed dots.

6 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.

input toutput recorded output0011203−140
t: 0, 1, 2, 3, 4; recorded output: 0, 1, 0, −1, 0.
Show the steps and the answer
input toutput recorded output0011203−140
The same picture again: t: 0, 1, 2, 3, 4; recorded output: 0, 1, 0, −1, 0.
starthighmiddlelowrepeatone periodπ/23π/25π/2−11
y = sin (π/2)x.
  1. Read the high output 1 and low output −1. A=1−(−1)2=1; B=1+(−1)2=0.Half the span gives height distance; half the sum gives center.
  2. T=4−0=4, so ω=2π4=π2.Adjacent upward crossings give the full repeat width.
  3. Choose positive sine at h = 0. φ = ωh = 0. Plug back: π2×0−0=0.This puts the inside start at the recorded rising center crossing.
  4. Write y=sin(π2t). Read the columns under 1 and 3: the inside angles are π2 and 3π2, giving 1 and −1.The quarter-turn values reproduce the two recorded extremes.
Answer
  • y=sin(π2t)
  • Amplitude = 1
  • Period = 4
  • Midline: y = 0
Double-check The columns under 0 and 4 both give 0, and the rule rises immediately after both. All five listed outputs match the table.

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 3

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.

input toutput recorded output0011203−140
The same picture a third time: t: 0, 1, 2, 3, 4; recorded output: 0, 1, 0, −1, 0.
Show the steps and the answer
input toutput recorded output0011203−140
The same picture, shown 4 times now: t: 0, 1, 2, 3, 4; recorded output: 0, 1, 0, −1, 0.
starthighmiddlelowrepeatone periodπ/23π/25π/2−11
The same picture again: y = sin (π/2)x.
  1. Read the high output 1 and low output −1. A=1−(−1)2=1; B=1+(−1)2=0.Half the span gives height distance; half the sum gives center.
  2. T=4−0=4, so ω=2π4=π2.Adjacent upward crossings give the full repeat width.
  3. Choose positive sine at h = 0. φ = ωh = 0. Plug back: π2×0−0=0.This puts the inside start at the recorded rising center crossing.
  4. Write y=sin(π2t). Read the columns under 1 and 3: the inside angles are π2 and 3π2, giving 1 and −1.The quarter-turn values reproduce the two recorded extremes.
Answer
  • y=sin(π2t)
  • Amplitude = 1
  • Period = 4
  • Midline: y = 0
Double-check The columns under 0 and 4 both give 0, and the rule rises immediately after both. All five listed outputs match the table.

Rung 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.

input toutput recorded height0175/2125715/2121017
t: 0, 52, 5, 152, 10; recorded height: 17, 12, 7, 12, 17.
Show the steps and the answer
input toutput recorded height0175/2125715/2121017
The peak columns at 0 and 10 enclose one whole repeat.
amplitude 5one periodπ3π5π681012141618
A center height 12 and amplitude 5 place the extremes at 7 and 17.
  1. A=17−72=102=5; B=17+72=242=12.The largest and smallest outputs in the picture set the amplitude and center.
  2. T=10−0=10; ω=2π10=π5.Peak to next peak measures a complete repeat.
  3. Choose cosine with h=0; φ=ωh=0. At t=0 the inside is 0.Positive cosine starts at the chosen peak.
  4. Write y=5cos(π5t)+12. At t=5, the inside is π, so y=5(−1)+12=7.The independent half-period check reproduces the recorded minimum.
Answer
  • y=5cos(π5t)+12
  • Amplitude = 5
  • Period = 10
  • Midline: y = 12
Double-check At t = 10 the inside is 2π and the output is 17 again. At t = 52 it is π2 and the output is 12, agreeing with the middle-height column.

Rung 3 of 3

Model rung 3: recover a shifted repeat

The synthetic table has consecutive peaks at t = 6 and t = 22 and a trough at t = 14. Write a cosine model and explain its shift. This asks you to convert the recorded peak time into the inside offset.

input toutput recorded height619101114318112219
t: 6, 10, 14, 18, 22; recorded height: 19, 11, 3, 11, 19.
Show the steps and the answer
input toutput recorded height619101114318112219
The peaks at 6 and 22 are sixteen units apart; the trough halfway between is at 14.
peaktroughnext peakamplitude 8one periodπ4π7π10π26101418
The chosen cosine peak is at 6; the wave repeats that peak at 22.
  1. A=19−32=8; B=19+32=11.Half the extreme separation sets size and their average sets center.
  2. T=22−6=16; ω=2π16=π8.The consecutive peak columns show a repeat distance, not the absolute position 22.
  3. Choose h=6 for positive cosine. Make the inside zero there: π8×6−φ=0, so φ=6π8=3π4.Solving finds the inside subtraction that places the model peak at the recorded time.
  4. Plug back: π8×6−3π4=3π4−3π4=0.The candidate offset feeds cosine its peak input at t = 6.
  5. Write y=8cos(π8t−3π4)+11. The selected shift is 6 units right.The four controls now reproduce the recorded height, width, peak position and center.
Answer
  • y=8cos(π8t−3π4)+11
  • Amplitude = 8
  • Period = 16
  • Phase shift = 6 units right
  • Midline: y = 11
Double-check At t = 14 the inside is 14π8 − 6π8 = π, so y = 3. At t = 22 it is 2π and y = 19. At t = 10 it is π2 and y = 11, so both extrema and an intermediate column agree.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: April 13.27 is the value closest to 12.3 in the entire table.
Its difference is 0.97; October 11.55 differs by only 0.75. October is on the falling side.
✓ Instead: April is the closest sampled value on the rising part, so h = 4 is an approximate rising anchor.
✗ Not this: Counterexample: this model's lowest month must be December because the data's lowest month is December.
The chosen sine start is 4 and its trough is three quarters of a period later, at 13, equivalent to January at 1.
✓ Instead: The model's minimum occurs at January; the observed minimum is December. State the approximation.

Tips and tricks

  • Attach units to amplitude and period; they measure different directions.
  • Check a high point and at least one middle or low point.
  • Keep π exact until evaluating a rounded numerical prediction.

7 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.

Keep in mind

  • A model approximates the data: D(12) ≈ 6.74 hours while the table shows 5.88, and that gap does not mean you made a mistake.
  • Reduce φ after multiplying: with ω = π6 and h = 4, φ = 4π6 = 2π3.
  • Keep the units straight: t is in months, D is in hours, and the period is 12 because the daylight pattern repeats every 12 months.

Memory hook

Half the gap is A, half the sum is B, the repeat length T gives ω = 2πT, and the rising midline crossing gives h.

Flash cards

Say the answer out loud, then flip.

What is a sinusoidal model?
A sine or cosine formula chosen to follow repeating data approximately.
Why is the period 12 in the daylight model?
t counts months, and the daylight pattern repeats every 12 months.
Daylight peaks at 16 hours and bottoms at 8 hours. Find A and B.
  • A=16−82=4
  • B=16+82=12
A yearly model (T = 12) crosses its midline going up at t = 3. Find ω and φ for a sine model.
  • ω=2π12=π6
  • φ=ω×h=π6×3=π2
Use D(t) = 6.42 sin(π6t − 2π3) + 12.3 to predict April, t = 4.
The inside is 4π6 − 2π3 = 0, so D = 12.3 hours. The table shows 13.27.
October has 11.55 hours, close to 12.3. Can it be the start of a positive sine model?
No. Daylight is falling in October, and a positive sine starts on a rising crossing, so use April.