Free preview
106 lessons
Essential Calculus for ML
Free preview
Essential Calculus for ML · 106 lessons
No surprise gaps
Actually remember it
Skip what you know
One subscription. All learning paths included.
Our content is best on a larger screen
The limit definition
The instantaneous rate of change at is the value the average rates of change over approach as moves towards . So far we have estimated that value from a shrinking interval. We can now define it exactly.
The interval from to is what is shrinking. Call this , which means . Sliding towards is then the same as letting shrink towards . The average rate of change over the interval then becomes
which is called the difference quotient. It is the secant slope for a step of size , written in terms of that step.
The instantaneous rate of change is the value this difference quotient approaches as . That value, taken as a limit, is the derivative of at .
Definition
The derivative of at , written , is
provided the limit exists.
For , simplify the difference quotient at to a single expression in .
Solution
The difference quotient at is
We expand :
Since , the numerator is
Every term in the numerator carries a factor of , so we cancel it against the in the denominator:
The difference quotient for at is .
Practice questions
4 questions
For , form and simplify the difference quotient at , giving a single expression in .
Select the correct answer:
+ 3 more questions
Computing the derivative from the definition
The derivative is the limit of the difference quotient as . Computing it means evaluating that limit.
We cannot evaluate the limit by setting in the difference quotient directly: that gives , which has no value. Simplifying the difference quotient first clears this, leaving an expression where letting is an ordinary substitution.
Procedure
For a polynomial :
The result is a single number: the exact instantaneous rate of change of at , and the slope of the tangent line there.
For , compute from the limit definition.
Solution
We are working at , so the derivative is
We form the difference quotient, expanding . Replacing with in :
The fixed value is . Substituting both into the difference quotient gives
Now we simplify the numerator so that every remaining term carries a factor of . The constants have already cancelled, and :
Substituting at this stage would give , so we cancel the common factor first, which is valid because as it approaches :
Finally we let in the simplified expression:
So : the instantaneous rate of change of at is .
Practice questions
4 questions
For , compute from the limit definition.
Select the correct answer:
+ 3 more questions
Equation of the tangent line
The tangent line to the graph of at has slope , the derivative at . Knowing the slope and a point on the line, we can write down its equation.
Tip
The slope of the tangent at a point is also called the gradient of the curve there. The two terms are interchangeable, and much of the literature uses "gradient".
On that line, the slope between the point of tangency and any other point must equal . This can be written as:
and multiplying through by gives its equation.
Definition
The tangent line to the graph of at has equation
The two ingredients are the slope and the point . Both come from the function and the value .
Procedure
For a function at :
The tangent line equation can be left in this form, or rearranged into .
For , find the equation of the tangent line at .
Solution
The tangent line needs two ingredients: its slope and the point of tangency .
The point of tangency is , since . The slope is the derivative .
Details
Now we substitute the slope and the point into the tangent line equation:
which gives:
We rearrange into slope-intercept form:
The tangent line to at is .
Practice questions
4 questions
For , the derivative at is . What is the equation of the tangent line to at ?
Select the correct answer:
+ 3 more questions