Question
Solve the differential equation
y=−x+C1,C∈R
Evaluate
y′=y2
Rewrite the expression
dxdy=y2
Rewrite the expression
y21×dxdy=y2×y21
Multiply the terms
y21×dxdy=1
Transform the expression
y21×dy=dx
Integrate the left-hand side of the equation with respect to y and the right-hand side of the equation with respect to x
∫y21dy=∫1dx
Calculate
More Steps

Evaluate
∫y21dy
Use the property of integral ∫xndx=n+1xn+1
−2+1y−2+1
Add the numbers
−2+1y−1
Add the numbers
−1y−1
Divide the terms
−y−1
Express with a positive exponent using a−n=an1
−y1
Add the constant of integral C1
−y1+C1,C1∈R
−y1+C1=∫1dx,C1∈R
Calculate
More Steps

Evaluate
∫1dx
Use the property of integral ∫kdx=kx
x
Add the constant of integral C2
x+C2,C2∈R
−y1+C1=x+C2,C1∈R,C2∈R
Since the integral constants C1 and C2 are arbitrary constants, replace them with constant C
−y1=x+C,C∈R
Solution
More Steps

Evaluate
−y1=x+C
Multiply both sides of the equation by LCD
−y1×y=(x+C)y
Simplify the equation
−1=(x+C)y
Simplify the equation
−1=xy+Cy
Swap the sides of the equation
xy+Cy=−1
Collect like terms by calculating the sum or difference of their coefficients
(x+C)y=−1
Divide both sides
x+C(x+C)y=x+C−1
Divide the numbers
y=x+C−1
Use b−a=−ba=−ba to rewrite the fraction
y=−x+C1
y=−x+C1,C∈R
Show Solution
