I do not believe it can be separated... Do you not know how to use Integration Factors to solve for Linear DE's?
How do I find the general solution for this differential equation:
I know how to do them using separation of variables, but I can't figure out this one, because the y and x terms are subtracted rather than multiplied or divided.
An "integrating factor" for the first order d.e. is a function of x, say v(x), such that multiplying the entire equation by it makes the left side an "exact derivative".
That is, multiplying by v(x), to get reduces to .
Of course, by the chain rule, we have . In order that those be equal we must have which leads immediately to which is a separable d.e.: and so .
Here, so f(x)= -2 and . Multiplying the equation by that gives
But it is easy to see that .
Use "integration by parts" to integrate that.
Well, this is a linear differential equation of the first order (meaning it involves only the first derivative). Now, we can move the y term on the right side of the equation to the left side of the equation, like so:
This is what is called general form, also given by:
Where p(x) and q(x) can be anything as long as it is a function of x. In our case, p(x) = -2 and q(x) = -4x.
Now, we want a function, we'll call it such that it makes this equation solvable by integration... So, we multiply everything by it...
Now, this step isn't really easy to follow, but let's suppose we let:
This is just saying that the derivative of u(x) is the product of two functions, one of which is u(x). There is no problem with doing this as long as we solve for u(x). Notice that this in and of itself is a separable differential equation.
Now, back to , we can solve this like any separable equation.
So we have the form:
Note, that at this moment p(x) can be anything... so let's integrate:
Note: We don't need a constant since it will be brought in in the general solution.
Now, here is our factor u. We just put this back into the equation:
Now we integrate both sides:
Now, recall that p(x) = -2 and q(x) = -4x, so first we'll solve the exponential:
So we have:
Now we integrate the numerator:
The integral of which is:
(Integration by parts)
So, our solution is:
Now we plug this into the differential equation to see if it actually is a solution:
So, we get:
This is true, so our solution is valid.
I hope this covers it.
Okay, that helps, but for the same equation:
Let g be the function that satisfies the given differential equation with the initial condition g(0) = 0. Does the graph of g have a local extremum at the point (0,0)? If so, is the point a local maximum or a local minimum? Justify your answer.
I think I am supposed to figure this out without the solution to the differential equation that you helped me with above.