Question Details

If y = f(x) is the solution of the differential equation

( 1 + sin x ) d y / d x + cos x = 0

,such that f ( 0 ) = 0  then f  (  π 2 )  is equal to

Options

A

ln 2

B

ln2

C

ln3

D

ln4

Show Answer

Correct Answer :

Option B

ln2

Solution :

The correct option is:
-ln2

To find the solution, we begin with the given first-order ordinary differential equation:
(1+sinx)dydx+cosx=0

We can rewrite this equation to separate the variables y and x:
(1+sinx)dydx=-cosx
Dividing both sides by 1+sinx gives:
dydx=-cosx1+sinx

Now, we integrate both sides with respect to x:
dy=-cosx1+sinxdx

To evaluate the integral on the right-hand side, we use the substitution method. Let:
u=1+sinx
Then, the differential of u is:
du=cosxdx

Substituting these into the integration equation:
y=-1udu
y=-ln|u|+C
Substituting back u=1+sinx:
y=-ln(1+sinx)+C

We are given the initial condition f(0)=0, which means y=0 when x=0. We substitute these values into our general solution to find the integration constant C:
0=-ln(1+sin0)+C
Since sin0=0:
0=-ln(1)+C
Since ln1=0:
C=0

Therefore, the particular solution is:
f(x)=-ln(1+sinx)

Now, we calculate f(π2):
f(π2)=-ln(1+sinπ2)
Since sinπ2=1:
f(π2)=-ln(1+1)=-ln2

Unlock Our Free Library

Access expert-curated educational resources and study materials—completely free.

Discover more resources

You may also like

Mock Tests

View All
  • CTET
  • intermediate
  • No time limit
  • child development and pedagogy, mathematics, social science

  • SSC
  • intermediate
  • 2 hours and 30 mins
  • child development and pedagogy, mathematics, social science

Ask AI Tutor
5 left
Q1 View Question & Options
AI Tutor is solving this question...
Reading question context & options...