# Please check if the differential equation is correct

 P: 1 I am practising for my test. The question is to solve a differential equation dy/dx + y/x + 1 = 5x y(0) = 1. The answer that i have come up with is (xy+y)= 5x^3/3+5x^2/2+c by substituting the values x=0 and y=1 in to the general equation I get y(x+1)=5x^3/3 + 5x^2/2 +1 as the particular solution. Can you tell me how will the particular solution look like and why this particular solution exists?
P: 4,578
 Quote by rohit99 I am practising for my test. The question is to solve a differential equation dy/dx + y/x + 1 = 5x y(0) = 1. The answer that i have come up with is (xy+y)= 5x^3/3+5x^2/2+c by substituting the values x=0 and y=1 in to the general equation I get y(x+1)=5x^3/3 + 5x^2/2 +1 as the particular solution. Can you tell me how will the particular solution look like and why this particular solution exists?
Hey rohit99 and welcome to the forums.

For your equation your initial condition only effects a constant in the entire equation.

Based on this what is the effect of adding or subtracting a constant in a general equation? (Hint: how does it 'shift' the function?)
Math
Emeritus
Thanks
PF Gold
P: 39,682
 Quote by rohit99 I am practising for my test. The question is to solve a differential equation dy/dx + y/x + 1 = 5x
You mean y/(x+1).

 y(0) = 1. The answer that i have come up with is (xy+y)= 5x^3/3+5x^2/2+c by substituting the values x=0 and y=1 in to the general equation I get y(x+1)=5x^3/3 + 5x^2/2 +1 as the particular solution. Can you tell me how will the particular solution look like and why this particular solution exists?
What exactly do you mean by "look like"? If you just mean "solve for y", divide both sides by x+ 1.
The differential equation can be written
$$\frac{dy}{dx}= 5x- \frac{y}{x+1}$$
The function on the right side is differentiable for all y and all x except -1 so by the "fundamental existence and uniqueness theorem" for initial value problems, a unique solution to this problem exist for all x larger than -1.

 Related Discussions Calculus & Beyond Homework 3 Calculus & Beyond Homework 3 Calculus & Beyond Homework 8 Calculus & Beyond Homework 0 Introductory Physics Homework 1