Basic Differential Equation (Should be Easy)

Click For Summary
The discussion centers on solving the differential equation dy/dx = 4 - y. Participants clarify that the equation can be approached through variable separation, requiring the rearrangement of terms. The correct method involves isolating y-related terms and integrating both sides, leading to the solution y = 4 + Ce^-x. The initial confusion about integrating y without dy/dx is resolved by recognizing the need for variable separation. Overall, the thread emphasizes the importance of proper rearrangement and integration techniques in solving differential equations.
EstimatedEyes
Messages
31
Reaction score
0

Homework Statement


Find the general solution to the differential equation.

dy/dx = 4 - y

The Attempt at a Solution


I only know how to solve them when one can multiply or divide by y. How does one take the integral of y with respect to x without the chain of y'? Thanks.
 
Last edited:
Physics news on Phys.org
Hi EstimatedEyes

what does y' mean? if = dy/dx, then you get 2 dy/dx = 4...?
 
y' does mean dy/dx but I wrote the problem text down wrong. It should be:

dy/dx = 4 - y
 
so any ideas? i think you can do this one by straight integration (with some substitution if needed...)

you need to rearrange so all the y related terms are on one side & all the x on the other side then inetgrate both sides
 
Yes, I know you have to isolate the variables but don't you need dy/dx multiplied to y in order to integrate?

So you get integral(dy/dx + y) = 4x which would be easy if instead of y it was dy/dx*y but I do not know how to do it without the chain. It can't just be 1/2*y^2 can it?

The answer the book has is y = 4 + Ce^-x. How does one arrive at this?
 
Last edited:
Its a variable separable question.

dy/(4 - y) = dx

Integrate both sides. and solve for y
 
Oh, now it's easy. Thank you Omerta6!
 
Not a problem!
 

Similar threads

Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
17
Views
2K