Questions   
Sort: 
 #7
avatar+118723 
0

LaTex discussion on displaying fractions :)

Heureka, I thought maybe you would like to add to this post :/     indecision

 

I have also been looking at the Latex that is used in this question.

I found this reference to using Latex for fractions but i will admit i have not properly digested it yet.

 

http://tex.stackexchange.com/questions/59747/proper-display-of-fractions

 

This is the question:

\(\cfrac{1}{1 + \cfrac{1}{2 + \cfrac{1}{1 + \cfrac{1}{2 + \dotsb}}}}\)

 

And this is the command fot it.

 

\cfrac{1}{1 + \cfrac{1}{2 + \cfrac{1}{1 + \cfrac{1}{2 + \dotsb}}}}

 

I have not used   \cfrac{}{}   before.

On that reference site there is also a \dfrac{}{} used.

 

If anyone would like to discuss how these are used that would because I haven't fully comprehended what they are about.

Dec 3, 2016
 #6
avatar+118723 
0

Hi Alan

I have been toying this question,  I have only just worked out the relevance of the 2 answers :D

Silly me :)

Here is Alan's earlier answer:

http://web2.0calc.com/questions/find-the-value-of_3

 

 

 

INFINITE CONTINUED FRACTION 

 

\( \begin{align} Let\\ x&=\cfrac{1}{1 + \cfrac{1}{2 + \cfrac{1}{1 + \cfrac{1}{2 + \dotsb}}}}\\ so\\ x&=\cfrac{1}{1 + \cfrac{1}{2 +x}}\\~\\ x&=\cfrac{1}{\cfrac{2+x}{2+x} + \cfrac{1}{2 +x}}\\~\\ x&=\cfrac{1}{\frac{3+x}{2+x} }\\~\\ x&=\cfrac{2+x}{3+x}\\~\\ 3x+x^2&=2+x\\ x^2+2x-2&=0\\ x&=\frac{-2\pm\sqrt{4+8}}{2}\\ x&=\frac{-2\pm2\sqrt{3}}{2}\\ x&=-1\pm\sqrt{3}\\ \end{align}\)

 

BUT it can be seen that x is positive so the only valid solutions is \(x=\sqrt3-1\)

 

SO


\(\boxed{\cfrac{1}{1 + \cfrac{1}{2 + \cfrac{1}{1 + \cfrac{1}{2 + \dotsb}}}}\\~\\ =\sqrt3-1}\)

   

 

WHEREAS IF IT IS NOT AN INFINITE CONTINUED FRACTION THEN

 

\(\boxed{\cfrac{1}{1 + \cfrac{1}{2 + \cfrac{1}{1 + \cfrac{1}{2 }}}}\\~\\ =\frac{8}{11}}\)

.
Dec 3, 2016

0 Online Users