logo back up home forward   further reading more topics »

Maths - Calculus of Different Algebras

So far we have discussed calculus of scalar quantities, however it can be useful to apply the ideas to other algebras, such as:

Differentiation with respect to a scalar

For most algebras adding objects is done by adding the corresponding elements in the object.

For example, in a given algebra, say x is an object consisting of elements x1,x2,x3.. and y is an object consisting of elements y1,y2,y3...

so,

x = [x1,x2,x3...]

y = [y1,y2,y3...]

so adding the objects is done as follows,

x+y = [x1+y1 , x2+y2 , x3+y3 ...]

Differentiation with respect to a scalar is defined as follows, if:

f(x) = [a(x) , b(x) , c(x) , e(x)]

then:

d f(x) / dx = [d(a(x) /dx) , d(b(x)/dx) , d(c(x)/dx) , d(e(x)/dx)]

In other words to differentiate with respect to a scalar, we just differentiate the elements individually. So to give a more specific example if:

f(x) = [xn , sin(x) , tan(x) , ex ]

then:

d f(x) / dx = [n*xn-1 , cos(x) , sec2(x) , ex ]

So this is quite simple, provided that we can differentiate the elements of a vector, we can differentiate the whole object.

Differentiation with respect to non-scalars

We can try following the priciples used already for scalars and use them for other algeras. There is a possible issue: many algebras, such as matrix and quaternion algebras, are not commutative for multipication. Therefore using the notation a divided by b for division can be ambigous. Therefore Leibnitz Notation is not appropiate for some algebras.

 

 

 

 

 

 

 

 

 

 

 

 

 


metadata block
see also:

 

Correspondence about this page

Book Shop - Further reading.

Where I can, I have put links to Amazon for books that are relevant to the subject, click on the appropriate country flag to get more details of the book or to buy it from them.

cover Mathematics for 3D game Programming - Includes introduction to Vectors, Matrices, Transforms and Trigonometry. (But no euler angles or quaternions). Also includes ray tracing and some linear & rotational physics also collision detection (but not collision response).

Other Math Books

Commercial Software Shop

Where I can, I have put links to Amazon for commercial software, not directly related to the software project, but related to the subject being discussed, click on the appropriate country flag to get more details of the software or to buy it from them.

cover Mathmatica

Can you help?

Please send me any improvements to here. I would appreciate ideas to make the pages more useful including error correction, ideas for new pages, improvements to wording. It helps if you quote the full URL of the page.

It would be useful to have a general introduction to calculus.

It would also be useful to have the differential and integral for all the standard functions.

progam

I am working on a project which uses these principles, if you would like to help me with this you are welcome to join in, here:

http://sourceforge.net/projects/mjbworld/

This site may have errors. Don't use for critical systems.

Copyright (c) 1998-2008 Martin John Baker - All rights reserved - privacy policy.