Did I Solve the Difference Equation Correctly?

Click For Summary
SUMMARY

The difference equation yn+1=sqrt((n+3)/(n+1)) yn was analyzed, revealing that the correct solution is yn=y0sqrt(((n+2)(n+1))/2), contrary to the initial incorrect assumption of yn=sqrt(3n)y0. The discussion emphasized the importance of verifying patterns through calculations and proof by induction. The integers derived from the sequence were identified as a quadratic function, leading to the coefficients a=1/2, b=3/2, and c=1, confirming the textbook's solution.

PREREQUISITES
  • Understanding of difference equations
  • Familiarity with proof by induction
  • Knowledge of quadratic functions
  • Basic algebraic manipulation skills
NEXT STEPS
  • Study the principles of difference equations in depth
  • Learn how to apply proof by induction effectively
  • Explore quadratic functions and their properties
  • Practice solving various difference equations
USEFUL FOR

Students and educators in mathematics, particularly those focusing on difference equations, algebra, and mathematical proofs.

Success
Messages
75
Reaction score
0
Solve the difference equation yn+1=sqrt((n+3)/(n+1)) yn in terms of the initial value y0.

y1=sqrt(3)y0
y2=sqrt(6)y0
yn=sqrt(3n)y0

But that's not the answer. The answer in the textbook is yn=y0sqrt(((n+2)(n+1))/2). Did I do something wrong?
 
Physics news on Phys.org
It is hard to say what you might have done wrong when you do not show what you did!

While it is a good idea to calculate values until you can guess a pattern, you are not done until you have proved that pattern. At the very least, you should have checked your "guess". [itex]y_3= \sqrt{\frac{2+3}{2+ 1}}\sqrt{6}y_0= \sqrt{\frac{5(6)}{3}}y_0= \sqrt{10}y_0[/itex]. 10 is NOT 3n= 3(3)= 9. Certainly, you should have realized that "[itex]y_n= \sqrt{3n}y_0[/itex]" is not true when n= 0!

Yes, [itex]y_1= \sqrt{3}y_0[/itex] and [itex]y_2= \sqrt{6}y_0[/itex]. But then [itex]y_3= \sqrt{10}y_0[/itex], as I showed, and then [itex]y_4= \sqrt{(3+3)/(3+ 1)}\sqrt{10}y_0= \sqrt{15}y_0[/itex], etc.6,

Is that enough to make a better guess at a pattern? I notice that it is always the square root of an integer times [itex]y_0[/itex]. Further, those integers are 3, 6, 10, 15... For me, at least, that is enough to notice that the 'first differences' are 6-3= 3, 10- 6= 4, 15- 10= 5 and then the 'second differences' are 4- 3= 1 and 5- 4= 1- both 1. IF that continued to be true, that the 'second difference' is a constant, that would mean that the integers are a quadratic function of n, [itex]an^2+ bn+ c[/itex]and we can use those values to determine a, b, and c.
I did that and got that a= 1/2, b= 3/2, and c= 1 so that the integers are [itex](1/2)(n^2+ 3n+ 2)= (1/2)(n+ 2)(n+ 1)[/itex], exactly what your textbook says.

You can prove that is true using "proof by induction". When n= 0, [itex]y_0= \sqrt{\frac{1}{2}(0+2)(0+ 1)}y_0= \sqrt{1}y_0= y_0[/itex] is correct. Assume that, for some k, [itex]y_k= \sqrt{\frac{1}{2}(k+2)(k+ 1)}y_0[/itex]. Then, by the difference equation, [itex]y_{k+1}= \sqrt{(k+3)/(k+1)}y_k= \sqrt{\frac{1}{2}((k+3)/(k+1))(k+2)(k+1)}y_0[/itex][itex]= \sqrt{\frac{1}{2}(k+3)(k+2)}y_0= \sqrt{\frac{1}{2}((k+1)+ 2)((k+1)+ 1)}y_0[/itex].
 
Last edited by a moderator:

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
5K
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
965
Replies
5
Views
4K