Stuck trying to integrate a differential equation

In summary, the homework problem is to find the equation of a line that passes through two points, x and y.
  • #1
dooogle
21
0

Homework Statement



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

where a is a constant

express answer in the form x=f(y)

Homework Equations


The Attempt at a Solution



let u=x+y

du/dx=1+dy/dx

du/dx=1+(a^2)/(u^2)

int(du/(((a^2)/(u^2))+1))=int(a^2 dx)

after integration substituting back in for u gives:

(-1/(2a))*arctan(a/((x+y)^2))=(a^2(x+c))/((x+y)^3)

i don't know how to rearrange into the form f(y)=x

please could you let me know if i have made mistakes and if not could u tell me how to rearrange arctan(a/(x+y)^2) into a form where x and y are separable

thanks for your time

dooogle
 
Physics news on Phys.org
  • #2
If I've interpreted your equations correctly (try using latex code, it is a lot simpler to read), it seems to me that you've done an error when simplifying the expression that is to be integrated. I get something like

[tex]\frac{du}{dx}=1+ \frac{a^2}{u^2}[/tex]

[tex]\Leftrightarrow \frac{du}{dx}=\frac{u^2 + a^2}{u^2} [/tex]

[tex]\Rightarrow \int \frac{u^2 du}{u^2 + a^2} = \int dx [/tex]

This integrand doesn't seem to agree with yours.
 
  • #3
cheers for the response

ive tried integrating:

u^2/((u^2)+(a^2))du

by parts but the answer i get is not the same as what i get when i use wolfram online integrator

is it correct to try integration by parts? where the equation is

int(f(u)g'(u))=f(u)g(u)-int(f'(u)g(u)du)

taking f(u)=1/((u^2)+(a^2)) g'(u)=u^2

so f'(u)=-2u/((u^2)+(a^2))^2 g(u)=(u^3)/3

so integral equals

(u^3)/3((u^2)+(a^2))-int((u^3)/3*-2u/((u^2)+(a^2))^2))

=(u^3)/3((u^2)+(a^2))-int((-2u^4/(3((u^2)+(a^2))^2)))

which does not seem to work

i apologise for not using latex i tried to but it didnt work

thank you for your time any help would be much appreciated

cheers


dooogle
 
  • #4
Try using the opposite order. Differentiate u2 and integrate 1/(u2+a2).
 
  • #5
ok so i set f(u)=u^2

f'(u)=2u

g'(u)=1/(u^2+a^2)

g(u)=ArcTan[u/a]/a

applying integration by parts formula gives

(u^2)*ArcTan[u/a]/a-int(2uArcTan[u/a]/a du)

which gives a*arctan(u/a)-x=int a^2 dx

arctan(u/a)=ax+c

so (u/a)=tan(ax) +tan(c)

subbing back in for x+y gives

x+y=a*tan(ax)+a*tan(c)

x=a*tan(ax)+a*tan(c)-y

please could u let me know if i have integrated incorrectly

or if i have made a mistake elsewhere

thanks very much for your time

dooogle
 
  • #6
You integrated by parts incorrectly. You should get 2u/(u2+a2) as the second integral, not what you have.
 
  • #7
i have attempted it with a different method since the last method did not seem to supply the right answer please could someone tell me where i am going wrong with this new method:

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

where a^2 is a constant and the answer must be expressed in the form x=f(y)

dy/dx=(a^2)/((x^2+2*x*y+y^2)

let u=y/x

dy/dx=(a^2)/((x^2+2u*x^2+u^2*x^2)

dy/dx=(a^2)/(x^2(1+2u+u^2)

du/dy=(du/dx)*(dx/dy)

du/dx=-y/(x^2)

dx/dy=(x^2(1+2u+u^2)/(a^2)

so du/dy=-y*((1+2u+u^2)/(a^2))

int(1/((u+1)^2))du= -1/a^2*int(y)dy

-1/(u+1)= -y^2/(2*a^2)+[here i am unsure whether the +c is multiplied by -1/a^2] assuming it is not gives:

-1/(u+1)= -y^2/(2*a^2)+c

substituting back for u gives

-1/((y/x)+1))=-y^2/(2*a^2)+c

[not sure if this is next step is right]

-(x/y)-1=-y^2/(2*a^2)+c

-x-y=(-y^3)/(2*a^2)+c

x=(y^3)/(2*(a^2))-y+c

thanks for your time

any help would be much appretiated

dooogle
 

1. What is a differential equation?

A differential equation is a mathematical equation that describes the relationship between a function and its derivatives. It is used to model many real-world phenomena in fields such as physics, engineering, and economics.

2. Why is it important to integrate a differential equation?

Integrating a differential equation allows us to find the general solution, which is a function that satisfies the equation for all possible values of the independent variable. This is useful for predicting future behavior and understanding the behavior of a system.

3. What are the different methods for solving a differential equation?

There are several methods for solving a differential equation, including separation of variables, substitution, and using an integrating factor. It is important to choose the most appropriate method for the specific equation at hand.

4. What are some common challenges when integrating a differential equation?

Some common challenges when integrating a differential equation include determining the correct method to use, dealing with complex integrals, and finding the appropriate initial conditions for the solution.

5. How can technology assist in integrating a differential equation?

Technology, such as graphing calculators and computer software, can assist in integrating a differential equation by providing visualization tools, solving complex integrals, and allowing for numerical approximations of solutions. This can help to check for accuracy and make the process more efficient.

Similar threads

  • Calculus and Beyond Homework Help
Replies
12
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
613
  • Calculus and Beyond Homework Help
Replies
1
Views
483
  • Calculus and Beyond Homework Help
Replies
15
Views
776
  • Calculus and Beyond Homework Help
Replies
4
Views
681
  • Calculus and Beyond Homework Help
Replies
4
Views
729
  • Calculus and Beyond Homework Help
Replies
14
Views
373
  • Calculus and Beyond Homework Help
Replies
8
Views
753
  • Calculus and Beyond Homework Help
Replies
21
Views
827
  • Calculus and Beyond Homework Help
Replies
8
Views
754
Back
Top