The derivative of a function f(x) with respect to x, denoted as f′(x), is defined as: f′(x)=limh→0hf(x+h)−f(x)
This definition is also known as the first principle of differentiation.
More Details:
Purpose: The derivative f′(x) represents the instantaneous rate of change of the function f(x) at a particular point.
Interpretation: Geometrically, it gives the slope of the tangent line to the graph of f(x) at that point.
Limit Existence: For the derivative to exist at a point, the limit must exist. This means the left-hand limit and the right-hand limit must be equal.
Differentiability: A function is said to be differentiable at a point if its derivative exists at that point. If a function is differentiable at all points in its domain, it is said to be a differentiable function.
Example:
Find f′(x) of f(x)=3x2−2 using the definition of derivative.
Step 1: Write down the formula of the definition of derivative f′(x)=limh→0hf(x+h)−f(x)
If y=f(x)⋅g(x), then let u=f(x) and v=g(x) dxdy=u′v+uv′
Example 2.3
Differentiate the following with respect to x.
(a) y=(3x+11)(2x−7)
Let u=3x+11, v=2x−7 u′=3, v′=2 dxdy=(3)(2x−7)+(3x+11)(2)=6x−21+6x+22=12x+1
Alternative: Expand the y. y=6x2−21x+22x−77=6x2+x−77 dxdy=12x+1
(b) f(x)=(x2+1)(x−1)
Let u=x2+1, v=x−1 u′=2x, v′=1 f′(x)=(2x)(x−1)+(x2+1)(1)=2x2−2x+x2+1=3x2−2x+1
Alternative: Expand the f(x). f(x)=x3−x2+x−1 f′(x)=3x2−2x+1
Quotient Rule
If y=g(x)f(x), then let u=f(x) and v=g(x) dxdy=v2vu′−uv′
Example 2.4
Differentiate the following with respect to x.
(a) y=3x−52x+3
Let u=2x+3, v=3x−5 u′=2, v′=3 dxdy=(3x−5)2(3x−5)(2)−(2x+3)(3)=(3x−5)26x−10−6x−9=(3x−5)2−19
(b) f(x)=x−45x2+11
Let u=5x2+11, v=x−4 u′=10x, v′=1 dxdy=(x−4)2(x−4)(10x)−(5x2+11)(1)=(x−4)210x2−40x−5x2−11=(x−4)25x2−40x−11
Derivative of Trigonometric Functions
y=sin(x), dxdy=cos(x)
y=cos(x), dxdy=−sin(x)
y=tan(x), dxdy=sec2(x)
y=sec(x), dxdy=sec(x)tan(x)
y=csc(x), dxdy=−csc(x)cot(x)
y=cot(x), dxdy=−csc2(x)
Example 2.5
Find the derivative of the following functions.
a) y=2ln(x)−sin(x)+xe3 dxdy=x2−cos(x)+e3
b) y=x1−3sec(x)−ln(6)+5x dxdy=−x21−3sec(x)tan(x)+5
c) y=ln(x)tan(x)
Let u=ln(x), v=tan(x) u′=x1, v′=sec2(x) dxdy=x1tan(x)+ln(x)sec2(x)
d) y=cos(x)ex
Let u=ex, v=cos(x) u′=ex, v′=−sin(x) dxdy=cos2(x)cos(x)ex−ex(−sin(x))=cos2(x)ex(cos(x)+sin(x))
Chain Rule
If g is differentiable at x and f is differentiable at g(x), then the composite function F(x)=f(g(x)) has the derivative: F′(x)=f′(g(x))⋅g′(x)
In Leibniz notation, if y=f(u) and u=g(x), then dxdy=dudy⋅dxdu
Example 2.6
Find F′(x) if
a) F(x)=(x2−3)2
Composite Function F(x)=f(g(x))
Let f(u)=u2 and g(x)=x2−3 f′(u)=2u and g′(x)=2x F′(x)=f′(g(x))⋅g′(x)=2(x2−3)(2x)=4x(x2−3)
Alternative using Chain Rule:
Let y=u2 where u=x2−3 dudy=2u and dxdu=2x dxdy=dudy⋅dxdu=(2u)(2x)=2(x2−3)(2x)=4x(x2−3)
b) F(x)=9x−1=(x−1)91
Composite Function F(x)=f(g(x))
Let f(u)=u91 and g(x)=x−1 f′(u)=91u−98 and g′(x)=1 F′(x)=f′(g(x))⋅g′(x)=91(x−1)−98(1)=9(x−1)981
Alternative using Chain Rule:
Let y=u91 where u=x−1 dudy=91u−98 and dxdu=1 dxdy=dudy⋅dxdu=91u−98(1)=9(x−1)981
Note: By using the chain rule method, the working step is from the outside to the inside. dxdf(g(x))=f′(g(x))⋅g′(x)
With the combination of the Power Rule and the Chain Rule, the derivative process is as below:
If y=[u]n, then dxdy=n[u]n−1⋅f′(u)
If y=[f(x)]n, then dxdy=n[f(x)]n−1⋅f′(x)
If y=[f(g(x))]n, then dxdy=n[f(g(x))]n−1⋅f′(g(x))⋅g′(x)
Polynomial, Rational, Radical Functions
Example 2.7
Differentiate the following with respect to x.
a) y=4x3 dxdy=23(4x3)−21⋅(12x2)=4x318x2
Example 2.10
Find the second derivative for the following.
a) y=−x5+3x4+x2 dxdy=−5x4+12x3+2x dx2d2y=−20x3+36x2+2
b) f(x)=e3x−sin(4x) f′(x)=3e3x−4cos(4x) f′′(x)=9e3x+16sin(4x)
Implicit Differentiation
Previously, all the functions we met can be expressed a variable explicitly to another variable. For instance, y=x3−x−4 or ex=0, in general way is y=f(x). However, some function is expressed implicitly between the variable and y. Likely, x=0. It is quite difficult to rearrange y in terms of x. In order to find the first derivative of this kind of equation, so we need to differentiate y implicitly with respect to x.
Solving steps for implicit differentiation
Step 1: Differentiate both sides (every term) of the equation with respect to x
Step 2: Rearrange the terms with on LHS, the others on RHS
Step 3: Factorize and simplify.
Example 2.11
Find for cos(x)=2 by using implicit differentiation.
*Step 1: Differentiate every terms w.r.t. x. ( 𝑚𝑑𝑦𝑑𝑥 𝑜𝑛 𝐿𝐻𝑆, 𝑜𝑡ℎ𝑒𝑟𝑠 𝑜𝑛 𝑅𝐻𝑆 (( 𝑚𝑑𝑦𝑑𝑥 𝑎𝑛𝑑 𝑆𝑖𝑚𝑝𝑙𝑖𝑓𝑦 () 𝑆𝑡𝑒𝑝 3: 𝐹𝑎𝑐𝑡𝑜𝑟𝑖𝑧𝑒
Find for by using implicit differentiation.
*Step 1: Differentiate every terms w.r.t. x.
Implicit Differentiation Table
Following are the implicit differentiation of common function:
The Definition of Derivative The derivative of a function f(x) with respect to x, denoted as f′(x), is defined as: f′(x)=limh→0hf(x+h)−f(x) This definition is also known as the first principle of differentiation.
More Details: - Purpose: The derivative f′(x) represents the instantaneous rate of change of the function f(x) at a particular point. - Interpretation: Geometrically, it gives the slope of the tangent line to the graph of f(x) at that point. This tangent line visually demonstrates how the function is changing at an infinitesimally small interval around that point. - Limit Existence: For the derivative to exist at a point, the limit must exist. This means the left-hand limit and the right-hand limit must be equal, ensuring that the function approaches the same value from both sides. - Differentiability: A function is said to be differentiable at a point if its derivative exists at that point. If a function is differentiable at all points in its domain, it is said to be a differentiable function. Differentiability implies continuity, but the converse is not always true (e.g., a function with a sharp corner is continuous but not differentiable at that corner).
Example: Find f′(x) of f(x)=3x2−2 using the definition of derivative.
Step 1: Write down the formula of the definition of derivative f′(x)=limh→0hf(x+h)−f(x)
Step 3: Substitute into the formula and simplify the limit f′(x)=lim<em>h→0h(3x2+6xh+3h2−2)−(3x2−2)=lim</em>h→0h6xh+3h2=limh→0(6x+3h)=6x
Step 4: Write the final answer: The derivative of f(x) is f′(x)=6x. ### Examples of Differentiation Using the Definition #### Polynomial (a) f(x)=x2−10x+3
Step 4:f′(x)=2x(x−4)2−1 ### Rules of Derivative / Differentiation For y=f(x), the notation of the derivative is: y′=f′(x)=dxdy=dxdf(x) #### Constant Rule Let y=f(x)=a, where a is a constant, then f′(x)=dxdy=0 #### Power Rule Let y=f(x)=axn, then dxdy=f′(x)=naxn−1
Example 2.2 Differentiate the following with respect to x. a) y=10dxdy=0 b) y=−x5+x8−12dxdy=−5x4+8x7 c) y=x=x21dxdy=21x−21=2x1 d) y=−3x2=−32x−21dxdy=−32⋅(−21)x−23=3x231 #### Product Rule If y=f(x)⋅g(x), then let u=f(x) and v=g(x)dxdy=u′v+uv′
Example 2.3 Differentiate the following with respect to x. (a) y=(3x+11)(2x−7) Let u=3x+11, v=2x−7u′=3, v′=2dxdy=(3)(2x−7)+(3x+11)(2)=6x−21+6x+22=12x+1 Alternative: Expand the y. y=6x2−21x+22x−77=6x2+x−77dxdy=12x+1 (b) f(x)=(x2+1)(x−1) Let u=x2+1, v=x−1u′=2x, v′=1f′(x)=(2x)(x−1)+(x2+1)(1)=2x2−2x+x2+1=3x2−2x+1 Alternative: Expand the f(x). f(x)=x3−x2+x−1f′(x)=3x2−2x+1 #### Quotient Rule If y=g(x)f(x), then let u=f(x) and v=g(x)dxdy=v2vu′−uv′
Example 2.4 Differentiate the following with respect to x. (a) y=3x−52x+3 Let u=2x+3, v=3x−5u′=2, v′=3dxdy=(3x−5)2(3x−5)(2)−(2x+3)(3)=(3x−5)26x−10−6x−9=(3x−5)2−19 (b) f(x)=x−45x2+11 Let u=5x2+11, v=x−4u′=10x, v′=1dxdy=(x−4)2(x−4)(10x)−(5x2+11)(1)=(x−4)210x2−40x−5x2−11=(x−4)25x2−40x−11 #### Derivative of Trigonometric Functions - y=sin(x), dxdy=cos(x) - y=cos(x), dxdy=−sin(x) - y=tan(x), dxdy=sec2(x) - y=sec(x), dxdy=sec(x)tan(x) - y=csc(x), dxdy=−csc(x)cot(x) - y=cot(x), dxdy=−csc2(x)
Example 2.5 Find the derivative of the following functions. a) y=2ln(x)−sin(x)+xe3dxdy=x2−cos(x)+e3 b) y=x1−3sec(x)−ln(6)+5xdxdy=−x21−3sec(x)tan(x)+5 c) y=ln(x)tan(x) Let u=ln(x), v=tan(x)u′=x1, v′=sec2(x)dxdy=x1tan(x)+ln(x)sec2(x) d) y=cos(x)ex Let u=ex, v=cos(x)u′=ex, v′=−sin(x)dxdy=cos2(x)cos(x)ex−ex(−sin(x))=cos2(x)ex(cos(x)+sin(x)) #### Chain Rule If g is differentiable at x and f is differentiable at g(x), then the composite function F(x)=f(g(x)) has the derivative: F′(x)=f′(g(x))⋅g′(x) In Leibniz notation, if y=f(u) and u=g(x), then dxdy=dudy⋅dxdu
Example 2.6 Find F′(x) if a) F(x)=(x2−3)2 Composite Function F(x)=f(g(x)) Let f(u)=u2 and g(x)=x2−3f′(u)=2u and g′(x)=2xF′(x)=f′(g(x))⋅g′(x)=2(x2−3)(2x)=4x(x2−3) Alternative using Chain Rule: Let y=u2 where u=x2−3dudy=2u and dxdu=2xdxdy=dudy⋅dxdu=(2u)(2x)=2(x2−3)(2x)=4x(x2−3) b) F(x)=9x−1=(x−1)91 Composite Function F(x)=f(g(x)) Let f(u)=u91 and g(x)=x−1f′(u)=91u−98 and g′(x)=1F′(x)=f′(g(x))⋅g′(x)=91(x−1)−98(1)=9(x−1)981 Alternative using Chain Rule: Let y=u91 where u=x−1dudy=91u−98 and dxdu=1dxdy=dudy⋅dxdu=91u−98(1)=9(x−1)981 Note: By using the chain rule method, the working step is from the outside to the inside. dxdf(g(x))=f′(g(x))⋅g′(x) With the combination of the Power Rule and the Chain Rule, the derivative process is as below: If y=[u]n, then dxdy=n[u]n−1⋅f′(u) If y=[f(x)]n, then dxdy=n[f(x)]n−1⋅f′(x) If y=[f(g(x))]n, then dxdy=n[f(g(x))]n−1⋅f′(g(x))⋅g′(x) #### Polynomial, Rational, Radical Functions
Example 2.7 Differentiate the following with respect to x. a) y=4x3dxdy=23(4x3)−21⋅(12x2)=4x318x2 b) y=9x45=5x−94dxdy=−920x−913=−99x1320 c) y=(x2+10)3dxdy=3(x2+10)2⋅(2x)=6x(x2+10)2 d) y=(x+1)3(x−1) Product Rule: dxdy=u′v+uv′ Let u=(x+1)3, v=x−1u′=3(x+1)2, v′=1dxdy=3(x+1)2(x−1)+(x+1)3(1)=(x+1)2[3(x−1)+(x+1)]=(x+1)2[3x−3+x+1]=(x+1)2(4x−2)=2(x+1)2(2x−1) #### Trigonometry Functions
Example 2.8 Differentiate the following with respect to x. a) y=sin(5x)dxdy=cos(5x)⋅5=5cos(5x) b) y=cos(sin(x))dxdy=−sin(sin(x))⋅cos(x)=−cos(x)sin(sin(x)) c) y=tan6(3x)dxdy=6tan5(3x)⋅sec2(3x)⋅3=18sec2(3x)tan5(3x) d) f(x)=tan[2+x22−x2] $$\begin{aligned} f'(x) &= \sec^2 \left[\frac{2 - x^2}{2 + x^2}\right] \cdot \left[\frac{(2 + x^2)(-2x) - (2 - x^2)(2x)}{(2 + x^2)^2}\right] \ &= \sec^2 \left[\frac{2 - x^2}{2 + x^2}\right] \cdot \left[\frac{-