Calculus Examples

Solve the Differential Equation (dy)/(dx)=(xy)/(x^2-y^2)
Step 1
Rewrite the differential equation as a function of .
Tap for more steps...
Step 1.1
Multiply by .
Step 1.2
Multiply by .
Step 1.3
Apply the distributive property.
Step 1.4
Cancel the common factor of .
Tap for more steps...
Step 1.4.1
Cancel the common factor.
Step 1.4.2
Rewrite the expression.
Step 1.5
Combine and .
Step 1.6
Cancel the common factor of .
Tap for more steps...
Step 1.6.1
Factor out of .
Step 1.6.2
Factor out of .
Step 1.6.3
Cancel the common factor.
Step 1.6.4
Rewrite the expression.
Step 1.7
Combine and .
Step 1.8
Use the power of quotient rule .
Step 2
Let . Substitute for .
Step 3
Solve for .
Step 4
Use the product rule to find the derivative of with respect to .
Step 5
Substitute for .
Step 6
Solve the substituted differential equation.
Tap for more steps...
Step 6.1
Separate the variables.
Tap for more steps...
Step 6.1.1
Solve for .
Tap for more steps...
Step 6.1.1.1
Simplify the denominator.
Tap for more steps...
Step 6.1.1.1.1
Rewrite as .
Step 6.1.1.1.2
Since both terms are perfect squares, factor using the difference of squares formula, where and .
Step 6.1.1.2
Subtract from both sides of the equation.
Step 6.1.1.3
Divide each term in by and simplify.
Tap for more steps...
Step 6.1.1.3.1
Divide each term in by .
Step 6.1.1.3.2
Simplify the left side.
Tap for more steps...
Step 6.1.1.3.2.1
Cancel the common factor of .
Tap for more steps...
Step 6.1.1.3.2.1.1
Cancel the common factor.
Step 6.1.1.3.2.1.2
Divide by .
Step 6.1.1.3.3
Simplify the right side.
Tap for more steps...
Step 6.1.1.3.3.1
Combine the numerators over the common denominator.
Step 6.1.1.3.3.2
Simplify the numerator.
Tap for more steps...
Step 6.1.1.3.3.2.1
Factor out of .
Tap for more steps...
Step 6.1.1.3.3.2.1.1
Factor out of .
Step 6.1.1.3.3.2.1.2
Factor out of .
Step 6.1.1.3.3.2.1.3
Factor out of .
Step 6.1.1.3.3.2.2
To write as a fraction with a common denominator, multiply by .
Step 6.1.1.3.3.2.3
Combine and .
Step 6.1.1.3.3.2.4
Combine the numerators over the common denominator.
Step 6.1.1.3.3.2.5
Simplify the numerator.
Tap for more steps...
Step 6.1.1.3.3.2.5.1
Apply the distributive property.
Step 6.1.1.3.3.2.5.2
Multiply by .
Step 6.1.1.3.3.2.5.3
Expand using the FOIL Method.
Tap for more steps...
Step 6.1.1.3.3.2.5.3.1
Apply the distributive property.
Step 6.1.1.3.3.2.5.3.2
Apply the distributive property.
Step 6.1.1.3.3.2.5.3.3
Apply the distributive property.
Step 6.1.1.3.3.2.5.4
Simplify and combine like terms.
Tap for more steps...
Step 6.1.1.3.3.2.5.4.1
Simplify each term.
Tap for more steps...
Step 6.1.1.3.3.2.5.4.1.1
Multiply by .
Step 6.1.1.3.3.2.5.4.1.2
Multiply .
Tap for more steps...
Step 6.1.1.3.3.2.5.4.1.2.1
Multiply by .
Step 6.1.1.3.3.2.5.4.1.2.2
Multiply by .
Step 6.1.1.3.3.2.5.4.1.3
Multiply by .
Step 6.1.1.3.3.2.5.4.1.4
Rewrite using the commutative property of multiplication.
Step 6.1.1.3.3.2.5.4.1.5
Multiply by by adding the exponents.
Tap for more steps...
Step 6.1.1.3.3.2.5.4.1.5.1
Move .
Step 6.1.1.3.3.2.5.4.1.5.2
Multiply by .
Step 6.1.1.3.3.2.5.4.1.6
Multiply by .
Step 6.1.1.3.3.2.5.4.1.7
Multiply by .
Step 6.1.1.3.3.2.5.4.2
Subtract from .
Step 6.1.1.3.3.2.5.4.3
Add and .
Step 6.1.1.3.3.2.5.5
Subtract from .
Step 6.1.1.3.3.2.5.6
Add and .
Step 6.1.1.3.3.3
Combine and .
Step 6.1.1.3.3.4
Multiply by by adding the exponents.
Tap for more steps...
Step 6.1.1.3.3.4.1
Multiply by .
Tap for more steps...
Step 6.1.1.3.3.4.1.1
Raise to the power of .
Step 6.1.1.3.3.4.1.2
Use the power rule to combine exponents.
Step 6.1.1.3.3.4.2
Add and .
Step 6.1.1.3.3.5
Multiply the numerator by the reciprocal of the denominator.
Step 6.1.1.3.3.6
Combine.
Step 6.1.1.3.3.7
Simplify the expression.
Tap for more steps...
Step 6.1.1.3.3.7.1
Multiply by .
Step 6.1.1.3.3.7.2
Reorder factors in .
Step 6.1.2
Regroup factors.
Step 6.1.3
Multiply both sides by .
Step 6.1.4
Simplify.
Tap for more steps...
Step 6.1.4.1
Combine.
Step 6.1.4.2
Combine.
Step 6.1.4.3
Cancel the common factor of .
Tap for more steps...
Step 6.1.4.3.1
Cancel the common factor.
Step 6.1.4.3.2
Rewrite the expression.
Step 6.1.4.4
Cancel the common factor of .
Tap for more steps...
Step 6.1.4.4.1
Cancel the common factor.
Step 6.1.4.4.2
Rewrite the expression.
Step 6.1.4.5
Cancel the common factor of .
Tap for more steps...
Step 6.1.4.5.1
Cancel the common factor.
Step 6.1.4.5.2
Rewrite the expression.
Step 6.1.5
Rewrite the equation.
Step 6.2
Integrate both sides.
Tap for more steps...
Step 6.2.1
Set up an integral on each side.
Step 6.2.2
Integrate the left side.
Tap for more steps...
Step 6.2.2.1
Move out of the denominator by raising it to the power.
Step 6.2.2.2
Multiply the exponents in .
Tap for more steps...
Step 6.2.2.2.1
Apply the power rule and multiply exponents, .
Step 6.2.2.2.2
Multiply by .
Step 6.2.2.3
Expand .
Tap for more steps...
Step 6.2.2.3.1
Apply the distributive property.
Step 6.2.2.3.2
Apply the distributive property.
Step 6.2.2.3.3
Apply the distributive property.
Step 6.2.2.3.4
Apply the distributive property.
Step 6.2.2.3.5
Apply the distributive property.
Step 6.2.2.3.6
Apply the distributive property.
Step 6.2.2.3.7
Reorder and .
Step 6.2.2.3.8
Reorder and .
Step 6.2.2.3.9
Multiply by .
Step 6.2.2.3.10
Multiply by .
Step 6.2.2.3.11
Multiply by .
Step 6.2.2.3.12
Factor out negative.
Step 6.2.2.3.13
Raise to the power of .
Step 6.2.2.3.14
Use the power rule to combine exponents.
Step 6.2.2.3.15
Subtract from .
Step 6.2.2.3.16
Multiply by .
Step 6.2.2.3.17
Raise to the power of .
Step 6.2.2.3.18
Use the power rule to combine exponents.
Step 6.2.2.3.19
Subtract from .
Step 6.2.2.3.20
Factor out negative.
Step 6.2.2.3.21
Raise to the power of .
Step 6.2.2.3.22
Raise to the power of .
Step 6.2.2.3.23
Use the power rule to combine exponents.
Step 6.2.2.3.24
Add and .
Step 6.2.2.3.25
Factor out negative.
Step 6.2.2.3.26
Use the power rule to combine exponents.
Step 6.2.2.3.27
Subtract from .
Step 6.2.2.3.28
Add and .
Step 6.2.2.3.29
Subtract from .
Step 6.2.2.3.30
Reorder and .
Step 6.2.2.4
Split the single integral into multiple integrals.
Step 6.2.2.5
Since is constant with respect to , move out of the integral.
Step 6.2.2.6
The integral of with respect to is .
Step 6.2.2.7
By the Power Rule, the integral of with respect to is .
Step 6.2.2.8
Simplify.
Tap for more steps...
Step 6.2.2.8.1
Simplify.
Step 6.2.2.8.2
Simplify.
Tap for more steps...
Step 6.2.2.8.2.1
Multiply by .
Step 6.2.2.8.2.2
Move to the left of .
Step 6.2.2.9
Reorder terms.
Step 6.2.3
The integral of with respect to is .
Step 6.2.4
Group the constant of integration on the right side as .
Step 7
Substitute for .
Step 8
Solve for .
Tap for more steps...
Step 8.1
Move all the terms containing a logarithm to the left side of the equation.
Step 8.2
Simplify each term.
Tap for more steps...
Step 8.2.1
Apply the product rule to .
Step 8.2.2
Combine and .
Step 8.2.3
Multiply the numerator by the reciprocal of the denominator.
Step 8.2.4
Multiply by .
Step 8.3
Divide each term in by and simplify.
Tap for more steps...
Step 8.3.1
Divide each term in by .
Step 8.3.2
Simplify the left side.
Tap for more steps...
Step 8.3.2.1
Dividing two negative values results in a positive value.
Step 8.3.2.2
Divide by .
Step 8.3.3
Simplify the right side.
Tap for more steps...
Step 8.3.3.1
Simplify each term.
Tap for more steps...
Step 8.3.3.1.1
Move the negative one from the denominator of .
Step 8.3.3.1.2
Rewrite as .
Step 8.3.3.1.3
Move the negative one from the denominator of .
Step 8.3.3.1.4
Rewrite as .
Step 8.3.3.1.5
Move the negative one from the denominator of .
Step 8.3.3.1.6
Rewrite as .
Step 8.4
Move all the terms containing a logarithm to the left side of the equation.
Step 8.5
Use the product property of logarithms, .
Step 8.6
Multiply .
Tap for more steps...
Step 8.6.1
To multiply absolute values, multiply the terms inside each absolute value.
Step 8.6.2
Combine and .
Step 8.7
Cancel the common factor of .
Tap for more steps...
Step 8.7.1
Cancel the common factor.
Step 8.7.2
Divide by .