Calculus I companion
- Week 1: domain and range via plots.
- Week 2: tangent lines and derivative plots.
- Week 3: basic definite integrals.
This track shows how to use Maple on the exact objects that appear in UI calculus and algebra courses: functions, graphs, limits, derivatives, integrals, and algebraic equations.
A large part of calculus is about “what does this function look like?” Maple lets you answer that question quickly, as long as you define your functions clearly.
Standard pattern:
f := x -> x^2 + 2*x + 1;f(0); f(1); f(2);plot( f(x), x = -5..5 );f := x -> piecewise( x < 0, -x,
0 <= x and x <= 2, x^2,
x > 2, 2 );
plot( f(x), x = -3..4 );
This mirrors typical exam questions where one must sketch a piecewise definition by hand. Maple lets you verify whether your sketch is reasonable.
Maple treats differentiation and integration as commands. You should learn how to:
->.f := x -> x^3 - 3*x;
df := diff( f(x), x );
# Critical points: solve f'(x) = 0
solve( df = 0, x );
Combine this with plot( f(x), x = -3..3 ); to compare algebraic critical points
with the graph.
int( x^2 * exp(-x), x = 0..infinity );
# Numerical approximation
evalf( int( x^2 * exp(-x), x = 0..infinity ) );
When Maple returns a special function or constant, you can still ask for a numerical
value using evalf.
Maple distinguishes between exact (symbolic) and approximate (numeric) solving:
solve( x^2 - 5*x + 6 = 0, x );fsolve( sin(x) = x/2, x );f := x -> exp(-x);
g := x -> x^2 - 1;
eq := f(x) = g(x);
sol := fsolve( eq, x, -2..2 );
plot( [f(x), g(x)], x = -2..2 );
This is the Maple analogue of solving “where do these curves meet?” questions.
Below are some example ways to tie Maple sessions to specific UI courses. The codes here are placeholders for the real course codes you will use in practice.
solve and fsolve.You can build each Maple worksheet as a one-page story:
During a Maple–calculus lab, the most valuable thing you can do is connect commands to the exact theorem or technique that was used in class that week.