Something wrong? can't find my error.

  • Thread starter Thread starter shseo0315
  • Start date Start date
  • Tags Tags
    Error
shseo0315
Messages
19
Reaction score
0

Homework Statement



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

Homework Equations


The Attempt at a Solution



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

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

int 1/y dy = int 2x dx + int 1/x dx

ln y = x^2 + lnx + c

y = exp(x^2 + c) + x and in this case initial condition doesn't work.

please help. I can't find what went wrong.

The answer turns out to be y = x exp(x^2-1).

help~~
 
Physics news on Phys.org
shseo0315 said:

Homework Statement



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

Homework Equations





The Attempt at a Solution



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

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

int 1/y dy = int 2x dx + int 1/x dx

ln y = x^2 + lnx + c

y = exp(x^2 + c) + x and in this case initial condition doesn't work.
Your error is in the line above. Since lny = x^2 + lnx + C, then y = e^(lnx + x^2 + C). Now think about the laws of exponents, particularly that a^(m + n) = a^m * a^n.
shseo0315 said:
please help. I can't find what went wrong.

The answer turns out to be y = x exp(x^2-1).

help~~
 
e^{x^2+lnx+c}=e^{x^2}e^{lnx}e^c=xe^{x^2}e^c

You seem to have confused multiplication and addition for your last step
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top