Separate variables: Separate the variables by moving all terms involving x to one side and all terms involving t to the other side.
Combine terms: Combine the terms on the right side to have a common denominator.
Integrate with respect to t: Integrate both sides with respect to t.
Integrate left side to x: The left side integrates to x. On the right side, we need to integrate term by term.
Integrate first term: Integrate the first term on the right side.
Use integrating factor: The second integral is not straightforward because it involves x, which is a function of t. This is a first-order linear differential equation, and we should use an integrating factor.
More problems from Sin, cos, and tan of special angles