LaTeX How to Create a Tridiagonal Matrix with Lambda Values in Latex?

  • Thread starter Thread starter flufypancakes
  • Start date Start date
  • Tags Tags
    Exam Home Latex
AI Thread Summary
The discussion centers around a request for help in creating a tridiagonal matrix using LaTeX for a take-home exam. The matrix has specific values on its main diagonal and off-diagonal elements, with the user expressing frustration over not being able to focus on more complex problems due to this formatting issue. Suggestions include searching for tutorials on "latex arrays" to find guidance on how to create the desired matrix format. The user is open to receiving the output in various formats, including images or LaTeX code.
flufypancakes
Messages
11
Reaction score
0
take home exam urgent latex help!

hi! i don't know anything about latex, but i need pictures a matrix:

it is a tridiagonal matrix with (1-2lambda) on the main diagonal (except for the last row where it's 1-lambda) and lambdas above and below:

[(1-2*lambda) lambda 0 0 ........ 0]

[lambda (1-2*lambda) lambda 0 0 ...... 0]

[ 0 lambda (1-2*lambda) lambda 0 ... 0 ]

[ 0 \ \ \ 0 ]

...

[ 0 ......... lambda (1-lambda)]



please help, can't focus on actual problems because of these silly things. any format will do: ,jpg, .png, .pdf, ... anything or just the latex code.
 
Physics news on Phys.org
Welcome to PF fluffy,

Google for 'latex arrays' and you should find a number of appropriate tutorials.
 

Similar threads

Back
Top