Differential Calculus for Social Science 201-103 • CEGEP, Montreal

Revision sheet: trigonometric functions and their derivatives (201-103)

The trigonometry chapter of Social Science differential calculus is not a chapter about triangles. Sine serves as the single model of everything that comes back: retail sales over twelve months, emergency room traffic over seven days, average temperature, seasonal migration. All these series are written f(t)=Asin⁡(ωt+φ)+kf(t)=A\sin(\omega t+\varphi)+k, and the derivative answers a question that the data column never shows: at what time is the quantity increasing fastest?

The real obstacle is there, and it is fixed in one sentence: the peak is the moment when f′=0f'=0, so the moment when the rise is OVER. Maximum growth falls a quarter of a period earlier, where the curve crosses its mean and where f′′f'' vanishes. The rest of the sheet deals with the mechanical errors that cost the most, the calculator's degree mode and the factor ω\omega left by the chain rule.

Mark this sheet as read or add it to your favourites: a free account, no password, keeps your read sheets and favourites from one visit to the next, tells you which chapter to tackle next and lets you ask for the method or exercise you are missing. Create your space, an email is enough.

The thread of the chapter

Here sine is not a triangle tool, it is the model of whatever comes back: the peak is the moment when f′=0f'=0, maximum growth arrives a quarter of a period earlier, and none of this holds unless the angle is measured in radians.

This chapter is part of 201-103, Differential Calculus for Social Science

The essentials

The circle and the radian, and what the Pythagorean identity does not say

  • • 180∘=π180^{\circ}=\pi rad. We convert a degree to a radian by multiplying by π180\dfrac{\pi}{180}, never by 180π\dfrac{180}{\pi}.
  • • A radian is a ratio of two lengths, hence a number without a unit: that is what allows us to write sin⁡t\sin t where tt counts months.
  • • Pythagorean identity: sin⁡2x+cos⁡2x=1\sin^{2}x+\cos^{2}x=1. It gives the SQUARE, so cos⁡x=±1−sin⁡2x\cos x=\pm\sqrt{1-\sin^{2}x}, and the quadrant chooses the sign.
  • • Reference angle: memorize only the first quadrant, then attach the sign. So cos⁡2π3=−cos⁡π3=−0.5\cos\dfrac{2\pi}{3}=-\cos\dfrac{\pi}{3}=-0.5.
  • • Related angles: sin⁡(π−x)=sin⁡x\sin(\pi-x)=\sin x, cos⁡(π+x)=−cos⁡x\cos(\pi+x)=-\cos x, sin⁡(−x)=−sin⁡x\sin(-x)=-\sin x and cos⁡(−x)=cos⁡x\cos(-x)=\cos x.
2π/3π/3(-0.5, 0.866)(0.5, 0.866)
The two points have the SAME sine, 0.8660.866, and opposite cosines: the Pythagorean identity could not tell them apart, only the quadrant does.

Writing the sign of the quadrant BEFORE touching the calculator earns the half mark for rigour and removes half the errors on this page.

The periodic model: four letters, four management questions

  • • f(t)=Asin⁡(ωt+φ)+kf(t)=A\sin(\omega t+\varphi)+k: kk is the mean level, AA the amplitude, ω\omega the angular frequency and φ\varphi the phase shift.
  • • k=max⁡+min⁡2k=\dfrac{\max+\min}{2} and A=max⁡−min⁡2A=\dfrac{\max-\min}{2}: the mean of the two extremes, then their HALF-difference.
  • • T=2πωT=\dfrac{2\pi}{\omega}, so ω=2πT\omega=\dfrac{2\pi}{T}. Over twelve months, ω=π6≈0.5236\omega=\dfrac{\pi}{6}\approx 0.5236 radian per month.
  • • The maximum is k+Ak+A and the minimum k−Ak-A: the amplitude is measured from the midline (the axis of oscillation), not from zero.
  • • The gap between the best and the worst moment is 2A2A, and this is the number a report quotes.
midline k = 110A = 30T = 12 monthsmax = 140min = 80fitted sinusoidobserved salesmonths, January to Decembersales, in thousands of dollars
The horizontal line gives k=110k=110, the vertical line gives A=30A=30 from that midline and not from zero, the full cycle gives T=12T=12 months, and the maximum is indeed k+A=140k+A=140.

The four parameters are read in a fixed order, kk, then AA, then ω\omega, then φ\varphi: each one needs the previous ones, never the reverse.

The table of derivatives, and the factor that follows it everywhere

  • • (sin⁡x)′=cos⁡x(\sin x)'=\cos x, (cos⁡x)′=−sin⁡x(\cos x)'=-\sin x, (tan⁡x)′=1cos⁡2x=1+tan⁡2x(\tan x)'=\dfrac{1}{\cos^{2}x}=1+\tan^{2}x.
  • • 1cos⁡2x≥1\dfrac{1}{\cos^{2}x}\ge 1 everywhere, so the tangent function has NO horizontal tangent line and is never used as a cyclical model.
  • • On a model, the chain rule gives f′(t)=Aωcos⁡(ωt+φ)f'(t)=A\omega\cos(\omega t+\varphi): the amplitude of the rate of change is AωA\omega, in units of ff per unit of time.
  • • f′′(t)=−ω2(f(t)−k)f''(t)=-\omega^{2}\big(f(t)-k\big): the acceleration is proportional to the distance from the mean and has the opposite sign.
  • • The whole table rests on lim⁡x→0sin⁡xx=1\displaystyle\lim_{x\to 0}\dfrac{\sin x}{x}=1, which is true only in radians and only at ZERO.
0.511.522.533.544.555.566.5-1.5-1-0.50.511.5sin peakscos = 0sin x(sin x)′ = cos x
The orange curve is the slope of the blue one: cos⁡x\cos x is positive when sin⁡x\sin x rises, zero at π2\frac{\pi}{2} when sin⁡x\sin x peaks, negative when it falls.

The unit is the quickest check on the page: if ff is in thousands of dollars and tt in months, f′f' reads in thousands of dollars per month, never in thousands of dollars.

The peak and maximum growth, a quarter of a period apart

  • • The peak is the moment when f′=0f'=0, so the moment when the rise is OVER; ff equals k+Ak+A there.
  • • Maximum growth is the moment when f′′=0f''=0: ff equals exactly kk there and f′f' equals +Aω+A\omega.
  • • The two are separated by T4\dfrac{T}{4}, and maximum growth comes BEFORE the peak.
  • • Over one period, f′′f'' vanishes twice: the time when f′>0f'>0 is the fastest rise, the one when f′<0f'<0 is the fastest fall.
  • • A dashboard that reads only the level sees nothing happening on the day of maximum growth, since ff equals its annual mean there.

It is the one thing the derivative brings that no reading of the data column gives: a date when the level is ordinary and the rate of change is extreme.

The rules in table form

Each row reads from left to right: the assumptions, then the result. A red cell is not an answer, it is the finding that the form settles nothing and the instruction to rewrite it. Every case is followed by a worked example.

The derivatives of the chapter, with their numerical check

The first four lines are meant to be copied. The last three are expressions you will see on student papers: a red cell is never an answer, it is an order to rewrite.

What we differentiateDerivativeNumerical check
sin⁡x\sin x cos⁡x\cos x f′(0)=1f'(0)=1

Example: f′(0)=cos⁡0=1f'(0)=\cos 0=1: at zero, sine rises with slope 1, which sin⁡(0.05)=0.049979\sin(0.05)=0.049979 confirms.

cos⁡x\cos x −sin⁡x-\sin x f′(π6)=−0.5f'\left(\dfrac{\pi}{6}\right)=-0.5

Example: −sin⁡π6=−12=−0.5-\sin\dfrac{\pi}{6}=-\dfrac{1}{2}=-0.5: at π6\dfrac{\pi}{6} cosine is already falling.

tan⁡x\tan x 1cos⁡2x\dfrac{1}{\cos^{2}x} f′(π4)=2f'\left(\dfrac{\pi}{4}\right)=2

Example: 1(2/2)2=10.5=2\dfrac{1}{(\sqrt{2}/2)^{2}}=\dfrac{1}{0.5}=2, and this derivative is at least 1 everywhere.

Asin⁡(ωt+φ)+kA\sin(\omega t+\varphi)+k Aωcos⁡(ωt+φ)A\omega\cos(\omega t+\varphi) amplitude AωA\omega

Example: A=30A=30 and ω=π6\omega=\dfrac{\pi}{6} give Aω=5π≈15.71A\omega=5\pi\approx 15.71 thousand dollars per month.

sin⁡x\sin x −cos⁡x-\cos x wrong rule that does not exist

Example: At x=0x=0 sine RISES, so f′(0)>0f'(0)>0: −cos⁡0=−1-\cos 0=-1 is absurd, cos⁡0=1\cos 0=1 is right.

What to do: The minus sign belongs to the other line, (cos⁡x)′=−sin⁡x(\cos x)'=-\sin x. Check the sign on a graph, not from memory.

sin⁡(ωt)\sin(\omega t) cos⁡(ωt)\cos(\omega t) wrong forgotten factor

Example: (sin⁡πt6)′=π6cos⁡πt6\left(\sin\dfrac{\pi t}{6}\right)'=\dfrac{\pi}{6}\cos\dfrac{\pi t}{6}, whose value at t=0t=0 is 0.52360.5236 and not 1.

What to do: The inner layer leaves its coefficient ω\omega AS A FACTOR in front of the cosine.

sin⁡x\sin x, in degrees cos⁡x\cos x wrong rule that does not exist

Example: In degrees sin⁡(0.1∘)0.1=0.01745\dfrac{\sin(0.1^{\circ})}{0.1}=0.01745 and not 1, so the derivative is π180cos⁡x≈0.01745cos⁡x\dfrac{\pi}{180}\cos x\approx 0.01745\cos x.

What to do: Set the calculator to radians before the first calculation, and convert every angle given in degrees.

The three red lines are, in order, the memory error, the chain error and the unit error. All three can be caught by a five-second numerical check.

The mistakes that cost marks

These are the errors I correct most often in session. Each one costs marks on a paper, even when the reasoning behind it is right.

1. Answering the month of the peak when the question asks for the month of fastest growth

the whole question, 4 marks out of 10

What not to write

“Sales rise fastest in December, since that is the maximum of the year.”

What to write

“The maximum is in December, but f′(12)=0f'(12)=0: the rise is over there. Growth is maximal in September, t=9t=9, where f′′(9)=0f''(9)=0 and f′(9)=5π≈15.71f'(9)=5\pi\approx 15.71 thousand dollars per month.”

distance from the meanderivativepeak: f' = 0maximum ratet, in monthsthousands of dollars
At t=9t=9 the distance from the mean is zero while the derivative is at its maximum; at t=12t=12 it is the reverse. The maximum of one always falls on the zero of the other.

Why: This is the real obstacle of the chapter and the one question only the derivative answers: at the peak, the rate of change is ZERO, and the moment when the rate is extreme is the one where the level is ordinary.

2. Differentiating with a calculator left in degrees

the whole table, so the whole problem

What not to write

“The calculator displays degrees, so I differentiate in degrees, it only changes the display.”

What to write

“I switch to radians before the first calculation: the table (sin⁡x)′=cos⁡x(\sin x)'=\cos x is true only in radians, because lim⁡x→0sin⁡xx=1\displaystyle\lim_{x\to 0}\dfrac{\sin x}{x}=1 is true only in radians. In degrees the derivative would be π180cos⁡x\dfrac{\pi}{180}\cos x.”

Why: The stray factor π180≈0.01745\dfrac{\pi}{180}\approx 0.01745 would contaminate every chain rule and every optimization, and both answers stay dimensionally consistent, so the unit catches nothing.

3. Swapping the derivative of sine and that of cosine

2 marks, and the decision is reversed

What not to write

“The derivative of sine is minus cosine.”

What to write

“(sin⁡x)′=cos⁡x(\sin x)'=\cos x, with no sign at all, and (cos⁡x)′=−sin⁡x(\cos x)'=-\sin x. At x=0x=0 the sine curve rises, so its derivative is positive there, and cos⁡0=1\cos 0=1 fits.”

-2-1.5-1-0.50.511.522.5-2-1.5-1-0.50.511.52slope 1slope −1
At x=0x=0, the sine curve RISES: its tangent line (green) has slope cos⁡0=1\cos 0=1. A derivative “−cos⁡x-\cos x” would give the red line, which goes down.

Why: The memory error is harmless, its effect is not: on a seasonal model it swaps the month of maximum growth and that of maximum decline, so it reverses the management recommendation.

4. Forgetting the factor left by the inner layer

3 marks, and a 91 percent error on the rate of change

What not to write

“f(t)=30sin⁡(πt6+π2)+110f(t)=30\sin\left(\dfrac{\pi t}{6}+\dfrac{\pi}{2}\right)+110, so f′(t)=30cos⁡(πt6+π2)f'(t)=30\cos\left(\dfrac{\pi t}{6}+\dfrac{\pi}{2}\right).”

What to write

“The inner layer u(t)=πt6+π2u(t)=\dfrac{\pi t}{6}+\dfrac{\pi}{2} has derivative π6\dfrac{\pi}{6}, so f′(t)=30×π6cos⁡(πt6+π2)=5πcos⁡(πt6+π2)f'(t)=30\times\dfrac{\pi}{6}\cos\left(\dfrac{\pi t}{6}+\dfrac{\pi}{2}\right)=5\pi\cos\left(\dfrac{\pi t}{6}+\dfrac{\pi}{2}\right).”

123456789101112-35-30-25-20-15-10-55101520253035−5π30: forgotten factorthousands of dollars/month
The correct rate of change (green) oscillates between −5π-5\pi and 5π5\pi, about 15.715.7 thousand dollars per month. Without the factor π6\frac{\pi}{6} from the inner layer, we announce 3030 (red): nearly double.

Why: Announcing a rate amplitude of 30 instead of 5π≈15.7085\pi\approx 15.708 overestimates it by a factor of 6π≈1.91\dfrac{6}{\pi}\approx 1.91: on a cash-flow plan, setting aside nearly double the real need.

5. Multiplying the period by the coefficient instead of dividing

2 marks, and the whole timeline of the problem

What not to write

“The period of sin⁡(3t)\sin(3t) is 6π6\pi.”

What to write

“The period of sin⁡(ωt)\sin(\omega t) is 2πω\dfrac{2\pi}{\omega}, so that of sin⁡(3t)\sin(3t) is 2π3≈2.094\dfrac{2\pi}{3}\approx 2.094. Check: sin⁡(3(t+2π3))=sin⁡(3t+2π)=sin⁡(3t)\sin\left(3\left(t+\dfrac{2\pi}{3}\right)\right)=\sin(3t+2\pi)=\sin(3t).”

0.511.522.533.544.555.566.5-1.5-1-0.50.511.522π/3 ≈ 2.09
Over [0,2π][0, 2\pi], sin⁡3t\sin 3t makes THREE full cycles: each lasts 2π3≈2.09\frac{2\pi}{3}\approx 2.09. The coefficient 33 speeds up the cycle, it divides the period instead of multiplying it.

Why: Multiplying the argument by 3 makes the phenomenon cycle three times FASTER: the coefficient divides the period. The value 6π6\pi would be that of sin⁡(t3)\sin\left(\dfrac{t}{3}\right).

6. Confusing the amplitude with the maximum value

2 marks, and the derivative follows

What not to write

“The amplitude of the sales model is 140, since that is the top of the curve.”

What to write

“The amplitude is A=max⁡−min⁡2=140−802=30A=\dfrac{\max-\min}{2}=\dfrac{140-80}{2}=30, measured from the midline y=k=110y=k=110. The maximum value is k+A=140k+A=140.”

Why: The error is double: taking 140 for AA multiplies the amplitude of the rate AωA\omega by more than four, so it also spoils the whole derivative part of the problem.

7. Moving the fundamental limit from zero to infinity

1.5 marks, and the question on asymptotic behaviour

What not to write

“sin⁡xx\dfrac{\sin x}{x} tends to 1 as xx tends to infinity.”

What to write

“The limit 1 is the one at ZERO, and it is a 00\dfrac{0}{0} form. At infinity, ∣sin⁡xx∣≤1x→0\left|\dfrac{\sin x}{x}\right|\le\dfrac{1}{x}\to 0, so lim⁡x→+∞sin⁡xx=0\displaystyle\lim_{x\to+\infty}\dfrac{\sin x}{x}=0.”

-224681012141618202224262830-0.4-0.20.20.40.60.811.2at 0: 1at +∞: 0
Near 00, the curve of sin⁡xx\frac{\sin x}{x} arrives at height 11 (green open dot). Toward infinity, it stays squeezed between −1x-\frac{1}{x} and 1x\frac{1}{x} (dashed) and flattens onto 00.

Why: The two situations are unrelated: at zero the numerator and the denominator vanish together, at infinity the numerator stays bounded while the denominator grows. At x=100x=100 the quotient is about −0.0051-0.0051.

8. Answering 1 to a sine limit whose coefficients differ

2 marks, and the same reflex repeats on every limit of the page

What not to write

“lim⁡x→0sin⁡5x3x=1\displaystyle\lim_{x\to 0}\dfrac{\sin 5x}{3x}=1, it is the fundamental limit.”

What to write

“Force the same argument on top and bottom: sin⁡5x3x=53×sin⁡5x5x\dfrac{\sin 5x}{3x}=\dfrac{5}{3}\times\dfrac{\sin 5x}{5x}, and the second factor tends to 1, so the limit is 53≈1.6667\dfrac{5}{3}\approx 1.6667.”

-2-1.5-1-0.50.511.52-0.50.511.525/3 ≈ 1.671: wrong
The curve of sin⁡5x3x\frac{\sin 5x}{3x} arrives at (0,53)\left(0, \frac{5}{3}\right) (green), not at height 11 (red): the reference limit asks for the SAME argument on top and bottom.

Why: The reference limit requires the SAME argument in the numerator and the denominator. When they differ, the limit is the ratio of the coefficients, never 1.

9. Adding the amplitudes of two out-of-phase cycles

3 marks, and a seasonality overestimated by 31 percent

What not to write

“E(t)=5sin⁡u+12cos⁡uE(t)=5\sin u+12\cos u, so the amplitude is 5+12=175+12=17.”

What to write

“Two cycles of the same period add up to a single one: E(t)=Rsin⁡(u+φ)E(t)=R\sin(u+\varphi) with R=52+122=13R=\sqrt{5^{2}+12^{2}}=13. The amplitude is 13, and the gap between the best and the worst month is 2R=262R=26.”

0.511.522.533.544.555.566.5-18-15-12-9-6-33691215181317: wrong5 sin u12 cos u
5sin⁡u5\sin u and 12cos⁡u12\cos u do not peak at the same moment: their sum (green) peaks at 52+122=13\sqrt{5^{2}+12^{2}}=13, never at 5+12=175+12=17 (red).

Why: The two effects are a quarter turn out of phase, so they never fully reinforce each other: we add the SQUARES of the amplitudes, not the amplitudes.

Which method to choose

Level or rate of change? The verb of the question decides

Read the verb of the question before touching the model. Only three families, and they do not open the same line of calculation.

  • If “what will the value be”, “which month is the busiest”, “what is the maximum” → we stay on ff: evaluate f(t)f(t), or solve f′(t)=0f'(t)=0 then study the SIGN of f′f'

    Example: f′(t)=0f'(t)=0 at t=0t=0, 6 and 12; the sign gives a minimum in June, f(6)=80f(6)=80

    the derivative vanishing is not enough to conclude, it is the change of sign that names the maximum

  • If “fastest”, “most rapidly”, “strongest acceleration” → we move to f′f' and look for ITS maximum, so we solve f′′(t)=0f''(t)=0

    Example: f′′(t)=0f''(t)=0 at t=3t=3 and t=9t=9; since f′(9)>0f'(9)>0, the fastest rise is in September

    of the two roots, the one where f′>0f'>0 is the rise, the one where f′<0f'<0 is the fall

  • If “by how much per month”, “at what rate”, “what monthly change” → it is f′f' EVALUATED at one time, given with its full unit

    Example: f′(3)=−5π≈−15.71f'(3)=-5\pi\approx -15.71 thousand dollars per month, so a decrease

    an answer without a unit is not worth half the marks of the question

  • If “how many times a year”, “how often”, “what is the period” → T=2πωT=\dfrac{2\pi}{\omega}, and we check that the result is consistent with the spacing of the data

    Example: ω=π6\omega=\dfrac{\pi}{6} gives T=12T=12 months, which is indeed a yearly cycle

    a TT that is not a natural multiple of the data spacing signals a reading error

If no branch applies, the question is about the MODEL itself, so about reading the four parameters: see the model write-up.

Which technique for which form of expression

Look at the written form, not the theme of the chapter. Five forms cover the whole page.

  • If sin⁡(ax)bx\dfrac{\sin(ax)}{bx} with x→0x\to 0 → 00\dfrac{0}{0} form: force the same argument, the limit is ab\dfrac{a}{b}

    Example: sin⁡5x3x=53×sin⁡5x5x→53\dfrac{\sin 5x}{3x}=\dfrac{5}{3}\times\dfrac{\sin 5x}{5x}\to\dfrac{5}{3}

    same move for sin⁡axsin⁡bx\dfrac{\sin ax}{\sin bx}, by building two reference quotients

  • If 1−cos⁡xx\dfrac{1-\cos x}{x} with x→0x\to 0 → multiply top and bottom by the conjugate 1+cos⁡x1+\cos x, then use Pythagoras

    Example: sin⁡xx×sin⁡x1+cos⁡x→1×0=0\dfrac{\sin x}{x}\times\dfrac{\sin x}{1+\cos x}\to 1\times 0=0

    it is the conjugate technique from the chapter on limits, only the identity changes

  • If sin⁡xx\dfrac{\sin x}{x} with x→+∞x\to+\infty → this is NOT an indeterminate form: squeeze between ±1x\pm\dfrac{1}{x}, the limit is 0

    Example: at x=100x=100, the quotient is −0.0051-0.0051

    the numerator stays bounded, the denominator grows: the squeeze theorem is enough

  • If asin⁡u+bcos⁡ua\sin u+b\cos u, same argument uu in both terms → identify R=a2+b2R=\sqrt{a^{2}+b^{2}} and tan⁡φ=ba\tan\varphi=\dfrac{b}{a}, then work with Rsin⁡(u+φ)R\sin(u+\varphi)

    Example: 5sin⁡u+12cos⁡u=13sin⁡(u+1.176)5\sin u+12\cos u=13\sin(u+1.176)

    the compact form gives the extreme values with no sign study at all

  • If Asin⁡(ωt+φ)+kA\sin(\omega t+\varphi)+k to differentiate → chain rule: Aωcos⁡(ωt+φ)A\omega\cos(\omega t+\varphi), the kk disappears

    Example: 30sin⁡(πt6+π2)+11030\sin\left(\dfrac{\pi t}{6}+\dfrac{\pi}{2}\right)+110 gives 5πcos⁡(πt6+π2)5\pi\cos\left(\dfrac{\pi t}{6}+\dfrac{\pi}{2}\right)

    the mean level has no effect on the rate of change, two series with very different levels can have the same derivative

L'Hospital's rule is not on the outline of this course at this stage: a trigonometric 00\dfrac{0}{0} form is handled with the two reference limits, never otherwise.

How the answer is expected to be written

A marker ticks steps. Here they are in order, with the concluding sentence expected word for word.

Fitting a sinusoidal model to data

When to use it: The statement gives a table of values, a graph, or simply the maximum and the minimum of a phenomenon that comes back.

  1. 1 Read off the observed maximum and minimum, with the time of each, and write them with their unit.
  2. 2 Compute the midline k=max⁡+min⁡2k=\dfrac{\max+\min}{2}: it comes first because it depends on no other parameter.
  3. 3 Compute the amplitude A=max⁡−min⁡2A=\dfrac{\max-\min}{2}, the HALF-difference, and state that it is measured from the midline.
  4. 4 Read the duration of a full cycle off the data, call it TT, then set ω=2πT\omega=\dfrac{2\pi}{T} in radians per unit of time.
  5. 5 Write the argument at the time of the first maximum and set it equal to π2\dfrac{\pi}{2}: this gives φ\varphi.
  6. 6 Check the model on a third data point, other than the maximum and the minimum.

Concluding sentence

“On [0,12][0, 12], monthly sales are modelled by f(t)=30sin⁡(πt6+π2)+110f(t)=30\sin\left(\dfrac{\pi t}{6}+\dfrac{\pi}{2}\right)+110, in thousands of dollars, where tt is the month number.”

The trap: Skipping step 4 and writing ω=T\omega=T: the angular frequency is not the period, it is its inverse up to a factor of 2π2\pi.

Marking: 1 mark per parameter, 1 mark for the units, 1 mark for the check on a third point

Answering “at what time is growth fastest?”

When to use it: The statement uses a comparative of speed: fastest, most rapidly, strongest increase, maximum acceleration.

  1. 1 Differentiate the model by the chain rule, f′(t)=Aωcos⁡(ωt+φ)f'(t)=A\omega\cos(\omega t+\varphi), keeping the factor ω\omega and writing the unit of f′f'.
  2. 2 State explicitly that the question is about the maximum of f′f', so about f′′f'' vanishing, and NOT about f′f' vanishing.
  3. 3 Differentiate a second time and solve f′′(t)=0f''(t)=0 on the required interval, writing the condition in the form argument =π2+nπ=\dfrac{\pi}{2}+n\pi.
  4. 4 Among the roots, choose the one where f′>0f'>0, since the other is the moment of fastest fall, and justify the choice by the sign.
  5. 5 Evaluate f′f' at that time and give the rate with its full unit.
  6. 6 Check with the quarter-period rule: the time found falls T4\dfrac{T}{4} before a peak.

Concluding sentence

“Growth is maximal at t=9t=9, that is, in September: f′′(9)=0f''(9)=0 and f′(9)=5π≈15.71f'(9)=5\pi\approx 15.71, so sales then increase by 15.7115.71 thousand dollars per month, the highest rate of the year.”

The trap: Concluding at step 3 without choosing between the two roots: both make f′′f'' vanish, but one is the fastest fall.

Marking: 2 marks for the derivative with its factor, 2 marks for f′′=0f''=0, 1 mark for the choice of root, 1 mark for the unit

Check before you hand in

Five minutes of checking recover more marks than one more problem started in a hurry.

The typical problem, taken apart

Average monthly temperature: from the scatter plot to the month that warms fastest

A city records its average monthly temperatures. The warmest month is July, t=7t=7, with 22.022.0 degrees Celsius; the coldest month is January, t=1t=1, with −8.0-8.0 degrees Celsius. We model with θ(t)=Asin⁡(ωt+φ)+k\theta(t)=A\sin(\omega t+\varphi)+k, where tt is the month number.

a) Give the four parameters and write θ(t)\theta(t). b) Give θ′(t)\theta'(t) with its unit. c) Find the month when the temperature rises fastest and give this rate. d) Check with the quarter-period rule.

Step 1

k=22+(−8)2=7k=\dfrac{22+(-8)}{2}=7 degrees Celsius, and A=22−(−8)2=15A=\dfrac{22-(-8)}{2}=15 degrees Celsius.

Why

The midline is written first because it depends on nothing else. Writing A=22A=22 here would confuse the amplitude with the maximum, and the error would carry through to the rate in question c).

Step 2

The cycle is yearly, so T=12T=12 months and ω=2π12=π6≈0.5236\omega=\dfrac{2\pi}{12}=\dfrac{\pi}{6}\approx 0.5236 radian per month.

Why

The angular frequency is not the period: it is what we put INSIDE the sine. Naming its unit, radian per month, is what will make the unit of θ′\theta' obvious two steps later.

Step 3

The maximum is reached when the argument equals π2\dfrac{\pi}{2}: 7π6+φ=π2\dfrac{7\pi}{6}+\varphi=\dfrac{\pi}{2}, so φ=π2−7π6=−2π3\varphi=\dfrac{\pi}{2}-\dfrac{7\pi}{6}=-\dfrac{2\pi}{3}. Thus θ(t)=15sin⁡(πt6−2π3)+7\theta(t)=15\sin\left(\dfrac{\pi t}{6}-\dfrac{2\pi}{3}\right)+7.

Why

The phase shift is read from the position of the FIRST maximum, never from the first value in the table. It is the only parameter that requires solving an equation, which is why it comes last.

Step 4

Check of the model in January: θ(1)=15sin⁡(π6−2π3)+7=15sin⁡(−π2)+7=−15+7=−8\theta(1)=15\sin\left(\dfrac{\pi}{6}-\dfrac{2\pi}{3}\right)+7=15\sin\left(-\dfrac{\pi}{2}\right)+7=-15+7=-8.

Why

A model is checked on a data point that was not used to build it, or at the very least on the second extreme value. This line earns the check mark of the marking scheme and catches a sign error on φ\varphi.

Step 5

Chain rule: θ′(t)=15×π6cos⁡(πt6−2π3)=5π2cos⁡(πt6−2π3)\theta'(t)=15\times\dfrac{\pi}{6}\cos\left(\dfrac{\pi t}{6}-\dfrac{2\pi}{3}\right)=\dfrac{5\pi}{2}\cos\left(\dfrac{\pi t}{6}-\dfrac{2\pi}{3}\right), in degrees Celsius per month, with amplitude 5π2≈7.854\dfrac{5\pi}{2}\approx 7.854.

Why

The factor π6\dfrac{\pi}{6} comes from the inner layer and it is the number one oversight of the chapter: without it, we would announce a maximum rate of 15 degrees per month instead of 7.857.85, nearly double.

Step 6

The question is about the maximum of θ′\theta', so about θ′′=0\theta''=0. Now θ′′(t)=−5π212sin⁡(πt6−2π3)\theta''(t)=-\dfrac{5\pi^{2}}{12}\sin\left(\dfrac{\pi t}{6}-\dfrac{2\pi}{3}\right), which vanishes when πt6−2π3=nπ\dfrac{\pi t}{6}-\dfrac{2\pi}{3}=n\pi, that is t=4+6nt=4+6n: over one year, t=4t=4 and t=10t=10.

Why

This is the step everyone skips: solving θ′=0\theta'=0 would give July and January, that is, the months when the temperature has FINISHED rising or falling. Saying so out loud is worth a mark for rigour.

Step 7

θ′(4)=5π2cos⁡0=+5π2≈+7.854\theta'(4)=\dfrac{5\pi}{2}\cos 0=+\dfrac{5\pi}{2}\approx +7.854 and θ′(10)=5π2cos⁡π≈−7.854\theta'(10)=\dfrac{5\pi}{2}\cos\pi\approx -7.854. We keep t=4t=4, April, where the derivative is positive. Incidentally, θ(4)=7\theta(4)=7, the annual mean.

123456789101112-10-5510152025April: slope ≈ 7.85peak in Julyθ, in °C

Why

Of the two roots, only the one where θ′>0\theta'>0 answers the question asked: the other is the month that cools fastest. The fact that θ(4)\theta(4) equals exactly kk is no coincidence, it is the signature of the inflection point.

Step 8

Check: the peak is at t=7t=7 and T4=124=3\dfrac{T}{4}=\dfrac{12}{4}=3, and 7−3=47-3=4. The time found does fall a quarter of a period before the peak.

Why

This check is independent of everything that precedes it: it catches an error on φ\varphi just as well as a mix-up between θ′=0\theta'=0 and θ′′=0\theta''=0, in five seconds and without redoing the problem.

The conclusion, written out

“The model is θ(t)=15sin⁡(πt6−2π3)+7\theta(t)=15\sin\left(\dfrac{\pi t}{6}-\dfrac{2\pi}{3}\right)+7, in degrees Celsius. The temperature rises fastest in April, t=4t=4: θ′′(4)=0\theta''(4)=0 and θ′(4)=5π2≈7.85\theta'(4)=\dfrac{5\pi}{2}\approx 7.85 degree Celsius per month, the fastest monthly warming of the year, while the temperature there equals exactly the annual mean of 7 degrees.”

The classic mistake on this problem: Answering July, because it is the warmest month. In July θ′(7)=0\theta'(7)=0: the warming is over there. The question asked for the maximum of the DERIVATIVE, not that of the function.

Learn by heart

  • • 180∘=π180^{\circ}=\pi rad, and we ALWAYS differentiate in radians: in degrees, (sin⁡x)′=π180cos⁡x(\sin x)'=\dfrac{\pi}{180}\cos x.
  • • (sin⁡x)′=cos⁡x(\sin x)'=\cos x, (cos⁡x)′=−sin⁡x(\cos x)'=-\sin x, (tan⁡x)′=1cos⁡2x=1+tan⁡2x≥1(\tan x)'=\dfrac{1}{\cos^{2}x}=1+\tan^{2}x\ge 1.
  • • lim⁡x→0sin⁡xx=1\displaystyle\lim_{x\to 0}\dfrac{\sin x}{x}=1 at ZERO, and lim⁡x→+∞sin⁡xx=0\displaystyle\lim_{x\to+\infty}\dfrac{\sin x}{x}=0: the two are unrelated.
  • • For f(t)=Asin⁡(ωt+φ)+kf(t)=A\sin(\omega t+\varphi)+k: k=max⁡+min⁡2k=\dfrac{\max+\min}{2}, A=max⁡−min⁡2A=\dfrac{\max-\min}{2}, T=2πωT=\dfrac{2\pi}{\omega}, and max⁡=k+A\max=k+A.
  • • f′(t)=Aωcos⁡(ωt+φ)f'(t)=A\omega\cos(\omega t+\varphi): the amplitude of the RATE OF CHANGE is AωA\omega, in units of ff per unit of time.
  • • The peak is where f′=0f'=0; maximum growth is a QUARTER OF A PERIOD earlier, where f′′=0f''=0 and where ff equals kk.
  • • asin⁡u+bcos⁡u=Rsin⁡(u+φ)a\sin u+b\cos u=R\sin(u+\varphi) with R=a2+b2R=\sqrt{a^{2}+b^{2}}: we add the SQUARES, never the amplitudes.
  • • The Pythagorean identity gives the square, so two possible signs: the quadrant decides, never the calculator.

Frequently asked questions

Why must we differentiate in radians and never in degrees?

Because the table of derivatives rests on the limit of sine of x over x as x tends to zero, which equals 1 in radians only. In degrees this limit is pi over 180, about 0.01745, and the derivative of sine would become 0.01745 times cosine. This stray factor would spread into every chain rule. So we set the calculator to radians before the first calculation.

How do we find the month when a periodic quantity increases fastest?

We do not look for the maximum of the function but for that of its derivative. Differentiate once to get the rate of change, a second time, then solve the second derivative equal to zero. Of the two times found over one period, keep the one where the first derivative is positive: it is the fastest rise, the other is the fastest fall.

What is the difference between the amplitude and the maximum value of a sinusoidal model?

The amplitude is the half-difference between the maximum and the minimum, and it is measured from the midline, not from zero. The maximum value is the midline plus the amplitude. On a sales model with midline 110 and amplitude 30, the maximum is 140 thousand dollars, not 30. Confusing the two also throws off the derivative, whose amplitude is the amplitude times the angular frequency.

How do we read the four parameters of a sinusoid off a graph of data?

In a fixed order. The mean of the maximum and the minimum gives the midline. Their half-difference gives the amplitude. The duration of a full cycle gives the period, from which we get the angular frequency by dividing two pi by this duration. Finally, the position of the first maximum gives the phase shift, by writing that the argument equals pi over two there.

What is trigonometry used for in a Social Science program?

To model everything that comes back: retail sales over twelve months, emergency room traffic over seven days, average temperature, seasonal migration, the circadian rhythm. Sine is not a triangle tool here, it is the one simple model of a cyclical phenomenon, and its derivative tells us when the quantity is changing fastest.

Practise it

Corrected exercises: Trigonometric functions and their derivatives, 201-103

A method is proved on a paper, not on a sheet. The set for the same chapter takes each of these traps into a problem, with the solution written out step by step.

  • 11 corrected exercises
  • 110 points
  • 150 minutes
Do the exercises
Something missing from this sheet? A method, a trap, an exercise to practise it, a mistake you spotted: tell me, I read every request.

Sending goes through your free space: that is how I can answer you and tell you when the exercise is added. An email is enough, no password. Create your space. Rather not create an account? Write to me directly.

What is it about?
I read every request myself, nobody else sees it. No need to write your name or your school.
When your request is dealt with, you hear about it by email and in your space.

By sending, you agree that I read your request to answer it. It is kept with your account, erased with it, and never published: privacy policy.

Previous sheet Applied optimization Next sheet Marginal analysis

© Ahmed Squalli Houssaini. Revision sheet published at www.letuteurscientifique.ca/en/fiches/cegep-103-trigonometric-derivatives. Free for personal and classroom use; republishing it elsewhere requires written permission (legal notice).

See also

Looking for a 201-103 tutor in Montreal?

Get in touch for a first session. Trigonometry is the chapter where Social Science students fall behind fastest, because nobody told them what it is for in their program.

Site by Studio Squalli