Calculus Examples

Solve the Differential Equation (dy)/(dx)=(1-2x)/(4x-x^2)
Step 1
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
Apply the constant rule.
Step 2.3
Integrate the right side.
Tap for more steps...
Step 2.3.1
Write the fraction using partial fraction decomposition.
Tap for more steps...
Step 2.3.1.1
Decompose the fraction and multiply through by the common denominator.
Tap for more steps...
Step 2.3.1.1.1
Factor out of .
Tap for more steps...
Step 2.3.1.1.1.1
Factor out of .
Step 2.3.1.1.1.2
Factor out of .
Step 2.3.1.1.1.3
Factor out of .
Step 2.3.1.1.1.4
Multiply by .
Step 2.3.1.1.2
For each factor in the denominator, create a new fraction using the factor as the denominator, and an unknown value as the numerator. Since the factor in the denominator is linear, put a single variable in its place .
Step 2.3.1.1.3
Multiply each fraction in the equation by the denominator of the original expression. In this case, the denominator is .
Step 2.3.1.1.4
Cancel the common factor of .
Tap for more steps...
Step 2.3.1.1.4.1
Cancel the common factor.
Step 2.3.1.1.4.2
Rewrite the expression.
Step 2.3.1.1.5
Cancel the common factor of .
Tap for more steps...
Step 2.3.1.1.5.1
Cancel the common factor.
Step 2.3.1.1.5.2
Divide by .
Step 2.3.1.1.6
Reorder and .
Step 2.3.1.1.7
Simplify each term.
Tap for more steps...
Step 2.3.1.1.7.1
Cancel the common factor of .
Tap for more steps...
Step 2.3.1.1.7.1.1
Cancel the common factor.
Step 2.3.1.1.7.1.2
Divide by .
Step 2.3.1.1.7.2
Apply the distributive property.
Step 2.3.1.1.7.3
Move to the left of .
Step 2.3.1.1.7.4
Rewrite using the commutative property of multiplication.
Step 2.3.1.1.7.5
Cancel the common factor of .
Tap for more steps...
Step 2.3.1.1.7.5.1
Cancel the common factor.
Step 2.3.1.1.7.5.2
Divide by .
Step 2.3.1.1.8
Simplify the expression.
Tap for more steps...
Step 2.3.1.1.8.1
Move .
Step 2.3.1.1.8.2
Reorder and .
Step 2.3.1.1.8.3
Move .
Step 2.3.1.2
Create equations for the partial fraction variables and use them to set up a system of equations.
Tap for more steps...
Step 2.3.1.2.1
Create an equation for the partial fraction variables by equating the coefficients of from each side of the equation. For the equation to be equal, the equivalent coefficients on each side of the equation must be equal.
Step 2.3.1.2.2
Create an equation for the partial fraction variables by equating the coefficients of the terms not containing . For the equation to be equal, the equivalent coefficients on each side of the equation must be equal.
Step 2.3.1.2.3
Set up the system of equations to find the coefficients of the partial fractions.
Step 2.3.1.3
Solve the system of equations.
Tap for more steps...
Step 2.3.1.3.1
Solve for in .
Tap for more steps...
Step 2.3.1.3.1.1
Rewrite the equation as .
Step 2.3.1.3.1.2
Divide each term in by and simplify.
Tap for more steps...
Step 2.3.1.3.1.2.1
Divide each term in by .
Step 2.3.1.3.1.2.2
Simplify the left side.
Tap for more steps...
Step 2.3.1.3.1.2.2.1
Cancel the common factor of .
Tap for more steps...
Step 2.3.1.3.1.2.2.1.1
Cancel the common factor.
Step 2.3.1.3.1.2.2.1.2
Divide by .
Step 2.3.1.3.2
Replace all occurrences of with in each equation.
Tap for more steps...
Step 2.3.1.3.2.1
Replace all occurrences of in with .
Step 2.3.1.3.2.2
Simplify the right side.
Tap for more steps...
Step 2.3.1.3.2.2.1
Rewrite as .
Step 2.3.1.3.3
Solve for in .
Tap for more steps...
Step 2.3.1.3.3.1
Rewrite the equation as .
Step 2.3.1.3.3.2
Move all terms not containing to the right side of the equation.
Tap for more steps...
Step 2.3.1.3.3.2.1
Add to both sides of the equation.
Step 2.3.1.3.3.2.2
To write as a fraction with a common denominator, multiply by .
Step 2.3.1.3.3.2.3
Combine and .
Step 2.3.1.3.3.2.4
Combine the numerators over the common denominator.
Step 2.3.1.3.3.2.5
Simplify the numerator.
Tap for more steps...
Step 2.3.1.3.3.2.5.1
Multiply by .
Step 2.3.1.3.3.2.5.2
Add and .
Step 2.3.1.3.3.2.6
Move the negative in front of the fraction.
Step 2.3.1.3.4
Solve the system of equations.
Step 2.3.1.3.5
List all of the solutions.
Step 2.3.1.4
Replace each of the partial fraction coefficients in with the values found for and .
Step 2.3.1.5
Simplify.
Tap for more steps...
Step 2.3.1.5.1
Multiply the numerator by the reciprocal of the denominator.
Step 2.3.1.5.2
Multiply by .
Step 2.3.1.5.3
Multiply the numerator by the reciprocal of the denominator.
Step 2.3.1.5.4
Multiply by .
Step 2.3.1.5.5
Move to the left of .
Step 2.3.2
Split the single integral into multiple integrals.
Step 2.3.3
Since is constant with respect to , move out of the integral.
Step 2.3.4
The integral of with respect to is .
Step 2.3.5
Since is constant with respect to , move out of the integral.
Step 2.3.6
Since is constant with respect to , move out of the integral.
Step 2.3.7
Let . Then , so . Rewrite using and .
Tap for more steps...
Step 2.3.7.1
Let . Find .
Tap for more steps...
Step 2.3.7.1.1
Rewrite.
Step 2.3.7.1.2
Divide by .
Step 2.3.7.2
Rewrite the problem using and .
Step 2.3.8
Move the negative in front of the fraction.
Step 2.3.9
Since is constant with respect to , move out of the integral.
Step 2.3.10
Simplify.
Tap for more steps...
Step 2.3.10.1
Multiply by .
Step 2.3.10.2
Multiply by .
Step 2.3.11
The integral of with respect to is .
Step 2.3.12
Simplify.
Step 2.3.13
Replace all occurrences of with .
Step 2.4
Group the constant of integration on the right side as .