Worked examples · Sheet 3
First-order linear equations
Theory used: First-order linear equationSolution formula with the integrating factorStructure of the general solution
Go to: Exercise 1Exercise 2Exercise 3
Exercise 1
Find the general solution of
Here , so and the integrating factor is :
The equation is linear with and , so one multiplies by the integrating factor with an antiderivative of , that is, by . After the multiplication, the left-hand side is the derivative of the product , therefore the equation can be integrated directly. An antiderivative of is , and dividing by gives the general solution. The term is the general solution of the associated homogeneous equation , while is a particular solution of the complete equation, in accordance with the structure theorem.
Exercise 2
Find the general solution of
Here , so and the integrating factor is :
The coefficient is not constant, so the integrating factor contains its antiderivative . Multiplying by , the left-hand side becomes the derivative of and the right-hand side becomes . This function is integrated by recognizing that the derivative of is , therefore an antiderivative of is . Dividing by gives the general solution, the sum of the constant particular solution and the general solution of the homogeneous equation . The constant can also be verified directly, since it has zero derivative and .
Exercise 3
Find the general solution, for , of
Here , so and the integrating factor is :
For the coefficients and are continuous, so the solution formula applies on this half-line. An antiderivative of is , therefore the integrating factor is , that is, . After the multiplication, the left-hand side is the derivative of the quotient , as one checks with the product rule applied to . Integration gives , and multiplying by gives the general solution: the term solves the associated homogeneous equation, the term is a particular solution of the complete equation.