PRACTICE →↑ BACK TO TOP

Let's talk

contact@adriamics.com

Derivatives

GitHub Changelog -

  • 1

What a derivative means

The derivative measures how a function changes as its input changes.

If , then describes the instantaneous rate of change of with respect to .

It also gives the slope of the tangent line to the graph of at a point.

Two useful interpretations:

  • Rate interpretation: how fast one quantity changes compared with another

  • Geometric interpretation: slope of the tangent line

Examples:

  • If is position, then is velocity.

  • If is cost, then is marginal cost.

At a point, the sign of the derivative describes the tangent slope:

  • Positive: the tangent slopes upward

  • Negative: the tangent slopes downward

  • Zero: the tangent is horizontal

To conclude that a function is increasing or decreasing on an interval, check that the derivative keeps the corresponding sign throughout that interval.


Formal definition

The derivative of at is defined by the limit

if the limit exists.

This is the slope of the secant line in the limit as the two points merge into one.

An equivalent form is

Differentiability and continuity

If a function is differentiable at a point, then it is continuous there.

But the converse is not always true:

  • Differentiable continuous

  • Continuous differentiable

Common reasons a derivative fails to exist:

  • Corner

  • Cusp

  • Vertical tangent

  • Discontinuity

Example:

is continuous at , but not differentiable there because the left-hand and right-hand slopes are different.


Notation

If , common derivative notations include:

For functions of time:

Higher derivatives:

Leibniz notation is especially useful when applying the chain rule because it keeps track of variables clearly.


Core differentiation rules

These rules let you differentiate most elementary functions efficiently.

Constant rule

Power rule

For a real exponent , this rule applies at points where the real-valued power function is defined and differentiable. The domain of alone does not guarantee differentiability at an endpoint; for example, is defined at , but its derivative formula is not finite there.

Examples:

Constant multiple rule

Sum and difference rules

Product rule

Example:

Quotient rule

where .

Example:


Derivatives of common functions

Exponential functions

Logarithmic functions

Trigonometric functions

These formulas assume angles are measured in radians.

Inverse trigonometric functions

Useful extensions:


Chain rule and composite functions

The chain rule is essential for differentiating nested functions.

If

then

In operator form:

Examples

If

then let . Since and ,

If

then

If

then

General pattern

Differentiate the outer function first, leaving the inner function unchanged, then multiply by the derivative of the inner function.

This is where many mistakes happen. Do not differentiate the inside and outside independently without the linking factor.


Implicit differentiation

Sometimes a relation involving and is not solved explicitly for .

Example:

To differentiate with respect to , treat as a function of :

So

Why appears

When differentiating any expression involving , use the chain rule because .

For example:

Tangent line example

Given

find the tangent slope at :

At ,

So the tangent line is


Higher-order derivatives

The second derivative is the derivative of the first derivative:

Similarly:

Interpretation

  • describes slope or rate of change

  • describes how the slope changes

In motion:

  • Position:

  • Velocity:

  • Acceleration:

Concavity

If:

  • , the graph is concave up

  • , the graph is concave down

Possible inflection points occur where concavity changes.

Example:

Then

Since changes sign at , the graph has an inflection point there.


Linear approximation and differentials

Near a point , a differentiable function is well approximated by its tangent line.

Linearization

The linear approximation of at is

This is useful for estimation.

Example:

Estimate using at .

So

At :

So

Differentials

If , then the differential is

For a small change , the corresponding change in is approximately

Differentials are useful in error estimation and applied modeling.


Applications of derivatives

Increasing and decreasing behavior

Use the sign of :

  • If on an interval, is increasing there.

  • If on an interval, is decreasing there.

Critical points

Critical points occur where:

  • , or

  • does not exist

These points are candidates for local maxima, local minima, or neither.

First derivative test

If changes:

  • From positive to negative, has a local maximum

  • From negative to positive, has a local minimum

  • Without a sign change, there is no local extremum

Second derivative test

If and:

  • , then is a local minimum

  • , then is a local maximum

  • , the test is inconclusive

If variables are connected by an equation and all depend on time, differentiate with respect to .

Example for a circle:

Differentiate with respect to time:

This connects the rate of change of area to the rate of change of radius.

Newton's method

Derivatives also support numerical root-finding:

This method works well when the initial guess is reasonable and .


Optimization workflow

Many applied derivative problems reduce to optimization.

Use this process:

  1. Define the quantity to optimize.

  2. Write it as a function of one variable.

  3. Find the derivative.

  4. Solve and check points where does not exist.

  5. Use the first or second derivative test.

  6. Check endpoints if the domain is closed and bounded.

  7. State the answer with units and context.

Example

Find the maximum value of

Differentiate:

Set equal to zero:

Second derivative:

So gives a local maximum. The maximum value is


Formula sheet

Definition

Basic rules

Chain rule

Common functions

Linearization

Differential

Newton's method


Common mistakes to avoid

  • Treating the derivative as an average rate of change instead of a limit-based instantaneous rate.

  • Forgetting the chain rule for nested expressions such as or .

  • Misusing the product rule by differentiating only one factor.

  • Dropping parentheses in quotient-rule problems.

  • Using trigonometric derivative formulas when the angle is not in radians.

  • Assuming continuity automatically implies differentiability.

  • Forgetting that critical points include places where does not exist.

  • Using the second derivative test when and drawing a conclusion anyway.

  • Writing without checking that the domain requires .

  • Solving an optimization problem algebraically but forgetting to interpret the result in context.

What this enables

You can now compute and interpret derivatives, including local linear change and optimization. Continue to Integrals to study accumulation and antiderivatives, then to Series for infinite sums and Taylor approximations.

Sources