Question
Question: How do you find the general solution of \(\dfrac{dy}{dx}={{x}^{3}}-4x\) ?...
How do you find the general solution of dxdy=x3−4x ?
Solution
We have to find the general solution for dxdy=x3−4x . We can solve this by variable separation we can keep the x variable in LHS and y in RHS and integrate both sides to find the solution
Complete step by step answer:
The given equation in the question is dxdy=x3−4x
Multiplying dx in both LHS and RHS we get
dy=(x3−4x)dx
Now we can integrate both sides
If f and g are 2 different function then we know that the value of ∫(f(x)±g(x))dx is equal to the value of ∫f(x)dx±∫g(x)dx and if a constant is multiplied to the function we can take the constant outside the integration.
So we can write (x3−4x)dx as ∫x3dx−∫4xdx and also we can write ∫4xdx=4∫xdx
We know that integration of xndx is equal to n+1xn+1 where n is a real number and n is not equal to -1.
Applying the above formula we can tell that the value integration of x3 is 4x4 and integration of x is 2x2
We are solving a indefinite integration here so we have to add a constant here
Now we can write ∫dy=∫(x3−4x)dx
⇒ y=∫x3dx−∫4xdx+c
⇒y=4x4−2x2+c
So the general solution of the differential equation dxdy=x3−4x is y=4x4−2x2+c
Note:
While writing the integration of xn is equal to n+1xn+1 keep in mind that n is not equal to -1
If we put -1 in the formula n+1xn+1 the denominator will be equal to 0 and that will be not defined. The integration of xn when n is equal to -1 is ln x, derivative of ln x is x1.