Mobile Notice
It seems that you are on your mobile phone, which means that the screen's width is narrow for some equations. For the best viewing experience, you can view this website in landscape mode.

Graph of Functions

Author | Engr. Nico O. Aspra, M.Eng., RMP, LPT

This topic may have been covered in previous prerequisite courses, specifically in Analytic Geometry. As you may have already learned, there are numerous methods for plotting a graph from an equation. However, if you have forgotten how to do so, we will utilize the simplest method, which is by plotting multiple points on a Cartesian plane and then tracing them to form a line or a curve. While this method might not be convenient for graphs that you are already familiar with (e.g., lines and conic sections), it can be particularly useful for more complicated functions. The downside of this method is that it can be a bit time-consuming, especially for complex graphs.

To demonstrate this, let’s start with what we have already established previously. We have a clear notion that functions can be represented in different forms, such as equations, graphs, and even tables. So, if we have a function f(x)=x2, we can first tabulate it by assigning values to x and solving the value of y.

x3210123f(x)9410149

These tabulated values can now be plotted on a Cartesian plane, where the input (independent variable) lying on the horizontal axis and the output (dependent variable) on the vertical axis. Hence, connecting the points will then form the curve, which represents the graphical form of the function f(x)=x2.

my alt text

Figure 1: Graphical representation of f(x)=x2


Example 1: Graph the equation of the line y=x+3

Solution:

There are a lot of ways of plotting a graph in a cartesian plane, but one of the simplest method is by assigning values to the independent variable, which in this case is x,

x0123y3210

Trace the points on the cartesian plane after plotting them.

my alt text

Example 2: Express the volume of a cube as a function of the length of its edge. Graph the function.

Solution:

Let: V=volume of the cube
Let: x=length of an edge of the cube

Hence, the equation for the volume of a cube is,

V=x3

Assign values to x, then tabulate the result,

x01234V0182764

Plot the points on the cartesian plane,

my alt text

Example 3: Express the length of the edge of a cube as a function of its volume. Graph the function.

Solution:

Let: V=volume of the cube
Let: x=length of an edge of the cube

Hence, the equation for the volume of a cube is,

V=x3

Then express the length of the edge as a function of its volume, x=V1/3

Assign values to V, then tabulate the result,

V0182764x01234

Plot the points on the cartesian plane,

my alt text

Example 4: A right triangle has a hypotenuse of 5 cm. Express its area as a function of its base. Graph the function.

Solution:

Let: A=area
Let: a=altitude
Let: b=base
Let: c=hypotenuse

my alt text

We can solve for the altitude a of the triangle using the Pythagorean theorem,

c2=a2+b2a2=c2b2a=52b2=25b2

Solving for the area will give us,

A=12abA=12b25b2

Assign values to b, then tabulate the result,

b012345A02.454.58660

Plot the points on the cartesian plane,

my alt text