Calculus Examples

Solve the Differential Equation (x^2-1)(dy)/(dx)+xy=x
Step 1
Separate the variables.
Tap for more steps...
Step 1.1
Solve for .
Tap for more steps...
Step 1.1.1
Simplify each term.
Tap for more steps...
Step 1.1.1.1
Apply the distributive property.
Step 1.1.1.2
Rewrite as .
Step 1.1.2
Subtract from both sides of the equation.
Step 1.1.3
Factor out of .
Tap for more steps...
Step 1.1.3.1
Factor out of .
Step 1.1.3.2
Factor out of .
Step 1.1.3.3
Factor out of .
Step 1.1.4
Rewrite as .
Step 1.1.5
Factor.
Tap for more steps...
Step 1.1.5.1
Since both terms are perfect squares, factor using the difference of squares formula, where and .
Step 1.1.5.2
Remove unnecessary parentheses.
Step 1.1.6
Divide each term in by and simplify.
Tap for more steps...
Step 1.1.6.1
Divide each term in by .
Step 1.1.6.2
Simplify the left side.
Tap for more steps...
Step 1.1.6.2.1
Cancel the common factor of .
Tap for more steps...
Step 1.1.6.2.1.1
Cancel the common factor.
Step 1.1.6.2.1.2
Rewrite the expression.
Step 1.1.6.2.2
Cancel the common factor of .
Tap for more steps...
Step 1.1.6.2.2.1
Cancel the common factor.
Step 1.1.6.2.2.2
Divide by .
Step 1.1.6.3
Simplify the right side.
Tap for more steps...
Step 1.1.6.3.1
Move the negative in front of the fraction.
Step 1.2
Factor.
Tap for more steps...
Step 1.2.1
Combine the numerators over the common denominator.
Step 1.2.2
Simplify the numerator.
Tap for more steps...
Step 1.2.2.1
Factor out of .
Tap for more steps...
Step 1.2.2.1.1
Raise to the power of .
Step 1.2.2.1.2
Factor out of .
Step 1.2.2.1.3
Factor out of .
Step 1.2.2.1.4
Factor out of .
Step 1.2.2.1.5
Multiply by .
Step 1.2.2.2
Rewrite as .
Step 1.3
Regroup factors.
Step 1.4
Multiply both sides by .
Step 1.5
Cancel the common factor of .
Tap for more steps...
Step 1.5.1
Factor out of .
Step 1.5.2
Cancel the common factor.
Step 1.5.3
Rewrite the expression.
Step 1.6
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
Differentiate .
Step 2.3.1.1.2
Differentiate using the Product Rule which states that is where and .
Step 2.3.1.1.3
Differentiate.
Tap for more steps...
Step 2.3.1.1.3.1
By the Sum Rule, the derivative of with respect to is .
Step 2.3.1.1.3.2
Differentiate using the Power Rule which states that is where .
Step 2.3.1.1.3.3
Since is constant with respect to , the derivative of with respect to is .
Step 2.3.1.1.3.4
Simplify the expression.
Tap for more steps...
Step 2.3.1.1.3.4.1
Add and .
Step 2.3.1.1.3.4.2
Multiply by .
Step 2.3.1.1.3.5
By the Sum Rule, the derivative of with respect to is .
Step 2.3.1.1.3.6
Differentiate using the Power Rule which states that is where .
Step 2.3.1.1.3.7
Since is constant with respect to , the derivative of with respect to is .
Step 2.3.1.1.3.8
Simplify by adding terms.
Tap for more steps...
Step 2.3.1.1.3.8.1
Add and .
Step 2.3.1.1.3.8.2
Multiply by .
Step 2.3.1.1.3.8.3
Add and .
Step 2.3.1.1.3.8.4
Simplify by subtracting numbers.
Tap for more steps...
Step 2.3.1.1.3.8.4.1
Subtract from .
Step 2.3.1.1.3.8.4.2
Add and .
Step 2.3.1.2
Rewrite the problem using and .
Step 2.3.2
Simplify.
Tap for more steps...
Step 2.3.2.1
Multiply by .
Step 2.3.2.2
Move to the left of .
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
Simplify the right side.
Tap for more steps...
Step 3.1.1
Combine and .
Step 3.2
Move all the terms containing a logarithm to the left side of the equation.
Step 3.3
Simplify the numerator.
Tap for more steps...
Step 3.3.1
Expand using the FOIL Method.
Tap for more steps...
Step 3.3.1.1
Apply the distributive property.
Step 3.3.1.2
Apply the distributive property.
Step 3.3.1.3
Apply the distributive property.
Step 3.3.2
Simplify and combine like terms.
Tap for more steps...
Step 3.3.2.1
Simplify each term.
Tap for more steps...
Step 3.3.2.1.1
Multiply by .
Step 3.3.2.1.2
Move to the left of .
Step 3.3.2.1.3
Rewrite as .
Step 3.3.2.1.4
Multiply by .
Step 3.3.2.1.5
Multiply by .
Step 3.3.2.2
Add and .
Step 3.3.2.3
Add and .
Step 3.4
To write as a fraction with a common denominator, multiply by .
Step 3.5
Combine and .
Step 3.6
Combine the numerators over the common denominator.
Step 3.7
Factor out of .
Tap for more steps...
Step 3.7.1
Reorder the expression.
Tap for more steps...
Step 3.7.1.1
Reorder and .
Step 3.7.1.2
Move .
Step 3.7.2
Factor out of .
Step 3.7.3
Factor out of .
Step 3.7.4
Factor out of .
Step 3.8
Move the negative in front of the fraction.
Step 3.9
Simplify the left side.
Tap for more steps...
Step 3.9.1
Simplify .
Tap for more steps...
Step 3.9.1.1
Simplify the numerator.
Tap for more steps...
Step 3.9.1.1.1
Simplify by moving inside the logarithm.
Step 3.9.1.1.2
Remove the absolute value in because exponentiations with even powers are always positive.
Step 3.9.1.1.3
Use the product property of logarithms, .
Step 3.9.1.2
Rewrite as .
Step 3.9.1.3
Simplify by moving inside the logarithm.
Step 3.9.1.4
Apply the product rule to .
Step 3.9.1.5
Multiply the exponents in .
Tap for more steps...
Step 3.9.1.5.1
Apply the power rule and multiply exponents, .
Step 3.9.1.5.2
Cancel the common factor of .
Tap for more steps...
Step 3.9.1.5.2.1
Cancel the common factor.
Step 3.9.1.5.2.2
Rewrite the expression.
Step 3.9.1.6
Simplify.
Step 3.9.1.7
Apply the distributive property.
Step 3.9.1.8
Multiply by .
Step 3.10
Divide each term in by and simplify.
Tap for more steps...
Step 3.10.1
Divide each term in by .
Step 3.10.2
Simplify the left side.
Tap for more steps...
Step 3.10.2.1
Dividing two negative values results in a positive value.
Step 3.10.2.2
Divide by .
Step 3.10.3
Simplify the right side.
Tap for more steps...
Step 3.10.3.1
Move the negative one from the denominator of .
Step 3.10.3.2
Rewrite as .
Step 3.11
To solve for , rewrite the equation using properties of logarithms.
Step 3.12
Rewrite in exponential form using the definition of a logarithm. If and are positive real numbers and , then is equivalent to .
Step 3.13
Solve for .
Tap for more steps...
Step 3.13.1
Rewrite the equation as .
Step 3.13.2
Subtract from both sides of the equation.
Step 3.13.3
Divide each term in by and simplify.
Tap for more steps...
Step 3.13.3.1
Divide each term in by .
Step 3.13.3.2
Simplify the left side.
Tap for more steps...
Step 3.13.3.2.1
Dividing two negative values results in a positive value.
Step 3.13.3.2.2
Cancel the common factor.
Step 3.13.3.2.3
Divide by .
Step 3.13.3.3
Simplify the right side.
Tap for more steps...
Step 3.13.3.3.1
To write as a fraction with a common denominator, multiply by .
Step 3.13.3.3.2
To write as a fraction with a common denominator, multiply by .
Step 3.13.3.3.3
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 3.13.3.3.3.1
Multiply by .
Step 3.13.3.3.3.2
Multiply by .
Step 3.13.3.3.3.3
Multiply by .
Step 3.13.3.3.3.4
Multiply by .
Step 3.13.3.3.3.5
Multiply by .
Step 3.13.3.3.3.6
Multiply by .
Step 3.13.3.3.4
Combine the numerators over the common denominator.
Step 3.13.3.3.5
Simplify each term.
Tap for more steps...
Step 3.13.3.3.5.1
Move to the left of .
Step 3.13.3.3.5.2
Rewrite as .
Step 3.13.3.3.5.3
Multiply .
Tap for more steps...
Step 3.13.3.3.5.3.1
Multiply by .
Step 3.13.3.3.5.3.2
Multiply by .
Step 3.13.3.3.6
Simplify with factoring out.
Tap for more steps...
Step 3.13.3.3.6.1
Factor out of .
Step 3.13.3.3.6.2
Factor out of .
Step 3.13.3.3.6.3
Simplify the expression.
Tap for more steps...
Step 3.13.3.3.6.3.1
Rewrite as .
Step 3.13.3.3.6.3.2
Move the negative in front of the fraction.
Step 4
Simplify the constant of integration.