Calculus Examples

Solve the Differential Equation (dy)/(dx)=(1-y)/(1-x)
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
Let . Then , so . Rewrite using and .
Tap for more steps...
Step 2.2.1.1
Let . Find .
Tap for more steps...
Step 2.2.1.1.1
Rewrite.
Step 2.2.1.1.2
Divide by .
Step 2.2.1.2
Rewrite the problem using and .
Step 2.2.2
Split the fraction into multiple fractions.
Step 2.2.3
Since is constant with respect to , move out of the integral.
Step 2.2.4
The integral of with respect to is .
Step 2.2.5
Simplify.
Step 2.2.6
Replace all occurrences of with .
Step 2.3
Integrate the right side.
Tap for more steps...
Step 2.3.1
Let . Then , so . Rewrite using and .
Tap for more steps...
Step 2.3.1.1
Let . Find .
Tap for more steps...
Step 2.3.1.1.1
Rewrite.
Step 2.3.1.1.2
Divide by .
Step 2.3.1.2
Rewrite the problem using and .
Step 2.3.2
Split the fraction into multiple fractions.
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
Simplify.
Step 2.3.6
Replace all occurrences of with .
Step 2.4
Group the constant of integration on the right side as .
Step 3
Solve for .
Tap for more steps...
Step 3.1
Move all the terms containing a logarithm to the left side of the equation.
Step 3.2
Subtract from both sides of the equation.
Step 3.3
Divide each term in by and simplify.
Tap for more steps...
Step 3.3.1
Divide each term in by .
Step 3.3.2
Simplify the left side.
Tap for more steps...
Step 3.3.2.1
Dividing two negative values results in a positive value.
Step 3.3.2.2
Divide by .
Step 3.3.3
Simplify the right side.
Tap for more steps...
Step 3.3.3.1
Simplify each term.
Tap for more steps...
Step 3.3.3.1.1
Move the negative one from the denominator of .
Step 3.3.3.1.2
Rewrite as .
Step 3.3.3.1.3
Dividing two negative values results in a positive value.
Step 3.3.3.1.4
Divide by .
Step 3.4
Move all the terms containing a logarithm to the left side of the equation.
Step 3.5
Use the quotient property of logarithms, .
Step 3.6
To solve for , rewrite the equation using properties of logarithms.
Step 3.7
Rewrite in exponential form using the definition of a logarithm. If and are positive real numbers and , then is equivalent to .
Step 3.8
Solve for .
Tap for more steps...
Step 3.8.1
Rewrite the equation as .
Step 3.8.2
Multiply both sides by .
Step 3.8.3
Simplify the left side.
Tap for more steps...
Step 3.8.3.1
Cancel the common factor of .
Tap for more steps...
Step 3.8.3.1.1
Cancel the common factor.
Step 3.8.3.1.2
Rewrite the expression.
Step 3.8.4
Solve for .
Tap for more steps...
Step 3.8.4.1
Reorder factors in .
Step 3.8.4.2
Remove the absolute value term. This creates a on the right side of the equation because .
Step 3.8.4.3
Reorder factors in .
Step 3.8.4.4
Subtract from both sides of the equation.
Step 3.8.4.5
Divide each term in by and simplify.
Tap for more steps...
Step 3.8.4.5.1
Divide each term in by .
Step 3.8.4.5.2
Simplify the left side.
Tap for more steps...
Step 3.8.4.5.2.1
Dividing two negative values results in a positive value.
Step 3.8.4.5.2.2
Divide by .
Step 3.8.4.5.3
Simplify the right side.
Tap for more steps...
Step 3.8.4.5.3.1
Simplify each term.
Tap for more steps...
Step 3.8.4.5.3.1.1
Move the negative one from the denominator of .
Step 3.8.4.5.3.1.2
Rewrite as .
Step 3.8.4.5.3.1.3
Divide by .
Step 4
Group the constant terms together.
Tap for more steps...
Step 4.1
Simplify the constant of integration.
Step 4.2
Combine constants with the plus or minus.