Question
Question: What is a solution to the differential equation \[\dfrac{{dy}}{{dx}} = x - y\] ?...
What is a solution to the differential equation dxdy=x−y ?
Solution
Hint : Here, we need to differentiate the given equation, dxdy=x−y. A differential equation includes derivatives, which can be either partial or regular. The differential equation describes a relationship between a quantity that is continuously varying with respect to a change in another quantity, and the derivative represents a rate of change. There are several differential equation formulas for determining derivative solutions.
Complete step by step solution:
In the given problem,
The differential equation is dxdy=x−y
We can’t separate this equation, so we have to set up an integrating the factor, we get
dxdy+y=x
Here, the integrating factor is e∫dx=ex , we get
exdxdy+exy=xex
So, we take out commonly, exy from above, we get
dxd(exy)=xex
So, the integration factor, exy=∫xexdx→(1)
We use the integration by part formula, ∫uv1=uv−∫u1v
By substituting the values into the formula, we get
∫uv1=uv−∫u1v⇒∫xex=xex−∫exdx
To simplify the integration, we can get
∫xex=xex−ex+C
By substituting the above values in equation (1) , we get
exy=xex−ex+C
By dividing on both sides by ex , we get
y=x−1+exC
Thus, y=x−1+exC is the solution to the differential equation, dxdy=x−y .
So, the correct answer is y=x−1+exC ”.
Note : We note that the differential equation is one that includes one or more terms as well as the derivatives of one variable (the dependent variable) with respect to another variable (i.e., independent variable) dxdy=f(x). Where, the variable, x is independent and the variable y is dependent.Thus, the differentiation is a process of finding a function that outputs the rate of change of one variable with respect to another variable. We use the integrating factor formula, ∫uv1=uv−∫u1v is used as the derivative of a function. The function of a real variable measures the sensitivity to change of the function value with respect to a change in its argument.