All Exams Test series for 1 year @ ₹349 only
Question

The differential equation, representing the curve \(y = e^x(a \cos x + b \sin x)\) where \(a\) and \(b\) are arbitrary constants, is

This question was previously asked in
NDA 2 2024 GAT Question Paper (01-Sep-2024)
The correct answer is
\(\frac{d^2y}{dx^2} - 2\frac{dy}{dx} + 2y = 0\)

Deriving the Differential Equation for \(y = e^x(a \cos x + b \sin x)\)

The problem asks us to find the differential equation that represents the curve given by the equation \(y = e^x(a \cos x + b \sin x)\), where a and b are arbitrary constants. To do this, we need to eliminate these constants by differentiating the equation twice and then combining the results.

Step 1: Calculate the First Derivative (\(\frac{dy}{dx}\))

We start with the given equation:

\(y = e^x(a \cos x + b \sin x)\)

To find the first derivative, \(\frac{dy}{dx}\), we use the product rule for differentiation, which states that \((uv)' = u'v + uv'\). Here, let \(u = e^x\) and \(v = a \cos x + b \sin x\). Then \(u' = e^x\) and \(v' = -a \sin x + b \cos x\).

Applying the product rule:

\(\frac{dy}{dx} = \frac{d}{dx}(e^x) \cdot (a \cos x + b \sin x) + e^x \cdot \frac{d}{dx}(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)\)

Factor out \(e^x\):

\(\frac{dy}{dx} = e^x [ (a \cos x + b \sin x) + (-a \sin x + b \cos x) ]\)

Combine like terms inside the bracket:

\(\frac{dy}{dx} = e^x [ (a+b) \cos x + (b-a) \sin x ]\)

Let's call this Equation (1).

Step 2: Calculate the Second Derivative (\(\frac{d^2y}{dx^2}\))

Now, we differentiate \(\frac{dy}{dx}\) with respect to \(x\) to find the second derivative, \(\frac{d^2y}{dx^2}\). We apply the product rule again. Let \(u = e^x\) and \(v = (a+b) \cos x + (b-a) \sin x\). Then \(u' = e^x\) and \(v' = -(a+b) \sin x + (b-a) \cos x\).

\(\frac{d^2y}{dx^2} = \frac{d}{dx}(e^x) \cdot [(a+b) \cos x + (b-a) \sin x] + e^x \cdot \frac{d}{dx}[(a+b) \cos x + (b-a) \sin x]\) \(\frac{d^2y}{dx^2} = e^x [(a+b) \cos x + (b-a) \sin x] + e^x [-(a+b) \sin x + (b-a) \cos x]\)

Factor out \(e^x\):

\(\frac{d^2y}{dx^2} = e^x [ (a+b) \cos x + (b-a) \sin x - (a+b) \sin x + (b-a) \cos x ]\)

Combine like terms inside the bracket:

\(\frac{d^2y}{dx^2} = e^x [ (a+b + b-a) \cos x + (b-a - a-b) \sin x ]\) \(\frac{d^2y}{dx^2} = e^x [ 2b \cos x - 2a \sin x ]\) \(\frac{d^2y}{dx^2} = 2e^x (b \cos x - a \sin x)\)

Let's call this Equation (2).

Step 3: Eliminate the Arbitrary Constants (\(a\) and \(b\))

We have the following equations:

  • \(y = e^x(a \cos x + b \sin x)\) ... (Original Equation)
  • \(\frac{dy}{dx} = e^x[(a+b) \cos x + (b-a) \sin x]\) ... (Equation 1)
  • \(\frac{d^2y}{dx^2} = 2e^x(b \cos x - a \sin x)\) ... (Equation 2)

Let's try to express Equation (2) in terms of \(y\) and \(\frac{dy}{dx}\).

From Equation (2), we can see:

\(\frac{1}{2} \frac{d^2y}{dx^2} = e^x(b \cos x - a \sin x)\)

Now, let's rearrange Equation (1):

\(\frac{1}{e^x} \frac{dy}{dx} = (a+b) \cos x + (b-a) \sin x\)

Let's rewrite the original equation:

\(\frac{1}{e^x} y = a \cos x + b \sin x\)

Consider the expression \(y - \frac{dy}{dx}\):

\(y - \frac{dy}{dx} = e^x(a \cos x + b \sin x) - e^x[(a+b) \cos x + (b-a) \sin x]\) \(y - \frac{dy}{dx} = e^x [ a \cos x + b \sin x - (a+b) \cos x - (b-a) \sin x ]\) \(y - \frac{dy}{dx} = e^x [ (a - a - b) \cos x + (b - b + a) \sin x ]\) \(y - \frac{dy}{dx} = e^x [ -b \cos x + a \sin x ]\) \(y - \frac{dy}{dx} = -e^x [ b \cos x - a \sin x ]\)

Notice that \(e^x(b \cos x - a \sin x)\) is \(\frac{1}{2}\frac{d^2y}{dx^2}\) from Equation (2).

Substituting this back:

\(y - \frac{dy}{dx} = - \frac{1}{2} \frac{d^2y}{dx^2}\)

Now, rearrange this equation to match the standard form of a differential equation:

\(\frac{1}{2} \frac{d^2y}{dx^2} = \frac{dy}{dx} - y\)

Multiply by 2:

\(\frac{d^2y}{dx^2} = 2\frac{dy}{dx} - 2y\)

Move all terms to one side:

\(\frac{d^2y}{dx^2} - 2\frac{dy}{dx} + 2y = 0\)

Conclusion

The differential equation representing the given curve \(y = e^x(a \cos x + b \sin x)\) is \(\frac{d^2y}{dx^2} - 2\frac{dy}{dx} + 2y = 0\). This matches the third option provided in the question.

Was this answer helpful?

Similar Questions

  1. If \(\frac{dy}{dx} = 2e^x y^3\), \(y(0) = \frac{1}{2}\) then what is \(4y^2(2-e^x)\) equal to ?
  2. What are the order and degree respectively of the differential equation?
  3. What is the solution of the differential equation?
  4. Let \(y_1(x)\) and \(y_2(x)\) be two solutions of the differential equation \(\frac{dy}{dx} = x\). If \(y_1(0) = 0\) and \(y_2(0) = 4\), then what is the number of points of intersection of the curves \(y_1(x)\) and \(y_2(x)\) ?
  5. What are the order and degree respectively of the differential equation
    \(\left\{2 - \left(\frac{dy}{dx}\right)^2\right\}^{0.6} = \frac{d^2y}{dx^2}\) ?
  6. What is the degree of the differential equation \(\left(\frac{d^2y}{dx^2}\right)^2 - \left(\frac{dy}{dx}\right)^\frac{5}{2} = 0\)?
  7. Consider the following statements :

    I. \(y = xe^{2x}\) is the solution of \(\frac{dy}{dx} = y\left(2+\frac{1}{x}\right)\)
    II. \(y = x\ln|x|+cx\) is the solution of \(\frac{dy}{dx} = \frac{x + y}{x}\)

    Which of the statements given above is/are correct?

  8. If $k$ is an arbitrary constant, then what is the general solution of the equation $(x + y)^2 \frac{dy}{dx} = k^2$?
  9. What is the solution of the differential equation \(\cos \left( \frac{dy}{dx} \right) = p\) when \(y(0) = q\) ?
  10. What is the solution of the differential equation with \(y(0) = 0\) ?

Important Questions from Differential Equations

  1. Given a differential equation $\frac{d^2x}{dt^2} + x = 0$ with $x(0) \neq 0$. 

    Which of the following statements is/are true?

  2. An ordinary differential equation is given below.
    $$x^2 \frac{d^2 y}{dx^2} = 6y$$
    Considering $a$ and $b$ as arbitrary constants, the general solution of the equation is
  3. If x dy = y dx + y 2dy, y > 0 and y (1) = 1, then what is y (-3) equal to?

  4. The degree of the differential equation $\frac{d^2x}{dt^2} + 2x^3 = 0$ is _______________  .

  5. If \(\frac{dy}{dx} = 2e^x y^3\), \(y(0) = \frac{1}{2}\) then what is \(4y^2(2-e^x)\) equal to ?
Need Expert Advice?
Test Series
NDA img
Defence
NDA 2026 Mock Test Series (Latest Pattern)
526 Tests 1 Tests Free
1202 Attempts
4.7(163)
English, Hindi

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App