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
CBSE Class 12 Maths · Differential Equations
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.
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.
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\).
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.
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\).
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.
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.
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.
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.
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.
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 \).
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 \).