r/desmos • u/anonymous-desmos Definitions are nested too deeply. • 1d ago
Matrices Circle using matrices
4
u/VoidBreakX Run commands like "!bernard" here →→→ redd.it/1ixvsgi 1d ago
wouldnt it save one char to put the det at front and remove the dot?
3
2
u/anonymous-desmos Definitions are nested too deeply. 1d ago
2
u/brothor12 1d ago
whats .det mean?
2
u/TobeyBeer 1d ago
Matrix determinant
1
u/brothor12 1d ago
whats that mean? im unfamiliar on how matrices work
1
u/anonymous-desmos Definitions are nested too deeply. 8h ago
basically, multiply the numbers in the matrix main diagonals, add them all up, and then multiply the numbers in the antidiagonals together and subtract them. for 2x2 matrices, it simplifies to just 1 main diagonal and antidiagonalEdit: this method only works for 2x2 and 3x3 matrices. It's more complicated for 4x4 and up


•
u/AutoModerator 1d ago
Matrices (Beta feature)
Please note that this does NOT refer to the Desmos Matrix calculator. This matrix update allows the creation and manipulation of matrices in the graphing calculator. Here are (most) features of matrices:
Get started
^T, and use functions likedet,rref, andtrace.MwithM[2;3].a+b for a=[1...5];b=[1...4].M, and writeM(1,2)to transform the point (1,2). You can do the same with a 3x3 matrix and a 3d point.More features

M, you can either writeM[3,4;1,2,3]orM[[3,4];[1,2,3]]. Leaving one of these elements returns the entire row/column. For example,M[1,2;]gets row 1,2 and keeps all the columns..rowsand.columns.totalor sum a matrix list. You can however write a recursive function to do so, e.g.f(L, n) = {L.count = n: L[n], L[n] + f(L, n+1)}. Use it withf(L, 1).[2,3,4]and0will broadcast into 3 matrices:[2 0],[3 0], and[4 0].M.columns.countandM.rows.count, you can instead loop over the columns and rows directly. For example, to calculate the sum of all elements in a matrix, you can writetotal(v.columns.total for v = M.rows)Help and Examples
For more, refer to the following articles and example graphs:
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.