COSMO · STUDY + TEACHING DECKComputer Science & AI
July 29, 2026
C. A question worth sharingNeural Networks as Functions
Build nonlinear models by composing affine transformations with activation functions.
ThinkCompareExplain
Today’s routeA question becomes an explanation.
Try
Enter through a problem. A partial attempt counts.
Connect
Use neuron, activation, layer to name what you notice.
Convince
Build an argument a partner can check.
The goal is a method someone else can use.
The openerStart with a question.
Opening problem
For z=2x1-x2+0.5 with x=(1,3), what does a ReLU neuron output?
Think · 2 min
Sketch, test a small case, or make a first guess.
Pair · 3 min
Compare methods. Find one thing you agree on and one question.
Be ready to share your route, even if it is unfinished.
Compare before checkingPut two attempts in conversation.
Explain
Tell a partner how you started. Let them finish before responding.
Question
Which step feels certain? Which step still needs evidence?
Build
Combine one useful idea from each attempt into a new route.
Can you explain your partner’s method in your own words?
Board conversationNotice before naming.
Look for structure
- 01Try a small case and record every step.
- 02Separate what changes from what stays fixed.
- 03State the pattern in a sentence before naming the theorem.
Make a conjecture
We think ___ because ___. A case that might break this is ___.
What changed? What stayed the same?
Useful languageNow the language has a job.
neuron
weighted sum followed by an activation
activation
nonlinear function applied to a pre-activation
layer
collection of neurons evaluated together
Use one of these words to explain something you already noticed.
The core ideaKeep the idea. Explain the conditions.
ReLU(z)=max(0,z),z=w⊤x+b The idea
Build nonlinear models by composing affine transformations with activation functions.
What to remember
A neural network is a chain of ordinary functions whose composition creates flexible behavior.
What information does this method keep?
Worked exampleOne route, one decision at a time
The problem
Evaluate h=ReLU(2x-1) and y=3h+2 at x=2.
Predict each next step
- 01First compute 2(2)-1=3.
- 02ReLU keeps the positive value, so h=3.
- 03Then y=3(3)+2.
- 04The output is 11.
Which step needs a reason, not just a calculation?
See the structureThe structure behind neural networks as functions
Read the representation
Build nonlinear models by composing affine transformations with activation functions.
Look together
Point to the part that explains the relationship. Change one input and predict what changes.
Two approachesCompare the reasoning.
Structural method
- 01Name the objects and conditions.
- 02Use a reusable relationship.
- 03Explain why the method must work.
Brute force
- 01May help with a small test case.
- 02Can hide the general reason.
- 03Becomes unreliable when the scale grows.
Which route can you justify? What would you test first?
Reasoning clinicFind the step that needs repair.
Investigate these concerns
- 01May help with a small test case.
- 02Can hide the general reason.
- 03Becomes unreliable when the scale grows.
Repair together
Name the missing condition. Try a small counterexample. Rewrite one step so it is justified.
A useful correction explains why the original step fails.
Work togetherInvestigate neural networks as functions
Your shared task
Groups trace values through a small network, then alter one weight and predict which intermediate computations change.
Explore
4 min - test cases
Compare
5 min - form a rule
Defend
4 min - defend the rule
Everyone should be able to explain the group’s final claim.
Share → connectWhat did the room discover?
Bring your evidence
Share a conjecture, a useful example, or a route that changed.
Connections to investigate
- 01A neural network is a chain of ordinary functions whose composition creates flexible behavior.
- 02A complete solution names the condition that makes the method valid.
- 03A counterexample is useful when it exposes a missing condition.
Which observation explains the mechanism?
Try → explain → checkYour turn to build the route
The problem
Show why two affine layers without activations are still one affine transformation.
Predict each next step
- 01Write the layers as h=Ax+a and y=Bh+b.
- 02Substitute h into the second equation.
- 03Then y=(BA)x+(Ba+b).
- 04The composition is affine, so no new nonlinear boundary appears.
Which step needs a reason, not just a calculation?
Convince a skepticTurn a pattern into a proof.
The claim
Nonlinear activations are what prevent stacked affine layers from collapsing into one affine map.
Build the argument
- 01Affine maps are closed under composition.
- 02An activation changes the functional form between layers.
- 03The network can then create piecewise or curved decision behavior.
What does each step rely on? Where are the conditions used?
Stretch togetherTake the idea somewhere new.
Transfer challenge
Construct a ReLU expression that is positive for 0<x<2 and zero outside this interval.
Choose a route
Name the objects, the conditions, and a relationship that might help. Start with one test case.
What transfers from the earlier example? What is different?
Peer reviewCheck the argument together.
Restate
Explain the other person’s route before evaluating it.
Test
Try a small case or boundary case. Does every step still make sense?
Revise
Fix an assumption, add a reason, or find a second method.
Where did your thinking change?
Beyond this problemWhere might this idea help?
A connection
Neural networks model images, language, signals, scientific systems, and high-dimensional decision rules.
Discuss the model
- 01What objects or quantities are represented?
- 02Which relationship from today is preserved?
- 03What assumption would you check before trusting it?
Invent one more situation with the same structure.
Exit ticketLeave with an explanation.
Question 1
For z=2x1-x2+0.5 with x=(1,3), what does a ReLU neuron output?
Question 2
Explain why this claim is true: Nonlinear activations are what prevent stacked affine layers from collapsing into one affine map.
Question 3
Construct a ReLU expression that is positive for 0<x<2 and zero outside this interval.
Choose one. Write an answer with a reason, then compare with a partner.
Reflect togetherMake your thinking visible.
I used to think…
Name a claim or approach that changed.
Now I can explain…
Give the reason, not only the result.
I still wonder…
Write a question worth bringing to the next circle.
Share one sentence. Ask one follow-up question.
The idea to keepA neural network is a chain of ordinary functions whose composition creates flexible behavior.
Use the matching practice sets to move from direct examples to proof and transfer.
A good question belongs to everyone in the room. 1 / 21
← → to navigate and reveal · N for notes · F to present · Esc to exit