Anyone want to help with math?

minime72706

Member
Sep 7, 2004
86
0
0
I know I should do my own homework but I suck at it and I'm trying.

so y'=(x+y)/x y(1)=1 Every time I try to do this I wind up getting y=(3/2)/x-x/2.

I get y'-(1/x)*y=1 solve using the integrating factor.


I have the answer for y(2) using Runge-Kutta so I know my answer is wrong.


Can anyone offer some guidance on why I suck at this? Thanks
 

JM Aggie08

Diamond Member
Jan 3, 2006
8,331
939
136
i'm about sick n tired of ppl showin off they're fancy math problems.

i'll take ax^2+bx+c over that mess any day!
 

Cawchy87

Diamond Member
Mar 8, 2004
5,104
2
81
Yikes, I haven't done this for a few years and totally forget how to do it. Bump! Hope you get an answer!
 

TecHNooB

Diamond Member
Sep 10, 2005
7,458
1
76
Ok, this is a homogenous equation. To determine this, all you have to do is verify that:

f(tx,ty) = f(x,y)

To solve the equation, let v = y/x (also y = xv) and reduce to a seperable equation.

If you take the partial of y = xv with respect to x, you get dy/dx = x * (dv/dx) + v.

So.. replace all the y's with xv.

dy/dx = (x + xv) / x = x * (dv/dx) + v

[x * (1 + v)] / x = x * (dv/dx) + v

1 + v = x * (dv/dx) + v

1 = x * (dv/dx)

(1/x) * dx = dv

Integrate both sides

ln(x) + K = v

ln(x) + K = y/x ~(v = y/x)

y = x[ln(x) + K]

y(1) = 1

1 = ln(1) + K ------> K = 1

y = x[ln(x) + 1]

I hope this is the correct answer ~_~
 

CraKaJaX

Lifer
Dec 26, 2004
11,905
148
101
Originally posted by: TecHNooB
Ok, this is a homogenous equation. To determine this, all you have to do is verify that:

f(tx,ty) = f(x,y)

To solve the equation, let v = y/x (also y = xv) and reduce to a seperable equation.

If you take the partial of y = xv with respect to x, you get dy/dx = x * (dv/dx) + v.

So.. replace all the y's with xv.

dy/dx = (x + xv) / x = x * (dv/dx) + v

[x * (1 + v)] / x = x * (dv/dx) + v

1 + v = x * (dv/dx) + v

1 = x * (dv/dx)

(1/x) * dx = dv

Integrate both sides

ln(x) + K = v

ln(x) + K = y/x ~(v = y/x)

y = x[ln(x) + K]

y(1) = 1

1 = ln(1) + K ------> K = 1

y = x[ln(x) + 1]

I hope this is the correct answer ~_~

If that's correct, he said he has the initial condition y(2) = ...?

Plugging in 2, and assuming your y is correct, that would mean y = ~3.4?
 

minime72706

Member
Sep 7, 2004
86
0
0
Originally posted by: TecHNooB


y = x[ln(x) + 1]

I hope this is the correct answer ~_~

Thats the right answer. y(2)=3.38 which is what I get with Runge-Kutta which is supposed to be within .01.

Thanks a lot. I just don't remember seeing it being to that way in class. The separation I get the substitution not so much, but I'll try to figure it out.

 
Aug 10, 2001
10,420
2
0
y'=1+y/x

y'-y/x = 1

now multilpy both sides by 1/x

(1/x)*y' -y/x^2 = 1/x

d/dx(y/x) = 1/x

y/x = ln(x) + c

y = x*ln(x) + cx

1= 1*ln(1)+c*1 =>c=1

y = x*ln(x) + x
 

CycloWizard

Lifer
Sep 10, 2001
12,348
1
81
Originally posted by: minime72706
Thats the right answer. y(2)=3.38 which is what I get with Runge-Kutta which is supposed to be within .01.

Thanks a lot. I just don't remember seeing it being to that way in class. The separation I get the substitution not so much, but I'll try to figure it out.
The accuracy of Runge Kutta completely depends on which RK formula you're using and the discretization used. And the DE isn't homogeneous, since (x-y)/x=1-y/x. It's first order linear and can be solved using integration factors.
 

robphelan

Diamond Member
Aug 28, 2003
4,084
17
81
Originally posted by: CycloWizard
Originally posted by: minime72706
Thats the right answer. y(2)=3.38 which is what I get with Runge-Kutta which is supposed to be within .01.

Thanks a lot. I just don't remember seeing it being to that way in class. The separation I get the substitution not so much, but I'll try to figure it out.
The accuracy of Runge Kutta completely depends on which RK formula you're using and the discretization used. And the DE isn't homogeneous, since (x-y)/x=1-y/x. It's first order linear and can be solved using integration factors.

yeah.. so take that!
 

Fenixgoon

Lifer
Jun 30, 2003
32,945
12,279
136
man, i used to know ODE's like a mofo. oh how quickly things change in two years
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |