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

Consider differential equation $\frac{dy}{dx} + xy = x$ with the condition as $y = 0$ at $x = 0$. The value of $y$ at $x = 1.0$ is ______ (rounded off to two decimal places).

Solving Differential Equation: $\frac{dy}{dx} + xy = x$

The given differential equation is a first-order linear equation:

$ \frac{dy}{dx} + xy = x $

This equation is in the standard form $ \frac{dy}{dx} + P(x)y = Q(x) $. Here:

  • $ P(x) = x $
  • $ Q(x) = x $

Integrating Factor Calculation

The integrating factor (IF) is calculated using the formula:

$ IF = e^{\int P(x) dx} $

Substitute $ P(x) = x $:

$ IF = e^{\int x dx} = e^{\frac{x^2}{2}} $

General Solution Derivation

Multiply the differential equation by the integrating factor $ e^{\frac{x^2}{2}} $:

$ e^{\frac{x^2}{2}} \frac{dy}{dx} + x e^{\frac{x^2}{2}} y = x e^{\frac{x^2}{2}} $

The left side can be written as the derivative of $ y \cdot IF $:

$ \frac{d}{dx} \left( y \cdot e^{\frac{x^2}{2}} \right) = x e^{\frac{x^2}{2}} $

Integrate both sides with respect to $ x $:

$ y \cdot e^{\frac{x^2}{2}} = \int x e^{\frac{x^2}{2}} dx $

Use substitution $ u = \frac{x^2}{2} $, $ du = x dx $ for the integral:

$ \int e^u du = e^u + C = e^{\frac{x^2}{2}} + C $

So, the equation becomes:

$ y \cdot e^{\frac{x^2}{2}} = e^{\frac{x^2}{2}} + C $

The general solution is obtained by dividing by $ e^{\frac{x^2}{2}} $:

$ y = 1 + C e^{-\frac{x^2}{2}} $

Applying Initial Condition

Use the given condition $ y = 0 $ when $ x = 0 $ to find the constant $ C $:

$ 0 = 1 + C e^{-\frac{0^2}{2}} $

$ 0 = 1 + C \cdot 1 $

$ C = -1 $

Specific Solution Determination

Substitute $ C = -1 $ back into the general solution:

$ y = 1 - e^{-\frac{x^2}{2}} $

Value Calculation at $x = 1.0$

Calculate the value of $ y $ when $ x = 1.0 $:

$ y(1.0) = 1 - e^{-\frac{(1.0)^2}{2}} = 1 - e^{-\frac{1}{2}} = 1 - e^{-0.5} $

Calculate the numerical value:

$ y(1.0) \approx 1 - 0.60653 = 0.39347 $

Final Answer Rounding

Round the result to two decimal places as required:

$ y(1.0) \approx 0.39 $

Was this answer helpful?

Important Questions from First Order Equations

  1. For the equation \(\frac{{dy}}{{dx}} + 7{x^2}y = 0\) , if y(0) = \(\frac{{3}}{{7}}\) , then the value of y(1) is

  2. The differential equation \(\frac{{dy}}{{dx}} + 4y = 5\) is valid in the domain 0 ≤ x ≤ 1 with y (0) = 2.25 The solution of the differential equation is

  3. The derivative of f(x) = cos(x) can be estimated using the approximation \(f'\left( x \right) = \frac{{f\left( {x + h} \right) - f\left( {x - h} \right)}}{{2h}}\) . The percentage error is calculated as \(\left( {\frac{{Exact\;value - Approximate\;value}}{{Exact\;value}}} \right) \times 100\). The percentage error in the derivative of f(x) at x = π/6 radian, choosing h = 0.1 radian, is

  4. The general solution of the differential equation \(\frac{{dy}}{{dx}} = \cos \left( {x + y} \right)\), with c as a constant, is

  5. Which one of the following is the general solution of the first order differential equation

    \(\frac{{dy}}{{dx}} = {\left( {x + y - 1} \right)^2}\) , where x, y are real?

Need Expert Advice?

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