Chapter 4Trig Derivatives through geometry

Let's try to reason through what the derivatives of the functions sine and cosine should be. For background, you should be comfortable with how to think about both of these functions using the unit circle; that is, the circle with radius 11 centered at the origin.

For example, how would you interpret the value sin(0.8)\sin(0.8) if the value θ=0.8\theta = 0.8 is understood to be in radians? You might imagine walking around a circle with a radius of 11, starting from the rightmost point, until you’ve traversed the distance 0.80.8 in arc length. This is the same thing as saying you've traversed an angle of 0.80.8 radians. Then sin(θ)\sin(\theta) is your height above the xx-axis at this point.

As theta increases, and you walk around the circle, your height bobs up and down and up and down. So the graph of sin(θ)\sin(\theta) vs. θ\theta, which plots this height as a function of arc length, is a wave pattern. This is the quintessential wave pattern.

Just from looking at this graph, we can get a feel from the shape of the derivative function. The slope at 00 is something positive, then as sin(θ)\sin(\theta) approaches its peak, the slope goes down to 00. Then the slope is negative for a little while before coming back up to 00 as the sin(θ)\sin(\theta) graph levels out. If you’re familiar with the graphs of trig functions, you might guess that this derivative graph should be exactly cos(θ)\cos(\theta), whose graph is just a shifted-back copy of the sine graph.

But all this tells us is that the peaks and valleys of the derivative graph seem to line up with the graph of cosine. How could we know that this derivative actually is the cosine of theta, and not just some new function that happens looks similar to it. As with the previous examples of this video, a more exact understanding of the derivative requires looking at what the function itself represents, rather than the graph of the function.

Think back to the walk around the unit circle, having traversed an arc length of θ\theta, where sin(θ)\sin(\theta) is the height of this point. Consider a slight nudge of dd-theta along the circumference of the circle; a tiny step in your walk around the unit circle. How much does this change sin(θ)\sin(\theta)? How much does that step change your height above the x-axis? This is best observed by zooming in on the point where you are on the circle.

Zoomed in close enough the circle basically looks like a straight line in this neighborhood. Consider the right triangle pictured below, where the hypotenuse represents a straight-line approximation of the nudge dθd \theta along the circumference, and this left side represents the change in height; the resulting tiny nudge to sin(θ)\sin(\theta).

This tiny triangle is actually similar to this larger triangle with the defining angle theta, and whose hypotenuse is the radius of the circle with length 11. Specifically, the angle between its height d(sin(θ))d(\sin(\theta)) and its hypotenuse dθd\theta is precisely equals to θ\theta.

Think about what the derivative of sine is supposed to mean. It’s the ratio between that d(sin(θ))d\left(\sin(\theta)\right), the tiny change to the output of sine, divided by dθd \theta, the tiny change to the input of the function. From the picture, that’s the ratio between the length of the side adjacent to this little right-triangle divided by the hypotenuse. Well, let’s see, adjacent divided by hypotenuse; that’s exactly what cos(θ)\cos(\theta) means!

Notice, by considering the slope of the graph, we can get a quick intuitive feel for the rough shape that the derivative of sin(θ)\sin(\theta) should have, which is enough to make an educated guess. But to more to understand why this derivative is precisely cos(θ)\cos(\theta), we had to begin our line of reasoning with the defining features of sin(θ)\sin(\theta).

For those of you who enjoy pausing and pondering, take a moment to find a similar line of reasoning which explains what the derivative of cos(θ)\cos(\theta) should be.

In the next lesson we'll figure out the derivatives of functions that combine simple functions like these, either as sums, products, or functions compositions. Similar to this lesson, we’ll try to understand each rule geometrically, in a way that makes it intuitively reasonable and memorable.

Notice a mistake? Submit a correction on Github
Table of Contents


Special thanks to those below for supporting the original video behind this post, and to current patrons for funding ongoing projects. If you find these lessons valuable, consider joining.

Meshal AlshammariAli YahyaCrypticSwarmYu JunShelby DoolittleDave NicponskiDamion KistlerJuan BenetOthman AlikhanMarkus PerssonDan BuchoffDerek DaiJoseph John CoxLuc RitchieGuido GambardellaJerry LingMark GoveaVechtJonathan EppeleShimin KuangRish KundaliaAchille BrightonKirk WerklundRipta PasayFelipe DinizSoufiane Khiatdim85ChrisDavid WyrickRahul SureshLee BurnetteJohn C. VeseyPatrik AgnéAlvin KhaledScienceVRChris WillisMichael RabadiAlexander JudaMads ElvheimJoseph CutlerCurtis MitchellBrightMyles BuckleyAndy PetschOtavio GoodKarthik TSteve MuenchViesulas SliupasSteffen PerschBrendan ShahAndrew McnabMatt ParlmerDan DavisonJose Oscar Mur-MirandaAidan BonehamHenry ReichSean BibbyPaul ConstantineJustin ClarkMohannad ElhamodBen GrangerJeffrey HermanJacob Young