First Order Difference Equations

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 3K views
diomedes.
Messages
2
Reaction score
0

Homework Statement


Background: Jack's wife Jill, mindful of the water restrictions is determined to carry buckets of bath water out of the house to water bean stalks.

She carries out 18 litres of water on the first day.

The amount of water Jill carries out An, in litres on the nth day is given by the difference equation: An+1=0.96*An+2 , A1=18

Specific: Determine the total amount of water Jill recycles in the first week.

Homework Equations


An+1=0.96*An+2 , A1=18


The Attempt at a Solution


Ok, well I've been working out the answer by finding the total amount recycled each day by manually putting the values into the formula: 1-18 ; 2-19.28 ; 3-20.51 ; 4-21.69 etc and then adding for the total (151.16), but this doesn't seem an efficient way of finding the answer. Is there a formula for the sum (similar to the sums of airthmetic/geometic sequences)?

It is quite possible the answer to this is impossible/obvious, so don't be too harsh :P :)
 
Physics news on Phys.org
Since [itex]A_{n+1}= 0.96 A_n+ 2[/itex] is a linear equation, we can add solutions to different parts. In particular, we can look for a solution to the equation [itex]A_{n+1}= 0.96 a_n[/itex] first. Since that involves just repeated multiplication, look for a solution of the form [itex]A_n= A_1 r^n[/itex] for some number r. Then [itex]A_{n+1}= A_1r^{n+1}[/itex] and the equation becomes [itex]A_1r^{n+1}= 0.96 A_1r^n[/itex]. Solve that for r.

Now we could probably find a constant that satifies the entire equation, [itex]A_{n+1}= .096 A_n+ 2[/itex] by just substituting the constant, A, for both [itex]A_{n+1}[/itex] and [itex]A_n[/itex]. Then add the two solutions.

But, frankly, since this only involves a week, just using the difference equation for each day is a perfectly valid way of solving this problem. You don't have to use a shotgun to kill flies!
 
Thanks for the advice chaps! Sounds like I'll just have to suck it up and solve for each day :smile: .