Solved Exercises on Derivatives of Trigonometric Functions in Differential Calculus

Master the derivatives of sine, cosine, and tangent functions through these 5 detailed exercises with visual representations and step-by-step solutions.

Solution: Exercises 1 to 3
1 Basic sine function
Exercise 1
Find the derivative of \(f(x) = \sin(x)\) using the definition of the derivative.
Definition:

Trigonometric derivative: The derivative of \(\sin(x)\) is \(\cos(x)\). This fundamental result is derived using the limit definition and the sine addition formula.

Derivation Method:
  1. Use the limit definition: \(f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}\)
  2. Apply the sine addition formula: \(\sin(A+B) = \sin A \cos B + \cos A \sin B\)
  3. Separate the terms and apply fundamental trigonometric limits
  4. Simplify using \(\lim_{h \to 0} \frac{\sin h}{h} = 1\) and \(\lim_{h \to 0} \frac{\cos h - 1}{h} = 0\)
Function
\(f(x) = \sin(x)\)
At x+h
\(f(x+h) = \sin(x)\cos(h) + \cos(x)\sin(h)\)
Final result
\(f'(x) = \cos(x)\)
Step 1: Apply the limit definition

\(f'(x) = \lim_{h \to 0} \frac{\sin(x+h) - \sin(x)}{h}\)

Step 2: Use the sine addition formula

Using \(\sin(A+B) = \sin A \cos B + \cos A \sin B\):

\(\sin(x+h) = \sin(x)\cos(h) + \cos(x)\sin(h)\)

Step 3: Substitute and simplify

\(\frac{\sin(x+h) - \sin(x)}{h} = \frac{\sin(x)\cos(h) + \cos(x)\sin(h) - \sin(x)}{h}\)

\(= \frac{\sin(x)[\cos(h) - 1] + \cos(x)\sin(h)}{h}\)

\(= \sin(x) \cdot \frac{\cos(h) - 1}{h} + \cos(x) \cdot \frac{\sin(h)}{h}\)

Step 4: Take the limit as \(h \to 0\)

Using fundamental trigonometric limits:

\(\lim_{h \to 0} \frac{\sin(h)}{h} = 1\) and \(\lim_{h \to 0} \frac{\cos(h) - 1}{h} = 0\)

Therefore: \(f'(x) = \sin(x) \cdot 0 + \cos(x) \cdot 1 = \cos(x)\)

Step 5: Verify with geometric interpretation

The derivative of sine is cosine, which represents the slope of the tangent line to the sine curve at any point.

\(\frac{d}{dx}[\sin(x)] = \cos(x)\)
Final answer:

Using the limit definition and the sine addition formula, we find that the derivative of \(\sin(x)\) is \(\cos(x)\). This result is fundamental in calculus and physics.

Applied rules:

• Sine addition formula: \(\sin(A+B) = \sin A \cos B + \cos A \sin B\)

• Fundamental trigonometric limits: \(\lim_{h \to 0} \frac{\sin h}{h} = 1\), \(\lim_{h \to 0} \frac{\cos h - 1}{h} = 0\)

• Limit properties: Sum and product of limits

2 Cosine derivative
Exercise 2
Find the derivative of \(g(x) = \cos(x)\) using the definition of the derivative.
Definition:

Cosine derivative: The derivative of \(\cos(x)\) is \(-\sin(x)\). This is derived similarly to the sine derivative but yields a negative result.

Function
\(g(x) = \cos(x)\)
At x+h
\(g(x+h) = \cos(x)\cos(h) - \sin(x)\sin(h)\)
Final result
\(g'(x) = -\sin(x)\)
Step 1: Apply the limit definition

\(g'(x) = \lim_{h \to 0} \frac{\cos(x+h) - \cos(x)}{h}\)

Step 2: Use the cosine addition formula

Using \(\cos(A+B) = \cos A \cos B - \sin A \sin B\):

\(\cos(x+h) = \cos(x)\cos(h) - \sin(x)\sin(h)\)

Step 3: Form the difference quotient

\(\frac{\cos(x+h) - \cos(x)}{h} = \frac{\cos(x)\cos(h) - \sin(x)\sin(h) - \cos(x)}{h}\)

\(= \frac{\cos(x)[\cos(h) - 1] - \sin(x)\sin(h)}{h}\)

\(= \cos(x) \cdot \frac{\cos(h) - 1}{h} - \sin(x) \cdot \frac{\sin(h)}{h}\)

Step 4: Take the limit as \(h \to 0\)

Using the same fundamental limits:

\(\lim_{h \to 0} \frac{\cos(h) - 1}{h} = 0\) and \(\lim_{h \to 0} \frac{\sin(h)}{h} = 1\)

Therefore: \(g'(x) = \cos(x) \cdot 0 - \sin(x) \cdot 1 = -\sin(x)\)

Step 5: Compare with sine derivative

Notice the pattern: \(\frac{d}{dx}[\sin(x)] = \cos(x)\) and \(\frac{d}{dx}[\cos(x)] = -\sin(x)\).

This creates a cyclic pattern when differentiating repeatedly.

\(\frac{d}{dx}[\cos(x)] = -\sin(x)\)
Final answer:

Using the limit definition and the cosine addition formula, we find that the derivative of \(\cos(x)\) is \(-\sin(x)\). This result, combined with the sine derivative, forms the foundation for all trigonometric differentiation.

Applied rules:

• Cosine addition formula: \(\cos(A+B) = \cos A \cos B - \sin A \sin B\)

• Fundamental trigonometric limits: Same as for sine

• Negative sign: Comes from the structure of the cosine addition formula

3 Tangent derivative
Exercise 3
Find the derivative of \(h(x) = \tan(x)\) using the quotient rule and the derivatives of sine and cosine.
Definition:

Tangent derivative: Since \(\tan(x) = \frac{\sin(x)}{\cos(x)}\), we can use the quotient rule to find its derivative.

Function
\(h(x) = \frac{\sin(x)}{\cos(x)}\)
Quotient rule
\(\frac{d}{dx}\left[\frac{u}{v}\right] = \frac{u'v - uv'}{v^2}\)
Final result
\(h'(x) = \sec^2(x)\)
Step 1: Express tangent as a quotient

\(\tan(x) = \frac{\sin(x)}{\cos(x)}\)

Step 2: Apply the quotient rule

Let \(u = \sin(x)\) and \(v = \cos(x)\)

Then \(u' = \cos(x)\) and \(v' = -\sin(x)\)

\(\frac{d}{dx}\left[\frac{\sin(x)}{\cos(x)}\right] = \frac{\cos(x) \cdot \cos(x) - \sin(x) \cdot (-\sin(x))}{[\cos(x)]^2}\)

Step 3: Simplify the numerator

Numerator: \(\cos^2(x) - \sin(x) \cdot (-\sin(x)) = \cos^2(x) + \sin^2(x) = 1\)

(Using the Pythagorean identity: \(\sin^2(x) + \cos^2(x) = 1\))

Step 4: Complete the simplification

\(h'(x) = \frac{1}{\cos^2(x)} = \left(\frac{1}{\cos(x)}\right)^2 = [\sec(x)]^2 = \sec^2(x)\)

Step 5: Verify the domain

The derivative \(\sec^2(x) = \frac{1}{\cos^2(x)}\) is undefined when \(\cos(x) = 0\), which occurs at \(x = \frac{\pi}{2} + n\pi\) for integer \(n\).

This matches the domain of the original function \(\tan(x)\).

\(\frac{d}{dx}[\tan(x)] = \sec^2(x)\)
Final answer:

Using the quotient rule and the derivatives of sine and cosine, we find that the derivative of \(\tan(x)\) is \(\sec^2(x)\). This result is important in many applications.

Applied rules:

• Quotient rule: \(\frac{d}{dx}\left[\frac{f}{g}\right] = \frac{f'g - fg'}{g^2}\)

• Pythagorean identity: \(\sin^2(x) + \cos^2(x) = 1\)

• Secant definition: \(\sec(x) = \frac{1}{\cos(x)}\)

Trigonometric Derivatives Summary, Rules and Methods
\(\frac{d}{dx}[\sin(x)] = \cos(x), \quad \frac{d}{dx}[\cos(x)] = -\sin(x), \quad \frac{d}{dx}[\tan(x)] = \sec^2(x)\)
Basic Trigonometric Derivatives
Sine
\(\frac{d}{dx}[\sin(x)] = \cos(x)\)
Cosine derivative
Cosine
\(\frac{d}{dx}[\cos(x)] = -\sin(x)\)
Negative sine
Tangent
\(\frac{d}{dx}[\tan(x)] = \sec^2(x)\)
Secant squared
Key definitions:

Trigonometric functions: Functions that relate angles to ratios of sides in right triangles. The most common are sine, cosine, and tangent.

Periodicity: Trigonometric functions are periodic, meaning they repeat their values in regular intervals. Sine and cosine have period \(2\pi\), while tangent has period \(\pi\).

Pythagorean identity: \(\sin^2(x) + \cos^2(x) = 1\) is fundamental in deriving trigonometric derivatives.

Reciprocal functions: \(\csc(x) = \frac{1}{\sin(x)}\), \(\sec(x) = \frac{1}{\cos(x)}\), \(\cot(x) = \frac{1}{\tan(x)}\).

Complete methodology:
  1. Memorize the basic derivatives: \(\sin'(x) = \cos(x)\), \(\cos'(x) = -\sin(x)\), \(\tan'(x) = \sec^2(x)\)
  2. Apply chain rule: For \(\sin(u(x))\), the derivative is \(\cos(u(x)) \cdot u'(x)\)
  3. Use quotient rule: For tangent and other ratios, apply the quotient rule when needed
  4. Simplify using identities: Use trigonometric identities to express derivatives in their simplest form
  5. Check domain: Ensure the derivative is defined where the original function is defined
Tip 1: Remember the sign pattern: sine → cosine (positive), cosine → negative sine (negative).
Tip 2: The tangent derivative is always positive since it equals \(\sec^2(x)\), which is always positive.
Tip 3: Use the mnemonic "SOHCAHTOA" to remember the basic trigonometric ratios, and "COHSAHTOA" for their derivatives.
Tip 4: Always consider the domain when working with tangent, secant, cosecant, and cotangent functions.
Common errors: Forgetting the negative sign in the cosine derivative, misapplying the chain rule to composite functions, not considering domain restrictions, confusing the derivatives of different functions.
Exam preparation: Practice with various combinations of trigonometric functions, master the chain rule applications, and memorize the basic derivatives thoroughly.
Extended Trigonometric Derivatives:

• Cosecant: \(\frac{d}{dx}[\csc(x)] = -\csc(x)\cot(x)\)

• Secant: \(\frac{d}{dx}[\sec(x)] = \sec(x)\tan(x)\)

• Cotangent: \(\frac{d}{dx}[\cot(x)] = -\csc^2(x)\)

Solution: Exercises 4 to 5
4 Composite function
Exercise 4
Find the derivative of \(f(x) = \sin(3x^2 + 2x)\) using the chain rule and the derivative of sine.
Definition:

Composite function: A function of the form \(f(g(x))\), where the inner function is applied first, followed by the outer function. The chain rule is required for differentiation.

Outer function
\(\sin(u)\)
Inner function
\(u = 3x^2 + 2x\)
Derivative
\(f'(x) = \cos(3x^2 + 2x) \cdot (6x + 2)\)
Step 1: Identify the outer and inner functions

Outer function: \(g(u) = \sin(u)\), where \(u = 3x^2 + 2x\)

Inner function: \(h(x) = 3x^2 + 2x\)

Step 2: Apply the chain rule

The chain rule states: \(\frac{d}{dx}[g(h(x))] = g'(h(x)) \cdot h'(x)\)

So: \(f'(x) = \frac{d}{du}[\sin(u)] \cdot \frac{d}{dx}[3x^2 + 2x]\)

Step 3: Differentiate the outer function

\(\frac{d}{du}[\sin(u)] = \cos(u) = \cos(3x^2 + 2x)\)

Step 4: Differentiate the inner function

\(\frac{d}{dx}[3x^2 + 2x] = 6x + 2\)

Step 5: Combine the results

\(f'(x) = \cos(3x^2 + 2x) \cdot (6x + 2)\)

Step 6: Verify with substitution

At \(x = 0\): \(f'(0) = \cos(0) \cdot (0 + 2) = 1 \cdot 2 = 2\)

This makes sense because near \(x = 0\), \(\sin(3x^2 + 2x) \approx \sin(2x) \approx 2x\) (for small \(x\)), whose derivative is 2.

\(f'(x) = (6x + 2)\cos(3x^2 + 2x)\)
Final answer:

Using the chain rule with the derivative of sine, the derivative of \(f(x) = \sin(3x^2 + 2x)\) is \(f'(x) = (6x + 2)\cos(3x^2 + 2x)\). The chain rule multiplies the derivative of the outer function by the derivative of the inner function.

Applied rules:

• Chain rule: \(\frac{d}{dx}[f(g(x))] = f'(g(x)) \cdot g'(x)\)

• Sine derivative: \(\frac{d}{dx}[\sin(x)] = \cos(x)\)

• Power rule: For the inner function components

5 Product of trigonometric functions
Exercise 5
Find the derivative of \(g(x) = x^2 \cos(x) + \sin(x)\) using the product rule and basic trigonometric derivatives.
Definition:

Product rule: For functions \(u(x)v(x)\), the derivative is \(u'(x)v(x) + u(x)v'(x)\). This is required when differentiating products of functions.

Function
\(g(x) = x^2\cos(x) + \sin(x)\)
First term
\(\frac{d}{dx}[x^2\cos(x)] = 2x\cos(x) - x^2\sin(x)\)
Second term
\(\frac{d}{dx}[\sin(x)] = \cos(x)\)
Step 1: Apply the sum rule

\(g'(x) = \frac{d}{dx}[x^2\cos(x)] + \frac{d}{dx}[\sin(x)]\)

Step 2: Differentiate the second term

\(\frac{d}{dx}[\sin(x)] = \cos(x)\)

Step 3: Apply the product rule to the first term

For \(x^2\cos(x)\), let \(u = x^2\) and \(v = \cos(x)\)

Then \(u' = 2x\) and \(v' = -\sin(x)\)

\(\frac{d}{dx}[x^2\cos(x)] = u'v + uv' = 2x \cdot \cos(x) + x^2 \cdot (-\sin(x))\)

\(= 2x\cos(x) - x^2\sin(x)\)

Step 4: Combine all terms

\(g'(x) = [2x\cos(x) - x^2\sin(x)] + \cos(x)\)

\(= 2x\cos(x) - x^2\sin(x) + \cos(x)\)

\(= \cos(x)(2x + 1) - x^2\sin(x)\)

Step 5: Verify at a specific point

At \(x = 0\): \(g'(0) = \cos(0)(0 + 1) - 0^2\sin(0) = 1 \cdot 1 - 0 = 1\)

This matches the expected behavior since \(\sin(0) = 0\) and the dominant term near \(x = 0\) is \(\sin(x)\) with derivative \(\cos(0) = 1\).

\(g'(x) = \cos(x)(2x + 1) - x^2\sin(x)\)
Final answer:

Using the sum rule, product rule, and basic trigonometric derivatives, the derivative of \(g(x) = x^2\cos(x) + \sin(x)\) is \(g'(x) = \cos(x)(2x + 1) - x^2\sin(x)\). The product rule was essential for differentiating \(x^2\cos(x)\).

Applied rules:

• Sum rule: \(\frac{d}{dx}[f(x) + g(x)] = f'(x) + g'(x)\)

• Product rule: \(\frac{d}{dx}[uv] = u'v + uv'\)

• Trigonometric derivatives: \(\frac{d}{dx}[\sin(x)] = \cos(x)\), \(\frac{d}{dx}[\cos(x)] = -\sin(x)\)

Detailed Course: Trigonometric Function Derivatives
\(\frac{d}{dx}[\sin(x)] = \cos(x), \quad \frac{d}{dx}[\cos(x)] = -\sin(x), \quad \frac{d}{dx}[\tan(x)] = \sec^2(x)\)
Fundamental Trigonometric Derivatives
Key definitions:

Trigonometric derivatives: The derivatives of sine, cosine, and tangent functions form the foundation for differentiating all trigonometric expressions. These derivatives are derived using the limit definition and fundamental trigonometric identities.

Periodic behavior: Since trigonometric functions are periodic, their derivatives inherit this periodicity. The derivatives of sine and cosine have the same period \(2\pi\), while the derivative of tangent has period \(\pi\).

Geometric interpretation: The derivative of sine at a point represents the slope of the tangent line to the sine curve at that point, which corresponds to the cosine value.

Harmonic functions: Sine and cosine are solutions to the differential equation \(y'' + y = 0\), which explains their relationship through differentiation.

Complete methodology:
  1. Memorize basic derivatives: Know \(\sin'(x) = \cos(x)\), \(\cos'(x) = -\sin(x)\), \(\tan'(x) = \sec^2(x)\)
  2. Apply chain rule: For \(\sin(f(x))\), use \(\cos(f(x)) \cdot f'(x)\)
  3. Use product/quotient rules: When combining with other functions
  4. Simplify with identities: Use trigonometric identities to express results in standard forms
  5. Verify domains: Ensure derivatives are defined where original functions are defined
Tip 1: Remember the sign pattern: sine to cosine (positive), cosine to negative sine (negative).
Tip 2: The tangent derivative is always positive since it equals \(\sec^2(x)\).
Tip 3: Use the cyclic pattern: \(\sin \to \cos \to -\sin \to -\cos \to \sin\).
Tip 4: Always consider domain restrictions for tangent, secant, cosecant, and cotangent functions.
Common errors: Forgetting the negative sign in cosine derivative, misapplying chain rule, not considering domain restrictions, confusing which function has which derivative.
Exam preparation: Practice with various combinations, master chain rule applications, and memorize the basic derivatives thoroughly.
Extended Derivatives:

• Cosecant: \(\frac{d}{dx}[\csc(x)] = -\csc(x)\cot(x)\)

• Secant: \(\frac{d}{dx}[\sec(x)] = \sec(x)\tan(x)\)

• Cotangent: \(\frac{d}{dx}[\cot(x)] = -\csc^2(x)\)

Visual Representation: Trigonometric Derivatives
Trigonometric Function Behavior
Visual comparison of sine, cosine, and their derivatives:

Analysis: The chart shows how the derivatives of trigonometric functions relate to the original functions.

  • Maxima/minima of sine correspond to zeros of cosine
  • Maxima/minima of cosine correspond to zeros of sine
  • The tangent derivative is always positive

Questions & Answers

Question: Why is the derivative of cosine negative sine? It seems arbitrary compared to sine being positive cosine.

Answer: It's not arbitrary - it follows directly from the definition and the cosine addition formula:

Starting with the definition: \(\frac{d}{dx}[\cos(x)] = \lim_{h \to 0} \frac{\cos(x+h) - \cos(x)}{h}\)

Using the cosine addition formula: \(\cos(x+h) = \cos(x)\cos(h) - \sin(x)\sin(h)\)

So: \(\frac{d}{dx}[\cos(x)] = \lim_{h \to 0} \frac{\cos(x)\cos(h) - \sin(x)\sin(h) - \cos(x)}{h}\)

\(= \lim_{h \to 0} \frac{\cos(x)[\cos(h) - 1] - \sin(x)\sin(h)}{h}\)

\(= \cos(x) \cdot \lim_{h \to 0} \frac{\cos(h) - 1}{h} - \sin(x) \cdot \lim_{h \to 0} \frac{\sin(h)}{h}\)

\(= \cos(x) \cdot 0 - \sin(x) \cdot 1 = -\sin(x)\)

The negative sign comes from the minus in the cosine addition formula: \(\cos(A+B) = \cos A \cos B - \sin A \sin B\).

Question: How do I remember the derivatives of all six trigonometric functions?

Answer: Focus on the three basic ones and derive the others:

Basic three (memorize):

  • \(\frac{d}{dx}[\sin(x)] = \cos(x)\)
  • \(\frac{d}{dx}[\cos(x)] = -\sin(x)\)
  • \(\frac{d}{dx}[\tan(x)] = \sec^2(x)\)

Derive the others:

  • \(\frac{d}{dx}[\cot(x)] = \frac{d}{dx}\left[\frac{1}{\tan(x)}\right] = -\csc^2(x)\) (using quotient rule)
  • \(\frac{d}{dx}[\sec(x)] = \frac{d}{dx}\left[\frac{1}{\cos(x)}\right] = \sec(x)\tan(x)\)
  • \(\frac{d}{dx}[\csc(x)] = \frac{d}{dx}\left[\frac{1}{\sin(x)}\right] = -\csc(x)\cot(x)\)

Also notice the pattern: derivatives of cofunctions have negative signs, and each derivative contains the original function.

Question: Do these rules apply to functions like \(\sin(2x)\) or \(\cos(x^2)\)?

Answer: Yes, but you need the chain rule in addition to the basic trigonometric derivatives:

For \(\sin(2x)\): \(\frac{d}{dx}[\sin(2x)] = \cos(2x) \cdot \frac{d}{dx}[2x] = \cos(2x) \cdot 2 = 2\cos(2x)\)

For \(\cos(x^2)\): \(\frac{d}{dx}[\cos(x^2)] = -\sin(x^2) \cdot \frac{d}{dx}[x^2] = -\sin(x^2) \cdot 2x = -2x\sin(x^2)\)

The basic derivatives still apply to the outer function, but you must multiply by the derivative of the inner function (chain rule).

General form: \(\frac{d}{dx}[\sin(u(x))] = \cos(u(x)) \cdot u'(x)\)

Question: How are these derivatives related to the Taylor series expansions of trigonometric functions?

Answer: The derivatives are intimately connected to Taylor series:

For \(\sin(x) = x - \frac{x^3}{3!} + \frac{x^5}{5!} - \frac{x^7}{7!} + \cdots\)

Taking the derivative term by term: \(1 - \frac{3x^2}{3!} + \frac{5x^4}{5!} - \frac{7x^6}{7!} + \cdots = 1 - \frac{x^2}{2!} + \frac{x^4}{4!} - \frac{x^6}{6!} + \cdots = \cos(x)\)

This confirms that \(\frac{d}{dx}[\sin(x)] = \cos(x)\).

Similarly, differentiating the cosine series gives the negative sine series. This connection shows that the derivative relationships are inherent in the function definitions themselves.

The periodicity of the derivatives (every 4 applications, you return to the original function) is reflected in the cyclic nature of the Taylor coefficients.

Question: How are these concepts applied in physics and engineering?

Answer: Trigonometric derivatives are fundamental in many applications:

Physics:

  • Simple harmonic motion: position \(x(t) = A\sin(\omega t)\), velocity \(v(t) = A\omega\cos(\omega t)\), acceleration \(a(t) = -A\omega^2\sin(\omega t)\)
  • Wave equations: involve second derivatives of sine/cosine functions
  • AC circuits: voltage and current are sinusoidal functions of time

Engineering:

  • Signal processing: Fourier transforms decompose signals into sinusoidal components
  • Mechanical vibrations: modeling oscillatory systems
  • Control theory: sinusoidal inputs and responses

The relationship \(\frac{d}{dt}[\sin(t)] = \cos(t)\) is fundamental to understanding how oscillating systems change over time.