First Order Differential Equation

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 2K views
Woolyabyss
Messages
142
Reaction score
1

Homework Statement


Find the general solution to the following differential equation.

dy/dx = 2x( (y^2) + 1)


Homework Equations





The Attempt at a Solution



I got all x terms on one side and all y terms on the otherside

2x dx = 1/( (y^2) + 1`)dy

integrate

x^2 + c = tan(y)

y = tan-inverse(x^2 + c)

Can somebody tell me if this is right ?

my book says the solution is y = tan(x^2 + c)
 
Physics news on Phys.org
tan-inverse(1/y)

sorry I see where I went wrong now

it should have been x^2 + c = tan-inverse(y)
 
Woolyabyss said:
tan-inverse(1/y)

sorry I see where I went wrong now

it should have been x^2 + c = tan-inverse(y)

∫dy/(1+y2) = tan-1y

So,tan-1y = x2 + c

or , y = tan(x2 + c)
 
Tanya Sharma said:
∫dy/(1+y2) = tan-1y

So,tan-1y = x2 + c

or , y = tan(x2 + c)

Could you help me with another one?

Given the differential equation

x(dy/dx) = √(4 - y^2) , find the general solution given that y = 0 when x = 1

I got all the x terms to one side and all of the y terms to the opposite side.

1/√(4 - y^2) dy = 1/x dx

integrating gives

sin-inverse(y/2) = lnx

using the limits and we get

sin-inverse(y/2) = lnx

y/2 = sin(lnx)

y = 2sin(lnx)

my book says the solution is y = sin(lnx)
 
Woolyabyss said:
Could you help me with another one?

Given the differential equation

x(dy/dx) = √(4 - y^2) , find the general solution given that y = 0 when x = 1

I got all the x terms to one side and all of the y terms to the opposite side.

1/√(4 - y^2) dy = 1/x dx

integrating gives

sin-inverse(y/2) = lnx

using the limits and we get

sin-inverse(y/2) = lnx

y/2 = sin(lnx)

y = 2sin(lnx)

my book says the solution is y = sin(lnx)

y=2sin(lnx) looks to be the correct answer.You can verify that by putting the solution in the original equation and checking whether it satisfies the eq.

Note : Even though you came up with the correct answer ,please do not ignore the constant of integration C while integrating.