The general solution of the differential equation (x2 + 2)dy +2xydx = ex(x2+2)dx is
\(\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
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.
∫ 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:
2. Next, solve ∫ 2x ex dx using integration by parts:
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.
Match the following:
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.
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’
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”.
Differential equations can be divided into several types namely