Calculus Examples

Solve the Differential Equation (dy)/(dx)=(xsin(x))/y , y(0)=-1
,
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
By the Power Rule, the integral of with respect to is .
Step 2.3
Integrate the right side.
Tap for more steps...
Step 2.3.1
Integrate by parts using the formula , where and .
Step 2.3.2
Since is constant with respect to , move out of the integral.
Step 2.3.3
Simplify.
Tap for more steps...
Step 2.3.3.1
Multiply by .
Step 2.3.3.2
Multiply by .
Step 2.3.4
The integral of with respect to is .
Step 2.3.5
Rewrite as .
Step 2.4
Group the constant of integration on the right side as .
Step 3
Solve for .
Tap for more steps...
Step 3.1
Multiply both sides of the equation by .
Step 3.2
Simplify both sides of the equation.
Tap for more steps...
Step 3.2.1
Simplify the left side.
Tap for more steps...
Step 3.2.1.1
Simplify .
Tap for more steps...
Step 3.2.1.1.1
Combine and .
Step 3.2.1.1.2
Cancel the common factor of .
Tap for more steps...
Step 3.2.1.1.2.1
Cancel the common factor.
Step 3.2.1.1.2.2
Rewrite the expression.
Step 3.2.2
Simplify the right side.
Tap for more steps...
Step 3.2.2.1
Simplify .
Tap for more steps...
Step 3.2.2.1.1
Apply the distributive property.
Step 3.2.2.1.2
Multiply by .
Step 3.3
Take the specified root of both sides of the equation to eliminate the exponent on the left side.
Step 3.4
Factor out of .
Tap for more steps...
Step 3.4.1
Factor out of .
Step 3.4.2
Factor out of .
Step 3.4.3
Factor out of .
Step 3.4.4
Factor out of .
Step 3.4.5
Factor out of .
Step 3.5
The complete solution is the result of both the positive and negative portions of the solution.
Tap for more steps...
Step 3.5.1
First, use the positive value of the to find the first solution.
Step 3.5.2
Next, use the negative value of the to find the second solution.
Step 3.5.3
The complete solution is the result of both the positive and negative portions of the solution.
Step 4
Since is negative in the initial condition , only consider to find the . Substitute for and for .
Step 5
Solve for .
Tap for more steps...
Step 5.1
Rewrite the equation as .
Step 5.2
To remove the radical on the left side of the equation, square both sides of the equation.
Step 5.3
Simplify each side of the equation.
Tap for more steps...
Step 5.3.1
Use to rewrite as .
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
The exact value of is .
Step 5.3.2.1.1.2
Multiply by .
Step 5.3.2.1.1.3
The exact value of is .
Step 5.3.2.1.2
Simplify by adding terms.
Tap for more steps...
Step 5.3.2.1.2.1
Combine the opposite terms in .
Tap for more steps...
Step 5.3.2.1.2.1.1
Add and .
Step 5.3.2.1.2.1.2
Add and .
Step 5.3.2.1.2.2
Apply the product rule to .
Step 5.3.2.1.3
Use the power rule to distribute the exponent.
Tap for more steps...
Step 5.3.2.1.3.1
Apply the product rule to .
Step 5.3.2.1.3.2
Apply the product rule to .
Step 5.3.2.1.4
Raise to the power of .
Step 5.3.2.1.5
Multiply by .
Step 5.3.2.1.6
Multiply the exponents in .
Tap for more steps...
Step 5.3.2.1.6.1
Apply the power rule and multiply exponents, .
Step 5.3.2.1.6.2
Cancel the common factor of .
Tap for more steps...
Step 5.3.2.1.6.2.1
Cancel the common factor.
Step 5.3.2.1.6.2.2
Rewrite the expression.
Step 5.3.2.1.7
Evaluate the exponent.
Step 5.3.2.1.8
Multiply the exponents in .
Tap for more steps...
Step 5.3.2.1.8.1
Apply the power rule and multiply exponents, .
Step 5.3.2.1.8.2
Cancel the common factor of .
Tap for more steps...
Step 5.3.2.1.8.2.1
Cancel the common factor.
Step 5.3.2.1.8.2.2
Rewrite the expression.
Step 5.3.2.1.9
Simplify.
Step 5.3.3
Simplify the right side.
Tap for more steps...
Step 5.3.3.1
Raise to the power of .
Step 5.4
Divide each term in by and simplify.
Tap for more steps...
Step 5.4.1
Divide each term in by .
Step 5.4.2
Simplify the left side.
Tap for more steps...
Step 5.4.2.1
Cancel the common factor of .
Tap for more steps...
Step 5.4.2.1.1
Cancel the common factor.
Step 5.4.2.1.2
Divide by .
Step 6
Substitute for in and simplify.
Tap for more steps...
Step 6.1
Substitute for .