Question
Question: The solution of the differential equation $\frac{dy}{dx}=sec(x+y)$ is...
The solution of the differential equation dxdy=sec(x+y) is

y−tan2x+y=c
y+tan2x+y=c
y+2tan2x+y=c
None of these
A y−tan2x+y=c
Solution
The given differential equation is dxdy=sec(x+y).
This is a differential equation of the form dxdy=f(ax+by+c). Here, a=1,b=1,c=0. We use the substitution method. Let v=x+y. Differentiating both sides with respect to x: dxdv=dxd(x)+dxd(y) dxdv=1+dxdy From this, we can express dxdy as: dxdy=dxdv−1
Substitute this into the original differential equation: dxdv−1=sec(v)
Now, separate the variables: dxdv=1+sec(v) 1+sec(v)dv=dx
To integrate the left side, simplify the integrand: 1+sec(v)1=1+cos(v)11=cos(v)cos(v)+11=cos(v)+1cos(v)
We use the half-angle identities for cos(v): cos(v)=2cos2(2v)−1 So, cos(v)+1=2cos2(2v)
Substitute these into the integrand: 2cos2(2v)2cos2(2v)−1=2cos2(2v)2cos2(2v)−2sec2(2v)1 =1−21sec2(2v)
Now, integrate both sides of the separated equation: ∫(1−21sec2(2v))dv=∫dx
Integrating term by term: ∫1dv=v For ∫21sec2(2v)dv: Let u=2v, then du=21dv, which means dv=2du. So, 21∫sec2(u)(2du)=∫sec2(u)du=tan(u)=tan(2v).
Thus, the integral of the left side is: v−tan(2v)
The integral of the right side is: ∫dx=x+C, where C is the constant of integration.
Equating the results of the integration: v−tan(2v)=x+C
Finally, substitute back v=x+y: (x+y)−tan(2x+y)=x+C
Subtract x from both sides: y−tan(2x+y)=C
Comparing this solution with the given options, it matches option A.
Explanation of the solution:
- Substitute v=x+y to transform the differential equation into a separable form. This leads to dxdv−1=sec(v).
- Rearrange to separate variables: 1+sec(v)dv=dx.
- Simplify the integrand 1+sec(v)1 using trigonometric identities, specifically half-angle formulas for cosine: 1+cos(v)cos(v)=2cos2(v/2)2cos2(v/2)−1=1−21sec2(v/2).
- Integrate both sides: ∫(1−21sec2(v/2))dv=∫dx.
- Perform the integration: v−tan(v/2)=x+C.
- Substitute back v=x+y to get the solution in terms of x and y: (x+y)−tan(2x+y)=x+C.
- Simplify to obtain the final solution: y−tan(2x+y)=C.