SOLVER7 Study. Nothing Else.
Chapter 9 Examples Q3

Verify that the function \(y=a\ cos\ x+b\ sin\ x,\) where , \(a,b\in R\) is a solution of the differential equation \(\dfrac{d^2y}{dx^2}+y=0\)

CBSE Class 12 Maths · Differential Equations

Solution

👶 Simple Explanation

Simple Explanation

Imagine you get a recipe and want to check if it really bakes the perfect cake. You follow the recipe, taste the result, and see if it matches. Here, the function \( y = a\cos x + b\sin x \) is like the recipe. We find its second derivative, which is like tasting the cake. When we add that second derivative back to \( y \), we get zero, exactly what the equation wants. So the recipe passes the test and the function is confirmed as a true solution.

Answer: Since substituting the derivatives gives \(\frac{d^2y}{dx^2}+y=0\), the function \(y=a\cos x+b\sin x\) is verified to be 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 required derivatives, and substitute them into the differential equation. If the left-hand side equals the right-hand side (here it should become \(0\)), then the function is indeed a solution. The given differential equation \(\frac{d^2y}{dx^2}+y=0\) is a second-order equation, so we need the second derivative \(\frac{d^2y}{dx^2}\). Since the function \(y=a\cos x+b\sin x\) contains two arbitrary constants \(a\) and \(b\), it is a general solution of this second-order equation.

Formula Used

Given \(y=a\cos x+b\sin x\). Use \(\frac{d}{dx}(\cos x)=-\sin x\) and \(\frac{d}{dx}(\sin x)=\cos x\). Verify \(\frac{d^2y}{dx^2}+y=0\).

Solution

  1. Step 1: Write the given function. \[y=a\cos x+b\sin x\] Here \(a\) and \(b\) are arbitrary real constants.
  2. Step 2: Differentiate \(y\) once with respect to \(x\). Using \(\frac{d}{dx}(\cos x)=-\sin x\) and \(\frac{d}{dx}(\sin x)=\cos x\), we get \[\frac{dy}{dx}=-a\sin x+b\cos x\]
  3. Step 3: Differentiate again to obtain the second derivative, since the equation is of order two. \[\frac{d^2y}{dx^2}=-a\cos x-b\sin x\]
  4. Step 4: Notice that the second derivative can be written in terms of \(y\). \[\frac{d^2y}{dx^2}=-(a\cos x+b\sin x)=-y\]
  5. Step 5: Substitute this into the left-hand side of the differential equation. \[\frac{d^2y}{dx^2}+y=-y+y=0\] This equals the right-hand side, so the equation is satisfied.

Final Answer

Since substituting the derivatives gives \(\frac{d^2y}{dx^2}+y=0\), the function \(y=a\cos x+b\sin x\) is verified to be a solution of the given differential equation.

Common Mistake

A common mistake is stopping at the first derivative or making a sign error when differentiating \(\cos x\). Remember \(\frac{d}{dx}(\cos x)=-\sin x\), so the second derivative must be \(-a\cos x-b\sin x\), which equals \(-y\).

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Write down the given function: \[ y = a\cos x + b\sin x \] — Reason: This is the function we are testing; it contains two arbitrary constants \( a \) and \( b \), which matches a second-order equation.
  2. Step 2: Differentiate \( y \) once with respect to \( x \) using standard trigonometric derivatives: \[ \frac{dy}{dx} = -a\sin x + b\cos x \] — Reason: The differential equation is of second order, so we need the first derivative as an intermediate step before computing the second derivative.
  3. Step 3: Differentiate \( \frac{dy}{dx} \) again with respect to \( x \) to get the second derivative: \[ \frac{d^2y}{dx^2} = -a\cos x - b\sin x \] — Reason: The given differential equation involves \( \frac{d^2y}{dx^2} \), so we must compute it before substitution.
  4. Step 4: Factor the second derivative to recognise it in terms of \( y \): \[ \frac{d^2y}{dx^2} = -(a\cos x + b\sin x) = -y \] — Reason: Expressing \( \frac{d^2y}{dx^2} \) in terms of \( y \) makes the substitution step clean and transparent.
  5. Step 5: Substitute \( \frac{d^2y}{dx^2} = -y \) into the left-hand side of the differential equation: \[ \frac{d^2y}{dx^2} + y = -y + y = 0 \] — Reason: If the left-hand side reduces to \( 0 \), it matches the right-hand side, confirming that the function satisfies the equation.

Final Answer

Since substituting the derivatives gives \(\frac{d^2y}{dx^2}+y=0\), the function \(y=a\cos x+b\sin x\) is verified to be a solution of the given differential equation.

Common Mistake

One common mistake: Students sometimes try to solve the differential equation from scratch instead of simply differentiating the given function and substituting — verification only requires substitution, not solving.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Given: \[y = a\cos x + b\sin x\]
  2. Step 2: First derivative: \[\frac{dy}{dx} = -a\sin x + b\cos x\]
  3. Step 3: Second derivative: \[\frac{d^2y}{dx^2} = -a\cos x - b\sin x = -y\]
  4. Step 4: Substituting into the LHS: \[\frac{d^2y}{dx^2} + y = -y + y = 0\]

Answer: Since substituting the derivatives gives \(\frac{d^2y}{dx^2}+y=0\), the function \(y=a\cos x+b\sin x\) is verified to be a solution of the given differential equation.

➕ More Examples

More Examples

Example 1

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

Solution: We are given \(y = e^{2x}(a\cos 3x + b\sin 3x)\). Step 1: Find the first derivative \(\frac{dy}{dx}\) 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]\] Step 2: Find the second derivative \(\frac{d^2y}{dx^2}\) by differentiating once more. \[\frac{d^2y}{dx^2} = 2e^{2x}\bigl[(2a+3b)\cos 3x + (2b-3a)\sin 3x\bigr] + e^{2x}\bigl[-3(2a+3b)\sin 3x + 3(2b-3a)\cos 3x\bigr]\] Collecting \(\cos 3x\) and \(\sin 3x\) terms: \[\frac{d^2y}{dx^2} = e^{2x}\bigl[(2(2a+3b) + 3(2b-3a))\cos 3x + (2(2b-3a) - 3(2a+3b))\sin 3x\bigr]\] Simplifying the coefficients: Coefficient of \(\cos 3x\): \(4a + 6b + 6b - 9a = -5a + 12b\) Coefficient of \(\sin 3x\): \(4b - 6a - 6a - 9b = -12a - 5b\) So: \[\frac{d^2y}{dx^2} = e^{2x}\bigl[(-5a+12b)\cos 3x + (-12a-5b)\sin 3x\bigr]\] Step 3: Now compute \(\frac{d^2y}{dx^2} - 4\frac{dy}{dx} + 13y\). We have: \[13y = 13e^{2x}(a\cos 3x + b\sin 3x) = e^{2x}(13a\cos 3x + 13b\sin 3x)\] \[-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]\] Adding all three parts — coefficient of \(e^{2x}\cos 3x\): \[(-5a+12b) + (-8a-12b) + 13a = -5a + 12b - 8a - 12b + 13a = 0\] Coefficient of \(e^{2x}\sin 3x\): \[(-12a-5b) + (-8b+12a) + 13b = -12a - 5b - 8b + 12a + 13b = 0\] Therefore: \[\frac{d^2y}{dx^2} - 4\frac{dy}{dx} + 13y = 0\] This is exactly the given differential equation, so the function is verified to be a solution.

Answer: The function \(y = e^{2x}(a\cos 3x + b\sin 3x)\) satisfies \(\frac{d^2y}{dx^2} - 4\frac{dy}{dx} + 13y = 0\), hence it is a solution.

Example 2

Question: Verify that the function \(y = (ax + b)e^{3x}\), where \(a, b \in \mathbb{R}\), is a solution of the differential equation \[\frac{d^2y}{dx^2} - 6\frac{dy}{dx} + 9y = 0\]

Solution: We are given \(y = (ax + b)e^{3x}\). Step 1: Find the first derivative using the product rule. \[\frac{dy}{dx} = a \cdot e^{3x} + (ax + b) \cdot 3e^{3x}\] \[\frac{dy}{dx} = e^{3x}\bigl[a + 3(ax + b)\bigr] = e^{3x}(3ax + a + 3b)\] Step 2: Find the second derivative. \[\frac{d^2y}{dx^2} = 3a \cdot e^{3x} + (3ax + a + 3b) \cdot 3e^{3x}\] \[\frac{d^2y}{dx^2} = e^{3x}\bigl[3a + 3(3ax + a + 3b)\bigr] = e^{3x}(9ax + 3a + 3a + 9b)\] \[\frac{d^2y}{dx^2} = e^{3x}(9ax + 6a + 9b)\] Step 3: Substitute into the left-hand side of the differential equation. \[\text{LHS} = \frac{d^2y}{dx^2} - 6\frac{dy}{dx} + 9y\] Compute each term: \[\frac{d^2y}{dx^2} = e^{3x}(9ax + 6a + 9b)\] \[-6\frac{dy}{dx} = -6e^{3x}(3ax + a + 3b) = e^{3x}(-18ax - 6a - 18b)\] \[9y = 9e^{3x}(ax + b) = e^{3x}(9ax + 9b)\] Adding all three: \[\text{LHS} = e^{3x}\bigl[(9ax - 18ax + 9ax) + (6a - 6a) + (9b - 18b + 9b)\bigr]\] Simplifying each group: Coefficient of \(ax\): \(9 - 18 + 9 = 0\) Constant involving \(a\): \(6a - 6a = 0\) Constant involving \(b\): \(9b - 18b + 9b = 0\) So: \[\text{LHS} = e^{3x}(0) = 0 = \text{RHS}\] The differential equation is satisfied for all values of \(a\) and \(b\), hence the function is verified to be a solution.

Answer: The function \(y = (ax + b)e^{3x}\) satisfies \(\frac{d^2y}{dx^2} - 6\frac{dy}{dx} + 9y = 0\), hence it is a solution.

🎯 Try a Similar Question

Try a Similar Question

Question: Verify that the function \( y = A e^{3x} + B e^{-3x} \), where \( A, B \in \mathbb{R} \), is a solution of the differential equation \( \frac{d^2y}{dx^2} - 9y = 0 \).

Solution

  1. Step 1: Write the given function: We are given \( y = A e^{3x} + B e^{-3x} \), where \( A \) and \( B \) are arbitrary real constants.
  2. Step 2: Find the first derivative: Differentiating \( y \) with respect to \( x \): \[ \frac{dy}{dx} = 3A e^{3x} - 3B e^{-3x} \]
  3. Step 3: Find the second derivative: Differentiating again with respect to \( x \): \[ \frac{d^2y}{dx^2} = 9A e^{3x} + 9B e^{-3x} \]
  4. Step 4: Substitute into the differential equation: Now substitute \( \frac{d^2y}{dx^2} \) and \( y \) into the left-hand side of \( \frac{d^2y}{dx^2} - 9y = 0 \): \[ \frac{d^2y}{dx^2} - 9y = \left(9A e^{3x} + 9B e^{-3x}\right) - 9\left(A e^{3x} + B e^{-3x}\right) \]
  5. Step 5: Simplify: Expanding and collecting terms: \[ = 9A e^{3x} + 9B e^{-3x} - 9A e^{3x} - 9B e^{-3x} = 0 \]
  6. Step 6: Conclusion: Since substituting \( y \) and \( \frac{d^2y}{dx^2} \) into the differential equation gives \( 0 = 0 \), the function \( y = A e^{3x} + B e^{-3x} \) is verified to be a solution of \( \frac{d^2y}{dx^2} - 9y = 0 \).

Answer: Since substituting the derivatives gives \( \frac{d^2y}{dx^2} - 9y = 0 \), the function \( y = A e^{3x} + B e^{-3x} \) is verified to be a solution of the differential equation \( \frac{d^2y}{dx^2} - 9y = 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 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 65/3/1 2023 / Section C Q26(a)