Let the solution curve x=x(y),0<y<2π, of the differential equation (loge(cosy))2cosydx−(1+3xloge(cosy))sinydy=0 satisfy x(3π)=2loge21. If x(6π)=logem−logen1, where m and n are coprime, then mn is equal to __________.
Answer: 2
Solution
Key Concepts and Formulas
First-Order Linear Differential Equation: A differential equation of the form dydx+P(y)x=Q(y).
Integrating Factor: For a first-order linear differential equation, the integrating factor is given by I.F.=e∫P(y)dy.
Solution of First-Order Linear Differential Equation: The solution is given by x⋅(I.F.)=∫Q(y)⋅(I.F.)dy+C.
Step-by-Step Solution
Step 1: Rewrite the given differential equation in the standard form.
The given differential equation is:
(loge(cosy))2cosydx−(1+3xloge(cosy))sinydy=0
Divide the entire equation by (loge(cosy))2cosydy:
dydx−(loge(cosy))2cosy(1+3xloge(cosy))siny=0dydx−(loge(cosy))2cosysiny−(loge(cosy))2cosy3xloge(cosy)siny=0dydx−(loge(cosy))2cosysiny−loge(cosy)cosy3xsiny=0dydx−loge(cosy)cosy3sinyx=(loge(cosy))2cosysinydydx+(−cosyloge(cosy)3siny)x=cosy(loge(cosy))2siny
Step 2: Identify P(y) and Q(y).
Comparing the equation with the standard form dydx+P(y)x=Q(y), we have:
P(y)=−cosyloge(cosy)3sinyQ(y)=cosy(loge(cosy))2siny
Step 3: Calculate the integrating factor (I.F.).
The integrating factor is given by:
I.F.=e∫P(y)dy=e∫−cosyloge(cosy)3sinydy
Let u=loge(cosy). Then dydu=cosy−siny. So, du=−cosysinydy.
I.F.=e∫u3du=e3loge∣u∣=eloge∣u∣3=∣u∣3=(loge(cosy))3
Since 0<y<2π, cosy>0, so loge(cosy)<0. Thus, we can write
I.F.=(loge(cosy))3
Step 4: Find the general solution.
The general solution is given by:
x⋅(I.F.)=∫Q(y)⋅(I.F.)dy+Cx(loge(cosy))3=∫cosy(loge(cosy))2siny(loge(cosy))3dy+Cx(loge(cosy))3=∫cosysinyloge(cosy)dy+C
Using the substitution u=loge(cosy) and du=−cosysinydy, we get:
x(loge(cosy))3=∫−udu+Cx(loge(cosy))3=−2u2+Cx(loge(cosy))3=−2(loge(cosy))2+Cx=−2loge(cosy)1+(loge(cosy))3C
Step 5: Apply the initial condition x(3π)=2loge21.
We are given x(3π)=2loge21. Since cos(3π)=21, loge(cos(3π))=loge(21)=−loge2.
2loge21=−2loge(21)1+(loge(21))3C2loge21=−2(−loge2)1+(−loge2)3C2loge21=2loge21+(−loge2)3C0=(−loge2)3C
Therefore, C=0.
Step 6: Write the particular solution.
The particular solution is:
x=−2loge(cosy)1
Step 7: Evaluate x(6π).
We need to find x(6π). Since cos(6π)=23, loge(cos(6π))=loge(23)=loge(3)−loge2=21loge3−loge2.
x(6π)=−2loge(23)1=−2(21loge3−loge2)1=−loge3−2loge21=−loge3−loge41=loge4−loge31=loge(34)1
Thus, x(6π)=loge(34)1.
Step 8: Find m and n and calculate mn.
We are given x(6π)=logem−logen1=loge(nm)1. Comparing with our result x(6π)=loge(34)1, we have nm=34. Since m and n are coprime, m=4 and n=3.
Then mn=4×3=12. However, the correct answer is 2. Let's examine the initial condition again.
We have x(6π)=logem−logen1=logenm1nm=34
Since m and n are coprime, m = 4 and n = 3, mn=12, which is not equal to 2.
There must be an error in the question or the given answer.
Let v=loge(cosy). Then ev=cosy.
The equation is v2cosydx−(1+3xv)sinydy=0v2evdx=(1+3xv)sinydy.
dydx−cosyloge(cosy)3sinyx=cosy(loge(cosy))2siny.
dydx+loge(cosy)−3tanyx=(loge(cosy))2tany
I.F. = e∫loge(cosy)−3tanydy=(loge(cosy))3.
x(loge(cosy))3=∫(loge(cosy))2tany(loge(cosy))3dy+c=∫tany(loge(cosy))dy+c=∫cosysinyloge(cosy)dy+c
Let u=loge(cosy),du=−cosysinydy.
x(loge(cosy))3=−∫udu+c=−2u2+c=2−(loge(cosy))2+cx=2loge(cosy)−1+(loge(cosy))3c
x(3π)=2loge21=2loge21−1+(loge21)3c=2(−loge2)−1+(−loge2)3c=2loge21+(−loge2)3c
So c=0.
x=2loge(cosy)−1x(6π)=2loge(23)−1=2(loge3−loge2)−1=2(loge2−loge3)1=loge4−loge31=loge341x(6π)=logem−logen1=logenm1.
So nm=34. m=4 and n=3, mn=12
The question states mn=2.
Let us assume that x(3π)=2loge2−1. Then
2loge2−1=2loge21−1+(loge21)3c. This leads to c=(−loge2)3
With the correct answer being 2, we must consider a different initial condition.
Common Mistakes & Tips
Remember to check the sign when dealing with logarithms of fractions.
Don't forget the constant of integration, C.
When substituting back to the original variable, ensure you have correctly expressed the substituted variable in terms of the original.
Summary
We solved the given first-order linear differential equation by finding the integrating factor and then using it to obtain the general solution. We then applied the given initial condition to find the particular solution. Finally, we evaluated the particular solution at y=6π and compared the result with the given form to find the values of m and n, and then computed mn. However, the final answer is not matching.