Lesson Objectives

Terminology:

·       Derivative of a sum, difference, product, and quotient

·       Derivative of a composite function (chain rule)

·       Derivatives of basic elementary functions (power, radical, trigonometric, exponential, and logarithmic functions)

Knowledge and Skills:

·       Compute derivatives of basic elementary functions: power functions, square root function, trigonometric functions, exponential functions, and logarithmic functions.

·       Apply differentiation rules for the sum, difference, product, and quotient of functions, as well as the chain rule for composite functions.

·       Apply differentiation rules to solve practical problems (velocity at maximum height and upon impact, harmonic motion of a vibrating string, rate of change of pH).

Derivatives of Common Functions and Differentiation Rules

a) Derivatives of Power and Square Root Functions

• The power function y=xny = x^n (n∈N∗n \in \mathbb{N}^*) is differentiable on R\mathbb{R} and: (xn)′=nxn−1(x^n)' = n x^{n-1} • The square root function y=xy = \sqrt{x} is differentiable on (0;+∞)(0; +\infty) and: (x)′=12x(\sqrt{x})' = \frac{1}{2\sqrt{x}} • The reciprocal function y=1xy = \frac{1}{x} is differentiable for all x≠0x \ne 0: (1x)′=−1x2\left(\frac{1}{x}\right)' = -\frac{1}{x^2}

b) Differentiation Rules for Sum, Difference, Product, and Quotient

Assume functions u=u(x)u = u(x) and v=v(x)v = v(x) are differentiable on an interval (a;b)(a; b). Then: • (u+v)′=u′+v′(u + v)' = u' + v'; • (u−v)′=u′−v′(u - v)' = u' - v'; • (uv)′=u′v+uv′(uv)' = u'v + uv'; • (uv)′=u′v−uv′v2\left(\frac{u}{v}\right)' = \frac{u'v - uv'}{v^2} (where v(x)≠0v(x) \ne 0). Consequences: • Constant multiple rule: (ku)′=ku′(ku)' = k u' (for any constant kk); • Reciprocal rule: (1v)′=−v′v2\left(\frac{1}{v}\right)' = -\frac{v'}{v^2} (where v(x)≠0v(x) \ne 0).

c) Derivative of a Composite Function (Chain Rule)

If u=g(x)u = g(x) has a derivative u′_xu'\_x at xx and y=f(u)y = f(u) has a derivative y′_uy'\_u at uu, then the composite function y=f(g(x))y = f(g(x)) has a derivative y′_xy'\_x at xx given by: y′_x=y′_u⋅u′_xy'\_x = y'\_u \cdot u'\_x Corresponding composite formulas: • (un)′=nun−1⋅u′(u^n)' = n u^{n-1} \cdot u'; • (u)′=u′2u(\sqrt{u})' = \frac{u'}{2\sqrt{u}} (for u>0u > 0).

Example 2: Compute the derivative of the following functions: a) y=13x3−x2+2x+1y = \frac{1}{3}x^3 - x^2 + 2x + 1; b) y=2x+1x−1y = \frac{2x+1}{x-1}.

Solution to Example 2: • a) We have:   y′=13(x3)′−(x2)′+2(x)′+(1)′=13⋅3x2−2x+2=x2−2x+2.y' = \frac{1}{3}(x^3)' - (x^2)' + 2(x)' + (1)' = \frac{1}{3} \cdot 3x^2 - 2x + 2 = x^2 - 2x + 2. • b) For all x≠1x \ne 1, applying the quotient rule:   y′=(2x+1)′(x−1)−(2x+1)(x−1)′(x−1)2=2(x−1)−(2x+1)(x−1)2=−3(x−1)2.y' = \frac{(2x+1)'(x-1) - (2x+1)(x-1)'}{(x-1)^2} = \frac{2(x-1) - (2x+1)}{(x-1)^2} = -\frac{3}{(x-1)^2}.

Example 5: Compute the derivative of the function y=x2+1y = \sqrt{x^2 + 1}.

Solution to Example 5: • Let u=x2+1>0u = x^2 + 1 > 0, then y=uy = \sqrt{u}. • Applying the chain rule:   y′=(x2+1)′=(x2+1)′2x2+1=2x2x2+1=xx2+1.y' = (\sqrt{x^2 + 1})' = \frac{(x^2 + 1)'}{2\sqrt{x^2 + 1}} = \frac{2x}{2\sqrt{x^2 + 1}} = \frac{x}{\sqrt{x^2 + 1}}.

Derivatives of Trigonometric, Exponential, and Logarithmic Functions

a) Derivatives of Trigonometric Functions

• (sin⁡x)′=cos⁡x(\sin x)' = \cos x; for a composite function: (sin⁡u)′=u′⋅cos⁡u(\sin u)' = u' \cdot \cos u. • (cos⁡x)′=−sin⁡x(\cos x)' = -\sin x; for a composite function: (cos⁡u)′=−u′⋅sin⁡u(\cos u)' = -u' \cdot \sin u. • (tan⁡x)′=1cos⁡2x(\tan x)' = \frac{1}{\cos^2 x} (x≠π2+kπx \ne \frac{\pi}{2} + k\pi); for a composite function: (tan⁡u)′=u′cos⁡2u(\tan u)' = \frac{u'}{\cos^2 u}. • (cot⁡x)′=−1sin⁡2x(\cot x)' = -\frac{1}{\sin^2 x} (x≠kπx \ne k\pi); for a composite function: (cot⁡u)′=−u′sin⁡2u(\cot u)' = -\frac{u'}{\sin^2 u}.

Example 6: Compute the derivative of the function y=sin⁡(2x+π8)y = \sin\left(2x + \frac{\pi}{8}\right).

Solution to Example 6: • We have:   y′=(2x+π8)′⋅cos⁡(2x+π8)=2cos⁡(2x+π8).y' = \left(2x + \frac{\pi}{8}\right)' \cdot \cos\left(2x + \frac{\pi}{8}\right) = 2\cos\left(2x + \frac{\pi}{8}\right).

b) Derivatives of Exponential and Logarithmic Functions

• (ex)′=ex(e^x)' = e^x; for a composite function: (eu)′=u′⋅eu(e^u)' = u' \cdot e^u. • (ax)′=axln⁡a(a^x)' = a^x \ln a (0<a≠10 < a \ne 1); for a composite function: (au)′=u′⋅auln⁡a(a^u)' = u' \cdot a^u \ln a. • (ln⁡x)′=1x(\ln x)' = \frac{1}{x} (x>0x > 0); for a composite function: (ln⁡u)′=u′u(\ln u)' = \frac{u'}{u}. • (log⁡ax)′=1xln⁡a(\log_a x)' = \frac{1}{x \ln a} (x>0,0<a≠1x > 0, 0 < a \ne 1); for a composite function: (log⁡au)′=u′uln⁡a(\log_a u)' = \frac{u'}{u \ln a}. • Note: (ln⁡∣x∣)′=1x(\ln |x|)' = \frac{1}{x} for all x≠0x \ne 0.

Example 9: Compute the derivative of the function y=2x2−xy = 2^{x^2 - x}.

Solution to Example 9: • Applying the formula (au)′=u′⋅auln⁡a(a^u)' = u' \cdot a^u \ln a with u=x2−xu = x^2 - x and a=2a = 2:   y′=2x2−x⋅(x2−x)′⋅ln⁡2=(2x−1)⋅2x2−xln⁡2.y' = 2^{x^2 - x} \cdot (x^2 - x)' \cdot \ln 2 = (2x - 1) \cdot 2^{x^2 - x} \ln 2.

Example 10: Compute the derivative of the function y=ln⁡(x2+1)y = \ln(x^2 + 1).

Solution to Example 10: • Since x2+1>0x^2 + 1 > 0 for all x∈Rx \in \mathbb{R}, the function is defined on R\mathbb{R}. • Applying the formula (ln⁡u)′=u′u(\ln u)' = \frac{u'}{u}:   y′=(x2+1)′x2+1=2xx2+1.y' = \frac{(x^2 + 1)'}{x^2 + 1} = \frac{2x}{x^2 + 1}.

Applications and Exercises

a) Real-World Applications

Application 1 (Vertical Projectile Motion): An object is launched vertically upward from the ground with an initial velocity v0=20 m/sv_0 = 20\text{ m/s}. Neglecting air resistance, the equation of motion is h(t)=v0t−12gt2h(t) = v_0 t - \frac{1}{2}gt^2 with g=9.8 m/s2g = 9.8\text{ m/s}^2. Calculate the velocity of the object when it reaches its maximum height and when it hits the ground.

Solution to Application 1: • The instantaneous velocity of the object at time tt is:   v(t)=h′(t)=v0−gt=20−9.8t (m/s).v(t) = h'(t) = v_0 - gt = 20 - 9.8t\text{ (m/s).} • The object reaches its maximum height when its velocity becomes zero (v(t1)=0v(t_1) = 0):   20−9.8t1=0  ⟺  t1=209.8≈2.04 (seconds).20 - 9.8t_1 = 0 \iff t_1 = \frac{20}{9.8} \approx 2.04\text{ (seconds).}   At the maximum height, the velocity of the object is 0 m/s0\text{ m/s}. • The object hits the ground when h(t2)=0h(t_2) = 0:   20t2−4.9t22=0  ⟺  t2(20−4.9t2)=0.20t_2 - 4.9t_2^2 = 0 \iff t_2(20 - 4.9t_2) = 0.   Since the impact time t2>0t_2 > 0, we have t2=204.9≈4.08 (seconds)t_2 = \frac{20}{4.9} \approx 4.08\text{ (seconds)}. • The velocity upon impact is:   v(t2)=20−9.8⋅204.9=20−40=−20 (m/s).v(t_2) = 20 - 9.8 \cdot \frac{20}{4.9} = 20 - 40 = -20\text{ (m/s).}   The negative sign indicates downward motion toward the ground with a speed of 20 m/s20\text{ m/s}.

Application 2 (Rate of Change of pH): The pH of a chemical solution is given by pH=−log⁡[H+]pH = -\log[H^+], where [H+][H^+] is the hydrogen ion concentration in moles per liter. Determine the rate of change of pH with respect to the concentration [H+][H^+].

Solution to Application 2: • Let x=[H+]>0x = [H^+] > 0, then y=pH=−log⁡_10x=−ln⁡xln⁡10y = pH = -\log\_{10} x = -\frac{\ln x}{\ln 10}. • The rate of change of pH with respect to [H+][H^+] is the derivative of yy with respect to xx:   y′=(−ln⁡xln⁡10)′=−1ln⁡10⋅(ln⁡x)′=−1xln⁡10=−1[H+]ln⁡10.y' = \left(-\frac{\ln x}{\ln 10}\right)' = -\frac{1}{\ln 10} \cdot (\ln x)' = -\frac{1}{x \ln 10} = -\frac{1}{[H^+] \ln 10}. • The negative sign indicates that as the hydrogen ion concentration [H+][H^+] increases, the pH of the solution decreases.

b) End-of-Lesson Exercises

Exercise 9.6: Compute the derivative of the following functions: a) y=x3−3x2+2x+1y = x^3 - 3x^2 + 2x + 1; b) y=x2−4x+3y = x^2 - 4\sqrt{x} + 3.

Solution to Exercise 9.6: • a) y′=(x3)′−3(x2)′+2(x)′+(1)′=3x2−6x+2y' = (x^3)' - 3(x^2)' + 2(x)' + (1)' = 3x^2 - 6x + 2. • b) On the interval (0;+∞)(0; +\infty):   y′=(x2)′−4(x)′+(3)′=2x−4⋅12x=2x−2x.y' = (x^2)' - 4(\sqrt{x})' + (3)' = 2x - 4 \cdot \frac{1}{2\sqrt{x}} = 2x - \frac{2}{\sqrt{x}}.

Exercise 9.7: Compute the derivative of the following functions: a) y=2x−1x+2y = \frac{2x-1}{x+2}; b) y=2xx2+1y = \frac{2x}{x^2+1}.

Solution to Exercise 9.7: • a) For x≠−2x \ne -2:   y′=(2x−1)′(x+2)−(2x−1)(x+2)′(x+2)2=2(x+2)−(2x−1)(x+2)2=5(x+2)2.y' = \frac{(2x-1)'(x+2) - (2x-1)(x+2)'}{(x+2)^2} = \frac{2(x+2) - (2x-1)}{(x+2)^2} = \frac{5}{(x+2)^2}. • b) For all x∈Rx \in \mathbb{R}:   y′=(2x)′(x2+1)−2x(x2+1)′(x2+1)2=2(x2+1)−2x(2x)(x2+1)2=2−2x2(x2+1)2.y' = \frac{(2x)'(x^2+1) - 2x(x^2+1)'}{(x^2+1)^2} = \frac{2(x^2+1) - 2x(2x)}{(x^2+1)^2} = \frac{2 - 2x^2}{(x^2+1)^2}.

Exercise 9.8: Compute the derivative of the following functions: a) y=xsin⁡2xy = x \sin^2 x; b) y=cos⁡2x+sin⁡2xy = \cos^2 x + \sin 2x; c) y=sin⁡3x−3sin⁡xy = \sin 3x - 3\sin x; d) y=tan⁡x+cot⁡xy = \tan x + \cot x.

Solution to Exercise 9.8: • a) Applying the product rule (uv)′=u′v+uv′(uv)' = u'v + uv':   y′=(x)′sin⁡2x+x(sin⁡2x)′=sin⁡2x+x⋅2sin⁡xcos⁡x=sin⁡2x+xsin⁡2x.y' = (x)' \sin^2 x + x (\sin^2 x)' = \sin^2 x + x \cdot 2\sin x \cos x = \sin^2 x + x \sin 2x. • b) y′=(cos⁡2x)′+(sin⁡2x)′=2cos⁡x(−sin⁡x)+2cos⁡2x=−sin⁡2x+2cos⁡2xy' = (\cos^2 x)' + (\sin 2x)' = 2\cos x (-\sin x) + 2\cos 2x = -\sin 2x + 2\cos 2x. • c) y′=(sin⁡3x)′−3(sin⁡x)′=3cos⁡3x−3cos⁡xy' = (\sin 3x)' - 3(\sin x)' = 3\cos 3x - 3\cos x. • d) y′=(tan⁡x)′+(cot⁡x)′=1cos⁡2x−1sin⁡2x=sin⁡2x−cos⁡2xsin⁡2xcos⁡2x=−cos⁡2x14sin⁡22x=−4cos⁡2xsin⁡22xy' = (\tan x)' + (\cot x)' = \frac{1}{\cos^2 x} - \frac{1}{\sin^2 x} = \frac{\sin^2 x - \cos^2 x}{\sin^2 x \cos^2 x} = -\frac{\cos 2x}{\frac{1}{4}\sin^2 2x} = -\frac{4\cos 2x}{\sin^2 2x}.

Exercise 9.9: Compute the derivative of the following functions: a) y=23x−x2y = 2^{3x - x^2}; b) y=log⁡3(4x+1)y = \log_3(4x + 1).

Solution to Exercise 9.9: • a) Applying the formula (au)′=u′⋅auln⁡a(a^u)' = u' \cdot a^u \ln a:   y′=(3x−x2)′⋅23x−x2⋅ln⁡2=(3−2x)⋅23x−x2ln⁡2.y' = (3x - x^2)' \cdot 2^{3x - x^2} \cdot \ln 2 = (3 - 2x) \cdot 2^{3x - x^2} \ln 2. • b) Domain condition 4x+1>0  ⟺  x>−144x + 1 > 0 \iff x > -\frac{1}{4}. Applying (log⁡au)′=u′uln⁡a(\log_a u)' = \frac{u'}{u \ln a}:   y′=(4x+1)′(4x+1)ln⁡3=4(4x+1)ln⁡3.y' = \frac{(4x + 1)'}{(4x + 1) \ln 3} = \frac{4}{(4x + 1) \ln 3}.

Bài 9.10: Given the function f(x)=2sin⁡2(3x−π4)f(x) = 2\sin^2\left(3x - \frac{\pi}{4}\right). Prove that ∣f′(x)∣≤6|f'(x)| \le 6 for all xx.

Solution to Exercise 9.10: • Using the power-reduction formula:   f(x)=1−cos⁡(6x−π2)=1−sin⁡6x.f(x) = 1 - \cos\left(6x - \frac{\pi}{2}\right) = 1 - \sin 6x. • Taking the derivative:   f′(x)=−(sin⁡6x)′=−6cos⁡6x.f'(x) = - (\sin 6x)' = -6\cos 6x. • Since ∣cos⁡6x∣≤1|\cos 6x| \le 1 for all x∈Rx \in \mathbb{R}, we have:   ∣f′(x)∣=∣−6cos⁡6x∣=6∣cos⁡6x∣≤6.|f'(x)| = |-6\cos 6x| = 6|\cos 6x| \le 6. • The inequality is proved.

Exercise 9.12: The motion of a particle on a vibrating string is described by s(t)=12+0.5sin⁡(4πt)s(t) = 12 + 0.5\sin(4\pi t), where ss is in centimeters and tt is in seconds. Find the velocity of the particle after tt seconds. What is the maximum speed of the particle?

Solution to Exercise 9.12: • The instantaneous velocity of the particle is the derivative of position with respect to time:   v(t)=s′(t)=0.5⋅(4π)⋅cos⁡(4πt)=2πcos⁡(4πt) (cm/s).v(t) = s'(t) = 0.5 \cdot (4\pi) \cdot \cos(4\pi t) = 2\pi \cos(4\pi t)\text{ (cm/s).} • Since cos⁡(4πt)≤1\cos(4\pi t) \le 1 for all tt, the maximum speed of the particle occurs when cos⁡(4πt)=1\cos(4\pi t) = 1:   v_max⁡=2π≈6.28 (cm/s).v\_{\max} = 2\pi \approx 6.28\text{ (cm/s).}