SOLVER7 Study. Nothing Else.
Exercise 5.7 Q3

Find the second order derivatives of the functions given in Exercises 1 to 10. \(x . cos x\)

CBSE Class 12 Maths · Continuity and Differentiability

Solution

👶 Simple Explanation

Simple Explanation

Imagine you are tracking a car's journey. The function \( y = x\cos x \) describes its position. Differentiating once tells you how fast it moves — its speed. Differentiating a second time tells you how quickly that speed changes — its acceleration. Each time we differentiate, we use a simple rule for multiplying two things together. After doing this twice carefully, the acceleration works out to \[ \frac{d^2y}{dx^2} = -x\cos x - 2\sin x \] This double-differentiation idea is very common in physics and engineering.

Answer: \[ \frac{d^2y}{dx^2} = -x\cos x - 2\sin x \]

📖 Second Order Derivative of x·cos x

Detailed Explanation

The second order derivative means we differentiate the function twice. First we find \( \frac{dy}{dx} \) (the first derivative), then we differentiate that result again to get \( \frac{d^2y}{dx^2} \) (the second derivative). Since our function \( y = x\cos x \) is a product of two functions, \( x \) and \( \cos x \), we must use the product rule at each stage. Recall that \( \frac{d}{dx}(\cos x) = -\sin x \) and \( \frac{d}{dx}(\sin x) = \cos x \).

Formula Used

Product rule: \( \frac{d}{dx}(u\,v) = u\,\frac{dv}{dx} + v\,\frac{du}{dx} \). Also \( \frac{d}{dx}(\cos x) = -\sin x \) and \( \frac{d}{dx}(\sin x) = \cos x \).

Solution

  1. Step 1: Let the function be \( y = x\cos x \). Here we treat it as a product of \( u = x \) and \( v = \cos x \), so the product rule applies.
  2. Step 2: Differentiate once using the product rule: \[ \frac{dy}{dx} = x\cdot\frac{d}{dx}(\cos x) + \cos x\cdot\frac{d}{dx}(x) \] Since \( \frac{d}{dx}(\cos x) = -\sin x \) and \( \frac{d}{dx}(x) = 1 \), we get \[ \frac{dy}{dx} = -x\sin x + \cos x. \]
  3. Step 3: Now differentiate \( \frac{dy}{dx} = -x\sin x + \cos x \) again to find the second derivative. Differentiate term by term. For the term \( -x\sin x \), apply the product rule once more: \[ \frac{d}{dx}(-x\sin x) = -\left(x\cos x + \sin x\cdot 1\right) = -x\cos x - \sin x. \]
  4. Step 4: For the term \( \cos x \), we have \[ \frac{d}{dx}(\cos x) = -\sin x. \] Add both results together: \[ \frac{d^2y}{dx^2} = -x\cos x - \sin x - \sin x. \]
  5. Step 5: Combine the like terms \( -\sin x - \sin x = -2\sin x \) to get the final simplified second derivative: \[ \frac{d^2y}{dx^2} = -x\cos x - 2\sin x. \]

Final Answer

\[ \frac{d^2y}{dx^2} = -x\cos x - 2\sin x \]

Common Mistake

A very common mistake is forgetting to apply the product rule a second time to the term \( -x\sin x \), and instead writing only \( -x\cos x \). This drops the \( -\sin x \) part, leading to a wrong count of the \( \sin x \) terms and giving \( -x\cos x - \sin x \) instead of the correct \( -x\cos x - 2\sin x \).

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Identify the given function: \( y = x\cos x \). — Reason: Recognising that \( y \) is a product of \( u = x \) and \( v = \cos x \) tells us we must use the product rule for the first differentiation.
  2. Step 2: Apply the product rule to find the first derivative: \[ \frac{dy}{dx} = x \cdot \frac{d}{dx}(\cos x) + \cos x \cdot \frac{d}{dx}(x) \] Substituting \( \frac{d}{dx}(\cos x) = -\sin x \) and \( \frac{d}{dx}(x) = 1 \): \[ \frac{dy}{dx} = -x\sin x + \cos x \] — Reason: The product rule ensures neither part of the product is ignored during differentiation.
  3. Step 3: To find the second derivative, differentiate \( \frac{dy}{dx} = -x\sin x + \cos x \) term by term. First handle \( -x\sin x \) using the product rule again, with \( u = -x \) and \( v = \sin x \): \[ \frac{d}{dx}(-x\sin x) = (-x)\cdot\frac{d}{dx}(\sin x) + \sin x \cdot\frac{d}{dx}(-x) \] — Reason: Since \( -x\sin x \) is still a product of two functions, the product rule must be applied once more.
  4. Step 4: Substitute \( \frac{d}{dx}(\sin x) = \cos x \) and \( \frac{d}{dx}(-x) = -1 \): \[ \frac{d}{dx}(-x\sin x) = -x\cos x + \sin x \cdot (-1) = -x\cos x - \sin x \] — Reason: Correctly applying known derivatives avoids sign errors, which are the most common mistakes in this step.
  5. Step 5: Now differentiate the second term \( \cos x \): \[ \frac{d}{dx}(\cos x) = -\sin x \] — Reason: This is a standard result that must be added to the result from Step 4 to complete the second derivative.
  6. Step 6: Combine both results to form the second derivative: \[ \frac{d^2y}{dx^2} = (-x\cos x - \sin x) + (-\sin x) \] Simplifying by collecting like terms: \[ \frac{d^2y}{dx^2} = -x\cos x - 2\sin x \] — Reason: Adding the two \( \sin x \) terms together gives the final simplified answer.

Final Answer

\[ \frac{d^2y}{dx^2} = -x\cos x - 2\sin x \]

Common Mistake

One common mistake: When differentiating \( -x\sin x \) in Step 3, students often forget to apply the product rule and incorrectly write \( \frac{d}{dx}(-x\sin x) = -\cos x \), missing the \( -\sin x \) term entirely, which leads to a wrong final answer.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Given: \( y = x\cos x \). Differentiating using the product rule: \[ \frac{dy}{dx} = x(-\sin x) + \cos x(1) = -x\sin x + \cos x \]
  2. Step 2: Differentiating \( -x\sin x \) using the product rule: \[ \frac{d}{dx}(-x\sin x) = -(x\cos x + \sin x) = -x\cos x - \sin x \]
  3. Step 3: Differentiating \( \cos x \): \( \frac{d}{dx}(\cos x) = -\sin x \). Adding both terms: \[ \frac{d^2y}{dx^2} = -x\cos x - \sin x - \sin x = -x\cos x - 2\sin x \]

Answer: \[ \frac{d^2y}{dx^2} = -x\cos x - 2\sin x \]

➕ More Examples

More Examples

Example 1

Question: Find the second order derivative of the function \( y = x \sin x \).

Solution: We have \( y = x \sin x \). Step 1: Find the first derivative using the product rule, treating \( u = x \) and \( v = \sin x \). \[\frac{dy}{dx} = (1)\cdot\sin x + x \cdot \cos x\] So the first derivative is: \[\frac{dy}{dx} = \sin x + x\cos x\] Step 2: Differentiate again to find the second order derivative. Differentiate \( \sin x \) directly, and apply the product rule to \( x \cos x \). \[\frac{d^2y}{dx^2} = \frac{d}{dx}(\sin x) + \frac{d}{dx}(x \cos x)\] Differentiating \( x \cos x \) using the product rule: \[\frac{d}{dx}(x \cos x) = (1)\cdot\cos x + x\cdot(-\sin x) = \cos x - x\sin x\] Therefore: \[\frac{d^2y}{dx^2} = \cos x + \cos x - x\sin x\] \[\frac{d^2y}{dx^2} = 2\cos x - x\sin x\]

Answer: \( \frac{d^2y}{dx^2} = 2\cos x - x\sin x \)

Example 2

Question: Find the second order derivative of the function \( y = x^2 \sin x \).

Solution: We have \( y = x^2 \sin x \). Step 1: Find the first derivative using the product rule, treating \( u = x^2 \) and \( v = \sin x \). \[\frac{dy}{dx} = 2x \cdot \sin x + x^2 \cdot \cos x\] So the first derivative is: \[\frac{dy}{dx} = 2x\sin x + x^2\cos x\] Step 2: Differentiate again to find the second order derivative. Apply the product rule to both terms. \[\frac{d^2y}{dx^2} = \frac{d}{dx}(2x\sin x) + \frac{d}{dx}(x^2\cos x)\] Differentiating \( 2x\sin x \) using the product rule: \[\frac{d}{dx}(2x\sin x) = 2\sin x + 2x\cos x\] Differentiating \( x^2\cos x \) using the product rule: \[\frac{d}{dx}(x^2\cos x) = 2x\cos x + x^2\cdot(-\sin x) = 2x\cos x - x^2\sin x\] Adding both parts: \[\frac{d^2y}{dx^2} = 2\sin x + 2x\cos x + 2x\cos x - x^2\sin x\] \[\frac{d^2y}{dx^2} = 2\sin x + 4x\cos x - x^2\sin x\] Factoring where possible: \[\frac{d^2y}{dx^2} = (2 - x^2)\sin x + 4x\cos x\]

Answer: \( \frac{d^2y}{dx^2} = (2 - x^2)\sin x + 4x\cos x \)

🎯 Try a Similar Question

Try a Similar Question

Question: Find the second order derivative of the function \( y = x \sin x \).

Solution

  1. Step 1: Identify the function and apply the Product Rule for the first derivative: We have \( y = x \sin x \). Let \( u = x \) and \( v = \sin x \), so \( u' = 1 \) and \( v' = \cos x \). Applying the product rule: \[ \frac{dy}{dx} = u'v + uv' = (1)(\sin x) + (x)(\cos x) \] Thus: \[ \frac{dy}{dx} = \sin x + x\cos x \]
  2. Step 2: Differentiate again to find the second order derivative: Differentiate \( \frac{dy}{dx} = \sin x + x\cos x \) with respect to \( x \): \[ \frac{d^2y}{dx^2} = \frac{d}{dx}(\sin x) + \frac{d}{dx}(x\cos x) \] The first term gives \( \cos x \). For the second term, apply the product rule with \( u = x \) and \( v = \cos x \): \[ \frac{d}{dx}(x \cos x) = (1)(\cos x) + (x)(-\sin x) = \cos x - x\sin x \]
  3. Step 3: Combine the results: Adding both parts together: \[ \frac{d^2y}{dx^2} = \cos x + \cos x - x\sin x \] Simplifying: \[ \frac{d^2y}{dx^2} = 2\cos x - x\sin x \]

Answer: \[ \frac{d^2y}{dx^2} = 2\cos x - x\sin x \]

Everything you get with Solver7

More questions in Continuity and Differentiability

Chapter 5 Examples Q1 Chapter 5 Examples Q2 Chapter 5 Examples Q3 65/1/1 2024 / Section A Q3 Chapter 5 Examples Q4 65/2/1 2024 / Section A Q4 65/3/1 2024 / Section A Q4 Chapter 5 Examples Q5 65/4/1 2026 / Section A Q5 Chapter 5 Examples Q6 65(B) 2026 / Section A Q6 65/4/1 2023 / Section A Q6 65/4/2 2024 / Section A Q6 65/5/1 2026 / Section A Q6 Chapter 5 Examples Q7 65/3/1 2026 / Section A Q7 65/4/1 2023 / Section A Q7 65/4/1 2026 / Section A Q7 65/4/2 2024 / Section A Q7 Chapter 5 Examples Q8 65/4/1 2026 / Section A Q8 65/5/1 2026 / Section A Q8 Chapter 5 Examples Q9 Chapter 5 Examples Q10 Chapter 5 Examples Q11 65/2/2 2023 / Section A Q11 65/2/3 2026 / Section A Q11 Chapter 5 Examples Q12 65/2/2 2023 / Section A Q12 Chapter 5 Examples Q13 65/1/1 2023 / Section A Q13 65/1/1 2024 / Section A Q13 65/2/1 2024 / Section A Q13 Chapter 5 Examples Q14 65/3/1 2024 / Section A Q14 Chapter 5 Examples Q15 65/3/1 2023 / Section A Q15 Chapter 5 Examples Q16 65/3/1 2023 / Section A Q16 Chapter 5 Examples Q17 Chapter 5 Examples Q18 Chapter 5 Examples Q19 Chapter 5 Examples Q20 Chapter 5 Examples Q21 65/1/1 2024 / Section B Q21(a) 65/1/1 2026 / Section B Q21(a) 65/3/1 2026 / Section B Q21 Chapter 5 Examples Q22 65/1/1 2024 / Section B Q21(b) 65/1/1 2026 / Section B Q21(b) 65/3/1 2024 / Section B Q22(a) 65/4/1 2026 / Section B Q22(a) 65/5/1 2026 / Section B Q22(a) Chapter 5 Examples Q23 65/2/1 2024 / Section B Q22(a) 65/3/1 2024 / Section B Q22(b) 65/4/1 2023 / Section B Q22 65/4/1 2026 / Section B Q22(b) 65/5/1 2026 / Section B Q22(b) Chapter 5 Examples Q24