실습 중심의 출처가 명시된 기술 튜토리얼로 직접 만들며 배우세요.
Lathe는 프로그래밍 주제나 프로젝트 아이디어를 사용자의 경험 수준에 맞춘 실습형 기술 튜토리얼로 바꿔 줍니다. 구체적인 프로젝트를 만들며 배우고, 명확한 설명과 짧은 코드 예제, 체크포인트, 문제 해결 안내, 연습 문제를 활용해 보세요.
만들고 싶은 것과 경험 수준, 선호하는 언어 또는 도구 체인을 알려 주세요. Lathe 스킬은 권위 있는 출처를 조사하고, 참고 자료와 직접 따라 해 볼 수 있는 실용적인 단계를 포함한 첫 번째 튜토리얼 부분을 Markdown으로 생성합니다.
튜토리얼을 Lathe 라이브러리에 저장하고 로컬 리더를 사용하려면 실행 환경에 Lathe CLI가 필요합니다.
영어에서 번역되었습니다. 참고용입니다.
Teach me the fundamentals of calculus in a simple, intuitive, and easy-to-understand way, assuming I have no prior knowledge of the subject.
Calculus helps us answer two everyday questions:
The first question leads to derivatives. The second leads to integrals. Let’s build both ideas from scratch.
A function is a rule that turns an input into an output.
For example:
This means “take a number and multiply it by itself.”
Here, simply means “the output of the function when the input is .”
A graph draws these input–output pairs as points. With the input along the horizontal axis and the output along the vertical axis, makes a curved bowl.
Imagine you’re driving.
A derivative is like a speedometer for a function.
For , moving from to changes the output from 4 to 9.
The average rate of change is:
On a graph, this is the slope of the straight line connecting those two points. Slope measures how much the line rises for each step to the right.
But what is the rate of change exactly at ?
Try making the interval smaller:
These rates approach 4. That is the derivative at .
Intuition: Near , a small change in the input produces roughly four times that change in the output. Increasing by , for instance, increases by about .
On the graph, the derivative is the slope of the tangent line: the straight line that matches the curve’s direction at that point.
A limit describes the value something approaches.
In the table above, the average rate of change approaches 4 as the interval shrinks toward zero.
We don’t use a zero-width interval directly—that would require dividing by zero. Instead, we ask:
What value do the results approach as the interval gets arbitrarily small?
That is the essential idea of a limit.
For our example, let represent a small change in the input. Then:
As approaches zero, approaches . So:
The notation , read “f prime of x,” means the derivative of .
At , the derivative is 4. At , it’s 6. The farther right you go, the faster this curve rises.
Now imagine driving at a changing speed.
If you travel at a steady 60 kilometers per hour for 2 hours, the distance is:
But what if your speed keeps changing?
Break the journey into short time intervals. In each interval:
Then add those small distances.
An integral is what this sum approaches as the intervals become arbitrarily small.
On a speed-versus-time graph, each small distance looks like a narrow rectangle. Adding them estimates the area under the graph. Using thinner rectangles makes that estimate approach the exact accumulated distance.
More generally:
Integrating a rate tells you how much accumulated.
Examples:
For a curve above the horizontal axis, an integral gives the area under it. Below the axis, contributions count negatively, so an integral measures signed accumulation.
Suppose your accumulated distance after seconds is:
Its derivative gives your speed:
Now go the other way. If your speed is meters per second, integrating it from to gives the distance traveled:
Read that notation as: “accumulate over the interval from 0 to 3.” The symbol is an elongated S, suggesting a sum; tells us the variable we’re accumulating over.
This relationship is the Fundamental Theorem of Calculus:
The rate of change of an accumulated quantity is the rate you’re accumulating—and accumulating a quantity’s rate of change gives its net change.
One subtlety: speed alone doesn’t tell you your starting position. That’s why reversing differentiation leaves an unknown starting value, often written :
Both and have derivative ; adding a constant changes the height, not the slope.
Try these before looking at the answers:
Answers:
The interactive example below lets you see both slope and accumulation on the same curve.
Start in Derivative view and shrink the interval : the yellow line approaches the dashed tangent, showing how an average rate becomes an instantaneous rate.
Then choose Integral and move : the shaded area grows as you accumulate more of the curve. Derivatives measure change; integrals measure accumulation.
이번 실행 비용69 크레딧≈ $0.069사용한 도구 없음GPT-6.1 Sol · 22,869 토큰
에이전트를 실행하면 크레딧이 사용됩니다. 언제든 중지할 수 있으며, 실제로 생성된 결과에 대해서만 비용이 청구됩니다.