Wiris

Documentation / CalcMe

  • Demos
  • Visit our website
  • Contact us
  • MathType

    • WirisQuizzes

      • Nubric

        • CalcMe

          • MathPlayer

            • Store FAQ

              • MathFlow

                • BF FAQ

                  • Miscellaneous

                    • Wiris Integrations

                      • Home
                      • CalcMe

                      Algebra instructions

                      Reading time: 5min

                      Numbers

                      Complex numbers

                      To define and operate with complex numbers, you need to enter the imaginary unit i equals square root of negative 1 end root using the icon in the section Symbols of the Menu or to use the keyboard shortcut Ctrl+J. Note the imaginary number appears in green. Otherwise, CalcMe interprets it as a variable.

                      complex_1.png

                      From now on, you can naturally write complex numbers in binomial form and find their real and imaginary parts, norm, argument, polar representation, conjugate, and inverse using the different available commands.

                      calc.complex1.left.calc.png
                      calc.complex1.right.calc.png

                       

                      In addition, you can also operate with these numbers, starting with perhaps the simplest operations: addition and subtraction. Note adding or subtracting complex numbers ends up being the same as using plain vectors.

                      calc.complex2.calc.png
                      calc.complex2.plotter0.calc.png

                       

                      However, when multiplying two complex numbers z subscript 1 equals a plus b times i comma z subscript 2 equals c plus d times i, you have to imagine you are multiplying two polynomials and applying the distributive property. As i times i equals i squared equals negative 1, the real part of the product will be the product of real parts minus the product of imaginary parts a times c minus b times d. Meanwhile, the imaginary part will be the sum of the cross products a times d plus b times c.

                      calc.complex3.calc.png

                       

                      Lastly, when you divide complex numbers, you have to eliminate the complex part of the divisor (the denominator) by multiplying the numerator and denominator by the denominator's conjugate. That reduces the problem to dividing a complex number (i.e., the numerator) by a real value (i.e., the denominator).

                      calc.complex4.calc.png

                      Elements of linear algebra

                      Vectors and matrices

                      To get started with elements of linear algebra, you first need to see how vectors and arrays are defined in CalcMe. You can define vectors in three different ways: by using the vector command, using the icon you can find in the Linear Algebra section of the Menu, or by typing it manually. The last two are the most common.

                      algebra_1.png

                       

                      You can also define vectors as variables, perform basic operations between them, and access specific elements.

                      calc.algebra1.calc.png

                      Tip

                      If you want to see how to create vectors using the command, see its dedicated page.

                      On the other hand, you have only two options if you want to define a matrix, but they are more than enough. You can use the icon next to the vector in Linear Algebra or enter it manually as a vector of vectors.

                      algebra_2.png

                      Additionally, once the matrix is created, you can resize it by inserting or removing rows and columns with more icons you can find in the Menu.

                      algebra_3.png

                      Finally, as with vectors, you can also perform basic operations between matrices and access their elements.

                       

                      calc.algebra2.calc.png

                      Operations with matrices

                      Apart from the basic operations already seen as the sum of matrices or the product of a matrix and a scalar, CalcMe allows you to perform a wide range of actions given a set of matrices. First, the product between matrices.

                      calc.algebra3.left.calc.png
                      calc.algebra3.right.calc.png

                       

                      Continuing with classical operations with matrices, you can also find commands in the Linear Algebra section of the Menu that allows you to calculate the determinant, inverse, and transpose of a given matrix. In the same way, you can also easily create an identity matrix of the dimension you want.

                      algebra_4.png

                      Finally, you can find the range, kernel, and matrix image by using the corresponding commands.

                      calc.algebra4.calc.png

                      Change of base

                      Given two bases of a vector space V, in our case B equals left curly bracket left parenthesis 1 comma 1 comma 1 right parenthesis comma left parenthesis 1 comma 0 comma 3 right parenthesis comma left parenthesis 3 comma 4 comma 5 right parenthesis right curly bracket and A equals left curly bracket left parenthesis 2 comma 3 comma negative 1 right parenthesis comma left parenthesis 0 comma 0 comma 1 right parenthesis comma left parenthesis 2 comma 1 comma 0 right parenthesis right curly bracket, the matrix C whose columns correspond to the coordinates of the vectors of B in the base A, is called the matrix of the change of base from B to A. CalcMe allows you to find this matrix and, consequently, the vector coordinates of B in the base A.

                      calc.algebra5.calc.png

                      Equation of a 2-D and 3-D straight line

                      To create a straight line, you need to specify a point on the line and the direction it will follow (i.e., its slope). With these ingredients (though they aren't the only possible ones) and the line command, you can easily create and represent a straight line in the plane.

                      calc.algebra6.calc.png
                      calc.algebra6.plotter0.calc.png

                       

                      You can extend these actions into space with similar syntax and create and render a 3-D straight line. Notice that the line appears as an intersection of two planes.

                      calc.algebra7.calc.png
                      calc.algebra7.plotter0.calc.png

                      Tip

                      If you want to see the different parameters you can use to create a line, see its dedicated page.

                      Equation of a plane

                      On the other hand, you will need a point and two director vectors to create a plane. With these ingredients (though they aren't the only possible ones) and the plane command, you can create and render a plane in the space.

                      calc.algebra8.calc.png
                      calc.algebra8.plotter0.calc.png

                      Tip

                      If you want to see the different parameters you can use to create a plane, see its dedicated page.

                      Systems of linear equations

                      Solution, solution with degrees of freedom

                      There are essentially two methodologies to solve linear systems of equations: entering the equations manually by separating them using the New Line action (Shift + Enter) or using the solve command.

                      sel_1.png

                      If you want to assign these solutions to a variable, you need to consider the singular notation to use. In addition, in the case of an indeterminate compatible system, you will be able to see what value the solution takes depending on the dependent variable.

                      calc.sel1.calc.png

                       

                      Resolving systems like the ones seen above gives you a wide range of options when solving problems with several variables. Given the following diagram showing the data flow (in MB per hour) between six routers (A minus F) on a network

                      sel_2.png

                       

                      You can find the data flow between each pair of directly linked routers (x comma y comma z comma t comma u comma v comma w) if you consider the data flow that goes through each of them is the same that comes out of it. You also know the total inbound data flow is 1100 MB (for A and F) and equal to the outgoing flow (for C and D).

                      calc.sel2.calc.png

                       

                      Adding a couple of conditions, such as that the flow from B to C is 200 MB per hour and that the flow from A to D is 500 MB hour, you can find a single solution for the system of linear equations.

                      calc.sel3.calc.png

                      Intersection of planes

                      All the linear systems seen above can be interpreted geometrically as a set of planes in the space that will intersect at a point (determinate compatible system), in a straight line (indeterminate compatible system with a degree of freedom), in a plane (indeterminate compatible system with two degrees of freedom) or nowhere (incompatible system).

                      When the rank of the plane coefficients' matrix matches the range of the extended matrix, the planes intersect at one or more points (the corresponding linear system solution set). Also, if this range is the same as the number of unknown variables, that intersection will be a single point.

                      calc.planes1.calc.png

                       

                      On the other hand, if these ranges coincide but are smaller than the number of unknown variables, the planes will intersect at an infinite number of points. If the system has a degree of freedom, they intersect in a straight line; if there are two, in a plane.

                      calc.planes2.calc.png

                       

                      This situation may also occur when considering more than two planes. In fact, there are infinities that go through a given line.

                      calc.planes3.calc.png

                       

                      Lastly, if the planes are parallel (same direction vectors but different points), there will be no intersection point corresponding to the incompatible system.

                       

                      calc.planes4.calc.png

                       

                      Similarly, given two parallel planes, any other plane we add to the situation may intersect (or not) with the initial planes but never get the system to have a solution.

                      calc.planes5.calc.png

                      Linear maps

                      Given an endomorphism f and its associated matrix A, you can use the commands image and kernel to find the set of vectors that are the image of any of the initial vectors (I m left parenthesis f right parenthesis) and the set of vectors whose image for f is 0 (K e r left parenthesis f right parenthesis).

                      calc.maps1.calc.png

                       

                      Alternatively, you can also find the eigenvalues and the corresponding eigenvectors of the endomorphism using the commands eigenvalues and eigenvectors: As you know, A times v subscript i equals lambda subscript i times v subscript i is verified.

                      calc.maps2.calc.png

                       

                      In the same way, you can calculate these values and eigenvectors from the characteristic polynomial. Once calculated, you can use it to find the diagonal matrix mapping on the base of your vectors.

                      calc.maps3.calc.png

                       

                      One of the applications of this decomposition is to find high-grade powers of the initial matrix. As A equals P times D times P to the power of negative 1 end exponent, if you want to calculate A to the power of n you have to raise the diagonal matrix D (i.e., the eigenvalues) to the nth power and multiply by the matrix P and the matrix P to the power of negative 1 end exponent.

                      calc.maps4.calc.png

                      Geometric transformations

                      Translation

                      Translating is a transformation that moves objects without causing them to deform since each point of the object is moved in the same direction and at the same distance. Set the translation distance (both on the x axis and the y axis) to define it.

                      calc.transformations1.calc.png
                      calc.transformations1.plotter0.calc.png

                       

                       

                      In fact, you can apply this transformation to more complex objects than points.

                      calc.transformations2.calc.png
                      calc.transformations2.plotter0.calc.png

                      Rotation

                      Suppose you apply a rotation to a point P, its position changes following a circular trajectory in the plane. In order to define it, you must set the rotation angle and the pivot or rotation point. CalcMe will interpret the pivot as the origin if you don't indicate it.

                      calc.transformations3.calc.png
                      calc.transformations3.plotter0.calc.png

                       

                      As you have seen before, you can apply this transformation to more complex objects than points.

                      calc.transformations4.calc.png
                      calc.transformations4.plotter0.calc.png

                       

                      Or specifying another rotation point different from the origin.

                      calc.transformations5.calc.png
                      calc.transformations5.plotter0.calc.png

                      Scaling

                      Scaling a point P using a fixed point P subscript 0, implies multiplying by some factors the horizontal and vertical distances between P subscript 0 and P. If you don't indicate it, CalcMe will interpret that the point P subscript 0 is the origin.

                      calc.transformations6.calc.png

                       

                      calc.transformations6.plotter0.calc.png

                       

                      As you have seen before, you can apply this transformation to a more complex object.

                      calc.transformations7.calc.png
                      calc.transformations7.plotter0.calc.png

                       

                      Or by specifying another fixed point other than the origin. In this case, you will need to start by applying a translation so that the fixed point matches the coordinate origin. Once you've made a move, you have to finally apply the scaling to undo the translation.

                      calc.transformations8.calc.png

                       

                      calc.transformations8.plotter0.calc.png

                      Was this article helpful?

                      Give feedback about this article

                      Related Articles

                      • Create a right-triangle hypotenuse question with units

                      Algebra instructions

                      Numbers Complex numbers Elements of linear algebra Vectors and matrices Tip Operations with matrices Change of base Equation of a 2-D and 3-D straight line Tip Equation of a plane Tip Systems of linear equations Solution, solution with degrees of freedom Intersection of planes Linear maps Geometric transformations Translation Rotation Scaling

                      Empowering STEM education

                      MathType

                      • Office Tools
                      • LMS
                      • XML
                      • HTML

                      WirisQuizzes

                      Nubric

                      Integrations

                      Solutions

                      • Education
                      • Publishing houses – platforms and interactive
                      • Publishing houses – Print and digital
                      • Technical writers

                      Pricing

                      Downloads

                      Blog

                      • Success stories

                      About us

                      • Careers
                      • Partnership

                      Contact Us

                      Contact Sales

                      European union (European Regional Development Fund) and 1EdTech (TrustEd Apps Certified)
                      • Cookie Policy
                      • Terms of Use
                      • Privacy Policy / GDPR
                      • Student Data Privacy
                      • Compliance
                      • Cookie Settings

                      © Wiris 2026

                      Expand