Type a math problem or upload a photo, screenshot, handwritten question...
error msg
- Algebra
- Calculus
- Trigonometry
- Matrix
- Differential
- Integral
- Trigonometry
- Letters
Question
\frac{dy}{dx}=2x-1
Solve the differential equation
y=x^{2}-x+C,C \in \mathbb{R}
Evaluate
\frac{dy}{dx}=2x-1
Transform the expression
dy=\left(2x-1\right)dx
\text{Integrate the left-hand side of the equation with respect to }y\text{ and the right-hand side of the equation with respect to }x
\int 1 dy=\int \left(2x-1\right) dx
Calculate
More Steps
Evaluate
\int 1 dy
\text{Use the property of integral }\int k dx = kx
y
\text{Add the constant of integral }C_{1}
y+C_{1},C_{1} \in \mathbb{R}
y+C_{1}=\int \left(2x-1\right) dx,C_{1} \in \mathbb{R}
Calculate
More Steps
Evaluate
\int \left(2x-1\right) dx
Rewrite the expression
\int 2\left(x-\frac{1}{2}\right) dx
\text{Use the property of integral }\int kf(x) dx=k\int f(x) dx
2\times \int \left(x-\frac{1}{2}\right) dx
\text{Use the property of integral }\int f(x) \pm g(x) dx=\int f(x) dx \pm \int g(x) dx
2\left(\int x dx+\int -\frac{1}{2} dx\right)
Calculate
2\times \int x dx+2\times \int -\frac{1}{2} dx
Evaluate the integral
More Steps
Evaluate
2\times \int x dx
\text{Use the property of integral }\int x^{n} dx = \frac{x^{n+1}}{n+1}
2\times \frac{x^{1+1}}{1+1}
Add the numbers
2\times \frac{x^{2}}{1+1}
Add the numbers
2\times \frac{x^{2}}{2}
\text{Cancel out the common factor }2
1\times x^{2}
Multiply the terms
x^{2}
x^{2}+2\times \int -\frac{1}{2} dx
Evaluate the integral
More Steps
Evaluate
2\times \int -\frac{1}{2} dx
\text{Use the property of integral }\int k dx = kx
2\left(-\frac{1}{2}x\right)
Multiply the numbers
-x
x^{2}-x
\text{Add the constant of integral }C_{2}
x^{2}-x+C_{2},C_{2} \in \mathbb{R}
y+C_{1}=x^{2}-x+C_{2},C_{1} \in \mathbb{R},C_{2} \in \mathbb{R}
Solution
y=x^{2}-x+C,C \in \mathbb{R}
Show Solutions