Question
Solve the differential equation
y=2Ce(x2)−1,C∈R
Evaluate
y′−2xy=x
Move the expression to the right side
y′=x+2xy
Rewrite the expression
dxdy=x+2xy
Rewrite the expression
dxdy=x(1+2y)
Rewrite the expression
1+2y1×dxdy=x(1+2y)×1+2y1
Multiply the terms
1+2y1×dxdy=x
Transform the expression
1+2y1×dy=xdx
Integrate the left-hand side of the equation with respect to y and the right-hand side of the equation with respect to x
∫1+2y1dy=∫xdx
Calculate
More Steps

Evaluate
∫1+2y1dy
Rewrite the expression
∫21×21+y1dy
Use the property of integral ∫kf(x)dx=k∫f(x)dx
21×∫21+y1dy
Use the property of integral ∫ax+b1dx=a1ln(ax+b)
21ln(y+21)
Add the constant of integral C1
21ln(y+21)+C1,C1∈R
21ln(y+21)+C1=∫xdx,C1∈R
Calculate
More Steps

Evaluate
∫xdx
Use the property of integral ∫xndx=n+1xn+1
1+1x1+1
Add the numbers
1+1x2
Add the numbers
2x2
Add the constant of integral C2
2x2+C2,C2∈R
21ln(y+21)+C1=2x2+C2,C1∈R,C2∈R
Since the integral constants C1 and C2 are arbitrary constants, replace them with constant C
21ln(y+21)=2x2+C,C∈R
Calculate
More Steps

Evaluate
21ln(y+21)=2x2+C
Multiply by the reciprocal
21ln(y+21)×2=(2x2+C)×2
Multiply
ln(y+21)=(2x2+C)×2
Multiply
More Steps

Evaluate
(2x2+C)×2
Apply the distributive property
2x2×2+C×2
Multiply the terms
x2+C×2
Since C is a constant,replace the C×2 with the constant C
x2+C
ln(y+21)=x2+C
Convert the logarithm into exponential form using the fact that logax=b is equal to x=ab
y+21=ex2+C
Move the constant to the right-hand side and change its sign
y=ex2+C−21
Subtract the terms
More Steps

Evaluate
ex2+C−21
Reduce fractions to a common denominator
2ex2+C×2−21
Write all numerators above the common denominator
2ex2+C×2−1
Use the commutative property to reorder the terms
22ex2+C−1
y=22ex2+C−1
y=22ex2+C−1,C∈R
Rewrite the expression
More Steps

Evaluate
ex2+C
Use am+n=am×an to expand the expression
eC×e(x2)
Since the expression eC is a constant,it is possible to denote that whole expression as a constant C
Ce(x2)
y=22Ce(x2)−1,C∈R
Solution
y=2Ce(x2)−1,C∈R
Show Solution
