Achievable logoAchievable logo
FE Mechanical
Sign in
Sign up
Purchase
Textbook
Practice exams
Support
How it works
Exam catalog
Mountain with a flag at the peak
Textbook
1. Mathematics
1.1 Analytic geometry
1.2 Calculus
1.2.1 Differential calculus
1.3 Ordinary differential equations
1.4 Numerical methods
2. Probability & statistics
3. Ethics & professional practice
4. Engineering economics
5. Electricity & magnetism
6. Statics
7. sandbox
Example
Achievable logoAchievable logo
1.2.1 Differential calculus
FE Mechanical
1. Mathematics
1.2. Calculus
Our FE Mechanical course is currently in development and is a work-in-progress.

Differential calculus

7 min read
Font
Discuss
Share
Feedback

Differential calculus is one of the fundamental branches of mathematics, providing the theoretical foundation for understanding rates of change and optimization problems. The central concept of differential calculus is the derivative, which measures the instantaneous rate of change of a function. This concept allows us to analyze motion, optimize functions, understand the behavior of curves, and solve complex problems involving changing quantities.

Definition of the derivative

Consider a function y=f(x), where we are interested in the instantaneous slope at the point (a,f(a)). We can first consider the secant line that connects the point (a,f(a)) to another point on the function (a+Δx,f(a)+Δy), as shown in the graph below:

@@@ Figure [differential-1]: Secant line between two points on a function y=f(x) @@@

By taking the limit as Δx goes to zero, the slope of the secant line approaches the instantaneous rate of change of the function f(x) at x=a. The derivative of a function represents the instantaneous rate of change of that function with respect to its independent variable. In geometric terms, the derivative at a point gives the slope of the tangent line to the curve at that point.

The derivative of a function f(x) at a point x is defined as the limit:

f′(x)=Δx→0lim​Δxf(x+Δx)−f(x)​

This limit, when it exists, gives us the instantaneous rate of change of f(x) at the point x.

Alternative notations

The derivative can be expressed using several equivalent notations:

  • f′(x) (Lagrange notation)
  • dxdf​ (Leibniz notation)
  • Dx​f (operator notation)
  • f˙​ (Newton notation, often used for time derivatives)

Geometric interpretation

The derivative f′(x) represents the slope of the tangent line to the curve y=f(x) at the point (x,f(x)). This geometric interpretation connects the algebraic concept of limits with the visual understanding of curves and their behavior.

Physical interpretation

In physics, if s(t) represents position as a function of time, then:

  • s′(t)=v(t) represents velocity (rate of change of position)
  • s′′(t)=a(t) represents acceleration (rate of change of velocity)

The second derivative

The second derivative, denoted as f′′(x) or dx2d2f​, is the derivative of the first derivative. It provides information about the concavity and rate of change of the slope of the original function.

Geometric interpretation

  • If f′′(x)>0, the function is concave up (curves upward).
  • If f′′(x)<0, the function is concave down (curves downward).
  • If f′′(x)=0, there may be a point of inflection.

Physical interpretation

In physics, if s(t) represents position:

  • s′(t)=v(t) is velocity
  • s′′(t)=a(t) is acceleration

Derivatives of common functions

Understanding the derivatives of basic functions is essential for applying differential calculus to complex problems. The following table summarizes the derivatives of the most commonly encountered functions:

Function Derivative
c (constant) 0
x 1
xn nxn−1
ex ex
ax axlna
lnx x1​
loga​x xlna1​
sinx cosx
cosx −sinx
tanx sec2x
cotx −csc2x
secx secxtanx
cscx −cscxcotx
sin−1x 1−x2​1​
cos−1x −1−x2​1​
tan−1x 1+x21​

Properties of derivatives

Linearity of differentiation

Differentiation is a linear operation, which means it satisfies two important properties:

Constant multiple rule:

dxd​[cf(x)]=cdxdf​

where c is any constant.

Sum and difference rule:

dxd​[f(x)±g(x)]=dxdf​±dxdg​

These properties allow us to differentiate complex expressions by breaking them into simpler components.

The product rule

When differentiating the product of two functions, we cannot simply multiply their derivatives. Instead, we use the product rule:

dxd​[f(x)g(x)]=f(x)dxdg​+g(x)dxdf​

The quotient rule

For the quotient of two functions, we use the quotient rule:

dxd​[g(x)f(x)​]=[g(x)]2g(x)dxdf​−f(x)dxdg​​

This rule is often remembered by the mnemonic “low d-high minus high d-low, over low squared.”

The chain rule

The chain rule is used to differentiate composite functions. If y=f(g(x)), then:

dxdy​​=dgdf​⋅dxdg​=f′(g(x))⋅g′(x)​

In Leibniz notation, where y=f(u) and u=g(x), then the chain rule is expressed as:

dxdy​=dudy​⋅dxdu​

For more complex compositions, the chain rule extends naturally:

dxd​[f(g(h(x)))]=f′(g(h(x)))⋅g′(h(x))⋅h′(x)

L’Hôpital’s rule

L’Hôpital’s rule provides a method for evaluating limits of indeterminate forms, particularly those of the type 00​ or ∞∞​.

L’Hôpital’s rule

If limx→a​f(x)=0 and limx→a​g(x)=0 (or both limits are ±∞), and if limx→a​g′(x)f′(x)​ exists, then:

x→alim​g(x)f(x)​=x→alim​g′(x)f′(x)​

L’Hôpital’s rule can be applied repeatedly if the resulting limit is still indeterminate.

Critical points and optimization

Critical points are locations where the derivative of a function is zero or undefined. These points are essential for understanding the behavior of functions and solving optimization problems.

Definitions
Critical point
A point x=c is a critical point of f(x) if f′(c)=0 or f′(c) is undefined.

Classification of critical points

To determine the nature of a critical point, we use the following tests:

First derivative test:

  • If f′(x) changes from positive to negative at x=c, then f has a local maximum at c.
  • If f′(x) changes from negative to positive at x=c, then f has a local minimum at c.
  • If f′(x) does not change sign at x=c, then f has neither a maximum nor minimum at c.

Second derivative test:

If f′(c)=0, then:

  • If f′′(c)>0, then f has a local minimum at x=c.
  • If f′′(c)<0, then f has a local maximum at x=c.
  • If f′′(c)=0, the test is inconclusive.

Points of inflection

A point of inflection occurs where the concavity of the function changes. This happens when:

  • f′′(c)=0 and f′′(x) changes sign at x=c.

Curvature and radius of curvature

Curvature measures how sharply a curve bends at a given point. It is closely related to the second derivative but provides a more geometric understanding of curve behavior.

Definition of curvature

For a curve y=f(x), the curvature κ (kappa) at a point is defined as:

κ=[1+(f′(x))2]3/2∣f′′(x)∣​

Radius of curvature

The radius of curvature R is the reciprocal of the curvature:

R=κ1​=∣f′′(x)∣[1+(f′(x))2]3/2​

The radius of curvature represents the radius of the circle that best approximates the curve at a given point. This circle is called the osculating circle or circle of curvature. Applications include:

  • Engineering: designing smooth transitions in roads and railways.
  • Physics: understanding the motion of particles along curved paths.
  • Computer graphics: creating smooth curves and surfaces.
  • Definition of the derivative:

f′(x)=Δx→0lim​Δxf(x+Δx)−f(x)​

  • Linearity of differentiation:

dxd​[af(x)+bg(x)]=adxdf​+bdxdg​

  • Product rule:

dxd​[f(x)g(x)]=f(x)dxdg​+g(x)dxdf​

  • Quotient rule:

dxd​[g(x)f(x)​]=[g(x)]2g(x)dxdf​−f(x)dxdg​​

  • Chain rule: If y=f(g(x)), then:

dxdy​=dgdf​⋅dxdg​=f′(g(x))⋅g′(x)

  • L’Hôpital’s rule: If limx→a​f(x)=0 and limx→a​g(x)=0 (or both limits are ±∞), and if limx→a​g′(x)f′(x)​ exists, then:

x→alim​g(x)f(x)​=x→alim​g′(x)f′(x)​

  • A point x=c is a critical point of f(x) if: f′(c)=0, or f′(c) is undefined.
  • First derivative test:
    • If f′(x) changes from positive to negative at x=c, then f has a local maximum at c.
    • If f′(x) changes from negative to positive at x=c, then f has a local minimum at c.
    • If f′(x) does not change sign at x=c, then f has neither a maximum nor minimum at c
  • Second derivative test: If f′(c)=0, then:
    • If f′′(c)>0, then f has a local minimum at x=c.
    • If f′′(c)<0, then f has a local maximum at x=c.
    • If f′′(c)=0, the test is inconclusive.
  • A point of inflection occurs where the concavity of the function changes. This happens when f′′(c)=0 and f′′(x) changes sign at x=c.
  • Curvature κ (kappa):

κ=[1+(f′(x))2]3/2∣f′′(x)∣​

  • Radius of curvature R:

R=κ1​=∣f′′(x)∣[1+(f′(x))2]3/2​

Previous
Next  | 1.3 Ordinary differential equations
All rights reserved ©2016 - 2026 Achievable, Inc.

Differential calculus

Differential calculus is one of the fundamental branches of mathematics, providing the theoretical foundation for understanding rates of change and optimization problems. The central concept of differential calculus is the derivative, which measures the instantaneous rate of change of a function. This concept allows us to analyze motion, optimize functions, understand the behavior of curves, and solve complex problems involving changing quantities.

Definition of the derivative

Consider a function y=f(x), where we are interested in the instantaneous slope at the point (a,f(a)). We can first consider the secant line that connects the point (a,f(a)) to another point on the function (a+Δx,f(a)+Δy), as shown in the graph below:

@@@ Figure [differential-1]: Secant line between two points on a function y=f(x) @@@

By taking the limit as Δx goes to zero, the slope of the secant line approaches the instantaneous rate of change of the function f(x) at x=a. The derivative of a function represents the instantaneous rate of change of that function with respect to its independent variable. In geometric terms, the derivative at a point gives the slope of the tangent line to the curve at that point.

The derivative of a function f(x) at a point x is defined as the limit:

f′(x)=Δx→0lim​Δxf(x+Δx)−f(x)​

This limit, when it exists, gives us the instantaneous rate of change of f(x) at the point x.

Alternative notations

The derivative can be expressed using several equivalent notations:

  • f′(x) (Lagrange notation)
  • dxdf​ (Leibniz notation)
  • Dx​f (operator notation)
  • f˙​ (Newton notation, often used for time derivatives)

Geometric interpretation

The derivative f′(x) represents the slope of the tangent line to the curve y=f(x) at the point (x,f(x)). This geometric interpretation connects the algebraic concept of limits with the visual understanding of curves and their behavior.

Physical interpretation

In physics, if s(t) represents position as a function of time, then:

  • s′(t)=v(t) represents velocity (rate of change of position)
  • s′′(t)=a(t) represents acceleration (rate of change of velocity)

The second derivative

The second derivative, denoted as f′′(x) or dx2d2f​, is the derivative of the first derivative. It provides information about the concavity and rate of change of the slope of the original function.

Geometric interpretation

  • If f′′(x)>0, the function is concave up (curves upward).
  • If f′′(x)<0, the function is concave down (curves downward).
  • If f′′(x)=0, there may be a point of inflection.

Physical interpretation

In physics, if s(t) represents position:

  • s′(t)=v(t) is velocity
  • s′′(t)=a(t) is acceleration

Derivatives of common functions

Understanding the derivatives of basic functions is essential for applying differential calculus to complex problems. The following table summarizes the derivatives of the most commonly encountered functions:

Function Derivative
c (constant) 0
x 1
xn nxn−1
ex ex
ax axlna
lnx x1​
loga​x xlna1​
sinx cosx
cosx −sinx
tanx sec2x
cotx −csc2x
secx secxtanx
cscx −cscxcotx
sin−1x 1−x2​1​
cos−1x −1−x2​1​
tan−1x 1+x21​

Properties of derivatives

Linearity of differentiation

Differentiation is a linear operation, which means it satisfies two important properties:

Constant multiple rule:

dxd​[cf(x)]=cdxdf​

where c is any constant.

Sum and difference rule:

dxd​[f(x)±g(x)]=dxdf​±dxdg​

These properties allow us to differentiate complex expressions by breaking them into simpler components.

The product rule

When differentiating the product of two functions, we cannot simply multiply their derivatives. Instead, we use the product rule:

dxd​[f(x)g(x)]=f(x)dxdg​+g(x)dxdf​

The quotient rule

For the quotient of two functions, we use the quotient rule:

dxd​[g(x)f(x)​]=[g(x)]2g(x)dxdf​−f(x)dxdg​​

This rule is often remembered by the mnemonic “low d-high minus high d-low, over low squared.”

The chain rule

The chain rule is used to differentiate composite functions. If y=f(g(x)), then:

dxdy​​=dgdf​⋅dxdg​=f′(g(x))⋅g′(x)​

In Leibniz notation, where y=f(u) and u=g(x), then the chain rule is expressed as:

dxdy​=dudy​⋅dxdu​

For more complex compositions, the chain rule extends naturally:

dxd​[f(g(h(x)))]=f′(g(h(x)))⋅g′(h(x))⋅h′(x)

L’Hôpital’s rule

L’Hôpital’s rule provides a method for evaluating limits of indeterminate forms, particularly those of the type 00​ or ∞∞​.

L’Hôpital’s rule

If limx→a​f(x)=0 and limx→a​g(x)=0 (or both limits are ±∞), and if limx→a​g′(x)f′(x)​ exists, then:

x→alim​g(x)f(x)​=x→alim​g′(x)f′(x)​

L’Hôpital’s rule can be applied repeatedly if the resulting limit is still indeterminate.

Critical points and optimization

Critical points are locations where the derivative of a function is zero or undefined. These points are essential for understanding the behavior of functions and solving optimization problems.

Definitions
Critical point
A point x=c is a critical point of f(x) if f′(c)=0 or f′(c) is undefined.

Classification of critical points

To determine the nature of a critical point, we use the following tests:

First derivative test:

  • If f′(x) changes from positive to negative at x=c, then f has a local maximum at c.
  • If f′(x) changes from negative to positive at x=c, then f has a local minimum at c.
  • If f′(x) does not change sign at x=c, then f has neither a maximum nor minimum at c.

Second derivative test:

If f′(c)=0, then:

  • If f′′(c)>0, then f has a local minimum at x=c.
  • If f′′(c)<0, then f has a local maximum at x=c.
  • If f′′(c)=0, the test is inconclusive.

Points of inflection

A point of inflection occurs where the concavity of the function changes. This happens when:

  • f′′(c)=0 and f′′(x) changes sign at x=c.

Curvature and radius of curvature

Curvature measures how sharply a curve bends at a given point. It is closely related to the second derivative but provides a more geometric understanding of curve behavior.

Definition of curvature

For a curve y=f(x), the curvature κ (kappa) at a point is defined as:

κ=[1+(f′(x))2]3/2∣f′′(x)∣​

Radius of curvature

The radius of curvature R is the reciprocal of the curvature:

R=κ1​=∣f′′(x)∣[1+(f′(x))2]3/2​

The radius of curvature represents the radius of the circle that best approximates the curve at a given point. This circle is called the osculating circle or circle of curvature. Applications include:

  • Engineering: designing smooth transitions in roads and railways.
  • Physics: understanding the motion of particles along curved paths.
  • Computer graphics: creating smooth curves and surfaces.
Key points
  • Definition of the derivative:

f′(x)=Δx→0lim​Δxf(x+Δx)−f(x)​

  • Linearity of differentiation:

dxd​[af(x)+bg(x)]=adxdf​+bdxdg​

  • Product rule:

dxd​[f(x)g(x)]=f(x)dxdg​+g(x)dxdf​

  • Quotient rule:

dxd​[g(x)f(x)​]=[g(x)]2g(x)dxdf​−f(x)dxdg​​

  • Chain rule: If y=f(g(x)), then:

dxdy​=dgdf​⋅dxdg​=f′(g(x))⋅g′(x)

  • L’Hôpital’s rule: If limx→a​f(x)=0 and limx→a​g(x)=0 (or both limits are ±∞), and if limx→a​g′(x)f′(x)​ exists, then:

x→alim​g(x)f(x)​=x→alim​g′(x)f′(x)​

  • A point x=c is a critical point of f(x) if: f′(c)=0, or f′(c) is undefined.
  • First derivative test:
    • If f′(x) changes from positive to negative at x=c, then f has a local maximum at c.
    • If f′(x) changes from negative to positive at x=c, then f has a local minimum at c.
    • If f′(x) does not change sign at x=c, then f has neither a maximum nor minimum at c
  • Second derivative test: If f′(c)=0, then:
    • If f′′(c)>0, then f has a local minimum at x=c.
    • If f′′(c)<0, then f has a local maximum at x=c.
    • If f′′(c)=0, the test is inconclusive.
  • A point of inflection occurs where the concavity of the function changes. This happens when f′′(c)=0 and f′′(x) changes sign at x=c.
  • Curvature κ (kappa):

κ=[1+(f′(x))2]3/2∣f′′(x)∣​

  • Radius of curvature R:

R=κ1​=∣f′′(x)∣[1+(f′(x))2]3/2​