Calculus Examples

Solve the Differential Equation (dr)/(dtheta)=-rtan(theta) , r(pi)=2
,
Step 1
Separate the variables.
Tap for more steps...
Step 1.1
Multiply both sides by .
Step 1.2
Simplify.
Tap for more steps...
Step 1.2.1
Rewrite using the commutative property of multiplication.
Step 1.2.2
Cancel the common factor of .
Tap for more steps...
Step 1.2.2.1
Move the leading negative in into the numerator.
Step 1.2.2.2
Factor out of .
Step 1.2.2.3
Cancel the common factor.
Step 1.2.2.4
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
The integral of with respect to is .
Step 2.3
Integrate the right side.
Tap for more steps...
Step 2.3.1
Since is constant with respect to , move out of the integral.
Step 2.3.2
The integral of with respect to is .
Step 2.3.3
Simplify.
Step 2.4
Group the constant of integration on the right side as .
Step 3
Solve for .
Tap for more steps...
Step 3.1
Move all the terms containing a logarithm to the left side of the equation.
Step 3.2
Use the product property of logarithms, .
Step 3.3
To multiply absolute values, multiply the terms inside each absolute value.
Step 3.4
To solve for , rewrite the equation using properties of logarithms.
Step 3.5
Rewrite in exponential form using the definition of a logarithm. If and are positive real numbers and , then is equivalent to .
Step 3.6
Solve for .
Tap for more steps...
Step 3.6.1
Rewrite the equation as .
Step 3.6.2
Remove the absolute value term. This creates a on the right side of the equation because .
Step 3.6.3
Divide each term in by and simplify.
Tap for more steps...
Step 3.6.3.1
Divide each term in by .
Step 3.6.3.2
Simplify the left side.
Tap for more steps...
Step 3.6.3.2.1
Cancel the common factor of .
Tap for more steps...
Step 3.6.3.2.1.1
Cancel the common factor.
Step 3.6.3.2.1.2
Divide by .
Step 3.6.3.3
Simplify the right side.
Tap for more steps...
Step 3.6.3.3.1
Separate fractions.
Step 3.6.3.3.2
Rewrite in terms of sines and cosines.
Step 3.6.3.3.3
Multiply by the reciprocal of the fraction to divide by .
Step 3.6.3.3.4
Multiply by .
Step 3.6.3.3.5
Divide by .
Step 3.6.3.3.6
Reorder factors in .
Step 4
Simplify the constant of integration.
Step 5
Use the initial condition to find the value of by substituting for and for in .
Step 6
Solve for .
Tap for more steps...
Step 6.1
Rewrite the equation as .
Step 6.2
Divide each term in by and simplify.
Tap for more steps...
Step 6.2.1
Divide each term in by .
Step 6.2.2
Simplify the left side.
Tap for more steps...
Step 6.2.2.1
Cancel the common factor of .
Tap for more steps...
Step 6.2.2.1.1
Cancel the common factor.
Step 6.2.2.1.2
Divide by .
Step 6.2.3
Simplify the right side.
Tap for more steps...
Step 6.2.3.1
Separate fractions.
Step 6.2.3.2
Convert from to .
Step 6.2.3.3
Divide by .
Step 6.2.3.4
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant. Make the expression negative because secant is negative in the second quadrant.
Step 6.2.3.5
The exact value of is .
Step 6.2.3.6
Multiply .
Tap for more steps...
Step 6.2.3.6.1
Multiply by .
Step 6.2.3.6.2
Multiply by .
Step 7
Substitute for in and simplify.
Tap for more steps...
Step 7.1
Substitute for .
Step 7.2
Move to the left of .