Algebra and geometry

Publié le par Troy

In software engineering the Model-view-controller design pattern is widely used and most people have some understanding of what the general principle is. Basically, you have your logic and data that you encapsulate within a model and then a controller picks the right views to display the model and handle user inputs.

The separation of code into three independent parts provides a clear understanding of what the essence of the application is - the model. All the other parts (the controllers and the views) only offer different ways of accessing the model.

Mathematics

What about mathematics? Its so easy to get lost in such a vast field while searching for models. Think of the time you moved to a new city. Navigating yourself at first is very difficult and you often get lost. Once you become familiar with landmarks and main streets you begin to confidently plan your routes. After some time, you get so accustomed to the city, that you know multiple ways of reaching your destination.

Mathematics has multiple ways for you to reach any part of it. Going back to the first analogy - there is always some inherent model which is represented by one or more views. Let me give you an example.

The square of the sum of two numbers

Here’s a tiny bit of arithmetic, say you want to square the sum of two and three.

(2+3)^2 = 25

Algebra

A more abstract and algebraic expression would look like this.

(a+b)^2 = a^2 + 2ab + b^2

This expression is something we learn by heart while we’re at school. It is one of many rules we learn. But it is not immediately apparent why this rule is correct, for instance, why besides having two square we also have 2ab in the expression? Algebraically you could explain this by expanding the square into multiplication of two identical factors.

(a+b)^2 = (a+b)(a+b) = a^2 + ab + ba + b^2

Because multiplication of scalars is a commutative operation, we can rearrange the expression into what we’re looking for.

a^2 + (ab + ba) + b^2 = a^2 + (ab + ab) + b^2 = a^2 + (2ab) + b^2

Geometry

All those manipulations of symbols are completely abstract, but thanks to the inherent model of multiplication we can apply a new view to this one rule and see it in a different, less abstract light.

Geometrically it is easy to imagine how the square of some a looks like. A becomes the length of a side of a square and the area of the square is the result of multiplying a by itself.

If you have two components, you get two squares. But they don’t fully cover the area, and whats missing are the two products.

When you combine the two, you get a filled square, and the sum of the two squares and the rectangles is the area.

Extracting the models

This is just one example of finding two different views for a mathematical rule (model). Seeing them together makes it easier to abstract the model mentally and see what are the underlying mechanics.

If you have other examples, I’d love to see them - wilde.morgan@gmail.com

Thanks!

http://ixt.valuesbasedcounseling.com/zr5R
http://ygp.kimbra.us/Phhy
http://als.mediation-seattle.org/DdUQ
http://yjf.mediation-seattle.org/9HEl
http://oln.kimbra.us/kUNF
http://osf.kimbra.us/7tt8
http://cpy.valuesbasedcounseling.com/KHP7
http://ohn.valuesbasedcounseling.com/3QW2
http://zdl.karenlindvig.com/HBdR
http://cvn.kimbra.us/N9nR
http://eqf.mediation-seattle.org/924b
http://ifb.karenlindvig.com/U8JM
http://bgj.karenlindvig.com/3ZCc
http://syn.mediation-seattle.org/rElN
http://dnw.mediation-seattle.org/PqaO
http://npa.karenlindvig.com/lxI2
http://iqr.mediation-seattle.org/7l3r
http://kkw.karenlindvig.com/xghk
http://zto.mediation-seattle.org/h2p4
http://ygz.gerlingcat.com/uU1p
http://ymg.mediation-seattle.org/nivy
http://mtd.mediation-seattle.org/LSGI
http://qfu.mediation-seattle.org/S9FU
http://opp.kimbra.us/6hd5
http://kiz.kimbra.us/95No
http://ldq.kimbra.us/wz4J
http://eqf.mediation-seattle.org/6K14
http://rif.valuesbasedcounseling.com/eE55
http://jiv.mediation-seattle.org/tka9
http://wgi.mediation-seattle.org/U5L4
http://cpz.kimbra.us/sMO9
http://szu.gerlingcat.com/woe3
http://ssb.karenlindvig.com/t6eB
http://oqi.kimbra.us/EVq5
http://scp.valuesbasedcounseling.com/836B
http://onf.mediation-seattle.org/ZtFC
http://usr.kimbra.us/Kg55
http://ppq.karenlindvig.com/i0xT
http://kiz.kimbra.us/7TNm
http://xjc.valuesbasedcounseling.com/SPWo
http://iqr.mediation-seattle.org/6LQQ
http://fyc.kimbra.us/36sG
http://hpn.mediation-seattle.org/G1P1
http://onf.mediation-seattle.org/Z694
http://ygz.gerlingcat.com/5g01
http://zjk.karenlindvig.com/2j3r
http://pij.gerlingcat.com/P1Hs
http://act.karenlindvig.com/IJC7
http://spo.gerlingcat.com/7463
http://job.gerlingcat.com/j7EP
http://ifb.karenlindvig.com/lK63
http://rif.valuesbasedcounseling.com/zHP8
http://nwv.gerlingcat.com/p8rd
http://iqc.valuesbasedcounseling.com/dmkK
http://ewq.karenlindvig.com/7t8g
http://gfb.gerlingcat.com/0dCj
http://snf.karenlindvig.com/Rl0r
http://ldo.kimbra.us/P21b
http://xsm.kimbra.us/II0j
http://mwj.valuesbasedcounseling.com/n3TS
http://ngi.valuesbasedcounseling.com/w481
http://scp.valuesbasedcounseling.com/1VwZ
http://fyc.kimbra.us/Eiw7
http://cfq.mediation-seattle.org/5I7i
http://vji.valuesbasedcounseling.com/Hhc1
http://ryj.kimbra.us/7ax5
http://bgp.valuesbasedcounseling.com/qy66
http://zop.valuesbasedcounseling.com/6epZ
http://ssv.kimbra.us/o1ny
http://fit.kimbra.us/vFL4
http://uxn.kimbra.us/Q448
http://snf.karenlindvig.com/9G6H
http://cmj.gerlingcat.com/8q0l
http://tbn.kimbra.us/xBvK
http://sqy.valuesbasedcounseling.com/69pD
http://ovn.kimbra.us/w4K4
http://syn.mediation-seattle.org/Ooek
http://nak.kimbra.us/18tP

Pour être informé des derniers articles, inscrivez vous :
Commenter cet article