English

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

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 21: Differential Equations - Exercise 22.10 [Page 107]

APPEARS IN

R.D. Sharma Mathematics Volume 1 and 2 [English] Class 12
Chapter 21 Differential Equations
Exercise 22.10 | Q 37.07 | Page 107

RELATED QUESTIONS

If 1, `omega` and `omega^2` are the cube roots of unity, prove `(a + b omega + c omega^2)/(c + s omega +  b omega^2) =  omega^2`


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

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

Show that the function y = A cos x + B sin x is a solution of the differential equation \[\frac{d^2 y}{d x^2} + y = 0\]


Show that the function y = A cos 2x − B sin 2x is a solution of the differential equation \[\frac{d^2 y}{d x^2} + 4y = 0\].


Show that y = ax3 + bx2 + c is a solution of the differential equation \[\frac{d^3 y}{d x^3} = 6a\].

 


Show that y = ex (A cos x + B sin x) is the solution of the differential equation \[\frac{d^2 y}{d x^2} - 2\frac{dy}{dx} + 2y = 0\]


Verify that y2 = 4a (x + a) is a solution of the differential equations
\[y\left\{ 1 - \left( \frac{dy}{dx} \right)^2 \right\} = 2x\frac{dy}{dx}\]


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

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

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

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

\[\left( x - 1 \right)\frac{dy}{dx} = 2 xy\]

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

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

\[\frac{dy}{dx} = \left( \cos^2 x - \sin^2 x \right) \cos^2 y\]

Solve the following differential equation:
\[\text{ cosec }x \log y \frac{dy}{dx} + x^2 y^2 = 0\]


Solve the differential equation \[\left( 1 + x^2 \right)\frac{dy}{dx} + \left( 1 + y^2 \right) = 0\], given that y = 1, when 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.


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

\[\cos^2 \left( x - 2y \right) = 1 - 2\frac{dy}{dx}\]

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

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

\[\frac{dy}{dx} = \frac{y}{x} - \sqrt{\frac{y^2}{x^2} - 1}\]

Show that the equation of the curve whose slope at any point is equal to y + 2x and which passes through the origin is y + 2 (x + 1) = 2e2x.


The normal to a given curve at each point (x, y) on the curve passes through the point (3, 0). If the curve contains the point (3, 4), find its equation.


The x-intercept of the tangent line to a curve is equal to the ordinate of the point of contact. Find the particular curve through the point (1, 1).


The price of six different commodities for years 2009 and year 2011 are as follows: 

Commodities A B C D E F

Price in 2009 (₹)

35 80 25 30 80 x
Price in 2011 (₹) 50 y 45 70 120 105

The Index number for the year 2011 taking 2009 as the base year for the above data was calculated to be 125. Find the values of x andy if the total price in 2009 is ₹ 360.


For each of the following differential equations find the particular solution.

(x − y2 x) dx − (y + x2 y) dy = 0, when x = 2, y = 0


Solve the following differential equation.

y2 dx + (xy + x2 ) dy = 0


Solve the following differential equation.

`dy/dx + y` = 3


Solve the following differential equation.

dr + (2r)dθ= 8dθ


The solution of `dy/ dx` = 1 is ______.


State whether the following is True or False:

The degree of a differential equation is the power of the highest ordered derivative when all the derivatives are made free from negative and/or fractional indices if any.


Solve the differential equation:

`e^(dy/dx) = x`


Solve `("d"y)/("d"x) = (x + y + 1)/(x + y - 1)` when x = `2/3`, y = `1/3`


Solve: `("d"y)/("d"x) + 2/xy` = x2 


If `y = log_2 log_2(x)` then `(dy)/(dx)` =


A man is moving away from a tower 41.6 m high at a rate of 2 m/s. If the eye level of the man is 1.6 m above the ground, then the rate at which the angle of elevation of the top of the tower changes, when he is at a distance of 30 m from the foot of the tower, is


Solve the differential equation `dy/dx + xy = xy^2` and find the particular solution when y = 4, x = 1.


Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×