This is the hands-on companion to the first-principles proofs . There we proved d x d sin x = cos x and d x d cos x = − sin x . Here we use them in every situation you might meet — every sign, every quadrant, the two building-block limits on their own, a swing (word problem), and an exam twist.
Intuition Before we start — the one rule that never changes
Differentiating rotates the wave 9 0 ∘ to the left. The cycle is
sin x → cos x → − sin x → − cos x → sin x .
Every example below is really just "where am I in this cycle, and what sign does the answer carry?"
Below, an angle in Quadrant I means 0 < x < 2 π , QII means 2 π < x < π , QIII means π < x < 2 3 π , QIV means 2 3 π < x < 2 π . (A "quadrant" is just one of the four quarters of a full turn — see the figure just below.)
#
Cell class
What makes it tricky
Example that hits it
A
The core limit h s i n h used directly
numerator/denominator both → 0
Ex 1
B
The companion limit h c o s h − 1
wrong "2 1 " trap
Ex 2
C
Slope of sin x , QI vs QII (sign flip of cos )
slope positive then negative
Ex 3
D
Slope of cos x , QIII vs QIV (sign flip of − sin )
double sign bookkeeping
Ex 4
E
Degenerate / limiting points: x = 0 , 2 π , π , 2 3 π
peaks & zeros, slope = 0 or ± 1
Ex 5
F
Real-world word problem (a swing)
attach units, radians only
Ex 6
G
Exam twist: inner rate sin ( k x ) from first principles
previews chain rule, factor k
Ex 7
H
Degrees-vs-radians degenerate case
the 180 π pitfall
Ex 8
The picture above shows the four quadrants and, at four sample angles, the slope arrow of the sine wave. Watch the arrow tilt: uphill in QI/QIV, downhill in QII/QIII — that tilt is the sign of cos x .
Worked example Ex 1 · Evaluate
h → 0 lim 3 h sin 5 h
Forecast: Guess a number before reading on. Is it 1 ? 3 5 ? 5 3 ? Write your guess down.
Step 1 — spot the mismatch. Why this step? Our known fact is same thing s i n ( same thing ) → 1 . Here the top has 5 h but the bottom has 3 h — they are not the same thing, so we cannot read off 1 yet.
Step 2 — force the angle to match. Why? Multiply and divide so that the denominator becomes 5 h , matching the sine's argument:
3 h s i n 5 h = 5 h s i n 5 h ⋅ 3 h 5 h = 5 h s i n 5 h ⋅ 3 5 .
The 3 h 5 h is just algebra — the h 's cancel to leave the constant 3 5 .
Step 3 — let h → 0 . Why? As h → 0 the piece 5 h → 0 too, so 5 h s i n 5 h is the fundamental limit and → 1 .
lim h → 0 3 h s i n 5 h = 1 ⋅ 3 5 = 3 5 .
Verify: Try h = 0.001 : sin ( 0.005 ) = 0.00499998 , divide by 0.003 gives 1.66666 , i.e. ≈ 3 5 . ✔ Matches.
Worked example Ex 2 · Evaluate
h → 0 lim h 1 − cos 4 h
Forecast: The parent warns of a "2 1 " mistake here. Do you think the answer is 0 , 2 1 , or 2 ? Commit first.
Step 1 — recognise the shape. Why? We know h c o s h − 1 → 0 . Note 1 − cos 4 h = − ( cos 4 h − 1 ) , so the sign flips but the limit value is still built from a "cos − 1 over first power of h " form → it will still head to 0 .
Step 2 — match the angle to 4 h . Why? Same trick as Ex 1: make the denominator carry 4 h .
h 1 − c o s 4 h = − 4 h c o s 4 h − 1 ⋅ 4.
Step 3 — take the limit. Why? 4 h c o s 4 h − 1 → 0 (companion limit with 4 h → 0 ), so:
lim h → 0 h 1 − c o s 4 h = − 0 ⋅ 4 = 0 .
Why NOT 2 1 ? The 2 1 lives in h 2 1 − c o s h → 2 1 — two powers of h downstairs. Here we have only one power of h , and one power is not enough to "catch" the tiny cos − 1 , so it collapses to 0 .
Verify: h = 0.001 : 1 − cos ( 0.004 ) = 0.000008 , over 0.001 gives 0.008 → 0 . ✔
Worked example Ex 3 · Find the slope of
y = sin x at x = 3 π (QI) and at x = 3 2 π (QII). Compare.
Forecast: One of these slopes is positive, one is negative. Which is which — and are they equal in size?
Step 1 — apply the derivative. Why? We proved d x d sin x = cos x ; the slope at a point is just cos of that point.
y ′ x = π /3 = cos 3 π = 2 1 , y ′ x = 2 π /3 = cos 3 2 π = − 2 1 .
Step 2 — read the geometry. Why? 3 π = 6 0 ∘ is on the rising part of the sine wave (before its peak at 2 π ), so slope > 0 . 3 2 π = 12 0 ∘ is past the peak on the falling side, so slope < 0 .
Step 3 — same magnitude, opposite sign. Why? 3 π and 3 2 π are mirror images about the peak 2 π , so the wave is equally steep, just one up and one down.
+ 2 1 at 3 π , − 2 1 at 3 2 π .
Verify: cos 6 0 ∘ = 0.5 , cos 12 0 ∘ = − 0.5 . Equal in size, opposite sign. ✔
Worked example Ex 4 · Find the slope of
y = cos x at x = 4 5 π (QIII) and x = 4 7 π (QIV).
Forecast: The derivative of cosine already carries a minus. Now sin itself is negative in QIII/QIV. Two minuses... do the slopes come out positive?
Step 1 — apply the derivative. Why? We proved d x d cos x = − sin x .
y ′ = − sin x .
Step 2 — plug each angle, track BOTH signs. Why? Careful bookkeeping is the whole point of this cell.
x = 4 5 π (QIII): sin 4 5 π = − 2 2 , so y ′ = − ( − 2 2 ) = + 2 2 .
x = 4 7 π (QIV): sin 4 7 π = − 2 2 , so y ′ = − ( − 2 2 ) = + 2 2 .
Step 3 — sanity via the wave. Why? Cosine has its trough (minimum) at x = π ; just after the trough it climbs back up, so slope should be positive through QIII and QIV — matching both + 2 2 .
y ′ = + 2 2 ≈ 0.707 at both points.
Verify: − sin ( 5 π /4 ) = 0.7071 , − sin ( 7 π /4 ) = 0.7071 . Both positive. ✔
Worked example Ex 5 · Give the slope of
sin x AND of cos x at the four special points x = 0 , 2 π , π , 2 3 π .
Forecast: At a peak or trough the tangent line is flat. So some of these eight numbers must be exactly 0 . Guess how many.
Step 1 — build a table from the two derivatives. Why? d x d sin x = cos x and d x d cos x = − sin x ; just evaluate.
x
sin x (height)
slope of sin = cos x
cos x (height)
slope of cos = − sin x
0
0
1
1 (peak)
0
2 π
1 (peak)
0
0
− 1
π
0
− 1
− 1 (trough)
0
2 3 π
− 1 (trough)
0
0
1
Step 2 — read the pattern. Why? Wherever the height is a peak/trough (± 1 ), the slope is 0 (flat tangent). Wherever the height is 0 (a crossing), the slope is ± 1 (steepest). Four of the eight slopes are zero — matching the forecast.
Step 3 — the 9 0 ∘ shift, made visible. Why? Compare the "slope of sin " column to the "cos x height" column — they are identical. That is the wave-shift claim, now a concrete table.
Verify: e.g. slope of sin at x = 2 π is cos 2 π = 0 ; slope of cos at x = 2 π is − sin 2 π = − 1 . ✔
Worked example Ex 6 · A child on a swing has height above the lowest point
y ( t ) = 0.8 sin ( 1.5 t ) metres, where t is in seconds and the argument 1.5 t is in radians . How fast is she rising at t = 0 ?
Forecast: At the bottom of a swing you move fastest. So the speed at t = 0 should be the biggest speed, not zero. Guess a number in m/s.
Step 1 — differentiate w.r.t. time. Why? "How fast is height changing" = derivative of y with respect to t . The outer function is sin , whose derivative is cos ; the inner angle 1.5 t changes at rate 1.5 per second, which multiplies out front (this factor is exactly the Chain Rule preview from the parent note).
y ′ ( t ) = 0.8 ⋅ cos ( 1.5 t ) ⋅ 1.5 = 1.2 cos ( 1.5 t ) m/s .
Step 2 — evaluate at t = 0 . Why? t = 0 is when she passes the bottom.
y ′ ( 0 ) = 1.2 cos ( 0 ) = 1.2 ⋅ 1 = 1.2 m/s .
Step 3 — units and sanity. Why? Metres divided by seconds → m/s, correct for a speed. And 1.2 is the maximum of 1.2 cos ( 1.5 t ) , so this is indeed the fastest moment — matching the forecast.
y ′ ( 0 ) = 1.2 m/s (upward, and it’s the maximum speed).
Verify: derivative 1.2 cos ( 1.5 ⋅ 0 ) = 1.2 . And the max of 1.2 cos ( ⋅ ) is 1.2 . ✔
Worked example Ex 7 · Straight from the limit definition, show
d x d sin ( k x ) = k cos ( k x ) for a constant k .
Forecast: The parent hinted the factor k appears through h s i n k h → k . Predict where the k pops out.
Step 1 — write the definition. Why? We are asked to derive , not quote a rule.
d x d sin ( k x ) = lim h → 0 h s i n ( k ( x + h )) − s i n ( k x ) = lim h → 0 h s i n ( k x + k h ) − s i n ( k x ) .
Step 2 — addition formula on sin ( k x + k h ) . Why? Trigonometric addition formulas separate the fixed part k x from the shrinking part k h :
sin ( k x + k h ) = sin ( k x ) cos ( k h ) + cos ( k x ) sin ( k h ) .
Substituting and grouping the sin ( k x ) terms:
= lim h → 0 [ sin ( k x ) ⋅ h c o s ( k h ) − 1 + cos ( k x ) ⋅ h s i n ( k h ) ] .
Step 3 — evaluate the two pieces with a matched angle. Why? Force the angle k h into each denominator:
h c o s ( k h ) − 1 = k ⋅ k h c o s ( k h ) − 1 → k ⋅ 0 = 0 , h s i n ( k h ) = k ⋅ k h s i n ( k h ) → k ⋅ 1 = k .
There's the k : it comes from converting h ( ⋅ ) into k h ( ⋅ ) , which costs a factor k .
Step 4 — assemble. Why? Put the limit values back:
= sin ( k x ) ⋅ 0 + cos ( k x ) ⋅ k = k cos ( k x ) .
Verify: For k = 2 , x = 6 π : predicted 2 cos 3 π = 2 ⋅ 2 1 = 1 . Numerical slope of sin ( 2 x ) there ≈ 1 . ✔
Worked example Ex 8 · A student computes
d x d sin x but keeps x in degrees . What extra constant appears, and what is the "slope" of sin at x = 0 ∘ they'd get?
Forecast: The parent says degrees break h s i n h → 1 . Guess the constant.
Step 1 — convert degrees to radians inside the sine. Why? Our proof only works when the sine's input is in radians. If x is measured in degrees, the actual angle in radians is 180 π x , so the function is really sin ( 180 π x ) .
Step 2 — differentiate that. Why? This is exactly Ex 7 with k = 180 π :
d x d sin ( 180 π x ) = 180 π cos ( 180 π x ) .
So the "extra constant" is 180 π ≈ 0.01745 .
Step 3 — evaluate the slope at x = 0 ∘ . Why? At 0 , cos 0 = 1 :
slope = 180 π ⋅ 1 = 180 π ≈ 0.01745.
In radians the same slope is cos 0 = 1 . The mismatch (a factor 57.3 !) is exactly why calculus insists on radians.
Degrees give 180 π cos x , not cos x .
Verify: 180 π = 0.0174533 . ✔ (Compare the honest radian answer cos 0 = 1 .)
Recall Checkpoint — cover the answers
Which cell forces you to convert the sine's argument before differentiating? ::: Cell H (degrees) — turn x ∘ into 180 π x radians first
Why does lim h 1 − c o s 4 h = 0 and not 2 1 ? ::: Only ONE power of h downstairs; the 2 1 needs h 2
Where does the factor k in d x d sin ( k x ) come from? ::: From rewriting h s i n k h = k ⋅ k h s i n k h → k
At a peak of a wave, the slope is always what? ::: 0 (flat tangent)
Mnemonic One-line recall for these examples
"Match the angle, then read the sign." Match the sine/cosine's argument to the denominator (that spits out any constant like 3 5 , k , or 180 π ), then decide + or − from which slope of the wave you sit on.