-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path045-Linear-Factories.Rmd
56 lines (39 loc) · 1.86 KB
/
045-Linear-Factories.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# The Paradigm of the Factory
Factories take inputs and combine them to produce outputs.
Examples of factories:
* The cabinet shop
- making shelves from plywood, varnish, ...
* Nutrition
- constraint: only so much you can eat
* The Economy (leading up to differential equations)
Examples to save for later:
* Chemical reactions
* Energy
- constraint: need to satisfy demand
## Looking at factories from two sides
1. Synthesis - how much output will we get?
- can be more than one output: e.g. cabinets, pollution,
- many inputs: rent, wood, hinges, varnish
2. Analysis - how does the factory work?
We see the factory consuming such and such inputs and producing such and such an output. From this, can we figure out how the factory works.
## Three Tasks about Factories
1. Learning: We measure explanatory variables
2. Optimization - given a factory, what inputs should we get to produce the best outputs.
- outputs
- constraints
## Representing a factory mathematically
1. Functions
2. Constraints
## The linear factory
1. Linear combinations
2. Why linear?
* Approximates any function
- greenhouse area is product of width and depth. For small changes, it's linear.
* Turns the tasks into arithmetic
* Provides a fantastic metaphor about which we are highly skilled in reasoning: space and subspaces.
3. Nonlinear examples
* polaroid filters. Two crossed filters block light. A diagonal filter in the middle allows the light to be transmitted.
* sounds are linear, perceptions are not:
perceiving two steady notes as separate and constant until the frequency becomes close enough that they sound like a beat
* distinguishing conversations in a cocktail party. We don't confuse the sentences spoken simultaneously by two people as one sentence.
* stretched springs and deformation. Bending until breaking.