Calculus Examples

Solve the Differential Equation (dx)/(dy)=-x/y
Step 1
Let . Substitute for .
Step 2
Solve for .
Step 3
Use the product rule to find the derivative of with respect to .
Step 4
Substitute for .
Step 5
Solve the substituted differential equation.
Tap for more steps...
Step 5.1
Separate the variables.
Tap for more steps...
Step 5.1.1
Solve for .
Tap for more steps...
Step 5.1.1.1
Move all terms not containing to the right side of the equation.
Tap for more steps...
Step 5.1.1.1.1
Subtract from both sides of the equation.
Step 5.1.1.1.2
Subtract from .
Step 5.1.1.2
Divide each term in by and simplify.
Tap for more steps...
Step 5.1.1.2.1
Divide each term in by .
Step 5.1.1.2.2
Simplify the left side.
Tap for more steps...
Step 5.1.1.2.2.1
Cancel the common factor of .
Tap for more steps...
Step 5.1.1.2.2.1.1
Cancel the common factor.
Step 5.1.1.2.2.1.2
Divide by .
Step 5.1.1.2.3
Simplify the right side.
Tap for more steps...
Step 5.1.1.2.3.1
Move the negative in front of the fraction.
Step 5.1.2
Multiply both sides by .
Step 5.1.3
Simplify.
Tap for more steps...
Step 5.1.3.1
Rewrite using the commutative property of multiplication.
Step 5.1.3.2
Cancel the common factor of .
Tap for more steps...
Step 5.1.3.2.1
Move the leading negative in into the numerator.
Step 5.1.3.2.2
Factor out of .
Step 5.1.3.2.3
Cancel the common factor.
Step 5.1.3.2.4
Rewrite the expression.
Step 5.1.4
Rewrite the equation.
Step 5.2
Integrate both sides.
Tap for more steps...
Step 5.2.1
Set up an integral on each side.
Step 5.2.2
The integral of with respect to is .
Step 5.2.3
Integrate the right side.
Tap for more steps...
Step 5.2.3.1
Since is constant with respect to , move out of the integral.
Step 5.2.3.2
Since is constant with respect to , move out of the integral.
Step 5.2.3.3
Multiply by .
Step 5.2.3.4
The integral of with respect to is .
Step 5.2.3.5
Simplify.
Step 5.2.4
Group the constant of integration on the right side as .
Step 5.3
Solve for .
Tap for more steps...
Step 5.3.1
Move all the terms containing a logarithm to the left side of the equation.
Step 5.3.2
Simplify the left side.
Tap for more steps...
Step 5.3.2.1
Simplify .
Tap for more steps...
Step 5.3.2.1.1
Simplify each term.
Tap for more steps...
Step 5.3.2.1.1.1
Simplify by moving inside the logarithm.
Step 5.3.2.1.1.2
Remove the absolute value in because exponentiations with even powers are always positive.
Step 5.3.2.1.2
Use the product property of logarithms, .
Step 5.3.2.1.3
Reorder factors in .
Step 5.3.3
To solve for , rewrite the equation using properties of logarithms.
Step 5.3.4
Rewrite in exponential form using the definition of a logarithm. If and are positive real numbers and , then is equivalent to .
Step 5.3.5
Solve for .
Tap for more steps...
Step 5.3.5.1
Rewrite the equation as .
Step 5.3.5.2
Divide each term in by and simplify.
Tap for more steps...
Step 5.3.5.2.1
Divide each term in by .
Step 5.3.5.2.2
Simplify the left side.
Tap for more steps...
Step 5.3.5.2.2.1
Cancel the common factor of .
Tap for more steps...
Step 5.3.5.2.2.1.1
Cancel the common factor.
Step 5.3.5.2.2.1.2
Divide by .
Step 5.3.5.3
Remove the absolute value term. This creates a on the right side of the equation because .
Step 5.4
Group the constant terms together.
Tap for more steps...
Step 5.4.1
Simplify the constant of integration.
Step 5.4.2
Combine constants with the plus or minus.
Step 6
Substitute for .
Step 7
Solve for .
Tap for more steps...
Step 7.1
Multiply both sides by .
Step 7.2
Simplify.
Tap for more steps...
Step 7.2.1
Simplify the left side.
Tap for more steps...
Step 7.2.1.1
Cancel the common factor of .
Tap for more steps...
Step 7.2.1.1.1
Cancel the common factor.
Step 7.2.1.1.2
Rewrite the expression.
Step 7.2.2
Simplify the right side.
Tap for more steps...
Step 7.2.2.1
Simplify .
Tap for more steps...
Step 7.2.2.1.1
Combine and .
Step 7.2.2.1.2
Cancel the common factor of .
Tap for more steps...
Step 7.2.2.1.2.1
Factor out of .
Step 7.2.2.1.2.2
Cancel the common factor.
Step 7.2.2.1.2.3
Rewrite the expression.