Calculus Examples

Use the Initial Value to Solve for c y'=2xy , y=ce^(x^2) , y(0)=1
y=2xy , y=cex2 , y(0)=1
Step 1
Verify that the given solution satisfies the differential equation.
Tap for more steps...
Step 1.1
Find y.
Tap for more steps...
Step 1.1.1
Differentiate both sides of the equation.
ddx(y)=ddx(cex2)
Step 1.1.2
The derivative of y with respect to x is y.
y
Step 1.1.3
Differentiate the right side of the equation.
Tap for more steps...
Step 1.1.3.1
Since c is constant with respect to x, the derivative of cex2 with respect to x is cddx[ex2].
cddx[ex2]
Step 1.1.3.2
Differentiate using the chain rule, which states that ddx[f(g(x))] is f(g(x))g(x) where f(x)=ex and g(x)=x2.
Tap for more steps...
Step 1.1.3.2.1
To apply the Chain Rule, set u as x2.
c(ddu[eu]ddx[x2])
Step 1.1.3.2.2
Differentiate using the Exponential Rule which states that ddu[au] is auln(a) where a=e.
c(euddx[x2])
Step 1.1.3.2.3
Replace all occurrences of u with x2.
c(ex2ddx[x2])
c(ex2ddx[x2])
Step 1.1.3.3
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=2.
cex2(2x)
Step 1.1.3.4
Simplify.
Tap for more steps...
Step 1.1.3.4.1
Reorder the factors of cex2(2x).
2ex2cx
Step 1.1.3.4.2
Reorder factors in 2ex2cx.
2cxex2
2cxex2
2cxex2
Step 1.1.4
Reform the equation by setting the left side equal to the right side.
y=2cxex2
y=2cxex2
Step 1.2
Substitute into the given differential equation.
2cxex2=2x(cex2)
Step 1.3
Reorder factors in 2cxex2=2x(cex2).
2cxex2=2xcex2
Step 1.4
The given solution satisfies the given differential equation.
y=cex2 is a solution to y=2xy
y=cex2 is a solution to y=2xy
Step 2
Substitute in the initial condition.
1=ce02
Step 3
Solve for c.
Tap for more steps...
Step 3.1
Rewrite the equation as ce02=1.
ce02=1
Step 3.2
Divide each term in ce02=1 by e02 and simplify.
Tap for more steps...
Step 3.2.1
Divide each term in ce02=1 by e02.
ce02e02=1e02
Step 3.2.2
Simplify the left side.
Tap for more steps...
Step 3.2.2.1
Cancel the common factor of e02.
Tap for more steps...
Step 3.2.2.1.1
Cancel the common factor.
ce02e02=1e02
Step 3.2.2.1.2
Divide c by 1.
c=1e02
c=1e02
c=1e02
Step 3.2.3
Simplify the right side.
Tap for more steps...
Step 3.2.3.1
Simplify the denominator.
Tap for more steps...
Step 3.2.3.1.1
Raising 0 to any positive power yields 0.
c=1e0
Step 3.2.3.1.2
Anything raised to 0 is 1.
c=11
c=11
Step 3.2.3.2
Divide 1 by 1.
c=1
c=1
c=1
c=1
 [x2  12  π  xdx ]