Chapter 38: Problem 37
Find the particular solution of \(\frac{\mathrm{d} y}{\mathrm{~d} x}+\frac{1}{x} \cdot y=\sin 2 x\), such that \(y=2\) when \(x=\pi / 4\)
Short Answer
Expert verified
The particular solution is \( y = -\frac{1}{2} \cos 2x + \frac{1}{4x} \sin 2x + \frac{2\pi - 1}{4x} \).
Step by step solution
01
Identify the Type of Differential Equation
The given differential equation \( \frac{\mathrm{d} y}{\mathrm{~d} x}+\frac{1}{x} \cdot y = \sin 2x \) is a first-order linear differential equation in the standard form \( \frac{\mathrm{d} y}{\mathrm{~d} x} + P(x)y = Q(x) \), where \( P(x) = \frac{1}{x} \) and \( Q(x) = \sin 2x \).
02
Compute the Integrating Factor
To solve the differential equation, we calculate the integrating factor \( \mu(x) \) using the formula \( \mu(x) = e^{\int P(x) \, dx} = e^{\int \frac{1}{x} \, dx} = e^{\ln|x|} = |x| \). Since we typically assume \( x > 0 \), the integrating factor is simply \( x \).
03
Multiply Through by the Integrating Factor
Multiply every term in the differential equation by the integrating factor \( x \):\[ x \cdot \frac{\mathrm{d} y}{\mathrm{~d} x} + x \cdot \frac{1}{x} \cdot y = x \cdot \sin 2x. \]Simplifying gives the equation:\[ x \cdot \frac{\mathrm{d} y}{\mathrm{~d} x} + y = x \sin 2x. \]
04
Write as an Exact Differential Equation
Recognize that the left-hand side is the derivative of \( xy \):\[ \frac{\mathrm{d}}{\mathrm{d}x}(xy) = x \cdot \frac{\mathrm{d} y}{\mathrm{~d} x} + y. \]Thus, the equation becomes:\[ \frac{\mathrm{d}}{\mathrm{d}x}(xy) = x \sin 2x. \]
05
Integrate Both Sides
Integrate both sides with respect to \( x \):\[ xy = \int x \sin 2x \, dx. \]
06
Solve the Integral on the Right
Use integration by parts to solve \( \int x \sin 2x \, dx \). Let \( u = x \) and \( dv = \sin 2x \, dx \). Then \( du = dx \) and \( v = -\frac{1}{2}\cos 2x \).Thus:\[ \int x \sin 2x \, dx = -\frac{x}{2}\cos 2x + \frac{1}{2}\int \cos 2x \, dx. \]The remaining integral is:\[ \frac{1}{2}\int \cos 2x \, dx = \frac{1}{4}\sin 2x + C. \]Therefore,\[ \int x \sin 2x \, dx = -\frac{x}{2}\cos 2x + \frac{1}{4}\sin 2x + C. \]
07
Substitute Back and Solve for y
Substitute the integrated result back into the equation:\[ xy = -\frac{x}{2} \cos 2x + \frac{1}{4} \sin 2x + C. \]Thus,\[ y = -\frac{1}{2} \cos 2x + \frac{1}{4x} \sin 2x + \frac{C}{x}. \]
08
Apply Initial Condition
Use the initial condition \( y = 2 \) when \( x = \frac{\pi}{4} \):\[ 2 = -\frac{1}{2} \cos\left(\frac{\pi}{2}\right) + \frac{1}{4(\frac{\pi}{4})} \sin\left(\frac{\pi}{2}\right) + \frac{C}{\frac{\pi}{4}}. \]Simplifying, since \( \cos\left(\frac{\pi}{2}\right) = 0 \) and \( \sin\left(\frac{\pi}{2}\right) = 1 \), gives:\[ 2 = 0 + \frac{1}{\pi} + \frac{4C}{\pi}. \]Solve for \( C \):\[ \frac{4C}{\pi} = 2 - \frac{1}{\pi} \Rightarrow 4C = 2\pi - 1 \Rightarrow C = \frac{2\pi - 1}{4}. \]
09
Write the Particular Solution
Substitute \( C \) back into the equation for \( y \):\[ y = -\frac{1}{2} \cos 2x + \frac{1}{4x} \sin 2x + \frac{1}{x}\left(\frac{2\pi - 1}{4}\right). \]This simplifies to:\[ y = -\frac{1}{2} \cos 2x + \frac{1}{4x} \sin 2x + \frac{2\pi - 1}{4x}. \]
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.
Integrating Factor
In solving first-order linear differential equations, an important tool is the integrating factor. This is a special function that, when multiplied by the differential equation, transforms it into a form that is easier to solve. If you have an equation in the form:
For the given exercise, \( P(x) = \frac{1}{x} \), so the integrating factor becomes \( \mu(x) = e^{\ln|x|} = |x| \). In cases where we're dealing with positive x-values, this simplifies neatly to \( x \). By multiplying the entire differential equation by this integrating factor, we transform the left side into the derivative of a product, making it much easier to solve through integration. The process of finding and applying the integrating factor is a crucial step that often unlocks the path to the solution.
- \( \frac{dy}{dx} + P(x)y = Q(x) \)
- \( \mu(x) = e^{\int P(x) \, dx} \)
For the given exercise, \( P(x) = \frac{1}{x} \), so the integrating factor becomes \( \mu(x) = e^{\ln|x|} = |x| \). In cases where we're dealing with positive x-values, this simplifies neatly to \( x \). By multiplying the entire differential equation by this integrating factor, we transform the left side into the derivative of a product, making it much easier to solve through integration. The process of finding and applying the integrating factor is a crucial step that often unlocks the path to the solution.
Initial Value Problem
An initial value problem is a challenge where not only do you solve the differential equation, but you also find a solution that meets a specified condition at a certain point. Typically, the condition is stated like \( y = y_0 \) when \( x = x_0 \). This extra piece of information is what sets initial value problems apart. It ensures that you find a particular solution from a family of solutions.
In this exercise, the initial condition is \( y = 2 \) when \( x = \frac{\pi}{4} \). This information is plugged in after finding the general solution. Substituting the values into the solved equation allows us to find the specific constant \( C \) of integration. This little additional step tailors the wide variety of potential solutions to the exact one needed.
In this exercise, the initial condition is \( y = 2 \) when \( x = \frac{\pi}{4} \). This information is plugged in after finding the general solution. Substituting the values into the solved equation allows us to find the specific constant \( C \) of integration. This little additional step tailors the wide variety of potential solutions to the exact one needed.
Integration by Parts
Integration by parts is a technique for evaluating certain integrals where other methods like substitution might not work. It is particularly useful when dealing with a product of functions, as was the case in the given problem with the integral \( \int x \sin 2x \, dx \). Integration by parts is based on the formula:
Here, you typically select \( u \) to be a function that simplifies when differentiated, and \( dv \) to be a function that doesn't get more complicated upon integration.
For our integral:
- \( \int u \, dv = uv - \int v \, du \)
Here, you typically select \( u \) to be a function that simplifies when differentiated, and \( dv \) to be a function that doesn't get more complicated upon integration.
For our integral:
- Choose \( u = x \) and \( dv = \sin 2x \, dx \).
- This gives \( du = dx \) and \( v = -\frac{1}{2} \cos 2x \).