Calculus Examples

Solve the Differential Equation (dy)/(dx)=y^2+1 that satisfies the initial condition y(1)=0
dydx=y2+1dydx=y2+1 that satisfies the initial condition y(1)=0y(1)=0
Step 1
Separate the variables.
Tap for more steps...
Step 1.1
Multiply both sides by 1y2+11y2+1.
1y2+1dydx=1y2+1(y2+1)1y2+1dydx=1y2+1(y2+1)
Step 1.2
Cancel the common factor of y2+1y2+1.
Tap for more steps...
Step 1.2.1
Cancel the common factor.
1y2+1dydx=1y2+1(y2+1)
Step 1.2.2
Rewrite the expression.
1y2+1dydx=1
1y2+1dydx=1
Step 1.3
Rewrite the equation.
1y2+1dy=1dx
1y2+1dy=1dx
Step 2
Integrate both sides.
Tap for more steps...
Step 2.1
Set up an integral on each side.
1y2+1dy=dx
Step 2.2
Integrate the left side.
Tap for more steps...
Step 2.2.1
Simplify the expression.
Tap for more steps...
Step 2.2.1.1
Reorder y2 and 1.
11+y2dy=dx
Step 2.2.1.2
Rewrite 1 as 12.
112+y2dy=dx
112+y2dy=dx
Step 2.2.2
The integral of 112+y2 with respect to y is arctan(y)+C1.
arctan(y)+C1=dx
arctan(y)+C1=dx
Step 2.3
Apply the constant rule.
arctan(y)+C1=x+C2
Step 2.4
Group the constant of integration on the right side as K.
arctan(y)=x+K
arctan(y)=x+K
Step 3
Take the inverse arctangent of both sides of the equation to extract y from inside the arctangent.
y=tan(x+K)
Step 4
Use the initial condition to find the value of K by substituting 1 for x and 0 for y in y=tan(x+K).
0=tan(1+K)
Step 5
Solve for K.
Tap for more steps...
Step 5.1
Rewrite the equation as tan(1+K)=0.
tan(1+K)=0
Step 5.2
Take the inverse tangent of both sides of the equation to extract K from inside the tangent.
1+K=arctan(0)
Step 5.3
Simplify the right side.
Tap for more steps...
Step 5.3.1
The exact value of arctan(0) is 0.
1+K=0
1+K=0
Step 5.4
Subtract 1 from both sides of the equation.
K=-1
Step 5.5
The tangent function is positive in the first and third quadrants. To find the second solution, add the reference angle from π to find the solution in the fourth quadrant.
1+K=π+0
Step 5.6
Solve for K.
Tap for more steps...
Step 5.6.1
Add π and 0.
1+K=π
Step 5.6.2
Subtract 1 from both sides of the equation.
K=π-1
K=π-1
Step 5.7
Find the period of tan(1+K).
Tap for more steps...
Step 5.7.1
The period of the function can be calculated using π|b|.
π|b|
Step 5.7.2
Replace b with 1 in the formula for period.
π|1|
Step 5.7.3
The absolute value is the distance between a number and zero. The distance between 0 and 1 is 1.
π1
Step 5.7.4
Divide π by 1.
π
π
Step 5.8
Add π to every negative angle to get positive angles.
Tap for more steps...
Step 5.8.1
Add π to -1 to find the positive angle.
-1+π
Step 5.8.2
List the new angles.
K=-1+π
K=-1+π
Step 5.9
The period of the tan(1+K) function is π so values will repeat every π radians in both directions.
K=-1+π+πn,π-1+π+πn, for any integer n
Step 5.10
Consolidate -1+π+πn and π-1+π+πn to -1+π+πn.
K=-1+π+πn
K=-1+π+πn
Step 6
Substitute -1+π+πn for K in y=tan(x+K) and simplify.
Tap for more steps...
Step 6.1
Substitute -1+π+πn for K.
y=tan(x-1+π+πn)
y=tan(x-1+π+πn)
 [x2  12  π  xdx ]