English

Solve the Following Initial Value Problem: X D Y D X + Y = X Cos X + Sin X , Y ( π 2 ) = 1 - Mathematics

Advertisements
Advertisements

Question

Solve the following initial value problem:
\[x\frac{dy}{dx} + y = x \cos x + \sin x, y\left( \frac{\pi}{2} \right) = 1\]

Sum
Advertisements

Solution

We have, 
\[x\frac{dy}{dx} + y = x \cos x + \sin x\]
\[ \Rightarrow \frac{dy}{dx} + \frac{1}{x}y = \cos x + \frac{\sin x}{x} . . . . . \left( 1 \right)\]
Clearly, it is a linear differential equation of the form
\[\frac{dy}{dx} + Py = Q\]
\[\text{ where }P = \tan x\text{ and }Q = x^2 \cot x + 2x\]
\[ \therefore I . F . = e^{\int P\ dx} \]
\[ = e^{\int\frac{1}{x}dx} \]
\[ = e^{log x} = x\]
\[\text{ Multiplying both sides of (1) by I . F . }= x,\text{ we get }\]
\[x\left( \frac{dy}{dx} + \frac{1}{x}y \right) = x\left( \cos x + \frac{\sin x}{x} \right)\]
\[ \Rightarrow x\left( \frac{dy}{dx} + \frac{1}{x}y \right) = x \cos x + \sin x\]
Integrating both sides with respect to x, we get
\[xy = \int x \cos x dx + \int\sin x dx + C\]
\[ \Rightarrow xy = \left[ x \sin x - \int1\left( \sin x \right)dx \right] - \cos x + C\]
\[ \Rightarrow xy = x \sin x + \cos x - \cos x + C\]
\[ \Rightarrow xy = x \sin x + C . . . . . \left( 2 \right)\]
Now, 
\[y\left( \frac{\pi}{2} \right) = 1\]
\[ \therefore 1 \times \frac{\pi}{2} = \frac{\pi}{2}\sin\frac{\pi}{2} + C\]
\[ \Rightarrow C = 0\]
\[\text{ Putting the value of C in }\left( 2 \right),\text{ we get }\]
\[xy = x \sin x\]
\[ \Rightarrow y = \sin x\]
\[\text{ Hence, }y = \sin x\text{ is the required solution .}\]

shaalaa.com
  Is there an error in this question or solution?
Chapter 22: Differential Equations - Exercise 22.10 [Page 107]

APPEARS IN

RD Sharma Mathematics [English] Class 12
Chapter 22 Differential Equations
Exercise 22.10 | Q 37.07 | Page 107

Video TutorialsVIEW ALL [2]

RELATED QUESTIONS

\[\frac{d^2 y}{d x^2} + 4y = 0\]

\[x + \left( \frac{dy}{dx} \right) = \sqrt{1 + \left( \frac{dy}{dx} \right)^2}\]

\[y\frac{d^2 x}{d y^2} = y^2 + 1\]

Hence, the given function is the solution to the given differential equation. \[\frac{c - x}{1 + cx}\] is a solution of the differential equation \[(1+x^2)\frac{dy}{dx}+(1+y^2)=0\].


Differential equation \[\frac{d^2 y}{d x^2} + y = 0, y \left( 0 \right) = 0, y' \left( 0 \right) = 1\] Function y = sin x


\[\left( x + 2 \right)\frac{dy}{dx} = x^2 + 3x + 7\]

\[\sqrt{a + x} dy + x\ dx = 0\]

\[\frac{dy}{dx} = x e^x - \frac{5}{2} + \cos^2 x\]

(ey + 1) cos x dx + ey sin x dy = 0


\[\frac{dy}{dx} = \frac{e^x \left( \sin^2 x + \sin 2x \right)}{y\left( 2 \log y + 1 \right)}\]

(1 + x) (1 + y2) dx + (1 + y) (1 + x2) dy = 0


(y + xy) dx + (x − xy2) dy = 0


Solve the following differential equation: 
(xy2 + 2x) dx + (x2 y + 2y) dy = 0


Solve the following differential equation:
\[y e^\frac{x}{y} dx = \left( x e^\frac{x}{y} + y^2 \right)dy, y \neq 0\]

 


\[\frac{dy}{dx} = 1 + x + y^2 + x y^2\] when y = 0, x = 0

The volume of a spherical balloon being inflated changes at a constant rate. If initially its radius is 3 units and after 3 seconds it is 6 units. Find the radius of the balloon after `t` seconds.


(x + y) (dx − dy) = dx + dy


\[\frac{dy}{dx} = \frac{y - x}{y + x}\]

2xy dx + (x2 + 2y2) dy = 0


Solve the following initial value problem:-

\[\frac{dy}{dx} + 2y = e^{- 2x} \sin x, y\left( 0 \right) = 0\]


The surface area of a balloon being inflated, changes at a rate proportional to time t. If initially its radius is 1 unit and after 3 seconds it is 2 units, find the radius after time t.


In a simple circuit of resistance R, self inductance L and voltage E, the current `i` at any time `t` is given by L \[\frac{di}{dt}\]+ R i = E. If E is constant and initially no current passes through the circuit, prove that \[i = \frac{E}{R}\left\{ 1 - e^{- \left( R/L \right)t} \right\}.\]


Find the equation of the curve such that the portion of the x-axis cut off between the origin and the tangent at a point is twice the abscissa and which passes through the point (1, 2).


The slope of the tangent at each point of a curve is equal to the sum of the coordinates of the point. Find the curve that passes through the origin.


Find the equation of the curve that passes through the point (0, a) and is such that at any point (x, y) on it, the product of its slope and the ordinate is equal to the abscissa.


Define a differential equation.


The differential equation
\[\frac{dy}{dx} + Py = Q y^n , n > 2\] can be reduced to linear form by substituting


Which of the following is the integrating factor of (x log x) \[\frac{dy}{dx} + y\] = 2 log x?


Solve the following differential equation.

`dy/dx = x^2 y + y`


Solve the following differential equation.

`dy /dx +(x-2 y)/ (2x- y)= 0`


Choose the correct alternative.

The solution of `x dy/dx = y` log y is


Solve:

(x + y) dy = a2 dx


y dx – x dy + log x dx = 0


For the differential equation, find the particular solution (x – y2x) dx – (y + x2y) dy = 0 when x = 2, y = 0


Solve the following differential equation

`x^2  ("d"y)/("d"x)` = x2 + xy − y2 


Solve the following differential equation `("d"y)/("d"x)` = x2y + y


The integrating factor of the differential equation `"dy"/"dx" (x log x) + y` = 2logx is ______.


Integrating factor of the differential equation `x "dy"/"dx" - y` = sinx is ______.


lf the straight lines `ax + by + p` = 0 and `x cos alpha + y sin alpha = p` are inclined at an angle π/4 and concurrent with the straight line `x sin alpha - y cos alpha` = 0, then the value of `a^2 + b^2` is


Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×