Question
Question: How do you use Power Series to solve the differential equation \[{y}'-y=0~\]?...
How do you use Power Series to solve the differential equation y′−y=0 ?
Solution
In this problem, we need to calculate the solution of the differential equation by using the power series. For this, we will assume the solution as y=n=0∑∞cnxn where cn is to be determined. Next, we will calculate all the values that we have in the given equation from the value of y. That means we will calculate the value of y′ by derivating the value of y with respect to x. After calculating all the values, we will substitute them in the given equation and simplify the equation to the value of cn. From the value of cn, we can write the solution of the differential equation.
Complete step-by-step solution:
From our problem, the differential equation is y′−y=0 .
Let us assume the solution of the given differential equation from the power series, that is,
y=n=0∑∞cnxn
In the given equation, we have the values y,y′. To calculate the value of y′, we have to derivate the value of y with respect to x.
Therefore, on differentiating the value of y with respect to x, we get:
⇒y′=n=1∑∞ncnxn−1
Now, we have our equation as y′−y=0 .
Therefore, substituting the values in our given equation, we get:
⇒y′−y=0
⇒n=1∑∞ncnxn−1−n=0∑∞cnxn=0
Now, by extracting the first term from the summation on the left, we get:
⇒n=0∑∞(n+1)cn+1xn−n=0∑∞cnxn=0
Now, on combining the summation, we get:
⇒n=0∑∞[(n+1)cn+1−cn]xn=0
Now, on making coefficient match, we get:
⇒(n+1)cn+1−cn=0
Now, on equating, we get:
⇒cn+1=n+11cn
Now, Let us observe the first few terms by substituting n=0,1,2,...,n.
Therefore, on substituting these value, we get:
⇒c1=11c0=1!1c0
⇒c2=21c1=21⋅1!1c0=2!1c0
⇒c3=31c2=31⋅1!1c0=3!1c0
.
.
.
⇒cn=n!1c0
Now, substituting these values in the solution which is y=n=0∑∞cnxn.
Therefore, we get:
⇒y=n=0∑∞cnxn
On substituting:
⇒y=n=0∑∞n!1c0xn
Therefore, on simplifying, we get:
⇒y=n=0∑∞n!xnc0=c0ex
where c0 is any constant.
Note: We can also use the hyperbolic formulas that we have in the solution. By substituting it in the formula, we can find y=c0coshx+c1sinhx, where c0 and c1 is any constant.
The above solution is easy to remember and simple to use.