Solve
. When
:
. And
,
The solution to the differential equation
with the initial condition
and given
is:
Here,
denotes the error function.
Full solution:
Certainly! To solve the differential equation
with the initial condition
, and given
, we can follow these steps:
1. **Setting up the Equation:**
The given differential equation is a first-order linear ordinary differential equation:
2. **Rewriting in Standard Form:**
The standard form of a linear first-order differential equation is
. Here, we can rearrange our equation to match this form:
3. **Finding an Integrating Factor:**
The integrating factor for an equation of this form is
. In our case,
, so the integrating factor is:
4. **Multiplying Through by the Integrating Factor:**
We multiply every term in the standard form equation by the integrating factor:
5. **Recognizing the Left Side as a Derivative:**
The left-hand side of our equation is now the derivative of the product
:
6. **Integrating Both Sides:**
We integrate both sides with respect to
:
7. **Solving the Integral:**
The integral on the right side involves an exponential function of a quadratic, which is related to the error function
:
8. **Solving for
:**
Rearranging for
, we get:
9. **Applying the Initial Condition
:**
When
, the error function
is zero, simplifying our equation. Applying the initial condition, we find:
10. **Final Solution:**
With
, the solution is:
This is the complete solution to the given differential equation with the specified initial condition.