Question
Question: How do you solve the initial-value problem \(y' = \dfrac{{\sin x}}{{\sin y}}\) where \(y(0) = \dfrac...
How do you solve the initial-value problem y′=sinysinx where y(0)=4π ?
Solution
To solve the initial value problem, we have to integrate the given function to get a function in variable y and x . And then apply the given values of variable x and variable y to get a particular solution of the given function.
Complete step-by-step solution:
Here, we are given a derivative of the function y(x) .
Hence, we need to apply integration to the given function to get a function in variable x and y .
Here, we are given the derivative as y′ . It can also be written as
y′(x)=dxdy
Substituting in the given equation, we get
dxdy=sinysinx
Multiplying dx on both sides of the equation,
dxdy×dx=sinysinx×dx
⇒dy=sinysinx×dx
Multiplying sinx on both sides of the equation
⇒dy×siny=sinysinx×dx×siny
⇒dy×siny=sinx×dx
Applying integration on both sides of the equation
⇒∫sinydy=∫sinxdx
We know that the integration of sinx is shown as
⇒∫sinxdx=−cosx+c
Applying the solution on both sides of the equation,
⇒−cosy=−cosx+c
Multiplying (−1) on both side of the equation
⇒(−1)×−cosy=(−1)×cosx+(−1)×c
⇒cosy=cosx−c
This can be called the general solution of the given derivation
Now, we are given the initial value of this problem as
y(0)=4π
This can be explained as when the value of x is taken as x=0 the value of the variable y will be y=4π
Now, substituting these values in the general solution
⇒cos(4π)=cos(0)−c
Here, the angle 4π is written in degrees as 45∘
Now, we know the value of cosine function for angles 45∘ and 0∘
Substituting, those values in the above equation,
⇒21=1−c
Now, for rationalizing on the left-hand side of the equation, we multiply the numerator and the denominator by 2 .
⇒2×21×2=1−c
⇒22=1−c
Adding c on both sides of the equation,
⇒22+c=1−c+c
⇒22+c=1
Subtracting 22 from both sides,
⇒22+c−22=1−22
⇒c=1−22
Substituting the value of c in the general solution
⇒cosy=cosx−(1−22)
⇒cosy=cosx−1+22
cosy=cosx−1+22 is the particular solution of the given derivatives.
Note: Here, the particular solution means the equation is satisfied by a particularly unique value of x and y . While the general solution can have more than one solution. For considering the values for a particular solution, we have to remember that the value of the independent variable is inside the bracket, while the value of the dependent variable is on the opposite side of the equation.