Calculus Examples

Solve the Differential Equation (dy)/(dx)=(xy-3y+x-3)/(xy+2y-x-2)
Step 1
Separate the variables.
Tap for more steps...
Step 1.1
Factor.
Tap for more steps...
Step 1.1.1
Factor out the greatest common factor from each group.
Tap for more steps...
Step 1.1.1.1
Group the first two terms and the last two terms.
Step 1.1.1.2
Factor out the greatest common factor (GCF) from each group.
Step 1.1.2
Factor the polynomial by factoring out the greatest common factor, .
Step 1.2
Factor.
Tap for more steps...
Step 1.2.1
Factor out the greatest common factor from each group.
Tap for more steps...
Step 1.2.1.1
Group the first two terms and the last two terms.
Step 1.2.1.2
Factor out the greatest common factor (GCF) from each group.
Step 1.2.2
Factor the polynomial by factoring out the greatest common factor, .
Step 1.3
Regroup factors.
Step 1.4
Multiply both sides by .
Step 1.5
Simplify.
Tap for more steps...
Step 1.5.1
Multiply by .
Step 1.5.2
Cancel the common factor of .
Tap for more steps...
Step 1.5.2.1
Factor out of .
Step 1.5.2.2
Cancel the common factor.
Step 1.5.2.3
Rewrite the expression.
Step 1.5.3
Cancel the common factor of .
Tap for more steps...
Step 1.5.3.1
Factor out of .
Step 1.5.3.2
Cancel the common factor.
Step 1.5.3.3
Rewrite the expression.
Step 1.6
Rewrite the equation.
Step 2
Integrate both sides.
Tap for more steps...
Step 2.1
Set up an integral on each side.
Step 2.2
Integrate the left side.
Tap for more steps...
Step 2.2.1
Divide by .
Tap for more steps...
Step 2.2.1.1
Set up the polynomials to be divided. If there is not a term for every exponent, insert one with a value of .
+-
Step 2.2.1.2
Divide the highest order term in the dividend by the highest order term in divisor .
+-
Step 2.2.1.3
Multiply the new quotient term by the divisor.
+-
++
Step 2.2.1.4
The expression needs to be subtracted from the dividend, so change all the signs in
+-
--
Step 2.2.1.5
After changing the signs, add the last dividend from the multiplied polynomial to find the new dividend.
+-
--
-
Step 2.2.1.6
The final answer is the quotient plus the remainder over the divisor.
Step 2.2.2
Split the single integral into multiple integrals.
Step 2.2.3
Apply the constant rule.
Step 2.2.4
Since is constant with respect to , move out of the integral.
Step 2.2.5
Since is constant with respect to , move out of the integral.
Step 2.2.6
Multiply by .
Step 2.2.7
Let . Then . Rewrite using and .
Tap for more steps...
Step 2.2.7.1
Let . Find .
Tap for more steps...
Step 2.2.7.1.1
Differentiate .
Step 2.2.7.1.2
By the Sum Rule, the derivative of with respect to is .
Step 2.2.7.1.3
Differentiate using the Power Rule which states that is where .
Step 2.2.7.1.4
Since is constant with respect to , the derivative of with respect to is .
Step 2.2.7.1.5
Add and .
Step 2.2.7.2
Rewrite the problem using and .
Step 2.2.8
The integral of with respect to is .
Step 2.2.9
Simplify.
Step 2.2.10
Replace all occurrences of with .
Step 2.3
Integrate the right side.
Tap for more steps...
Step 2.3.1
Divide by .
Tap for more steps...
Step 2.3.1.1
Set up the polynomials to be divided. If there is not a term for every exponent, insert one with a value of .
+-
Step 2.3.1.2
Divide the highest order term in the dividend by the highest order term in divisor .
+-
Step 2.3.1.3
Multiply the new quotient term by the divisor.
+-
++
Step 2.3.1.4
The expression needs to be subtracted from the dividend, so change all the signs in
+-
--
Step 2.3.1.5
After changing the signs, add the last dividend from the multiplied polynomial to find the new dividend.
+-
--
-
Step 2.3.1.6
The final answer is the quotient plus the remainder over the divisor.
Step 2.3.2
Split the single integral into multiple integrals.
Step 2.3.3
Apply the constant rule.
Step 2.3.4
Since is constant with respect to , move out of the integral.
Step 2.3.5
Since is constant with respect to , move out of the integral.
Step 2.3.6
Multiply by .
Step 2.3.7
Let . Then . Rewrite using and .
Tap for more steps...
Step 2.3.7.1
Let . Find .
Tap for more steps...
Step 2.3.7.1.1
Differentiate .
Step 2.3.7.1.2
By the Sum Rule, the derivative of with respect to is .
Step 2.3.7.1.3
Differentiate using the Power Rule which states that is where .
Step 2.3.7.1.4
Since is constant with respect to , the derivative of with respect to is .
Step 2.3.7.1.5
Add and .
Step 2.3.7.2
Rewrite the problem using and .
Step 2.3.8
The integral of with respect to is .
Step 2.3.9
Simplify.
Step 2.3.10
Replace all occurrences of with .
Step 2.4
Group the constant of integration on the right side as .