English

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

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

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

\[\sqrt{1 + \left( \frac{dy}{dx} \right)^2} = \left( c\frac{d^2 y}{d x^2} \right)^{1/3}\]

Differential equation \[\frac{dy}{dx} + y = 2, y \left( 0 \right) = 3\] Function y = e−x + 2


\[\frac{dy}{dx} = \cos^3 x \sin^2 x + x\sqrt{2x + 1}\]

\[\frac{dy}{dx} = x \log x\]

C' (x) = 2 + 0.15 x ; C(0) = 100


\[x\frac{dy}{dx} + 1 = 0 ; y \left( - 1 \right) = 0\]

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

Solve the following differential equation:
\[\left( 1 + y^2 \right) \tan^{- 1} xdx + 2y\left( 1 + x^2 \right)dy = 0\]


\[xy\frac{dy}{dx} = y + 2, y\left( 2 \right) = 0\]

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

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} = \frac{y - x}{y + x}\]

Find the particular solution of the differential equation \[\frac{dy}{dx} = \frac{xy}{x^2 + y^2}\] given that y = 1 when x = 0.

 


The slope of the tangent at a point P (x, y) on a curve is \[\frac{- x}{y}\]. If the curve passes through the point (3, −4), find the equation of the curve.


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).


If sin x is an integrating factor of the differential equation \[\frac{dy}{dx} + Py = Q\], then write the value of P.


The equation of the curve whose slope is given by \[\frac{dy}{dx} = \frac{2y}{x}; x > 0, y > 0\] and which passes through the point (1, 1) is


Which of the following transformations reduce the differential equation \[\frac{dz}{dx} + \frac{z}{x}\log z = \frac{z}{x^2} \left( \log z \right)^2\] into the form \[\frac{du}{dx} + P\left( x \right) u = Q\left( x \right)\]


The integrating factor of the differential equation \[\left( 1 - y^2 \right)\frac{dx}{dy} + yx = ay\left( - 1 < y < 1 \right)\] is ______.


If a + ib = `("x" + "iy")/("x" - "iy"),` prove that `"a"^2 +"b"^2 = 1` and `"b"/"a" = (2"xy")/("x"^2 - "y"^2)`


Find the coordinates of the centre, foci and equation of directrix of the hyperbola x2 – 3y2 – 4x = 8.


Find the particular solution of the differential equation `"dy"/"dx" = "xy"/("x"^2+"y"^2),`given that y = 1 when x = 0


Determine the order and degree of the following differential equations.

Solution D.E.
ax2 + by2 = 5 `xy(d^2y)/dx^2+ x(dy/dx)^2 = y dy/dx`

Solve the following differential equation.

`y^3 - dy/dx = x dy/dx`


Choose the correct alternative.

The differential equation of y = `k_1 + k_2/x` is


Choose the correct alternative.

Bacteria increases at the rate proportional to the number present. If the original number M doubles in 3 hours, then the number of bacteria will be 4M in


y dx – x dy + log x dx = 0


Select and write the correct alternative from the given option for the question

Bacterial increases at the rate proportional to the number present. If original number M doubles in 3 hours, then number of bacteria will be 4M in


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


The function y = cx is the solution of differential equation `("d"y)/("d"x) = y/x`


Verify y = log x + c is the solution of differential equation `x ("d"^2y)/("d"x^2) + ("d"y)/("d"x)` = 0


Solve the following differential equation 

sec2 x tan y dx + sec2 y tan x dy = 0

Solution: sec2 x tan y dx + sec2 y tan x dy = 0

∴ `(sec^2x)/tanx  "d"x + square` = 0

Integrating, we get

`square + int (sec^2y)/tany  "d"y` = log c

Each of these integral is of the type

`int ("f'"(x))/("f"(x))  "d"x` = log |f(x)| + log c

∴ the general solution is

`square + log |tan y|` = log c

∴ log |tan x . tan y| = log c

`square`

This is the general solution.


Find the particular solution of the following differential equation

`("d"y)/("d"x)` = e2y cos x, when x = `pi/6`, y = 0.

Solution: The given D.E. is `("d"y)/("d"x)` = e2y cos x

∴ `1/"e"^(2y)  "d"y` = cos x dx

Integrating, we get

`int square  "d"y` = cos x dx

∴ `("e"^(-2y))/(-2)` = sin x + c1

∴ e–2y = – 2sin x – 2c1

∴ `square` = c, where c = – 2c1 

This is general solution.

When x = `pi/6`, y = 0, we have

`"e"^0 + 2sin  pi/6` = c

∴ c = `square`

∴ particular solution is `square`


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


Solve the differential equation

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


Advertisements
Share
Notifications



      Forgot password?
Use app×