Chapter 9: Problem 48
Solve each differential equation and initial condition and verify that your answer satisfies both the differential equation and the initial condition. $$\left\\{\begin{array}{l} y^{\prime}=x y-5 x \\ y(0)=4 \end{array}\right.$$
Short Answer
Expert verified
The solution is \( y = 5 - e^{\frac{x^2}{2}} \).
Step by step solution
01
Formulate the Problem
We need to solve the differential equation \( y' = xy - 5x \) with the initial condition \( y(0) = 4 \). This equation is a first-order linear non-homogeneous differential equation.
02
Separate the Variables
Rewrite the equation in the standard form for linear differential equations: \( y' - xy = -5x \). The next step is to compute the integrating factor \( \,\mu(x) = e^{\int -xdx} = e^{-\frac{x^2}{2}} \).
03
Apply Integrating Factor
Multiply through by the integrating factor \( \,\mu(x) \) to make the left side a total derivative: \( e^{-\frac{x^2}{2}}y' - xe^{-\frac{x^2}{2}}y = -5xe^{-\frac{x^2}{2}} \). This simplifies to \( (e^{-\frac{x^2}{2}}y)' = -5xe^{-\frac{x^2}{2}} \).
04
Integrate Both Sides
Integrate both sides with respect to \( x \): \[ \int (e^{-\frac{x^2}{2}}y)' \, dx = \int -5xe^{-\frac{x^2}{2}} \, dx \]. The left side integrates to \( e^{-\frac{x^2}{2}}y \). The right side integrates using substitution (let \( u = -\frac{x^2}{2} \), \( du = -x \, dx \)) to get \( 5e^{-\frac{x^2}{2}} + C \).
05
Solve for y(x)
Equating the integrated expressions gives \( e^{-\frac{x^2}{2}}y = 5e^{-\frac{x^2}{2}} + C \). Multiply through by \( e^{\frac{x^2}{2}} \) to solve for \( y \): \( y = 5 + Ce^{\frac{x^2}{2}} \).
06
Apply Initial Condition
Using the initial condition \( y(0) = 4 \) to find \( C \): \( 4 = 5 + C \cdot e^0 \). Therefore, \( C = -1 \). So, \( y = 5 - e^{\frac{x^2}{2}} \).
07
Verify Solution
To verify, substitute \( y = 5 - e^{\frac{x^2}{2}} \) back into the original differential equation and initial condition to check correctness. Calculating the derivative of \( y \), \( y' = -xe^{\frac{x^2}{2}} \), and checking: \( -xe^{\frac{x^2}{2}} = x(5 - e^{\frac{x^2}{2}}) - 5x \), confirms that both sides are equal. The initial condition is satisfied since substituting \( x = 0 \) gives \( y(0) = 4 \).
Unlock Step-by-Step Solutions & Ace Your Exams!
-
Full Textbook Solutions
Get detailed explanations and key concepts
-
Unlimited Al creation
Al flashcards, explanations, exams and more...
-
Ads-free access
To over 500 millions flashcards
-
Money-back guarantee
We refund you if you fail your exam.
Over 30 million students worldwide already upgrade their learning with 91Ó°ÊÓ!
Key Concepts
These are the key concepts you need to understand to accurately answer the question.
First-order Linear Differential Equations
A first-order linear differential equation is an equation of the form \( y' + p(x)y = q(x) \). In this case, \( y' \) represents the first derivative of \( y \) with respect to \( x \), \( p(x) \) is a function of \( x \), and \( q(x) \) is another function of \( x \). These equations are important because they model many real-world processes such as cooling of objects, growth and decay problems, or even electrical circuits.
To solve a first-order linear differential equation, the common approach is to first rewrite it in the standard form. For example, given \( y' = xy - 5x \), you can rewrite it as \( y' - xy = -5x \). This involves treating the left-hand side to align with the general form of a linear equation.
You may notice that these types of equations can be linear or non-linear. The term linear here refers specifically to \( y \) and its derivatives, meaning there are no powers or products of \( y \) or \( y' \) in this equation.
To solve a first-order linear differential equation, the common approach is to first rewrite it in the standard form. For example, given \( y' = xy - 5x \), you can rewrite it as \( y' - xy = -5x \). This involves treating the left-hand side to align with the general form of a linear equation.
You may notice that these types of equations can be linear or non-linear. The term linear here refers specifically to \( y \) and its derivatives, meaning there are no powers or products of \( y \) or \( y' \) in this equation.
Integrating Factor
The integrating factor is a powerful tool used to solve first-order linear differential equations. It simplifies the left side of the equation to become a total derivative, making integration straightforward.
To find the integrating factor, \( \,\mu(x) \), compute \( e^{\int p(x) \, dx} \). For the equation in our example \( y' - xy = -5x \), \( p(x) = -x \), so \( \,\mu(x) = e^{\int -x \, dx} = e^{-\frac{x^2}{2}} \). This clever trick transforms the equation into a form where the product rule is easy to apply and integrate.
Once you multiply through by the integrating factor, it turns the equation into \( (e^{-\frac{x^2}{2}}y)' = -5xe^{-\frac{x^2}{2}} \). The benefit here is that the left side can easily be integrated in terms of \( x \), simplifying the complexity of solving the differential equation.
To find the integrating factor, \( \,\mu(x) \), compute \( e^{\int p(x) \, dx} \). For the equation in our example \( y' - xy = -5x \), \( p(x) = -x \), so \( \,\mu(x) = e^{\int -x \, dx} = e^{-\frac{x^2}{2}} \). This clever trick transforms the equation into a form where the product rule is easy to apply and integrate.
Once you multiply through by the integrating factor, it turns the equation into \( (e^{-\frac{x^2}{2}}y)' = -5xe^{-\frac{x^2}{2}} \). The benefit here is that the left side can easily be integrated in terms of \( x \), simplifying the complexity of solving the differential equation.
Initial Conditions
Initial conditions are a crucial aspect of solving differential equations. They allow us to find specific solutions that fit particular scenarios or real-world situations.
After solving a differential equation, the solution often includes an arbitrary constant, \( C \), that represents a family of solutions. Initial conditions, like \( y(0) = 4 \) in our problem, help us determine this constant. By substituting the initial condition into the solution, we solve for \( C \) and narrow down the solution to one specific curve from the family.
In the example, once we found the general solution \( y = 5 + Ce^{\frac{x^2}{2}} \), the initial condition provides \( 4 = 5 + C \cdot e^0 \), simplifying to \( C = -1 \). Verify that this solution satisfies the original equation and the initial condition to ensure it is accurate and complete.
After solving a differential equation, the solution often includes an arbitrary constant, \( C \), that represents a family of solutions. Initial conditions, like \( y(0) = 4 \) in our problem, help us determine this constant. By substituting the initial condition into the solution, we solve for \( C \) and narrow down the solution to one specific curve from the family.
In the example, once we found the general solution \( y = 5 + Ce^{\frac{x^2}{2}} \), the initial condition provides \( 4 = 5 + C \cdot e^0 \), simplifying to \( C = -1 \). Verify that this solution satisfies the original equation and the initial condition to ensure it is accurate and complete.