Calculus Examples

Solve the Differential Equation (dy)/(dx)=(x-2)/(y+1)
Step 1
Separate the variables.
Tap for more steps...
Step 1.1
Multiply both sides by .
Step 1.2
Cancel the common factor of .
Tap for more steps...
Step 1.2.1
Cancel the common factor.
Step 1.2.2
Rewrite the expression.
Step 1.3
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
Split the single integral into multiple integrals.
Step 2.2.2
By the Power Rule, the integral of with respect to is .
Step 2.2.3
Apply the constant rule.
Step 2.2.4
Simplify.
Step 2.3
Integrate the right side.
Tap for more steps...
Step 2.3.1
Split the single integral into multiple integrals.
Step 2.3.2
By the Power Rule, the integral of with respect to is .
Step 2.3.3
Apply the constant rule.
Step 2.3.4
Simplify.
Step 2.4
Group the constant of integration on the right side as .
Step 3
Solve for .
Tap for more steps...
Step 3.1
Combine and .
Step 3.2
Combine and .
Step 3.3
Move all the expressions to the left side of the equation.
Tap for more steps...
Step 3.3.1
Subtract from both sides of the equation.
Step 3.3.2
Add to both sides of the equation.
Step 3.3.3
Subtract from both sides of the equation.
Step 3.4
Multiply through by the least common denominator , then simplify.
Tap for more steps...
Step 3.4.1
Apply the distributive property.
Step 3.4.2
Simplify.
Tap for more steps...
Step 3.4.2.1
Cancel the common factor of .
Tap for more steps...
Step 3.4.2.1.1
Cancel the common factor.
Step 3.4.2.1.2
Rewrite the expression.
Step 3.4.2.2
Cancel the common factor of .
Tap for more steps...
Step 3.4.2.2.1
Move the leading negative in into the numerator.
Step 3.4.2.2.2
Cancel the common factor.
Step 3.4.2.2.3
Rewrite the expression.
Step 3.4.2.3
Multiply by .
Step 3.4.2.4
Multiply by .
Step 3.4.3
Move .
Step 3.4.4
Move .
Step 3.4.5
Reorder and .
Step 3.5
Use the quadratic formula to find the solutions.
Step 3.6
Substitute the values , , and into the quadratic formula and solve for .
Step 3.7
Simplify.
Tap for more steps...
Step 3.7.1
Simplify the numerator.
Tap for more steps...
Step 3.7.1.1
Raise to the power of .
Step 3.7.1.2
Multiply by .
Step 3.7.1.3
Apply the distributive property.
Step 3.7.1.4
Simplify.
Tap for more steps...
Step 3.7.1.4.1
Multiply by .
Step 3.7.1.4.2
Multiply by .
Step 3.7.1.4.3
Multiply by .
Step 3.7.1.5
Factor out of .
Tap for more steps...
Step 3.7.1.5.1
Factor out of .
Step 3.7.1.5.2
Factor out of .
Step 3.7.1.5.3
Factor out of .
Step 3.7.1.5.4
Factor out of .
Step 3.7.1.5.5
Factor out of .
Step 3.7.1.5.6
Factor out of .
Step 3.7.1.6
Rewrite as .
Tap for more steps...
Step 3.7.1.6.1
Rewrite as .
Step 3.7.1.6.2
Rewrite as .
Step 3.7.1.7
Pull terms out from under the radical.
Step 3.7.1.8
One to any power is one.
Step 3.7.2
Multiply by .
Step 3.7.3
Simplify .
Step 3.8
The final answer is the combination of both solutions.
Step 4
Simplify the constant of integration.