Docsity

Complete Guide to Derivatives: Definitions, Rules, Formulas, Notatki z Analiza matematyczna

Toggle sidebar
bg1
Complete Guide to Derivatives: Definitions, Rules,
Formulas, and Common Pitfalls
Contents
1 Introduction 4
2 What is a derivative? 4
2.1 Intuitive meaning ...................................... 4
3 Definition of the derivative 4
3.1 Derivative at a point .................................... 4
3.2 Equivalent form of the definition ............................. 5
3.3 Derivative as a function .................................. 5
4 Notation 5
5 Derivative from the definition — basic examples 5
5.1 Example 1: derivative of a constant ............................ 5
5.2 Example 2: derivative of f(x) = x............................ 6
5.3 Example 3: derivative of f(x) = x2............................ 6
5.4 Example 4: derivative of f(x) = x3............................ 6
6 Differentiability and continuity 7
7 Basic differentiation rules 7
7.1 Power rule .......................................... 7
8 Product, quotient, and chain rules 8
8.1 Product rule ........................................ 8
8.2 Quotient rule ........................................ 8
8.3 Chain rule .......................................... 8
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14

Podgląd częściowego tekstu

Pobierz Complete Guide to Derivatives: Definitions, Rules, Formulas i więcej Notatki w PDF z Analiza matematyczna tylko na Docsity!

Complete Guide to Derivatives: Definitions, Rules,

Formulas, and Common Pitfalls

1. Introduction

The derivative is one of the central concepts of differential calculus. It measures how a function changes when its argument changes. In practical terms, the derivative describes the instantaneous rate of change of a function and also the slope of the tangent line to its graph.

Derivatives are used in mathematics, physics, computer science, engineering, economics, and many other fields. They are essential for:

  • studying how functions behave,
  • finding increasing and decreasing intervals,
  • locating maxima and minima,
  • solving optimization problems,
  • approximating functions,
  • analyzing motion and rates of change.

2. What is a derivative?

2.1. Intuitive meaning

Suppose that y = f (x). If x changes by a small amount, then the value of f (x) also changes. The derivative tells us how fast this change happens.

If the derivative at a point is:

  • positive, then the function is increasing there,
  • negative, then the function is decreasing there,
  • zero, then the tangent line is horizontal.

Geometric meaning: The derivative of a function at a point is the slope of the tangent line to the graph of the function at that point.

Physical meaning: If s(t) is the position of an object, then s′(t) is its instantaneous velocity.

3. Definition of the derivative

3.1. Derivative at a point

Let f be a function. The derivative of f at the point x 0 is defined by

f ′(x 0 ) = lim h → 0 f^ (x^0 +^ h h)^ −^ f^ (x^0 ),

provided that this limit exists.

This is the difference quotient.

The derivative exists at x 0 if and only if the limit

h^ lim→ 0 f^ (x^0 +^ h h)^ −^ f^ (x^0 ) exists and is finite.

3.2. Equivalent form of the definition

The same derivative can also be written as

f ′(x 0 ) = lim x → x 0 f^ (x)^ −^ f^ (x^0 ) x − x 0

Both formulas are equivalent. The first one is usually more convenient in computations from the definition.

3.3. Derivative as a function

If the derivative exists for every x in some interval, then we obtain a new function:

f ′(x).

This is called the derivative function.

4. Notation

The derivative can be written in several ways:

f ′(x), y′,

dy dx ,^

d dx f^ (x).

If y = f (x), then dy dx =^ f^

′(x).

Higher derivatives are written as:

f ′′(x), f ′′′(x), f ( n )(x),

or d^2 y dx^2 ,^

d^3 y dx^3 ,^

d n y dx n^.

5. Derivative from the definition — basic examples

5.1. Example 1: derivative of a constant

Let f (x) = c.

6. Differentiability and continuity

A very important theorem says:

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

However, the converse is false:

A function may be continuous at a point but not differentiable there.

A classic example is f (x) = |x|.

This function is continuous at x = 0, but not differentiable there, because:

lim h → 0 −

|h| − 0 h

= − 1 , lim h → 0 +

|h| − 0 h

Since the left and right limits are different, the derivative at 0 does not exist.

7. Basic differentiation rules

Suppose that f and g are differentiable and c is a constant.

Constant rule (c)′^ = 0

Constant multiple rule (cf )′^ = cf ′

Sum rule (f + g)′^ = f ′^ + g′

Difference rule (f − g)′^ = f ′^ − g′

7.1. Power rule

For integer n: d dx =^ nx

n − 1

This rule also works more generally for real exponents on suitable domains.

Examples: d dx

= 5x^4 , d dx

x

) = d dx

= −x−^2 = − 1 x^2

d dx =^

d dx =

2 x

2 √x.

8. Product, quotient, and chain rules

These are the most important operational rules.

8.1. Product rule

If u = u(x) and v = v(x), then (uv)′^ = u′v + uv′.

Example: d dx

= 2x sin x + x^2 cos x.

A common mistake is writing (uv)′^ = u′v′. This is false.

8.2. Quotient rule

If v(x) ̸= 0, then (^) ( u v

)′ = u

′v − uv′ v^2.

Example: d dx

( x^2 + 1 x

)

(2x) · x − (x^2 + 1) · 1 x^2 =

2 x^2 − x^2 − 1 x^2 =^

x^2 − 1 x^2.

A very common mistake is forgetting the square in the denominator or changing the sign in the numerator.

8.3. Chain rule

If y = f (g(x)), then d dx f^ (g(x)) =^ f^

′(g(x)) · g′(x).

This is used for composite functions.

Example: d dx

5 = 5(3x^2 + 1)^4 · 6 x = 30x(3x^2 + 1)^4.

Example: d dx

sin(2x) = cos(2x) · 2 = 2 cos(2x).

A common mistake is differentiating only the outer function and forgetting to multiply by the derivative of the inner function.

10. Derivatives of composite functions — very important patterns

Many derivative problems are based on recognizing inner and outer functions.

10.1. Powers of functions

d dx

[u(x)] n^ = n[u(x)] n −^1 u′(x).

Examples: d dx

4 = 4(x^2 + 1)^3 · 2 x = 8x(x^2 + 1)^3 ,

d dx

3 x + 2 = d dx

1 / 2 =^1 2

(3x + 2)−^1 /^2 · 3 = 3 2

3 x + 2

10.2. Exponential functions with inner functions

d dx e

u ( x ) (^) = e u ( x )u′(x),

d dx

a u ( x )^ = a u ( x )^ ln(a) u′(x).

Examples: d dx

e x^2 = e x^2 · 2 x = 2xe x^2 ,

d dx

23 x^ = 2^3 x^ ln 2 · 3 = 3 ln 2 · 23 x.

10.3. Logarithms with inner functions

d dx ln(u(x)) =^

u′(x) u(x).

Example: d dx ln

( x^2 + 1

)

2 x x^2 + 1.

10.4. Trigonometric functions with inner functions

d dx sin(u(x)) = cos(u(x))u

′(x),

d dx

cos(u(x)) = − sin(u(x))u′(x),

d dx

tan(u(x)) = u

′(x) cos^2 (u(x))

Examples: d dx sin(5x) = 5 cos(5x),

d dx

cos

( x^2

) = − 2 x sin

( x^2

) , d dx

tan(3x + 1) = 3 cos^2 (3x + 1)

11. Derivatives of more complicated expressions

11.1. Example 1

Differentiate: f (x) = x^3 e x.

Use the product rule: f ′(x) = 3x^2 e x^ + x^3 e x^ = e x (3x^2 + x^3 ).

11.2. Example 2

Differentiate: f (x) =

sin x x^2 + 1.

Use the quotient rule:

f ′(x) = cos^ x(x

(^2) + 1) − sin x(2x) (x^2 + 1)^2

11.3. Example 3

Differentiate: f (x) = ln

(√ x^2 + 1

) .

Let u(x) =

√ x^2 + 1 = (x^2 + 1)^1 /^2.

Then

f ′(x) =

u′(x) u(x). Now u′(x) =^1 2

(x^2 + 1)−^1 /^2 · 2 x = √ x x^2 + 1

So

f ′(x) =

x/

√ x^2 + 1 x^2 + 1

x x^2 + 1.

11.4. Example 4

Differentiate: f (x) =

e x sin x.

Using the quotient rule:

f ′(x) =

e x^ sin x − e x^ cos x sin^2 x =^

e x (sin x − cos x) sin^2 x.

14. Tangent and normal lines

14.1. Equation of the tangent line

If the function f is differentiable at x 0 , then the tangent line at the point

(x 0 , f (x 0 ))

has equation y − f (x 0 ) = f ′(x 0 )(x − x 0 ).

14.2. Equation of the normal line

The normal line is perpendicular to the tangent line. Its slope is

−

f ′(x 0 )

provided that f ′(x 0 ) ̸= 0.

Its equation is

y − f (x 0 ) = −

f ′(x 0 ) (x^ −^ x^0 ).

14.3. Example

Find the tangent line to f (x) = x^2

at x 0 = 1.

We have: f (1) = 1, f ′(x) = 2x, f ′(1) = 2.

So the tangent line is y − 1 = 2(x − 1),

that is, y = 2x − 1.

15. Monotonicity and extrema

Derivatives help us understand whether a function increases or decreases.

If f ′(x) > 0 on an interval, then f is increasing on that interval.

If f ′(x) < 0 on an interval, then f is decreasing on that interval.

15.1. Critical points

Critical points are points where: f ′(x) = 0

or where f ′(x) does not exist.

These points are candidates for local maxima and minima.

15.2. Example

Let f (x) = x^3 − 3 x.

Then f ′(x) = 3x^2 − 3 = 3(x^2 − 1) = 3(x − 1)(x + 1).

Critical points: x = − 1 , x = 1.

Sign analysis:

  • for x < − 1 , f ′(x) > 0 ,
  • for − 1 < x < 1 , f ′(x) < 0 ,
  • for x > 1 , f ′(x) > 0.

Therefore:

  • local maximum at x = − 1 ,
  • local minimum at x = 1.

16. Second derivative and concavity

If f ′′(x) > 0 on an interval, then the graph is concave upward there.

If f ′′(x) < 0 on an interval, then the graph is concave downward there.

16.1. Inflection points

An inflection point is a point where the concavity changes.

A necessary candidate is often found from

f ′′(x) = 0

or where f ′′(x) does not exist, but sign change must be checked.

4. Forgetting domain restrictions For example: d dx

ln x =^1 x but this formula is valid only for x > 0. Similarly, d dx

x = 1 2

x requires x > 0 if written in this form.

5. Confusing differentiability with continuity Differentiability implies continuity, but continuity does not imply differentiability. 6. Forgetting to simplify powers properly For example: d dx

x^2

) = d dx

= − 2 x−^3 = − 2 x^3

19. Most important derivatives to memorize

(c)′^ = 0, (x)′^ = 1, (x n )′^ = nx n −^1 (e x )′^ = e x , (a x )′^ = a x^ ln a

(ln x)′^ =^1 x

, (log a x)′^ = 1 x ln a (sin x)′^ = cos x, (cos x)′^ = − sin x

(tan x)′^ = 1 cos^2 x

, (cot x)′^ = − 1 sin^2 x (arcsin x)′^ =

√^1

1 − x^2

, (arccos x)′^ = −

√^1

1 − x^2

(arctan x)′^ = 1 1 + x^2

20. How to approach derivative problems

A good strategy is:

  1. Identify the main type of function:
    • polynomial,
    • product,
    • quotient,
    • composite function,
    • exponential,
    • logarithmic,
  • trigonometric.
  1. Check whether the chain rule is needed.
  2. If there is a product, use the product rule.
  3. If there is a quotient, use the quotient rule.
  4. Simplify at the end if possible.

21. Worked examples

21.1. Example 1

Differentiate: f (x) = (2x^3 − 1)^4.

Use the chain rule: f ′(x) = 4(2x^3 − 1)^3 · 6 x^2 = 24x^2 (2x^3 − 1)^3.

21.2. Example 2

Differentiate: f (x) = x^2 ln x.

Use the product rule:

f ′(x) = 2x ln x + x^2 · 1 x

= 2x ln x + x.

21.3. Example 3

Differentiate: f (x) = e

x x

Use the quotient rule:

f ′(x) = e

x (^) · x − e x (^) · 1 x^2

= e

x (x − 1) x^2

21.4. Example 4

Differentiate: f (x) = ln(sin x).

Use the chain rule: f ′(x) = cos^ x sin x

= cot x.

23. Answers to practice problems

f ′(x) = 4x^3 − 6 x

f ′(x) = 1 2

x

x^2

f ′(x) = 3 cos(3x)

f ′(x) = − 2 x sin

( x^2

)

f ′(x) = 2e^2 x

f ′(x) =

2 x x^2 + 1

f ′(x) = 2xe x^ + x^2 e x^ = e x (x^2 + 2x)

f ′(x) =^2 x(x^ −^ 1)^ −^ (x

(x − 1)^2

= x

(^2) − 2 x − 1 (x − 1)^2

f ′(x) =

cos^2 (5x − 2)

f ′(x) = (^21) x

f ′(x) = 5(x^2 + 3x)^4 (2x + 3)

f ′(x) =

x cos x − sin x x^2

24. Mini summary

Core definition f ′(x 0 ) = lim h → 0 f^ (x^0 +^ h)^ −^ f^ (x^0 ) h

Main rules (f + g)′^ = f ′^ + g′, (cf )′^ = cf ′, (uv)′^ = u′v + uv′, ( (^) u v

)′ = u

′v − uv′ v^2

, (f (g(x)))′^ = f ′(g(x))g′(x)

Most important idea Whenever you see a function inside another function, always check whether the chain rule is needed.

Golden rule: Most mistakes in derivatives come from forgetting one of the three rules:

product rule, quotient rule, chain rule.