SOLVER7 Study. Nothing Else.
Miscellaneous Exercise Chapter 9 Q2(ii)

For each of the exercises given below, verify that the given function (implicit or explicit) is a solution of the corresponding differential equation. \(y=e^x\ (a\ cos\ x+b\ sin\ x)\ : \dfrac{d^2\ y}{dx^2}-2\dfrac{dy}{dx}+2y=0\)

CBSE Class 12 Maths · Differential Equations

Solution

👶 Simple Explanation

Simple Explanation

Imagine you have a special recipe and want to check if a particular ingredient works. You do not invent a new recipe — you just try the ingredient and see if the dish tastes right. Here, the differential equation is the recipe, and \( y = e^x(a\cos x + b\sin x) \) is the ingredient. We find its derivatives and plug them in. If everything cancels out to zero, the ingredient fits perfectly and the function truly is a solution.

Answer: Since \( \frac{d^2y}{dx^2} - 2\frac{dy}{dx} + 2y = 0 \) is satisfied, the function \( y = e^x(a\cos x + b\sin x) \) is a solution of the given differential equation.

📖 Verifying a Solution of a Second-Order Differential Equation

Detailed Explanation

To verify that a function is a solution of a differential equation, we do NOT solve the equation. Instead, we take the given function, find the derivatives that appear in the equation (here the first and second derivatives), and substitute them into the left-hand side. If the left-hand side simplifies to the right-hand side (here 0), the function is indeed a solution. For the function \( y = e^x (a\cos x + b\sin x) \), we must use the product rule of differentiation carefully, because it is a product of \( e^x \) and a trigonometric expression.

Formula Used

Product rule: \( \frac{d}{dx}(uv) = u'v + uv' \). Also \( \frac{d}{dx}(e^x) = e^x \), \( \frac{d}{dx}(\cos x) = -\sin x \), \( \frac{d}{dx}(\sin x) = \cos x \).

Solution

  1. Step 1: Write down the given function. \[ y = e^x (a\cos x + b\sin x) \] Here \( a \) and \( b \) are arbitrary constants. We need to check whether it satisfies \( \frac{d^2y}{dx^2} - 2\frac{dy}{dx} + 2y = 0 \).
  2. Step 2: Differentiate \( y \) once using the product rule, treating \( e^x \) and \( (a\cos x + b\sin x) \) as the two factors. \[ \frac{dy}{dx} = e^x (a\cos x + b\sin x) + e^x (-a\sin x + b\cos x) \] Notice the first term is just \( y \). So \[ \frac{dy}{dx} = y + e^x (-a\sin x + b\cos x) \]
  3. Step 3: Differentiate again to get the second derivative. Differentiate \( \frac{dy}{dx} = y + e^x(-a\sin x + b\cos x) \). \[ \frac{d^2y}{dx^2} = \frac{dy}{dx} + e^x(-a\sin x + b\cos x) + e^x(-a\cos x - b\sin x) \] The term \( e^x(-a\sin x + b\cos x) \) equals \( \frac{dy}{dx} - y \) (from Step 2), and \( e^x(-a\cos x - b\sin x) = -y \). So \[ \frac{d^2y}{dx^2} = \frac{dy}{dx} + \left(\frac{dy}{dx} - y\right) - y \] which gives \[ \frac{d^2y}{dx^2} = 2\frac{dy}{dx} - 2y \]
  4. Step 4: Substitute into the left-hand side of the differential equation. \[ \frac{d^2y}{dx^2} - 2\frac{dy}{dx} + 2y \] Replace \( \frac{d^2y}{dx^2} \) with \( 2\frac{dy}{dx} - 2y \). \[ = \left(2\frac{dy}{dx} - 2y\right) - 2\frac{dy}{dx} + 2y \]
  5. Step 5: Simplify the expression. \[ = 2\frac{dy}{dx} - 2y - 2\frac{dy}{dx} + 2y = 0 \] The left-hand side equals the right-hand side, so the equation is satisfied.

Final Answer

Since \( \frac{d^2y}{dx^2} - 2\frac{dy}{dx} + 2y = 0 \) is satisfied, the function \( y = e^x(a\cos x + b\sin x) \) is a solution of the given differential equation.

Common Mistake

A common mistake is forgetting to apply the product rule and differentiating only one factor, for example writing \( \frac{dy}{dx} = e^x(-a\sin x + b\cos x) \) and dropping the \( e^x(a\cos x + b\sin x) \) term. Both factors must be differentiated because \( y \) is a product.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Write down the given function and the equation to verify: \[y = e^x(a\cos x + b\sin x)\] We must check whether this satisfies \[\frac{d^2y}{dx^2} - 2\frac{dy}{dx} + 2y = 0\] — Reason: Clearly stating the function and the target equation keeps the verification organised and avoids confusion later.
  2. Step 2: Differentiate \(y\) once using the product rule, with \(u = e^x\) and \(v = a\cos x + b\sin x\): \[\frac{dy}{dx} = e^x(a\cos x + b\sin x) + e^x(-a\sin x + b\cos x)\] Since the first term is simply \(y\), write: \[\frac{dy}{dx} = y + e^x(-a\sin x + b\cos x)\] — Reason: Recognising the first term as \(y\) simplifies later substitution into the differential equation.
  3. Step 3: Differentiate \(\frac{dy}{dx} = y + e^x(-a\sin x + b\cos x)\) again to get the second derivative. Apply the product rule to \(e^x(-a\sin x + b\cos x)\): \[\frac{d^2y}{dx^2} = \frac{dy}{dx} + e^x(-a\sin x + b\cos x) + e^x(-a\cos x - b\sin x)\] — Reason: Each term is differentiated separately; the product rule must be applied again to the exponential-trigonometric product.
  4. Step 4: Simplify the second derivative by grouping. Notice that \(e^x(-a\cos x - b\sin x) = -e^x(a\cos x + b\sin x) = -y\), so: \[\frac{d^2y}{dx^2} = \frac{dy}{dx} + e^x(-a\sin x + b\cos x) - y\] Also, from Step 2, \(e^x(-a\sin x + b\cos x) = \frac{dy}{dx} - y\). Substituting this: \[\frac{d^2y}{dx^2} = \frac{dy}{dx} + \left(\frac{dy}{dx} - y\right) - y\] which gives \[\frac{d^2y}{dx^2} = 2\frac{dy}{dx} - 2y\] — Reason: Expressing every term in terms of \(y\) and \(\frac{dy}{dx}\) avoids carrying long trigonometric expressions into the final substitution.
  5. Step 5: Substitute the expressions for \(\frac{d^2y}{dx^2}\), \(\frac{dy}{dx}\), and \(y\) into the left-hand side of the differential equation: \[\frac{d^2y}{dx^2} - 2\frac{dy}{dx} + 2y = \left(2\frac{dy}{dx} - 2y\right) - 2\frac{dy}{dx} + 2y\] Simplifying: \[= 2\frac{dy}{dx} - 2y - 2\frac{dy}{dx} + 2y = 0\] — Reason: Substituting into the left-hand side and reducing to zero is the conclusive check that the function satisfies the equation.

Final Answer

Since \( \frac{d^2y}{dx^2} - 2\frac{dy}{dx} + 2y = 0 \) is satisfied, the function \( y = e^x(a\cos x + b\sin x) \) is a solution of the given differential equation.

Common Mistake

One common mistake: students often forget to apply the product rule a second time when computing \( \frac{d^2y}{dx^2} \), incorrectly treating \( e^x(-a\sin x + b\cos x) \) as a single undifferentiated block, which gives a wrong second derivative.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Given: \[ y = e^x(a\cos x + b\sin x) \] Differentiate using product rule: \[ \frac{dy}{dx} = e^x(a\cos x + b\sin x) + e^x(-a\sin x + b\cos x) = y + e^x(-a\sin x + b\cos x) \]
  2. Step 2: Differentiate again: \[ \frac{d^2y}{dx^2} = \frac{dy}{dx} + e^x(-a\sin x + b\cos x) + e^x(-a\cos x - b\sin x) \] \[ \frac{d^2y}{dx^2} = \frac{dy}{dx} + e^x(-a\sin x + b\cos x) - y \]
  3. Step 3: Substitute into the left-hand side \( \frac{d^2y}{dx^2} - 2\frac{dy}{dx} + 2y \): \[ = \left[\frac{dy}{dx} + e^x(-a\sin x + b\cos x) - y\right] - 2\frac{dy}{dx} + 2y \] \[ = -\frac{dy}{dx} + e^x(-a\sin x + b\cos x) + y \] \[ = -\left[y + e^x(-a\sin x + b\cos x)\right] + e^x(-a\sin x + b\cos x) + y = 0 \]

Answer: Since \( \frac{d^2y}{dx^2} - 2\frac{dy}{dx} + 2y = 0 \) is satisfied, the function \( y = e^x(a\cos x + b\sin x) \) is a solution of the given differential equation.

➕ More Examples

More Examples

Example 1

Question: Verify that \( y = e^{2x}(a \cos 3x + b \sin 3x) \) is a solution of the differential equation \[ \frac{d^2y}{dx^2} - 4\frac{dy}{dx} + 13y = 0 \] where \( a \) and \( b \) are arbitrary constants.

Solution: We are given \( y = e^{2x}(a \cos 3x + b \sin 3x) \). Differentiate once using the product rule: \[ \frac{dy}{dx} = 2e^{2x}(a \cos 3x + b \sin 3x) + e^{2x}(-3a \sin 3x + 3b \cos 3x) \] Grouping terms: \[ \frac{dy}{dx} = e^{2x}\bigl[(2a + 3b)\cos 3x + (2b - 3a)\sin 3x\bigr] \] Let \( A = 2a + 3b \) and \( B = 2b - 3a \) for convenience, so: \[ \frac{dy}{dx} = e^{2x}(A \cos 3x + B \sin 3x) \] Differentiate again: \[ \frac{d^2y}{dx^2} = 2e^{2x}(A \cos 3x + B \sin 3x) + e^{2x}(-3A \sin 3x + 3B \cos 3x) \] \[ \frac{d^2y}{dx^2} = e^{2x}\bigl[(2A + 3B)\cos 3x + (2B - 3A)\sin 3x\bigr] \] Now substitute into the LHS of the differential equation \( \frac{d^2y}{dx^2} - 4\frac{dy}{dx} + 13y \): \[ \text{LHS} = e^{2x}\bigl[(2A+3B)\cos 3x + (2B-3A)\sin 3x\bigr] - 4e^{2x}(A\cos 3x + B\sin 3x) + 13e^{2x}(a\cos 3x + b\sin 3x) \] Collect the \( \cos 3x \) coefficient: \[ (2A + 3B) - 4A + 13a = -2A + 3B + 13a \] Substituting \( A = 2a+3b \) and \( B = 2b-3a \): \[ -2(2a+3b) + 3(2b-3a) + 13a = -4a - 6b + 6b - 9a + 13a = 0 \] Collect the \( \sin 3x \) coefficient: \[ (2B - 3A) - 4B + 13b = -2B - 3A + 13b \] Substituting \( A = 2a+3b \) and \( B = 2b-3a \): \[ -2(2b-3a) - 3(2a+3b) + 13b = -4b + 6a - 6a - 9b + 13b = 0 \] Since both coefficients vanish, LHS = 0 = RHS. Hence \( y = e^{2x}(a\cos 3x + b\sin 3x) \) is a verified solution.

Answer: Verified: \( y = e^{2x}(a\cos 3x + b\sin 3x) \) satisfies \( \frac{d^2y}{dx^2} - 4\frac{dy}{dx} + 13y = 0 \).

Example 2

Question: Verify that \( y = e^{-x}(c \cos 2x + d \sin 2x) \) is a solution of the differential equation \[ \frac{d^2y}{dx^2} + 2\frac{dy}{dx} + 5y = 0 \] where \( c \) and \( d \) are arbitrary constants.

Solution: We are given \( y = e^{-x}(c \cos 2x + d \sin 2x) \). Differentiate once using the product rule: \[ \frac{dy}{dx} = -e^{-x}(c\cos 2x + d\sin 2x) + e^{-x}(-2c\sin 2x + 2d\cos 2x) \] \[ \frac{dy}{dx} = e^{-x}\bigl[(-c + 2d)\cos 2x + (-d - 2c)\sin 2x\bigr] \] Let \( P = -c + 2d \) and \( Q = -d - 2c \), so: \[ \frac{dy}{dx} = e^{-x}(P\cos 2x + Q\sin 2x) \] Differentiate again: \[ \frac{d^2y}{dx^2} = -e^{-x}(P\cos 2x + Q\sin 2x) + e^{-x}(-2P\sin 2x + 2Q\cos 2x) \] \[ \frac{d^2y}{dx^2} = e^{-x}\bigl[(-P+2Q)\cos 2x + (-Q-2P)\sin 2x\bigr] \] Now substitute into the LHS of \( \frac{d^2y}{dx^2} + 2\frac{dy}{dx} + 5y \): Coefficient of \( e^{-x}\cos 2x \): \[ (-P + 2Q) + 2P + 5c = P + 2Q + 5c \] Substituting \( P = -c+2d \) and \( Q = -d-2c \): \[ (-c+2d) + 2(-d-2c) + 5c = -c + 2d - 2d - 4c + 5c = 0 \] Coefficient of \( e^{-x}\sin 2x \): \[ (-Q - 2P) + 2Q + 5d = Q - 2P + 5d \] Substituting \( P = -c+2d \) and \( Q = -d-2c \): \[ (-d-2c) - 2(-c+2d) + 5d = -d - 2c + 2c - 4d + 5d = 0 \] Both coefficients equal zero, so LHS = 0 = RHS. Hence \( y = e^{-x}(c\cos 2x + d\sin 2x) \) is a verified solution.

Answer: Verified: \( y = e^{-x}(c\cos 2x + d\sin 2x) \) satisfies \( \frac{d^2y}{dx^2} + 2\frac{dy}{dx} + 5y = 0 \).

🎯 Try a Similar Question

Try a Similar Question

Question: Verify that the function \( y = e^{2x}(a\cos 3x + b\sin 3x) \) is a solution of the differential equation \[ \frac{d^2y}{dx^2} - 4\frac{dy}{dx} + 13y = 0 \] where \( a \) and \( b \) are arbitrary constants.

Solution

  1. Step 1: Differentiate y once: Given \( y = e^{2x}(a\cos 3x + b\sin 3x) \), differentiate using the product rule: \[ \frac{dy}{dx} = 2e^{2x}(a\cos 3x + b\sin 3x) + e^{2x}(-3a\sin 3x + 3b\cos 3x) \] Grouping terms: \[ \frac{dy}{dx} = e^{2x}\bigl[(2a + 3b)\cos 3x + (2b - 3a)\sin 3x\bigr] \]
  2. Step 2: Differentiate y a second time: Let \( A = 2a + 3b \) and \( B = 2b - 3a \) for convenience, so \( \frac{dy}{dx} = e^{2x}(A\cos 3x + B\sin 3x) \). Applying the product rule again: \[ \frac{d^2y}{dx^2} = 2e^{2x}(A\cos 3x + B\sin 3x) + e^{2x}(-3A\sin 3x + 3B\cos 3x) \] \[ \frac{d^2y}{dx^2} = e^{2x}\bigl[(2A + 3B)\cos 3x + (2B - 3A)\sin 3x\bigr] \] Substituting \( A = 2a + 3b \) and \( B = 2b - 3a \): Coefficient of \( \cos 3x \): \( 2(2a+3b) + 3(2b-3a) = 4a + 6b + 6b - 9a = -5a + 12b \) Coefficient of \( \sin 3x \): \( 2(2b-3a) - 3(2a+3b) = 4b - 6a - 6a - 9b = -12a - 5b \) So: \[ \frac{d^2y}{dx^2} = e^{2x}\bigl[(-5a+12b)\cos 3x + (-12a-5b)\sin 3x\bigr] \]
  3. Step 3: Substitute into the differential equation: Now compute \( \frac{d^2y}{dx^2} - 4\frac{dy}{dx} + 13y \). Write each term explicitly: \( \frac{d^2y}{dx^2} = e^{2x}\bigl[(-5a+12b)\cos 3x + (-12a-5b)\sin 3x\bigr] \) \( -4\frac{dy}{dx} = -4e^{2x}\bigl[(2a+3b)\cos 3x + (2b-3a)\sin 3x\bigr] = e^{2x}\bigl[(-8a-12b)\cos 3x + (-8b+12a)\sin 3x\bigr] \) \( 13y = 13e^{2x}(a\cos 3x + b\sin 3x) = e^{2x}(13a\cos 3x + 13b\sin 3x) \)
  4. Step 4: Collect coefficients of cos 3x and sin 3x: Coefficient of \( e^{2x}\cos 3x \): \[ (-5a + 12b) + (-8a - 12b) + 13a = (-5a - 8a + 13a) + (12b - 12b) = 0 \] Coefficient of \( e^{2x}\sin 3x \): \[ (-12a - 5b) + (-8b + 12a) + 13b = (-12a + 12a) + (-5b - 8b + 13b) = 0 \] Both coefficients are zero, so: \[ \frac{d^2y}{dx^2} - 4\frac{dy}{dx} + 13y = 0 \]
  5. Step 5: Conclusion: Since substituting \( y = e^{2x}(a\cos 3x + b\sin 3x) \) and its derivatives into \( \frac{d^2y}{dx^2} - 4\frac{dy}{dx} + 13y \) yields 0, the given function is indeed a solution of the differential equation \( \frac{d^2y}{dx^2} - 4\frac{dy}{dx} + 13y = 0 \).

Answer: Since both the coefficient of \( \cos 3x \) and the coefficient of \( \sin 3x \) vanish upon substitution, we have \( \frac{d^2y}{dx^2} - 4\frac{dy}{dx} + 13y = 0 \) identically. Hence \( y = e^{2x}(a\cos 3x + b\sin 3x) \) is a solution of the differential equation \( \frac{d^2y}{dx^2} - 4\frac{dy}{dx} + 13y = 0 \).

Everything you get with Solver7

More questions in Differential Equations

Chapter 9 Examples Q1(i) 65/2/1 2022 / Section A Q1 Chapter 9 Examples Q1(ii) 65/2/2 2023 / Section A Q2 Chapter 9 Examples Q1(iii) 65/2/2 2023 / Section A Q3 Chapter 9 Examples Q2 Chapter 9 Examples Q3 Chapter 9 Examples Q4 Chapter 9 Examples Q5 65/1/1 2023 / Section A Q7 65/2/1 2024 / Section A Q7 65/3/1 2024 / Section A Q7 65/4/1 2022 / Section A Q5 Chapter 9 Examples Q6 65/1/1 2024 / Section A Q8 65/3/1 2023 / Section A Q8 Chapter 9 Examples Q7 65/3/1 2023 / Section A Q9 65/4/2 2024 / Section A Q9 Chapter 9 Examples Q8 65(B) 2026 / Section A Q10 65/4/1 2023 / Section A Q10 Chapter 9 Examples Q9 65(B) 2026 / Section A Q11 65/1/1 2026 / Section A Q11 65/2/1 2022 / Section B Q9 65/4/1 2023 / Section A Q11 Chapter 9 Examples Q10 65/1/1 2026 / Section A Q12 65/4/1 2026 / Section A Q12 Chapter 9 Examples Q11 65/3/1 2026 / Section A Q13 65/4/1 2026 / Section A Q13 65/4/2 2024 / Section A Q13 65/5/1 2026 / Section A Q13 Chapter 9 Examples Q12 65/1/1 2024 / Section A Q14 65/2/1 2024 / Section A Q14 65/5/1 2026 / Section A Q14 Chapter 9 Examples Q13 65/1/1 2023 / Section A Q15 65/2/3 2026 / Section A Q15 Chapter 9 Examples Q14 65/2/3 2026 / Section A Q16 65/4/1 2022 / Section C Q12(a) Chapter 9 Examples Q15 65/4/1 2022 / Section C Q12(b) Chapter 9 Examples Q16 Chapter 9 Examples Q17 65/3/1 2026 / Section A Q19 Chapter 9 Examples Q18 Chapter 9 Miscellaneous Examples Q19 Chapter 9 Miscellaneous Examples Q20 Chapter 9 Miscellaneous Examples Q21 Chapter 9 Miscellaneous Examples Q22 Exercise 9.1 Q1 Exercise 9.1 Q2 Exercise 9.1 Q3 Exercise 9.1 Q4