Calculus Examples

Solve the Differential Equation (dy)/(dx)=(x^2+1)/(2-2y)
Step 1
Separate the variables.
Tap for more steps...
Step 1.1
Multiply both sides by .
Step 1.2
Simplify.
Tap for more steps...
Step 1.2.1
Factor out of .
Tap for more steps...
Step 1.2.1.1
Factor out of .
Step 1.2.1.2
Factor out of .
Step 1.2.1.3
Factor out of .
Step 1.2.2
Multiply by .
Step 1.2.3
Cancel the common factor of and .
Tap for more steps...
Step 1.2.3.1
Factor out of .
Step 1.2.3.2
Cancel the common factors.
Tap for more steps...
Step 1.2.3.2.1
Cancel the common factor.
Step 1.2.3.2.2
Rewrite the expression.
Step 1.2.4
Cancel the common factor of .
Tap for more steps...
Step 1.2.4.1
Cancel the common factor.
Step 1.2.4.2
Divide by .
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
Apply the constant rule.
Step 2.2.3
Since is constant with respect to , move out of the integral.
Step 2.2.4
By the Power Rule, the integral of with respect to is .
Step 2.2.5
Simplify.
Tap for more steps...
Step 2.2.5.1
Simplify.
Step 2.2.5.2
Simplify.
Tap for more steps...
Step 2.2.5.2.1
Combine and .
Step 2.2.5.2.2
Cancel the common factor of and .
Tap for more steps...
Step 2.2.5.2.2.1
Factor out of .
Step 2.2.5.2.2.2
Cancel the common factors.
Tap for more steps...
Step 2.2.5.2.2.2.1
Factor out of .
Step 2.2.5.2.2.2.2
Cancel the common factor.
Step 2.2.5.2.2.2.3
Rewrite the expression.
Step 2.2.5.2.2.2.4
Divide by .
Step 2.2.6
Reorder terms.
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
Move all the expressions to the left side of the equation.
Tap for more steps...
Step 3.2.1
Subtract from both sides of the equation.
Step 3.2.2
Subtract from both sides of the equation.
Step 3.2.3
Subtract from both sides of the equation.
Step 3.3
Multiply through by the least common denominator , then simplify.
Tap for more steps...
Step 3.3.1
Apply the distributive property.
Step 3.3.2
Simplify.
Tap for more steps...
Step 3.3.2.1
Multiply by .
Step 3.3.2.2
Multiply by .
Step 3.3.2.3
Cancel the common factor of .
Tap for more steps...
Step 3.3.2.3.1
Move the leading negative in into the numerator.
Step 3.3.2.3.2
Cancel the common factor.
Step 3.3.2.3.3
Rewrite the expression.
Step 3.3.2.4
Multiply by .
Step 3.3.2.5
Multiply by .
Step 3.3.3
Move .
Step 3.3.4
Move .
Step 3.3.5
Reorder and .
Step 3.4
Use the quadratic formula to find the solutions.
Step 3.5
Substitute the values , , and into the quadratic formula and solve for .
Step 3.6
Simplify.
Tap for more steps...
Step 3.6.1
Simplify the numerator.
Tap for more steps...
Step 3.6.1.1
Raise to the power of .
Step 3.6.1.2
Multiply by .
Step 3.6.1.3
Apply the distributive property.
Step 3.6.1.4
Simplify.
Tap for more steps...
Step 3.6.1.4.1
Multiply by .
Step 3.6.1.4.2
Multiply by .
Step 3.6.1.4.3
Multiply by .
Step 3.6.1.5
Factor out of .
Tap for more steps...
Step 3.6.1.5.1
Factor out of .
Step 3.6.1.5.2
Factor out of .
Step 3.6.1.5.3
Factor out of .
Step 3.6.1.5.4
Factor out of .
Step 3.6.1.5.5
Factor out of .
Step 3.6.1.5.6
Factor out of .
Step 3.6.1.5.7
Factor out of .
Step 3.6.1.6
Rewrite as .
Tap for more steps...
Step 3.6.1.6.1
Factor out of .
Step 3.6.1.6.2
Rewrite as .
Step 3.6.1.6.3
Add parentheses.
Step 3.6.1.7
Pull terms out from under the radical.
Step 3.6.2
Multiply by .
Step 3.6.3
Simplify .
Step 3.7
The final answer is the combination of both solutions.
Step 4
Simplify the constant of integration.