Calculus Examples

Solve the Differential Equation xy'=x^2sin(x)+y
Step 1
Rewrite the differential equation.
Step 2
Rewrite the differential equation as .
Tap for more steps...
Step 2.1
Subtract from both sides of the equation.
Step 2.2
Divide each term in by .
Step 2.3
Cancel the common factor of .
Tap for more steps...
Step 2.3.1
Cancel the common factor.
Step 2.3.2
Divide by .
Step 2.4
Cancel the common factor of and .
Tap for more steps...
Step 2.4.1
Factor out of .
Step 2.4.2
Cancel the common factors.
Tap for more steps...
Step 2.4.2.1
Raise to the power of .
Step 2.4.2.2
Factor out of .
Step 2.4.2.3
Cancel the common factor.
Step 2.4.2.4
Rewrite the expression.
Step 2.4.2.5
Divide by .
Step 2.5
Factor out of .
Step 2.6
Reorder and .
Step 3
The integrating factor is defined by the formula , where .
Tap for more steps...
Step 3.1
Set up the integration.
Step 3.2
Integrate .
Tap for more steps...
Step 3.2.1
Split the fraction into multiple fractions.
Step 3.2.2
Since is constant with respect to , move out of the integral.
Step 3.2.3
The integral of with respect to is .
Step 3.2.4
Simplify.
Step 3.3
Remove the constant of integration.
Step 3.4
Use the logarithmic power rule.
Step 3.5
Exponentiation and log are inverse functions.
Step 3.6
Rewrite the expression using the negative exponent rule .
Step 4
Multiply each term by the integrating factor .
Tap for more steps...
Step 4.1
Multiply each term by .
Step 4.2
Simplify each term.
Tap for more steps...
Step 4.2.1
Combine and .
Step 4.2.2
Move the negative in front of the fraction.
Step 4.2.3
Rewrite using the commutative property of multiplication.
Step 4.2.4
Combine and .
Step 4.2.5
Multiply .
Tap for more steps...
Step 4.2.5.1
Multiply by .
Step 4.2.5.2
Raise to the power of .
Step 4.2.5.3
Raise to the power of .
Step 4.2.5.4
Use the power rule to combine exponents.
Step 4.2.5.5
Add and .
Step 4.3
Cancel the common factor of .
Tap for more steps...
Step 4.3.1
Factor out of .
Step 4.3.2
Cancel the common factor.
Step 4.3.3
Rewrite the expression.
Step 5
Rewrite the left side as a result of differentiating a product.
Step 6
Set up an integral on each side.
Step 7
Integrate the left side.
Step 8
The integral of with respect to is .
Step 9
Solve for .
Tap for more steps...
Step 9.1
Simplify the left side.
Tap for more steps...
Step 9.1.1
Combine and .
Step 9.2
Multiply both sides by .
Step 9.3
Simplify.
Tap for more steps...
Step 9.3.1
Simplify the left side.
Tap for more steps...
Step 9.3.1.1
Cancel the common factor of .
Tap for more steps...
Step 9.3.1.1.1
Cancel the common factor.
Step 9.3.1.1.2
Rewrite the expression.
Step 9.3.2
Simplify the right side.
Tap for more steps...
Step 9.3.2.1
Simplify .
Tap for more steps...
Step 9.3.2.1.1
Apply the distributive property.
Step 9.3.2.1.2
Simplify the expression.
Tap for more steps...
Step 9.3.2.1.2.1
Reorder factors in .
Step 9.3.2.1.2.2
Reorder and .