Free preview
95 lessons
Mathematical Foundations for ML
Free preview
Mathematical Foundations for ML · 95 lessons
No surprise gaps
Actually remember it
Skip what you know
One subscription. All learning paths included.
Our content is best on a larger screen
Lines with as the subject
Most equations we graph have as the subject, such as or . When is on its own, we choose values of , compute the matching values of and plot the points.
An equation can equally have as the subject, giving in terms of . Then we choose values of and compute . The graph is still the set of all points that satisfy the equation.
A line with as the subject could always be rearranged to have as the subject, unless it is vertical. Here we work with equations that have as the subject, because some curves cannot be written as a single equation with as the subject. The simplest such equations describe straight lines.
Theorem
For numbers and , the graph of
is a straight line.
The diagram below shows why, in four steps.
For the line
Graph the equation . Find where it crosses the -axis, say which way it leans, and plot it from a table of values.
Solution
Putting gives , so the line crosses the -axis at .
Here is positive, so the line rises from left to right.
We choose three values of and compute for each.
We plot the points , and and join them with a straight line.
Practice questions
4 questions
Four graphs are shown below.
Which one is the graph of ?
Select the correct answer:
+ 3 more questions
Sideways parabolas
After lines, the next simplest equations with as the subject are those that square . The parabola opens upwards. Swapping the roles of and gives , the same parabola turned on its side so that it opens to the right.
We graph it in the same way as a line with as the subject: we choose values of and compute .
Definition
For numbers and with , the graph of
is a sideways parabola.
Theorem
The blue curve is the graph of
Four curves are drawn below. Decide which one could be the graph of , and give its turning point.
Solution
The equation has as its subject and the form , with and , so its graph is a sideways parabola.
Since , the parabola opens to the left. Its turning point is , on the -axis to the right of the origin.
We check each curve against these two facts:
So curve could be the graph of , and its turning point is .
Practice questions
4 questions
Four curves are drawn below.
Which one is the graph of ?
Select the correct answer:
+ 3 more questions
The same curve written both ways
A line that is neither horizontal nor vertical can be rearranged into a single equation with the other variable as its subject. A parabola cannot: making the other variable its subject gives two equations, one for each half of the curve.
The line
Each of and describes one branch of the parabola - the part on one side of its turning point. Here they are the right and left branches, and a sideways parabola has an upper and a lower branch.
Procedure
Which equation, with as the subject, names the left branch of , where ?
Solution
We follow the three steps, with as the new subject.
Subtracting from both sides leaves the square of alone on one side:
Taking the square root of the other side, with in front, gives
The left branch is where , so we keep the sign:
As a check, choosing gives , and the point lies on because .
Practice questions
5 questions
Which equation, with as the subject, gives the same line as ?
Select the correct answer:
+ 4 more questions