General rule regarding solving each differnetial

  • Thread starter Thread starter hangainlover
  • Start date Start date
  • Tags Tags
    General
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 2K views
hangainlover
Messages
77
Reaction score
0

Homework Statement



(3y^2 + 2y)y' = xcosx
xyy'=ln(x) ; y(1)=2


Homework Equations





The Attempt at a Solution


for the first one i get y^3 + y^2= (x^2) sin(x) +cos(x) + C (constant)
and the second one is y^2 + ln(x)^2 +4
the problem is there is no way i can define those two as function y of x or function x of y
because of the exponents.

So my question is, if a question is asking for a solution to a differential equation, can we just leave it as that above?
 
Physics news on Phys.org
hangainlover said:

Homework Statement



(3y^2 + 2y)y' = xcosx
xyy'=ln(x) ; y(1)=2


Homework Equations





The Attempt at a Solution


for the first one i get y^3 + y^2= (x^2) sin(x) +cos(x) + C (constant)
The left side is correct, but you made a mistake when you integrated xcos(x). You can check what you have by differentiating x2sin x + cos x. If your integration is correct, you should get d/dx(x2sin x + cos x) = xcosx.

Once you fix your error, you're done. It's not always possible to get the solution so that you have y as a function of x. In this case you will have y as an implicit function of x.
hangainlover said:
and the second one is y^2 + ln(x)^2 +4
You might have made a typo here. The solution should be y2 = (ln x)2 + 4. It's probably OK to leave it this way, but if you need to, you can solve for y, as y(x) = +/-sqrt( (ln x)2 + 4)
hangainlover said:
the problem is there is no way i can define those two as function y of x or function x of y
because of the exponents.

So my question is, if a question is asking for a solution to a differential equation, can we just leave it as that above?
 
yeah i made a typo in both solutions. I am sorry. I was really rushed to type it in

the first one should be y^3+y^2 = xsin(x) +cos(x) + C and the second one is y^2 = (ln x)^2 + 4 not y^2=ln(x)^2 +4
 
Last edited: