Problem 37
Question
An integrating factor for \(y^{\prime}-2 x y=1\) is \(e^{-x^{2}} .\) Thus \\[ \begin{aligned} \frac{d}{d x}\left[e^{-x^{2}} y\right] &=e^{-x^{2}} \\ e^{-x^{2}} y &=\int_{0}^{x} e^{-t^{2}} d t=\frac{\sqrt{\pi}}{2} \operatorname{erf}(x)+c \\ y &=\frac{\sqrt{\pi}}{2} e^{x^{2}} \operatorname{erf}(x)+c e^{x^{2}} \end{aligned} \\] From \(y(1)=(\sqrt{\pi} / 2) e \operatorname{erf}(1)+c e=1\) we get \(c=e^{-1}-\frac{\sqrt{\pi}}{2} \operatorname{erf}(1) .\) The solution of the initial-value problem is \\[ y=\frac{\sqrt{\pi}}{2} e^{x^{2}} \operatorname{erf}(x)+\left(e^{-1}-\frac{\sqrt{\pi}}{2} \operatorname{erf}(1)\right) e^{x^{2}} \\] \\[ =e^{x^{2}-1}+\frac{\sqrt{\pi}}{2} e^{x^{2}}(\operatorname{erf}(x)-\operatorname{erf}(1)) \\]
Step-by-Step Solution
VerifiedKey Concepts
Integrating Factor
When you introduce the integrating factor, \( e^{-x^2} \), the equation is multiplied throughout by this factor, making the left-hand side a perfect derivative: \( e^{-x^2} y' - 2xe^{-x^2} y = e^{-x^2} \).
The whole point of using an integrating factor is to facilitate integrating the equation by recognizing it as a derivative of a product. This transforms complex equations into more manageable ones. Essentially, if you multiply your differential equation by an exponential function like \( e^{\int P(x) \, dx} \), where \( P(x) \) is a component of the original equation, it often simplifies the equation significantly.
Initial Value Problem
For instance, in this exercise, the condition is \( y(1) = 1 \). This means that when \( x = 1 \), the function \( y \) must equal 1.
Finding the correct solution of the differential equation means not only solving for \( y \) but also determining the constant \( C \) in the general solution so that the initial condition is satisfied. These initial conditions are crucial because they ensure the uniqueness of the solution among the possible solutions that a differential equation might have.
Error Function
In the exercise, we integrate \( e^{-x^2} \), which results in a function expressed involving the error function: \( \int e^{-t^2} \, dt = \frac{\sqrt{\pi}}{2} \operatorname{erf}(x) + C \).
The error function ranges between -1 and 1, and is used as a standard mathematical function for describing distributions that stray from the normal curve, providing solutions to complex integrals that arise in differential equations. Understanding its properties allows us to manipulate and solve equations that involve Gaussian-type expressions.
Exact Differential Equation
In this exercise, by applying the integrating factor \( e^{-x^2} \), the left-hand side transforms into \( \frac{d}{dx}(e^{-x^2} y) \), making it exact because it represents a complete derivative that can be directly integrated.
Converting a differential equation into an exact one simplifies the problem greatly, as it allows us to proceed directly to integrating both sides. Mastering this technique is a fundamental skill in solving linear differential equations and is widely used because it reduces the problem to the application of basic calculus concepts.