Question
Question: Evaluate the following equation: \[{{\sec }^{2}}x\tan y\text{ }dy+{{\sec }^{2}}y\tan x\text{ }dx=0...
Evaluate the following equation:
sec2xtany dy+sec2ytanx dx=0
Solution
Hint:First of all, transpose one of the terms to RHS. Then divide the whole equation by tan x tan y to get the term in one variable on each side. Now use the substitution tanθ=t and sec2θ dθ=dt to solve the equation.
Complete step by step answer:
Here, we have to solve the differential equation
sec2xtany dy+sec2ytanx dx=0
Let us consider the differential equation given in the question.
sec2xtany dy+sec2ytanx dx=0
By transposing one of the terms to RHS of the above equation, we get,
sec2xtany dy=−sec2ytanx dx
By dividing both the sides of the above equation by sec2xsec2y, we get,
sec2xsec2ysec2xtany dy=−sec2xsec2ysec2ytanx dx
By canceling the like terms in the above equation, we get’
sec2ytany dy=sec2x−tanx dx
We know that tanθ=cosθsinθ and secθ=cosθ1. By using this in the above equation, we get,
cosy1cosysinydy=cos2x1cosx−sinxdxdx
By canceling the like terms in the above equation, we get,
sinycosydy=−sinxcosxdx
By multiplying by 2 on both the sides of the above equation, we get,
2sinycosydy=−2sinxcosxdx
We know that 2sinθcosθ=sin2θ. By using this in the above equation, we get,
sin2ydy=−sin2xdx
By integrating both the sides of the above equation, we get,
∫(sin2y)dy=−∫(sin2x)dx
We know that ∫sin2θdθ=2−cos2θ+k. By using this in the above equation, we get,
2−cos2y+k1=2+cos2x+k2
where k1 and k2 are constant
⇒2cos2x+cos2y=k1−k2
cos2x+cos2y=2(k1−k2)
By taking 2(k1−k2)=k, we get,
cos2x+cos2y=k
Note: In these types of questions, always first separate the terms x and y and then only solve the differential equation. Also in this question, some students make this mistake of substituting tan x = t by looking at the terms of tan x and sec2x which is not needed here because we generally substitute tan x = t when we have another term like sec2xdx which is absent here. So, this must be there in the mind of the students.