Solve the differential equation:
x dy/dx + y = x cosx + sinx
given that y(pie/2) =1.
Answers
Answered by
2
Answer:
Step-by-step explanation:
....(1)
Now, (1) becomes
Integrating
Answered by
0
Solution :
The given diffentalial equation is
x dy/dx + y = x cosx + sinx
or, x dy + y dx = (x cosx + sinx) dx
or, d (xy) = d (x sinx) ...(i)
where d (xy) = x dy + y dx
and d (x sinx) = (x cosx + sinx) dx
Now, integrating from (i), we get
∫ d (xy) = ∫ d (x sinx)
or, xy = x sinx + c ...(ii)
where c is integral constant
Given that, y (π/2) = 1,
i.e., when x = π/2, y = 1
Putting x = π/2, y = 1 in (ii), we get
π/2 * 1 = π/2 * sin(π/2) + c
or, c = 0
Hence, from (ii), we get the required integral as
xy = x sinx (Ans.)
Similar questions