Integral confusion for a simple Differential Equation

  • Context: Undergrad 
  • Thread starter Thread starter anthraxiom
  • Start date Start date
  • Tags Tags
    Differential equation
anthraxiom
Messages
19
Reaction score
3
TL;DR
Say there is a function y where dy/dx=y/x. Now if we rearrange we get dy/y= dx/x. integrating both sides, we get lny=lnx. , x=y
I simply don't know where I'm going wrong in this. lets for example say y=2x. dy/dx=y/x=2
now if we look at only the differential equation we see that dy/y=dx/x, solving we get x=y
I have no idea how this is happening, please , if possible guide my foolish thoughts to where I have gone wrong.
 
Physics news on Phys.org
You are forgetting the constant of integration. [tex] \int \frac{dy}{y} = \int \frac{dx}{x} \Rightarrow \ln |y| = \ln |x| + \ln |A| \Rightarrow y = Ax.[/tex]
 
pasmith said:
You are forgetting the constant of integration. [tex] \int \frac{dy}{y} = \int \frac{dx}{x} \Rightarrow \ln |y| = \ln |x| + \ln |A| \Rightarrow y = Ax.[/tex]
thanks :D
 
Last edited:

Similar threads

  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 15 ·
Replies
15
Views
5K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K