We are given the differential equation:
( log e ( cos y ) ) 2 cos y d x − ( 1 + 3 x log e ( cos y ) ) sin y d y = 0 (\log_e(\cos y))^2 \cos y \, dx - (1 + 3x \log_e(\cos y)) \sin y \, dy = 0 ( log e ( cos y ) ) 2 cos y d x − ( 1 + 3 x log e ( cos y )) sin y d y = 0
with x = x ( y ) x = x(y) x = x ( y ) , 0 < y < π 2 0 < y < \dfrac{\pi}{2} 0 < y < 2 π , and the initial condition x ( π 3 ) = 1 2 log e 2 x\!\left(\dfrac{\pi}{3}\right) = \dfrac{1}{2\log_e 2} x ( 3 π ) = 2 log e 2 1 .
First, we rewrite as d x d y \dfrac{dx}{dy} d y d x .
( ln ( cos y ) ) 2 cos y d x = ( 1 + 3 x ln ( cos y ) ) sin y d y (\ln(\cos y))^2 \cos y \, dx = (1 + 3x \ln(\cos y)) \sin y \, dy ( ln ( cos y ) ) 2 cos y d x = ( 1 + 3 x ln ( cos y )) sin y d y
d x d y = ( 1 + 3 x ln ( cos y ) ) tan y ( ln ( cos y ) ) 2 \dfrac{dx}{dy} = \dfrac{(1 + 3x \ln(\cos y)) \tan y}{(\ln(\cos y))^2} d y d x = ( ln ( cos y ) ) 2 ( 1 + 3 x ln ( cos y )) tan y
Next, we substitute t = ln ( cos y ) t = \ln(\cos y) t = ln ( cos y ) .
Let t = ln ( cos y ) t = \ln(\cos y) t = ln ( cos y ) . Then d t d y = − tan y \dfrac{dt}{dy} = -\tan y d y d t = − tan y , so tan y d y = − d t \tan y \, dy = -dt tan y d y = − d t .
By the chain rule:
d x d t = d x / d y d t / d y = ( 1 + 3 x t ) tan y / t 2 − tan y = − 1 + 3 x t t 2 = − 1 t 2 − 3 x t \dfrac{dx}{dt} = \dfrac{dx/dy}{dt/dy} = \dfrac{(1 + 3xt)\tan y / t^2}{-\tan y} = -\dfrac{1 + 3xt}{t^2} = -\dfrac{1}{t^2} - \dfrac{3x}{t} d t d x = d t / d y d x / d y = − tan y ( 1 + 3 x t ) tan y / t 2 = − t 2 1 + 3 x t = − t 2 1 − t 3 x
From this, we solve the linear ODE.
d x d t + 3 t x = − 1 t 2 \dfrac{dx}{dt} + \dfrac{3}{t}\, x = -\dfrac{1}{t^2} d t d x + t 3 x = − t 2 1
Integrating factor: e ∫ 3 t d t = e 3 ln ∣ t ∣ = t 3 e^{\int \frac{3}{t}\, dt} = e^{3\ln|t|} = t^3 e ∫ t 3 d t = e 3 l n ∣ t ∣ = t 3
Multiplying both sides by t 3 t^3 t 3 :
d d t ( t 3 x ) = − t \dfrac{d}{dt}(t^3 x) = -t d t d ( t 3 x ) = − t
Integrating:
t 3 x = − t 2 2 + C t^3 x = -\dfrac{t^2}{2} + C t 3 x = − 2 t 2 + C
x = − 1 2 t + C t 3 x = -\dfrac{1}{2t} + \dfrac{C}{t^3} x = − 2 t 1 + t 3 C
Now, we apply the initial condition.
At y = π 3 y = \dfrac{\pi}{3} y = 3 π : cos ( π 3 ) = 1 2 \cos\!\left(\dfrac{\pi}{3}\right) = \dfrac{1}{2} cos ( 3 π ) = 2 1 , so t = ln ( 1 2 ) = − ln 2 t = \ln\!\left(\dfrac{1}{2}\right) = -\ln 2 t = ln ( 2 1 ) = − ln 2 .
Given x ( π 3 ) = 1 2 ln 2 x\!\left(\dfrac{\pi}{3}\right) = \dfrac{1}{2\ln 2} x ( 3 π ) = 2 ln 2 1 :
1 2 ln 2 = − 1 2 ( − ln 2 ) + C ( − ln 2 ) 3 = 1 2 ln 2 − C ( ln 2 ) 3 \dfrac{1}{2\ln 2} = -\dfrac{1}{2(-\ln 2)} + \dfrac{C}{(-\ln 2)^3} = \dfrac{1}{2\ln 2} - \dfrac{C}{(\ln 2)^3} 2 ln 2 1 = − 2 ( − ln 2 ) 1 + ( − ln 2 ) 3 C = 2 ln 2 1 − ( ln 2 ) 3 C
0 = − C ( ln 2 ) 3 ⟹ C = 0 0 = -\dfrac{C}{(\ln 2)^3} \implies C = 0 0 = − ( ln 2 ) 3 C ⟹ C = 0
Then, we write the particular solution.
x = − 1 2 t = − 1 2 ln ( cos y ) x = -\dfrac{1}{2t} = -\dfrac{1}{2\ln(\cos y)} x = − 2 t 1 = − 2 ln ( cos y ) 1
Continuing, we find x ( π 6 ) x\!\left(\dfrac{\pi}{6}\right) x ( 6 π ) .
cos ( π 6 ) = 3 2 \cos\!\left(\dfrac{\pi}{6}\right) = \dfrac{\sqrt{3}}{2} cos ( 6 π ) = 2 3
ln ( 3 2 ) = 1 2 ln 3 − ln 2 = ln 3 − 2 ln 2 2 \ln\!\left(\dfrac{\sqrt{3}}{2}\right) = \dfrac{1}{2}\ln 3 - \ln 2 = \dfrac{\ln 3 - 2\ln 2}{2} ln ( 2 3 ) = 2 1 ln 3 − ln 2 = 2 ln 3 − 2 ln 2
x ( π 6 ) = − 1 2 ⋅ ln 3 − 2 ln 2 2 = − 1 ln 3 − 2 ln 2 = 1 2 ln 2 − ln 3 = 1 ln 4 − ln 3 x\!\left(\dfrac{\pi}{6}\right) = -\dfrac{1}{2 \cdot \frac{\ln 3 - 2\ln 2}{2}} = -\dfrac{1}{\ln 3 - 2\ln 2} = \dfrac{1}{2\ln 2 - \ln 3} = \dfrac{1}{\ln 4 - \ln 3} x ( 6 π ) = − 2 ⋅ 2 l n 3 − 2 l n 2 1 = − ln 3 − 2 ln 2 1 = 2 ln 2 − ln 3 1 = ln 4 − ln 3 1
It follows that we identify m m m and n n n .
Comparing with 1 log e m − log e n \dfrac{1}{\log_e m - \log_e n} log e m − log e n 1 :
m = 4 , n = 3 m = 4, \quad n = 3 m = 4 , n = 3
Since gcd ( 4 , 3 ) = 1 \gcd(4, 3) = 1 g cd( 4 , 3 ) = 1 , they are coprime.
m n = 4 × 3 = 12 mn = 4 \times 3 = \boxed{12} mn = 4 × 3 = 12