Solving Integral and ODE Problem

  • Thread starter Thread starter mmh37
  • Start date Start date
  • Tags Tags
    Integral Ode
Click For Summary

Homework Help Overview

The discussion revolves around solving an integral involving the function x/(x-1) and addressing a first-order ordinary differential equation (ODE) of the form xydy/dx + (x^2 + y^2 + x) = 0. Participants are exploring various methods and substitutions to tackle these problems.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • The original poster attempts integration by parts and algebraic manipulation for the integral, while also exploring substitutions for the ODE. Other participants suggest simpler approaches for the integral and discuss the complexity of the ODE.

Discussion Status

Participants have provided alternative methods and insights into the integral and ODE. Some have expressed uncertainty about their approaches, while others have shared their results, indicating a range of interpretations and attempts to clarify the problems.

Contextual Notes

There is mention of difficulties with the integral and the ODE, as well as a request for help with writing integrals in TeX format. The discussion reflects varying levels of familiarity with the topics, particularly in relation to ODEs.

mmh37
Messages
56
Reaction score
0
1. Problem with Integral

I got stuck on the following Integal and can't find the mistake:

Integral(x/(x-1))

let U' = x and V = (x-1)^(-1)
and U= 0.5x^2 V' = 1/(x-1)^2

so: x^2/(2(x-1))-1/2Integral(x^2/(x-1)^2

algebraic division: x^2 : (x^2 -2x + 1) = 1- 1/(x-1)^2 + 1/(x-1)^2

substituting back into equation gives:
1/2 [x^2/(x-1) - x - ln (x-1)^2 x 1/(x-1)] = (x+1)/(2(x-1)) + ln(x-1)

but the result is supposed to be:
x + ln(x-1)

2. Substitution in ODE

xydy/dx + (x^2 + y^2 +x) = 0

I have tried to substitute z = xy and also z = x^2 + y^2, but that didn't work. Any other ideas?

Thank you!
 
Last edited:
Physics news on Phys.org
PS: How can I write integrals with the function?
 
For the first, Plus and Minus one from the top. This will give:
I (x - 1 + 1)/ (x - 1) dx
I 1dx + I 1/(x-1) dx
x + ln(x-1) + C
#

The second, I got:
y^2 = x(1-x)/(1+x) + C
However, I am new to ODE's so it's probably wrong.
 
*lol* thanks... that was easy... I seem to have a tendency to make things more complicated than they actually are...:redface:

But thanks again!
 
BTW, to do integrals in TeX:

\int f(x) dx
\int f(x) dx

\int_0^5 f(x) dx
\int_0^5 f(x) dx
 
Hey mmy, the second one IS complicated. Just for the record in case you haven't figured it out, make it exact by finding an integrating factor. You know partial this, partial that, some arithmetic, get x. Solving, I get:

y(x)=\pm\frac{\sqrt{\frac{k}{x^2}-3x^2-4x}}{\sqrt{6}}

with the sign dictated by the initial conditions.
 
I got

<br /> y(x) = \frac{1}{x}\sqrt{C - \frac{1}{2}x^4 - \frac{2}{3}x^3}<br />
 
twoflower said:
I got
<br /> y(x) = \frac{1}{x}\sqrt{C - \frac{1}{2}x^4 - \frac{2}{3}x^3}<br />

Which is the same as saltydog has, I see :)
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
20
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
7
Views
1K