Solveeit Logo

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=sinxsinyy' = \dfrac{{\sin x}}{{\sin y}} where y(0)=π4y(0) = \dfrac{\pi }{4} ?

Explanation

Solution

To solve the initial value problem, we have to integrate the given function to get a function in variable yy and xx . And then apply the given values of variable xx and variable yy 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)y(x) .
Hence, we need to apply integration to the given function to get a function in variable xx and yy .
Here, we are given the derivative as   y\;y' . It can also be written as
y(x)=dydxy'(x) = \dfrac{{dy}}{{dx}}
Substituting in the given equation, we get
dydx=sinxsiny\dfrac{{dy}}{{dx}} = \dfrac{{\sin x}}{{\sin y}}
Multiplying   dx\;dx on both sides of the equation,
dydx×dx=sinxsiny×dx\dfrac{{dy}}{{dx}} \times dx = \dfrac{{\sin x}}{{\sin y}} \times dx
dy=sinxsiny×dx\Rightarrow dy = \dfrac{{\sin x}}{{\sin y}} \times dx
Multiplying sinx\sin x on both sides of the equation
dy×siny=sinxsiny×dx×siny\Rightarrow dy \times \sin y = \dfrac{{\sin x}}{{\sin y}} \times dx \times \sin y
dy×siny=sinx×dx\Rightarrow dy \times \sin y = \sin x \times dx
Applying integration on both sides of the equation
sinydy=sinxdx\Rightarrow \int {\sin ydy} = \int {\sin xdx}
We know that the integration of sinx\sin x is shown as
sinxdx=cosx+c\Rightarrow \int {\sin xdx} = - \cos x + c
Applying the solution on both sides of the equation,
cosy=cosx+c\Rightarrow - \cos y = - \cos x + c
Multiplying (1)( - 1) on both side of the equation
(1)×cosy=(1)×cosx+(1)×c\Rightarrow ( - 1) \times - \cos y = ( - 1) \times \cos x + ( - 1) \times c
cosy=cosxc\Rightarrow \cos y = \cos x - 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)=π4y(0) = \dfrac{\pi }{4}
This can be explained as when the value of xx is taken as x=0x = 0 the value of the variable yy will be y=π4y = \dfrac{\pi }{4}
Now, substituting these values in the general solution
cos(π4)=cos(0)c\Rightarrow \cos \left( {\dfrac{\pi }{4}} \right) = \cos \left( 0 \right) - c
Here, the angle π4\dfrac{\pi }{4} is written in degrees as 4545^\circ
Now, we know the value of cosine function for angles 4545^\circ and 00^\circ
Substituting, those values in the above equation,
12=1c\Rightarrow \dfrac{1}{{\sqrt 2 }} = 1 - c
Now, for rationalizing on the left-hand side of the equation, we multiply the numerator and the denominator by 2\sqrt 2 .
1×22×2=1c\Rightarrow \dfrac{{1 \times \sqrt 2 }}{{\sqrt 2 \times \sqrt 2 }} = 1 - c
22=1c\Rightarrow \dfrac{{\sqrt 2 }}{2} = 1 - c
Adding cc on both sides of the equation,
22+c=1c+c\Rightarrow \dfrac{{\sqrt 2 }}{2} + c = 1 - c + c
22+c=1\Rightarrow \dfrac{{\sqrt 2 }}{2} + c = 1
Subtracting 22\dfrac{{\sqrt 2 }}{2} from both sides,
22+c22=122\Rightarrow \dfrac{{\sqrt 2 }}{2} + c - \dfrac{{\sqrt 2 }}{2} = 1 - \dfrac{{\sqrt 2 }}{2}
c=122\Rightarrow c = 1 - \dfrac{{\sqrt 2 }}{2}
Substituting the value of cc in the general solution
cosy=cosx(122)\Rightarrow \cos y = \cos x - \left( {1 - \dfrac{{\sqrt 2 }}{2}} \right)
cosy=cosx1+22\Rightarrow \cos y = \cos x - 1 + \dfrac{{\sqrt 2 }}{2}

cosy=cosx1+22\cos y = \cos x - 1 + \dfrac{{\sqrt 2 }}{2} is the particular solution of the given derivatives.

Note: Here, the particular solution means the equation is satisfied by a particularly unique value of xx and yy . 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.