Question
Question: How do you find all solutions of the differential equation \(\dfrac{dy}{dx}=B+ky\) ?...
How do you find all solutions of the differential equation dxdy=B+ky ?
Solution
To find all solutions of the differential equation dxdy=B+ky , we have to collect x terms including dy to one side and others to the other side. Then we will integrate both sides and find the value of y.
Complete step by step solution:
We have to find all solutions of the differential equation dxdy=B+ky . Let us find take the B+ky to LHS and dx to RHS.
⇒B+kydy=dx
Now, let us integrate both the sides. The above equation becomes
∫B+kydy=∫dx...(i)
Let us consider u=B+ky . Let us differentiate both sides.
⇒du=kdy⇒kdu=dy...(ii)
Now, let us multiply and divide LHS of equation (i) by k.
k1∫B+kykdy=∫dx
Let us now substitute (ii) in the above equation.
k1∫udu=∫dx
We will now integrate. We know that ∫x1dx=log∣x∣+C and ∫dx=x . Hence, the above equation becomes
k1log∣u∣=x+C1
Let us now substitute the value of u in the above equation.
⇒k1log∣B+ky∣=x+C1
Now, we have to take l from LHS to RHS.
⇒log∣B+ky∣=k(x+C1)⇒log∣B+ky∣=kx+kC1
Let us write kC1=C2 since it’s a constant.
⇒log∣B+ky∣=kx+C2
We have to take anti-logarithm on both sides.
⇒∣B+ky∣=ekx+C2
We know that am+n=am.an . Hence, the above equation becomes
⇒∣B+ky∣=ekxeC2
Let us denote eC2 as C .
⇒∣B+ky∣=ekxC
Let us remove the absolute value. We are considering B+ky to be positive.
⇒B+ky=ekxC
Let us take B to RHS.
⇒ky=ekxC−B
Now, we have to move k to RHS.
⇒y=kekxC−B
Hence, the solution of differential equation dxdy=B+ky is y=kCekx−B , where C=ekC1 .
Note: Students must know how to the rules and formulas of integration. We can also write the constants as C from the beginning. ∣B+ky∣ denotes that B+ky can also be negative, that is, B+ky<0 . But we usually take the positive condition.