Example 19: solves
Verify that the function , where , are arbitrary constants is a solution of the differential equation
Let , so that .
By the product rule,
Substituting in the L.H.S. of the equation,
L.H.S. R.H.S. Hence the given function is a solution of the given differential equation.
Want the reason behind every step, the basics and the checks?
To verify that a function is a solution, find the derivatives the equation needs, substitute them, and show that the left side becomes the right side for every (and here for every , ). The function is a product, times a combination of and , so the product rule does the work; after substituting, the coefficient of and the coefficient of each come to 0.
- Given
- , with , fixed real constants and , arbitrary constants.
- To show
- for all real .
- Plan
- (1) Write . (2) Find . (3) Find . (4) Substitute and collect the and terms. (5) Conclude. (6) See a shorter route. (7) Check with numbers.
Basics you need
A function is a solution of a differential equation when, substituted together with its derivatives, it makes L.H.S. = R.H.S. (Section 9.3). Lesson: general and particular solutions
(Chapter 5, Section 5.3). Basics: y′ is the slope, y″ its rate of change
, , , by the chain rule (Chapter 5, Sections 5.3.1 and 5.4). Basics: exponentials
The function has two arbitrary constants and the equation has order 2, as expected of a general solution. Basics: order n gives n constants
Solution
Write the function as one product
Taking out the common factor leaves one product of two factors, so each derivative is one use of the product rule.Factorising; the product rule needs a product. Basics: derivativesThe first derivative
Product rule: (first)(derivative of second) + (second)(derivative of first). Then collect the terms ( and ) and the terms ( and ).Product and chain rules (Chapter 5, Sections 5.3 and 5.3.1). Basics: derivativesThe second derivative
Differentiate (2) the same way:
Collect again. The terms: . The terms: .Second order derivative (Chapter 5, Section 5.7). Basics: y″ is how fast the slope changesSubstitute and collect and
In , every term has the factor . The coefficient of is
and the coefficient of is
The three pieces come from , from times (2), and from times (1). In each line every term cancels with another: , , , and the same pattern in the second. (In the book's line for the L.H.S., the opening bracket before is missing; the working is unaffected.)Substituting into the equation (Section 9.3). Lesson: is it a solution? Examples 2 and 3Conclude
Hence the given function is a solution of the given differential equation, for every , and every real .
Both coefficients are 0 identically, whatever , , , and are, so the left side is 0 for all .Section 9.3: a function that makes L.H.S. = R.H.S. is a solution. Lesson: general and particular solutionsA shorter route: with
Let . Then , and by the product rule
So
This keeps packed together instead of expanding it, so the cancellation is visible at once: only survives, and that is 0 because is a combination of and . It is the same verification, just organised better; the exam answer above uses it.Check with numbers
Take , , : , and the equation is . At , (1), (2) and Step 3 give
and . The numbers in the box below check and directly from values of .
A numerical check catches sign slips in the long algebra: a wrong sign in (2) or in Step 3 would change or , and the difference quotients below would disagree.Derivative as a limit of difference quotients (Chapter 5, Section 5.3). Basics: derivatives
Substituting gives for all real and all constants , . Hence the given function is a solution of the given differential equation. (Textbook: verified, L.H.S. R.H.S.)
With : , and . Then
which is , and
which is . So at .
- Forgetting the chain-rule factor : , not .
- Forgetting one half of the product rule, usually the part.
- Collecting the wrong terms after substituting; group by and and check each coefficient separately.
- Stopping at "it looks like it cancels". Write both coefficients out and show each is 0, then state L.H.S. = R.H.S.
- To verify a solution: derivatives, substitute, simplify to the right side, conclude in words.
- For (something), write : , .
- A function with two arbitrary constants solving a second order equation is the kind of answer a general solution of order 2 has.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Product rule | Steps 2, 3, 6 | Chapter 5, Section 5.3 (Basics) |
| ; ; | Steps 2, 3, 6 | Chapter 5, Sections 5.3.1 and 5.4 (Basics) |
| Second order derivative | Step 3 | Chapter 5, Section 5.7 (Basics) |
| A solution makes L.H.S. = R.H.S. | Steps 4, 5 | Section 9.3 (Lesson) |
| Derivative as a limit of difference quotients | Step 7 | Chapter 5, Section 5.3 (Basics) |
Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →