Understanding Differential Equations

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 1K views
BOAS
Messages
546
Reaction score
19
Hello,

these are the first differential equations I've tried to solve...

Homework Statement



Find the general solution of the following differential equations. In each case if
y = 2 when x = 1 find y when x = 3.

[itex]2x \frac{dy}{dx} = 3[/itex]

Homework Equations


The Attempt at a Solution



[itex]2x \frac{dy}{dx} = 3[/itex]

[itex]\frac{dy}{dx} = \frac{3}{2x}[/itex]

[itex]dy = (\frac{3}{2x}) dx[/itex]

[itex]\int dy = \int (\frac{3}{2x}) dx[/itex]

[itex]y = \frac{3}{2}ln|x| + c[/itex]

Firstly, is this correct and secondly, the question says that when y = 2, x = 1 but ln(1) = 0 so I don't see how this can be true. Or have I just found out that my constant of integration, c = 2?

Thanks for any help you can give!

BOAS
 
Physics news on Phys.org
BOAS said:
Or have I just found out that my constant of integration, c = 2?

BOAS

I think you've just found the value of your constant of integration!

If you have solved a diff equ, you can always check your answer by diferentiating it and putting it back in the original equation. It's often worth doing if you're not sure.