Calculus Examples

Solve the Differential Equation e^(2x)y^2dx+(e^(2x)y-2y)dy=0
e2xy2dx+(e2xy-2y)dy=0
Step 1
Find My where M(x,y)=e2xy2.
Tap for more steps...
Step 1.1
Differentiate M with respect to y.
My=ddy[e2xy2]
Step 1.2
Since e2x is constant with respect to y, the derivative of e2xy2 with respect to y is e2xddy[y2].
My=e2xddy[y2]
Step 1.3
Differentiate using the Power Rule which states that ddy[yn] is nyn-1 where n=2.
My=e2x(2y)
Step 1.4
Simplify the expression.
Tap for more steps...
Step 1.4.1
Move 2 to the left of e2x.
My=2e2xy
Step 1.4.2
Reorder factors in 2e2xy.
My=2ye2x
My=2ye2x
My=2ye2x
Step 2
Find Nx where N(x,y)=e2xy-2y.
Tap for more steps...
Step 2.1
Differentiate N with respect to x.
Nx=ddx[e2xy-2y]
Step 2.2
By the Sum Rule, the derivative of e2xy-2y with respect to x is ddx[e2xy]+ddx[-2y].
Nx=ddx[e2xy]+ddx[-2y]
Step 2.3
Evaluate ddx[e2xy].
Tap for more steps...
Step 2.3.1
Since y is constant with respect to x, the derivative of e2xy with respect to x is yddx[e2x].
Nx=yddx[e2x]+ddx[-2y]
Step 2.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)=2x.
Tap for more steps...
Step 2.3.2.1
To apply the Chain Rule, set u as 2x.
Nx=y(ddu[eu]ddx[2x])+ddx[-2y]
Step 2.3.2.2
Differentiate using the Exponential Rule which states that ddu[au] is auln(a) where a=e.
Nx=y(euddx[2x])+ddx[-2y]
Step 2.3.2.3
Replace all occurrences of u with 2x.
Nx=y(e2xddx[2x])+ddx[-2y]
Nx=y(e2xddx[2x])+ddx[-2y]
Step 2.3.3
Since 2 is constant with respect to x, the derivative of 2x with respect to x is 2ddx[x].
Nx=y(e2x(2ddx[x]))+ddx[-2y]
Step 2.3.4
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=1.
Nx=y(e2x(21))+ddx[-2y]
Step 2.3.5
Multiply 2 by 1.
Nx=y(e2x2)+ddx[-2y]
Step 2.3.6
Move 2 to the left of e2x.
Nx=y(2e2x)+ddx[-2y]
Step 2.3.7
Move 2 to the left of y.
Nx=2ye2x+ddx[-2y]
Nx=2ye2x+ddx[-2y]
Step 2.4
Since -2y is constant with respect to x, the derivative of -2y with respect to x is 0.
Nx=2ye2x+0
Step 2.5
Simplify.
Tap for more steps...
Step 2.5.1
Add 2ye2x and 0.
Nx=2ye2x
Step 2.5.2
Reorder the factors of 2ye2x.
Nx=2e2xy
Step 2.5.3
Reorder factors in 2e2xy.
Nx=2ye2x
Nx=2ye2x
Nx=2ye2x
Step 3
Check that My=Nx.
Tap for more steps...
Step 3.1
Substitute 2ye2x for My and 2ye2x for Nx.
2ye2x=2ye2x
Step 3.2
Since the two sides have been shown to be equivalent, the equation is an identity.
2ye2x=2ye2x is an identity.
2ye2x=2ye2x is an identity.
Step 4
Set f(x,y) equal to the integral of N(x,y).
f(x,y)=e2xy-2ydy
Step 5
Integrate N(x,y)=e2xy-2y to find f(x,y).
Tap for more steps...
Step 5.1
Split the single integral into multiple integrals.
f(x,y)=e2xydy+-2ydy
Step 5.2
Since e2x is constant with respect to y, move e2x out of the integral.
f(x,y)=e2xydy+-2ydy
Step 5.3
By the Power Rule, the integral of y with respect to y is 12y2.
f(x,y)=e2x(12y2+C)+-2ydy
Step 5.4
Since -2 is constant with respect to y, move -2 out of the integral.
f(x,y)=e2x(12y2+C)-2ydy
Step 5.5
By the Power Rule, the integral of y with respect to y is 12y2.
f(x,y)=e2x(12y2+C)-2(12y2+C)
Step 5.6
Simplify.
f(x,y)=12e2xy2-2(12y2)+C
Step 5.7
Simplify.
Tap for more steps...
Step 5.7.1
Combine 12 and e2x.
f(x,y)=e2x2y2-2(12y2)+C
Step 5.7.2
Combine e2x2 and y2.
f(x,y)=e2xy22-2(12y2)+C
Step 5.7.3
Combine 12 and y2.
f(x,y)=e2xy22-2y22+C
Step 5.7.4
Combine -2 and y22.
f(x,y)=e2xy22+-2y22+C
Step 5.7.5
Cancel the common factor of -2 and 2.
Tap for more steps...
Step 5.7.5.1
Factor 2 out of -2y2.
f(x,y)=e2xy22+2(-y2)2+C
Step 5.7.5.2
Cancel the common factors.
Tap for more steps...
Step 5.7.5.2.1
Factor 2 out of 2.
f(x,y)=e2xy22+2(-y2)2(1)+C
Step 5.7.5.2.2
Cancel the common factor.
f(x,y)=e2xy22+2(-y2)21+C
Step 5.7.5.2.3
Rewrite the expression.
f(x,y)=e2xy22+-y21+C
Step 5.7.5.2.4
Divide -y2 by 1.
f(x,y)=e2xy22-y2+C
f(x,y)=e2xy22-y2+C
f(x,y)=e2xy22-y2+C
f(x,y)=e2xy22-y2+C
Step 5.8
Reorder terms.
f(x,y)=12e2xy2-y2+C
f(x,y)=12e2xy2-y2+C
Step 6
Since the integral of g(x) will contain an integration constant, we can replace C with g(x).
f(x,y)=12e2xy2-y2+g(x)
Step 7
Set fx=M(x,y).
fx=e2xy2
Step 8
Find fx.
Tap for more steps...
Step 8.1
Differentiate f with respect to x.
ddx[12e2xy2-y2+g(x)]=e2xy2
Step 8.2
By the Sum Rule, the derivative of 12e2xy2-y2+g(x) with respect to x is ddx[12e2xy2]+ddx[-y2]+ddx[g(x)].
ddx[12e2xy2]+ddx[-y2]+ddx[g(x)]=e2xy2
Step 8.3
Evaluate ddx[12e2xy2].
Tap for more steps...
Step 8.3.1
Combine 12 and e2x.
ddx[e2x2y2]+ddx[-y2]+ddx[g(x)]=e2xy2
Step 8.3.2
Combine e2x2 and y2.
ddx[e2xy22]+ddx[-y2]+ddx[g(x)]=e2xy2
Step 8.3.3
Since y22 is constant with respect to x, the derivative of e2xy22 with respect to x is y22ddx[e2x].
y22ddx[e2x]+ddx[-y2]+ddx[g(x)]=e2xy2
Step 8.3.4
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)=2x.
Tap for more steps...
Step 8.3.4.1
To apply the Chain Rule, set u as 2x.
y22(ddu[eu]ddx[2x])+ddx[-y2]+ddx[g(x)]=e2xy2
Step 8.3.4.2
Differentiate using the Exponential Rule which states that ddu[au] is auln(a) where a=e.
y22(euddx[2x])+ddx[-y2]+ddx[g(x)]=e2xy2
Step 8.3.4.3
Replace all occurrences of u with 2x.
y22(e2xddx[2x])+ddx[-y2]+ddx[g(x)]=e2xy2
y22(e2xddx[2x])+ddx[-y2]+ddx[g(x)]=e2xy2
Step 8.3.5
Since 2 is constant with respect to x, the derivative of 2x with respect to x is 2ddx[x].
y22(e2x(2ddx[x]))+ddx[-y2]+ddx[g(x)]=e2xy2
Step 8.3.6
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=1.
y22(e2x(21))+ddx[-y2]+ddx[g(x)]=e2xy2
Step 8.3.7
Multiply 2 by 1.
y22(e2x2)+ddx[-y2]+ddx[g(x)]=e2xy2
Step 8.3.8
Move 2 to the left of e2x.
y22(2e2x)+ddx[-y2]+ddx[g(x)]=e2xy2
Step 8.3.9
Combine 2 and y22.
2y22e2x+ddx[-y2]+ddx[g(x)]=e2xy2
Step 8.3.10
Combine 2y22 and e2x.
2y2e2x2+ddx[-y2]+ddx[g(x)]=e2xy2
Step 8.3.11
Cancel the common factor of 2.
Tap for more steps...
Step 8.3.11.1
Cancel the common factor.
2y2e2x2+ddx[-y2]+ddx[g(x)]=e2xy2
Step 8.3.11.2
Divide y2e2x by 1.
y2e2x+ddx[-y2]+ddx[g(x)]=e2xy2
y2e2x+ddx[-y2]+ddx[g(x)]=e2xy2
y2e2x+ddx[-y2]+ddx[g(x)]=e2xy2
Step 8.4
Since -y2 is constant with respect to x, the derivative of -y2 with respect to x is 0.
y2e2x+0+ddx[g(x)]=e2xy2
Step 8.5
Differentiate using the function rule which states that the derivative of g(x) is dgdx.
y2e2x+0+dgdx=e2xy2
Step 8.6
Simplify.
Tap for more steps...
Step 8.6.1
Add y2e2x and 0.
y2e2x+dgdx=e2xy2
Step 8.6.2
Reorder terms.
dgdx+e2xy2=e2xy2
Step 8.6.3
Reorder factors in dgdx+e2xy2.
dgdx+y2e2x=e2xy2
dgdx+y2e2x=e2xy2
dgdx+y2e2x=e2xy2
Step 9
Solve for dgdx.
Tap for more steps...
Step 9.1
Solve for dgdx.
Tap for more steps...
Step 9.1.1
Reorder factors in e2xy2.
dgdx+y2e2x=y2e2x
Step 9.1.2
Move all terms not containing dgdx to the right side of the equation.
Tap for more steps...
Step 9.1.2.1
Subtract y2e2x from both sides of the equation.
dgdx=y2e2x-y2e2x
Step 9.1.2.2
Subtract y2e2x from y2e2x.
dgdx=0
dgdx=0
dgdx=0
dgdx=0
Step 10
Find the antiderivative of 0 to find g(x).
Tap for more steps...
Step 10.1
Integrate both sides of dgdx=0.
dgdxdx=0dx
Step 10.2
Evaluate dgdxdx.
g(x)=0dx
Step 10.3
The integral of 0 with respect to x is 0.
g(x)=0+C
Step 10.4
Add 0 and C.
g(x)=C
g(x)=C
Step 11
Substitute for g(x) in f(x,y)=12e2xy2-y2+g(x).
f(x,y)=12e2xy2-y2+C
Step 12
Simplify f(x,y)=12e2xy2-y2+C.
Tap for more steps...
Step 12.1
Simplify each term.
Tap for more steps...
Step 12.1.1
Combine 12 and e2x.
f(x,y)=e2x2y2-y2+C
Step 12.1.2
Combine e2x2 and y2.
f(x,y)=e2xy22-y2+C
f(x,y)=e2xy22-y2+C
Step 12.2
Reorder factors in f(x,y)=e2xy22-y2+C.
f(x,y)=y2e2x2-y2+C
f(x,y)=y2e2x2-y2+C
 [x2  12  π  xdx ]