Differential equation: solve (y2 + 8) dx = y sec2 x dy

kheath39

New member
Joined
Jul 6, 2015
Messages
3
Solve the given differential equation. (Use C for the constant of integration.)
(y2 + 8) dx = y sec2 x dy

I'm separating this to get y/(y2+8) dy = 1/sec2x dx which is ln((y2+8)/2 = (sinx cosx + x)/2

I then get y2+8 = e(sinx cosx +x)

y = sqrt(e(sinx cosx + x)-8 + C

Where am I going wrong?

 
Solve the given differential equation. (Use C for the constant of integration.)
(y2 + 8) dx = y sec2 x dy

I'm separating this to get y/(y2+8) dy = 1/sec2x dx which is ln((y2+8)/2 = (sinx cosx + x)/2 ← this where I would apply constant of integration

ln((y2+8)/2 + ln(C1) = (sinx cosx + x)/2

ln[C(y2+8)]/2 = (sinx cosx + x)/2

and continue.....


I then get y2+8 = e(sinx cosx +x)

y = sqrt(e(sinx cosx + x)-8 + C

Where am I going wrong?

.
 
Solve the given differential equation. (Use C for the constant of integration.)
(y2 + 8) dx = y sec2 x dy

I'm separating this to get y/(y2+8) dy = 1/sec2x dx which is ln((y2+8)/2 = (sinx cosx + x)/2

I then get y2+8 = e(sinx cosx +x)

y = sqrt(e(sinx cosx + x)-8 + C

Where am I going wrong?

As Subhotosh Khan points out, you have to put in the constant of integration at the proper place, i.e.
(ln(y2+8))/2 + C1= (sinx cosx + x)/2 + C2
and then consolidate as much as possible at some point. Note that the consolidation Subhotosh Khan gives,
ln[C(y2+8)] = (sinx cosx + x),
where C=e2(C1-C2) provides a different form than that for the consolidation of the constants C=2 (C2-C1),
ln[y2 + 8] = sin(x) cos(x) + x + C.
However the answer is 'the same' and the two C are related to one another as can be seen.

EDIT: Correct mistake in formula.
 
Last edited:
Top