Question
Question: How do you find the general solution to \(\left( {{x^2} + 1} \right)y' = xy\)?...
How do you find the general solution to (x2+1)y′=xy?
Solution
Since this question is in geometric form, first try to find out if the given equation is similar to any of the trigonometric identities. If it is similar try to reconstruct the given equation into the suitable identity which will enable us to further solve the question and reach our desired solution.
Formula used:
(1) ∫xx′dx=(lnx)
(2) lnxy=lnx+lny
(3) lnx2=2lnx lnx2=2lnx
Complete step by step solution:
The above equation given to us is in two variables.
Let us separate these variables such that one variable is on one side of the equation and the other is on different sides.
(x2+1)y′=xy ⇒y1×y′=(x2+1)x−−−(1)
Where y′ is nothing but dxdy.
Since the above equation has been separated let us proceed further.
Let us integrate equation (1) on both the sides with respect to x.
Therefore we get
∫y1×y′dx=∫x2+1xdx
Observing the above equation carefully, we can apply one of the integration formula which is
∫xx′dx=(lnx)
We can use this formula on Left hand side as well on the right hand side. But to apply this on the right hand side we will have to make minute changes that multiply and divide by 2 because the derivative of x2+2 is 2x.
Making this changes we get
lny=21(ln(x2+1))+C where C is the constant of integration.
We can further write the above equation as
lny=21(ln(x2+1))+lnC since lnC is a constant
Further using the properties of log, we get
lny=21lnC(x2+1)
Solving further we get
2lny=lnC(x2+1)
lny2=lnC(x2+1) (By using the property of log)
Taking antilog on both sides we get
y2=C(x2+1)
Now taking square root on both sides we get
y=C(x2+1)
Hence the General solution to the given equation is y=C(x2+1)
Note: A equation which is separable generally looks like dxdy=f(y)g(x). But not always is our question given to us in this general form. If we try to conclude the equation by separating the variables the equation becomes easier to solve and these kinds of questions are generally known as variable separable differential equations.