Chapter 9: Problem 25
Solve each differential equation with the given initial condition. $$ \begin{array}{l} x y^{\prime}=2 y+x^{2} \\ y(1)=3 \end{array} $$
Short Answer
Expert verified
The solution is \( y = x^2(\ln|x| + 3) \).
Step by step solution
01
Recognize the form of the differential equation
First, identify that we have a first-order, linear differential equation in the form of \( x y' = 2y + x^2 \). The goal is to separate variables or use an integrating factor since the equation is linear.
02
Reorganize the equation
Rearrange the differential equation to separate the derivative: \( y' - \frac{2}{x}y = x \). This is now in the standard form of a linear differential equation: \( y' + P(x)y = Q(x) \), where \( P(x) = -\frac{2}{x} \) and \( Q(x) = x \).
03
Determine the integrating factor
The integrating factor \( \mu(x) \) is computed as \( e^{\int P(x) \, dx} = e^{\int -\frac{2}{x} \, dx} = e^{-2\ln |x|} = x^{-2} \).
04
Multiply through by the integrating factor
Multiply every term in the differential equation by \( x^{-2} \) to get: \( x^{-2}y' - 2x^{-3}y = 1 \cdot x^{-1} \). This simplifies to: \( (x^{-2}y)' = x^{-1} \).
05
Integrate both sides
Integrate both sides with respect to \( x \). The left side integrates directly to: \( x^{-2}y \). The right side integrates to: \( \int x^{-1} \, dx = \ln|x| + C \). So we have: \( x^{-2}y = \ln|x| + C \).
06
Solve for y
Multiply through by \( x^2 \) to solve for \( y \): \( y = x^2(\ln|x| + C) \).
07
Use the initial condition
Apply the initial condition \( y(1) = 3 \) to find \( C \). Substitute \( x = 1 \) and \( y = 3 \) into \( y = x^2(\ln|x| + C) \) to get: \( 3 = 1^2(\ln 1 + C) \implies 3 = 0 + C \). Thus, \( C = 3 \).
08
Write the final solution
Substitute \( C = 3 \) back into the expression for \( y \) to get the solution: \( y = x^2(\ln|x| + 3) \).
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 Differential Equations
Differential equations describe the relationship between a function and its derivatives, revealing how varying quantities change relative to each other. A **first-order differential equation** involves only the first derivative of a function. In our problem, it takes the form:
- \( x y' = 2y + x^2 \)
Integrating Factor Method
The **integrating factor method** is a strategy to solve linear first-order differential equations. It transforms a non-exact equation into an exact one, which simplifies solving it. The original equation, \( y' - \frac{2}{x}y = x \), is first identified by rearranging terms to match the standard form, \( y' + P(x)y = Q(x) \). Once we see that:
- \( P(x) = -\frac{2}{x} \)
- \( Q(x) = x \)
- \( \mu(x) = e^{\int P(x) \, dx} = x^{-2} \)
- \( (x^{-2}y)' = x^{-1} \)
Initial Conditions
**Initial conditions** are vital for particular solutions of differential equations. They specify values for the function at a certain point, allowing for the determination of the integration constant, \( C \), in the solution. In our exercise, we are given the initial condition \( y(1) = 3 \). Using it involves:
- Substituting \( x=1 \) and \( y=3 \) into the equation: \( y = x^2(\ln|x| + C) \)
- The substitution leads directly to: \( 3 = (1^2)(\ln 1 + C) = 0 + C \)
- Determining that \( C = 3 \).