← 2013 Paper 1
UPSC 2013 Maths Optional Paper 1 Q5a — Step-by-Step Solution 10 marks · Section B
Variables separable · ODEs · asked 3× in 13 yrs · Read the full method →
Question
y y y is a function of x x x , such that the differential coefficient d y d x \dfrac{dy}{dx} d x d y is equal to cos ( x + y ) + sin ( x + y ) \cos(x+y)+\sin(x+y) cos ( x + y ) + sin ( x + y ) . Find out a relation between x x x and y y y , which is free from any derivative/differential.
Technique
Substitution v = x + y v=x+y v = x + y converts an x + y x+y x + y -dependent ODE into separable form; half-angle identities collapse 1 + cos v + sin v 1+\cos v+\sin v 1 + cos v + sin v ; then a clean sec 2 u / ( 1 + tan u ) \sec^{2}u/(1+\tan u) sec 2 u / ( 1 + tan u ) form integrates directly.
Solution
Strategy. The RHS depends only on x + y x+y x + y — use the substitution v = x + y v=x+y v = x + y to convert to a separable ODE.
Step 1 — Substitute v = x + y v=x+y v = x + y
v = x + y ⇒ d v d x = 1 + d y d x , d y d x = d v d x − 1 v=x+y\;\Rightarrow\;\dfrac{dv}{dx}=1+\dfrac{dy}{dx},\;\dfrac{dy}{dx}=\dfrac{dv}{dx}-1 v = x + y ⇒ d x d v = 1 + d x d y , d x d y = d x d v − 1 .
The ODE becomes
d v d x − 1 = cos v + sin v ⟹ d v d x = 1 + cos v + sin v . \frac{dv}{dx}-1=\cos v+\sin v\;\Longrightarrow\;\frac{dv}{dx}=1+\cos v+\sin v. d x d v − 1 = cos v + sin v ⟹ d x d v = 1 + cos v + sin v .
Step 2 — Simplify the RHS using half-angle identities
1 + cos v = 2 cos 2 ( v / 2 ) 1+\cos v=2\cos^{2}(v/2) 1 + cos v = 2 cos 2 ( v /2 ) and sin v = 2 sin ( v / 2 ) cos ( v / 2 ) \sin v=2\sin(v/2)\cos(v/2) sin v = 2 sin ( v /2 ) cos ( v /2 ) , so
d v d x = 2 cos 2 v 2 + 2 sin v 2 cos v 2 = 2 cos v 2 ( cos v 2 + sin v 2 ) . \frac{dv}{dx}=2\cos^{2}\!\tfrac{v}{2}+2\sin\tfrac{v}{2}\cos\tfrac{v}{2}=2\cos\tfrac{v}{2}\!\left(\cos\tfrac{v}{2}+\sin\tfrac{v}{2}\right). d x d v = 2 cos 2 2 v + 2 sin 2 v cos 2 v = 2 cos 2 v ( cos 2 v + sin 2 v ) .
Step 3 — Separate and integrate
d v 2 cos v 2 ( cos v 2 + sin v 2 ) = d x . \frac{dv}{2\cos\tfrac{v}{2}\!\left(\cos\tfrac{v}{2}+\sin\tfrac{v}{2}\right)}=dx. 2 cos 2 v ( cos 2 v + sin 2 v ) d v = d x .
Let u = v / 2 , d u = d v / 2 u=v/2,\;du=dv/2 u = v /2 , d u = d v /2 :
d u cos u ( cos u + sin u ) = d x . \frac{du}{\cos u(\cos u+\sin u)}=dx. cos u ( cos u + sin u ) d u = d x .
Divide numerator and denominator by cos 2 u \cos^{2}u cos 2 u :
sec 2 u d u 1 + tan u = d x . \frac{\sec^{2}u\,du}{1+\tan u}=dx. 1 + tan u sec 2 u d u = d x .
Substitute w = 1 + tan u , d w = sec 2 u d u w=1+\tan u,\;dw=\sec^{2}u\,du w = 1 + tan u , d w = sec 2 u d u :
d w w = d x ⟹ ln ∣ w ∣ = x + C ⟹ ln ∣ 1 + tan x + y 2 ∣ = x + C . \frac{dw}{w}=dx\;\Longrightarrow\;\ln|w|=x+C\;\Longrightarrow\;\ln\!\left|1+\tan\!\frac{x+y}{2}\right|=x+C. w d w = d x ⟹ ln ∣ w ∣ = x + C ⟹ ln 1 + tan 2 x + y = x + C .
Step 4 — Express derivative-free
Exponentiate:
1 + tan x + y 2 = A e x , A = ± e C a non-zero constant. 1+\tan\!\frac{x+y}{2}=A\,e^{x},\qquad A=\pm e^{C}\;\text{a non-zero constant.} 1 + tan 2 x + y = A e x , A = ± e C a non-zero constant.
Answer
1 + tan x + y 2 = A e x . \boxed{\;1+\tan\!\frac{x+y}{2}=A\,e^{x}.\;} 1 + tan 2 x + y = A e x .