Question:

The general solution of the differential equation (x2 + 2)dy +2xydx = ex(x2+2)dx is

Updated On: Apr 29, 2025
  • \(\frac{x}{y}=e^x(x^2+x-4)+c\)

  • 2xy = ex(x2-2x+4)+c

  • (x2+2)y=ex(x2-2x+4)+c

  • (x2+2)2y = ex(x2+2x-4)+c

Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation

Step 1: Rewrite the Equation in a Simpler Form

We begin by rewriting the equation in a more convenient form. Notice that the left-hand side resembles the derivative of a product. Specifically:

(x2 + 2) dy + 2xy dx = d/dx (x2 + 2)y

Thus, the equation becomes:

d/dx (x2 + 2)y = ex (x2 + 2) dx

Step 2: Integrate Both Sides

Now that we have the equation in terms of a derivative, we can integrate both sides. Let’s do the integration step by step.

  • Left-hand side: The integral of the derivative is just (x2 + 2)y.
  • Right-hand side: We need to integrate ex (x2 + 2) with respect to x. Let’s break it down into two simpler integrals:

        ∫ ex (x2 + 2) dx = ∫ ex x2 dx + ∫ 2 ex dx    

Step 3: Integrate Each Term on the Right-Hand Side

1. First, solve ∫ ex x2 dx using integration by parts:

  • Let u = x2 and dv = ex dx.
  • Then, du = 2x dx and v = ex.
  • Apply the integration by parts formula: ∫ u dv = uv - ∫ v du

2. Next, solve ∫ 2x ex dx using integration by parts:

  • Let u = 2x and dv = ex dx.
  • Then, du = 2 dx and v = ex.
  • Apply the integration by parts formula again:

Now, putting everything together:

        ∫ ex x2 dx = x2 ex - (2x ex - 2 ex) = x2 ex - 2x ex + 2 ex    

Step 4: Combine Everything

Now combine all the terms from the integration:

        ∫ ex (x2 + 2) dx = ex (x2 - 2x + 4) + C    

Step 5: Write the Final Solution

Now, we can write the general solution. Recall the equation we had earlier:

        (x2 + 2)y = ex (x2 - 2x + 4) + C    

Conclusion

We have solved the given differential equation and arrived at the general solution. By following these steps, you can solve similar first-order linear differential equations and understand the techniques involved in integrating complex expressions.

Was this answer helpful?
15
9

Concepts Used:

Differential Equations

A differential equation is an equation that contains one or more functions with its derivatives. The derivatives of the function define the rate of change of a function at a point. It is mainly used in fields such as physics, engineering, biology and so on.

Orders of a Differential Equation

First Order Differential Equation

The first-order differential equation has a degree equal to 1. All the linear equations in the form of derivatives are in the first order. It has only the first derivative such as dy/dx, where x and y are the two variables and is represented as: dy/dx = f(x, y) = y’

Second-Order Differential Equation

The equation which includes second-order derivative is the second-order differential equation. It is represented as; d/dx(dy/dx) = d2y/dx2 = f”(x) = y”.

Types of Differential Equations

Differential equations can be divided into several types namely

  • Ordinary Differential Equations
  • Partial Differential Equations
  • Linear Differential Equations
  • Nonlinear differential equations
  • Homogeneous Differential Equations
  • Nonhomogeneous Differential Equations