Home
Class 12
MATHS
(dy)/(dx) + 2xy = x, given that y =1 wh...

` (dy)/(dx) + 2xy = x`, given that `y =1` when ` x =0`

Text Solution

AI Generated Solution

The correct Answer is:
To solve the differential equation \(\frac{dy}{dx} + 2xy = x\) with the initial condition \(y(0) = 1\), we will follow these steps: ### Step 1: Identify the standard form The given equation is already in the standard form of a first-order linear differential equation: \[ \frac{dy}{dx} + P(x)y = Q(x) \] where \(P(x) = 2x\) and \(Q(x) = x\). ### Step 2: Find the integrating factor The integrating factor \(\mu(x)\) is given by: \[ \mu(x) = e^{\int P(x) \, dx} = e^{\int 2x \, dx} \] Calculating the integral: \[ \int 2x \, dx = x^2 \] Thus, the integrating factor is: \[ \mu(x) = e^{x^2} \] ### Step 3: Multiply the entire differential equation by the integrating factor We multiply the entire equation by \(e^{x^2}\): \[ e^{x^2} \frac{dy}{dx} + e^{x^2} \cdot 2xy = e^{x^2} \cdot x \] ### Step 4: Rewrite the left-hand side as a derivative The left-hand side can be rewritten as the derivative of a product: \[ \frac{d}{dx}(e^{x^2} y) = e^{x^2} x \] ### Step 5: Integrate both sides Now we integrate both sides with respect to \(x\): \[ \int \frac{d}{dx}(e^{x^2} y) \, dx = \int e^{x^2} x \, dx \] The left-hand side simplifies to: \[ e^{x^2} y \] For the right-hand side, we can use integration by parts or recognize that: \[ \int e^{x^2} x \, dx = \frac{1}{2} e^{x^2} + C \] Thus, we have: \[ e^{x^2} y = \frac{1}{2} e^{x^2} + C \] ### Step 6: Solve for \(y\) Now, we can solve for \(y\): \[ y = \frac{1}{2} + Ce^{-x^2} \] ### Step 7: Apply the initial condition We use the initial condition \(y(0) = 1\): \[ 1 = \frac{1}{2} + Ce^{0} \] This simplifies to: \[ 1 = \frac{1}{2} + C \implies C = \frac{1}{2} \] ### Step 8: Write the final solution Substituting \(C\) back into the equation for \(y\): \[ y = \frac{1}{2} + \frac{1}{2} e^{-x^2} \] ### Final Answer: \[ y = \frac{1}{2} (1 + e^{-x^2}) \] ---

To solve the differential equation \(\frac{dy}{dx} + 2xy = x\) with the initial condition \(y(0) = 1\), we will follow these steps: ### Step 1: Identify the standard form The given equation is already in the standard form of a first-order linear differential equation: \[ \frac{dy}{dx} + P(x)y = Q(x) \] where \(P(x) = 2x\) and \(Q(x) = x\). ...
Promotional Banner

Similar Questions

Explore conceptually related problems

Find the particular solution of the differential equation (1 - x ^(2) ) (dy)/(dx) - xy = x ^(2) , given that y = 2 when x = 0 .

(1 + x^(2)) (dy)/(dx) + 2xy = 4x ^(2) , given that y = 0 , when x =0

Find the particular solution of the differential equation (dy)/(dx) = 1+x+y+xy, given that y = 0 when x = 1.

Solve (x^(3)+x^(2)+x+1)(dy)/(dx) =2x^(2)+x, " given that " y=1 " when " x =0.

(dy)/(dx) + 2y = e ^(-2x) sinx , given that y=0 when x = 0

Find the particular solution of the differential equation (dy)/(dx)=-4xy^(2) given that y=1, when x=0

Solve the differential equation (1+x^(2))(dy)/(dx)+(1+y^(2))=0, given that y=1, when x=0

Solve the differential equation (dy)/(dx)-y/x+cosecy/x=0, given that y=0 when x=1

Solve (dy)/(dx)=x(2 log x +1), " given that " y =0 " when " x =2.

Solve the following initial value problems : x (dy)/(dx)+2y=x^(2)(x !=0) , given that y=0 when x=1 .