Skip to main content
Contents Index
Dark Mode Prev Up Next
\(\usepackage{siunitx}
\newcommand{\lrp}[1]{\left(#1\right)}
\newcommand{\lrb}[1]{\left[#1\right]}
\newcommand{\lrbrace}[1]{\left\lbrace#1\right\rbrace}
\newcommand{\abs}[1]{\left|#1\right|}
\newcommand{\dint}{\displaystyle\int}
\newcommand{\defint}[2]{\dint^{#2}_{#1}}
\newcommand{\dlim}[2]{\displaystyle\lim_{#1\rightarrow #2}\,}
\newcommand{\dydx}{\dfrac{dy}{dx}}
\newcommand{\ddx}{\tfrac{d}{dx}}
\newcommand{\dddx}{\dfrac{d}{dx}}
\newcommand{\ifsol}[1]{\ifprintanswers{#1}\fi}
\newcommand{\Nat}{\mathbb{N}}
\newcommand{\Whole}{\mathbb{W}}
\newcommand{\Int}{\mathbb{Z}}
\newcommand{\Rat}{\mathbb{Q}}
\newcommand{\Real}{\mathbb{R}}
\newcommand{\Complex}{\mathbb{C}}
\DeclareMathOperator\arcsinh{arcsinh}
\DeclareMathOperator\arccosh{arccosh}
\DeclareMathOperator\arctanh{arctanh}
\newcommand{\lt}{<}
\newcommand{\gt}{>}
\newcommand{\amp}{&}
\definecolor{fillinmathshade}{gray}{0.9}
\newcommand{\fillinmath}[1]{\mathchoice{\colorbox{fillinmathshade}{$\displaystyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\textstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptscriptstyle\phantom{\,#1\,}$}}}
\newcommand{\sfrac}[2]{{#1}/{#2}}
\)
Section 1.2 The Basics
Subsection 1.2.1 Recommended Tutorials
Before starting on these exercises, you should familiarize yourself with the material covered in the following tutorials:
Subsection 1.2.2 Introduction
In this activity, you will learn basic usage of some of the most common Maple commands:
expand()
factor()
simplify()
plot()
Exercises 1.2.3 Exercises
1.
Expand the polynomial
\((2x-y)^6\text{.}\)
2.
Factor the polynomial
\(16x^4-160x^3y+600x^2y^2-1000xy^3+625y^4\text{.}\)
Hint .
When two or more variables appear next to each other, be sure to include a
* or space between them, so that Maple knows that they are multiplied together.
3.
Simplify the expression
\(\dfrac{x^3-1}{x-1}\text{.}\)
4.
Now we would like Maple perform all three commands together.
Aside: Multi-line commands.
You can add a line break between commands on the same Maple input without running them with Shift+Enter.
(a)
Have Maple expand the rational expression
\(\dfrac{(x-y)^2+(x+y)^2}{x^3-y^3}\text{.}\)
(b)
Add a semicolon to the end of the line, followed by
simplify(%).
(c)
Add another semicolon to the end of the line, followed by
factor(%).
(d)
Hit Enter to run all three commands together.
Hint .
Whenever the % shortcut is used on a previous command, it is a good practice to run both commands simultaneously on the same Maple input.
You should see three outputs now: expanding, simplifying, and factoring.
5.
(Optional) Consider polynomials of the form
\(x^p-1\text{,}\) where
\(p\) is a prime number. Try factoring each of the following:
(a)
(b)
(c)
(d)
(e)
Can you notice a pattern and show that these polynomials follow a particular form when factored? To explain the pattern, use the
button to create a new paragraph after the current line.
Aside: New paragraph shortcut.
Ctrl+Shift+J can also be used to create a paragraph after the current line.
6.
Plot the following two functions using separate
plot() commands and note the difference in domain:
(a)
(b)
State the difference in domain using a new paragraph.
Aside: The surd() command.
The
surd(x,3) function is equivalent to
\(\sqrt[3]{x}\text{.}\) Similarly,
surd(x,5) is equivalent to
\(\sqrt[5]{x}\text{,}\) etc. It is often better to use the
surd() command than to use a fractional exponent.
7.
On a new Maple input, create a plot of the following list of functions
\begin{gather*}
[ x^2, x^3, sqrt(x), surd(x,3), abs(x) ]
\end{gather*}
and include the following options (separated by commas).
x = -5..10 (This specifies the \(x\) -axis)
y = -5..10 (This specifies the \(y\) -axis)
colour = [red,blue,green,purple,orange]
Hint 1 .
Square brackets in Maple are used to create a comma-separated list of items in the specified order. Curly braces may also be used to create a list where order does not matter.
Hint 2 .
An example of plotting multiple functions at once can be found in
SectionΒ 8.3 .